Skip to main content

Interface: AutoBundleOptions

Defined in: src/interfaces.ts:212

Options for autoBundle.

Properties​

bundlerOptions?​

optional bundlerOptions?: Omit<BundleOptions, "workflowsPath">

Defined in: src/interfaces.ts:223

Passed to the SDK's bundleWorkflowCode (workflowsPath is set for you).


cache?​

optional cache?: boolean

Defined in: src/interfaces.ts:216

Set false to bundle on every start. Default: true.


cacheDir?​

optional cacheDir?: string

Defined in: src/interfaces.ts:214

Where bundles are cached. Default: <os tmpdir>/nestjs-temporal-core-bundles.


hashPaths?​

optional hashPaths?: string[]

Defined in: src/interfaces.ts:221

Extra files or directories that feed the cache key. The key already covers the directory of workflowsPath; add the directories of shared code the workflows import from outside it.