Skip to main content

Function: serializeWorkflowDocument()

serializeWorkflowDocument(document, versionCreatedAt): string

The text committed to Git for one version, identical to git-sync-rules.ts serializeWorkflowDocument: exportedAt pinned to the version's creation time so pushing the same version twice gives the same bytes.

Parameters​

document​

WorkflowExportDocument

versionCreatedAt​

Date

Returns​

string