Skip to main content

Interface: WorkflowCode

The code bundle attached to a version (spec 01 §5).

Indexable​

[key: string]: unknown

Properties​

buildId​

buildId: string


bundleRef?​

optional bundleRef?: string


connections?​

optional connections?: object

H2: the connections the bundle's user activities name, by name, resolved at push. The service releases a connection to a self-hosted worker only when this declares it.

Index Signature​

[name: string]: ConnectionRef


determinism?​

optional determinism?: "isolate" | "worker"


entry?​

optional entry?: string


exports?​

optional exports?: object

activities?​

optional activities?: object

Index Signature​

[name: string]: CodeBundleActivityExport

workflows?​

optional workflows?: object

Index Signature​

[name: string]: CodeBundleWorkflowExport


features?​

optional features?: string[]

Runtime features the bundle uses (C-FEATURES, SDK R2); absent before R2.


language​

language: "typescript" | "python"


sdk?​

optional sdk?: string


sourceRef?​

optional sourceRef?: string