mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
fix: make trigger paths globally unique
This commit is contained in:
parent
3e3773f400
commit
a1d4a1fab2
7 changed files with 496 additions and 137 deletions
|
|
@ -279,6 +279,10 @@ export const getWorkflowVersionsApiV1WorkflowWorkflowIdVersionsGet = <ThrowOnErr
|
|||
* Publish Workflow
|
||||
*
|
||||
* Publish the current draft version of a workflow.
|
||||
*
|
||||
* Drafts are allowed to be incomplete (so the editor can save mid-edit),
|
||||
* but a published version is what runtime executes — so this is the gate
|
||||
* where the full DTO + graph + trigger-conflict checks must pass.
|
||||
*/
|
||||
export const publishWorkflowApiV1WorkflowWorkflowIdPublishPost = <ThrowOnError extends boolean = false>(options: Options<PublishWorkflowApiV1WorkflowWorkflowIdPublishPostData, ThrowOnError>) => (options.client ?? client).post<PublishWorkflowApiV1WorkflowWorkflowIdPublishPostResponses, PublishWorkflowApiV1WorkflowWorkflowIdPublishPostErrors, ThrowOnError>({ url: '/api/v1/workflow/{workflow_id}/publish', ...options });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue