miniflare 0.0.0-e44f496a8 → 0.0.0-e4716cc87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -214,6 +214,20 @@ Options for an individual Worker/"nanoservice". All bindings are accessible on
214
214
  the global scope in service-worker format Workers, or via the 2nd `env`
215
215
  parameter in module format Workers.
216
216
 
217
+ ### `interface WorkflowOptions`
218
+
219
+ - `name: string`
220
+
221
+ The name of the Workflow.
222
+
223
+ - `className: string`
224
+
225
+ The name of the class exported from the Worker that implements the `WorkflowEntrypoint`.
226
+
227
+ - `scriptName?`: string
228
+
229
+ The name of the script that includes the `WorkflowEntrypoint`. This is optional because it defaults to the current script if not set.
230
+
217
231
  #### Core
218
232
 
219
233
  - `name?: string`
@@ -585,6 +599,11 @@ parameter in module format Workers.
585
599
  - `assetOptions?: { html_handling?: HTMLHandlingOptions, not_found_handling?: NotFoundHandlingOptions}`
586
600
  Configuration for file-based asset routing - see [docs](https://developers.cloudflare.com/workers/static-assets/routing/#routing-configuration) for options
587
601
 
602
+ #### Workflows
603
+
604
+ - `workflows?: WorkflowOptions[]`
605
+ Configuration for one or more Workflows in your project.
606
+
588
607
  #### Analytics Engine, Sending Email, Vectorize and Workers for Platforms
589
608
 
590
609
  _Not yet supported_
@@ -725,6 +744,10 @@ Options shared between all Workers/"nanoservices".
725
744
 
726
745
  Where to persist data stored in D1 databases. See docs for `Persistence`.
727
746
 
747
+ - `workflowsPersist?: Persistence`
748
+
749
+ Where to persist data stored in Workflows. See docs for `Persistence`.
750
+
728
751
  #### Analytics Engine, Browser Rendering, Sending Email, Vectorize, Workers AI and Workers for Platforms
729
752
 
730
753
  _Not yet supported_