{"id":20726388,"url":"https://github.com/nocode-js/sequential-workflow-model","last_synced_at":"2025-04-23T18:40:48.896Z","repository":{"id":106189466,"uuid":"609486932","full_name":"nocode-js/sequential-workflow-model","owner":"nocode-js","description":"Extendable data model of sequential workflow.","archived":false,"fork":false,"pushed_at":"2024-06-09T23:12:29.000Z","size":66,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T21:57:54.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nocode-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-04T10:23:34.000Z","updated_at":"2024-11-26T05:55:20.000Z","dependencies_parsed_at":"2024-06-10T00:39:39.596Z","dependency_job_id":null,"html_url":"https://github.com/nocode-js/sequential-workflow-model","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"8808b8439cbd749583644c406fa0da9f96db7f17"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocode-js%2Fsequential-workflow-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocode-js%2Fsequential-workflow-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocode-js%2Fsequential-workflow-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nocode-js%2Fsequential-workflow-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nocode-js","download_url":"https://codeload.github.com/nocode-js/sequential-workflow-model/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250492549,"owners_count":21439547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T04:24:44.258Z","updated_at":"2025-04-23T18:40:48.871Z","avatar_url":"https://github.com/nocode-js.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sequential Workflow Model\n\n[![License: MIT](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](/LICENSE) [![View this project on NPM](https://img.shields.io/npm/v/sequential-workflow-model.svg?style=flat-square)](https://npmjs.org/package/sequential-workflow-model)\n\nThis package contains a extendable data model of a sequential workflow.\n\nThe package is used by the following packages:\n* [Sequential Workflow Designer](https://github.com/nocode-js/sequential-workflow-designer)\n* [Sequential Workflow Machine](https://github.com/nocode-js/sequential-workflow-machine)\n\n## 🔨 How to Extend Model\n\nTo extend the model, you need to extend base interfaces.\n\n```ts\ninterface MyDefinition extends Definition {\n  properties: {\n    baseUrl: string;\n  };\n}\n\ninterface SendEmailStep extends Step {\n  componentType: 'task';\n  type: 'sendEmail';\n  properties: {\n    to: string;\n    subject: string;\n    body: string;\n  };\n}\n\ninterface IfStep extends BranchedStep {\n  componentType: 'switch';\n  type: 'if';\n  properties: {\n    condition: string;\n  };\n}\n```\n\n## 💡 License\n\nThis project is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocode-js%2Fsequential-workflow-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnocode-js%2Fsequential-workflow-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnocode-js%2Fsequential-workflow-model/lists"}