{"id":22884823,"url":"https://github.com/valiot/temporal-workflows","last_synced_at":"2025-03-31T17:54:01.018Z","repository":{"id":265497358,"uuid":"697534590","full_name":"valiot/temporal-workflows","owner":"valiot","description":"Temporal Workflows MVP","archived":false,"fork":false,"pushed_at":"2025-02-20T18:18:29.000Z","size":172,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T10:54:59.354Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valiot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-27T23:51:27.000Z","updated_at":"2023-09-28T00:37:36.000Z","dependencies_parsed_at":"2024-11-29T16:43:35.486Z","dependency_job_id":"81463332-7f09-4d50-ab16-5f0b12948857","html_url":"https://github.com/valiot/temporal-workflows","commit_stats":null,"previous_names":["valiot/temporal-workflows"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiot%2Ftemporal-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiot%2Ftemporal-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiot%2Ftemporal-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valiot%2Ftemporal-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valiot","download_url":"https://codeload.github.com/valiot/temporal-workflows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246514040,"owners_count":20790013,"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-12-13T19:28:57.075Z","updated_at":"2025-03-31T17:54:00.982Z","avatar_url":"https://github.com/valiot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSL Interpreter Workflow\n\nThis sample demonstrates how to implement a DSL workflow, based on the [Go equivalent](https://github.com/temporalio/samples-go/tree/main/dsl). In this sample, we provide 2 sample yaml files each defines a custom workflow that can be processed by this DSL workflow sample code.\n\nSee also:\n\n- https://github.com/Devessier/temporal-electronic-signature (implementing XState)\n- https://martinfowler.com/articles/cant-buy-integration.html\n\n### Running this sample\n\n1. `temporal server start-dev` to start [Temporal Server](https://github.com/temporalio/cli/#installation).\n1. `npm install` to install dependencies.\n1. `npm run start.watch` to start the Worker.\n1. In another terminal, `npm run workflow1` or `npm run workflow2` to run the Workflows accordingly\n\nExample output from workflow1:\n\n```\n[ '[activity1] arg1: ', '!' ] value1\n[ '[activity2] arg: ', '!' ] [result from activity1: value1]\n```\n\nExample output from workflow2:\n\n```\n[ '[activity1] arg1: ', '!' ] value1\n[ '[activity2] arg: ', '!' ] [result from activity1: value1]\n[ '[activity4] result1: ', '!' ] [result from activity1: value1]\n[ '[activity1] arg1: ', '!' ] activity3 received arg2: value2:\n\n  And received: [result from activity2: [result from activity1: value1]]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaliot%2Ftemporal-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaliot%2Ftemporal-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaliot%2Ftemporal-workflows/lists"}