miniflare 0.0.0-e4fe35cc5 → 0.0.0-e747ddf6a

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`
@@ -574,6 +588,22 @@ parameter in module format Workers.
574
588
  have at most one consumer. If a `string[]` of queue names is specified,
575
589
  default consumer options will be used.
576
590
 
591
+ #### Assets
592
+
593
+ - `directory?: string`
594
+ Path to serve Workers static asset files from.
595
+
596
+ - `binding?: string`
597
+ Binding name to inject as a `Fetcher` binding to allow access to static assets from within the Worker.
598
+
599
+ - `assetOptions?: { html_handling?: HTMLHandlingOptions, not_found_handling?: NotFoundHandlingOptions}`
600
+ Configuration for file-based asset routing - see [docs](https://developers.cloudflare.com/workers/static-assets/routing/#routing-configuration) for options
601
+
602
+ #### Workflows
603
+
604
+ - `workflows?: WorkflowOptions[]`
605
+ Configuration for one or more Workflows in your project.
606
+
577
607
  #### Analytics Engine, Sending Email, Vectorize and Workers for Platforms
578
608
 
579
609
  _Not yet supported_
@@ -714,6 +744,10 @@ Options shared between all Workers/"nanoservices".
714
744
 
715
745
  Where to persist data stored in D1 databases. See docs for `Persistence`.
716
746
 
747
+ - `workflowsPersist?: Persistence`
748
+
749
+ Where to persist data stored in Workflows. See docs for `Persistence`.
750
+
717
751
  #### Analytics Engine, Browser Rendering, Sending Email, Vectorize, Workers AI and Workers for Platforms
718
752
 
719
753
  _Not yet supported_