Interface: SimplePluginOptions
Experimental
Configuration options for SimplePlugin. Each option can be either a direct value or a function that transforms existing configuration.
Plugins is an experimental feature; APIs may change without notice.
Properties
activities?
readonlyoptionalactivities?:PluginParameter<object>
Experimental
Activities to register with the worker. When a value is provided, activities will be appended
apiKey?
readonlyoptionalapiKey?:PluginParameter<string>
Experimental
API key for authentication
clientInterceptors?
readonlyoptionalclientInterceptors?:PluginParameter<ClientInterceptors>
Experimental
Client-side interceptors. When a value is provided, interceptors will be appended
dataConverter?
readonlyoptionaldataConverter?:PluginParameter<DataConverter>
Experimental
Data converter for serialization/deserialization. When a value is provided, existing fields will override those in the existing data converter.
name
readonlyname:string
Experimental
The name of the plugin
nexusServices?
readonlyoptionalnexusServices?:PluginParameter<ServiceHandler<any>[]>
Experimental
Nexus service handlers. When a value is provided, services will be appended
runContext?
readonlyoptionalrunContext?: (next) =>Promise<void>
Experimental
Context function to wrap worker execution
Parameters
next
() => Promise<void>
Returns
Promise<void>
tls?
readonlyoptionaltls?:PluginParameter<boolean|TLSConfig|null>
Experimental
TLS configuration for connections
workerInterceptors?
readonlyoptionalworkerInterceptors?:PluginParameter<WorkerInterceptors>
Experimental
Worker-side interceptors. When a value is provided, interceptors will be appended.
Note that workflowModules are only appended to worker options when a workflowsPath is
used; with a workflow bundle, they are instead applied at bundling time (see
configureBundler).
workflowBundle?
readonlyoptionalworkflowBundle?:PluginParameter<WorkflowBundleOption>
Experimental
Workflow bundle configuration
workflowsPath?
readonlyoptionalworkflowsPath?:PluginParameter<string>
Experimental
Path to workflow files