miniflare 0.0.0-c325e5ccb → 0.0.0-c46e02dfd
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 +23 -0
- package/dist/src/index.d.ts +154 -73
- package/dist/src/index.js +272 -140
- package/dist/src/index.js.map +3 -3
- package/dist/src/workers/assets/assets.worker.js +87 -5
- package/dist/src/workers/assets/assets.worker.js.map +2 -2
- package/dist/src/workers/assets/router.worker.js +20 -16
- package/dist/src/workers/assets/router.worker.js.map +2 -2
- package/dist/src/workers/workflows/binding.worker.js +1927 -0
- package/dist/src/workers/workflows/binding.worker.js.map +6 -0
- package/package.json +9 -7
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_
|
package/dist/src/index.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ import type { DurableObjectNamespace } from '@cloudflare/workers-types/experimen
|
|
|
10
10
|
import type { Fetcher } from '@cloudflare/workers-types/experimental';
|
|
11
11
|
import { File } from 'undici';
|
|
12
12
|
import type { File as File_2 } from '@cloudflare/workers-types/experimental';
|
|
13
|
-
import { FormData } from 'undici';
|
|
14
|
-
import { Headers } from 'undici';
|
|
15
|
-
import type { Headers as
|
|
13
|
+
import { FormData as FormData_2 } from 'undici';
|
|
14
|
+
import { Headers as Headers_2 } from 'undici';
|
|
15
|
+
import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimental';
|
|
16
16
|
import { HeadersInit } from 'undici';
|
|
17
17
|
import http from 'http';
|
|
18
18
|
import { IncomingRequestCfProperties } from '@cloudflare/workers-types/experimental';
|
|
@@ -23,24 +23,24 @@ import { ParseParams } from 'zod';
|
|
|
23
23
|
import type { Queue } from '@cloudflare/workers-types/experimental';
|
|
24
24
|
import type { R2Bucket } from '@cloudflare/workers-types/experimental';
|
|
25
25
|
import { Readable } from 'stream';
|
|
26
|
-
import type { ReadableStream } from '@cloudflare/workers-types/experimental';
|
|
27
|
-
import { ReadableStream as
|
|
26
|
+
import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
|
|
27
|
+
import { ReadableStream as ReadableStream_3 } from 'stream/web';
|
|
28
28
|
import { ReferrerPolicy } from 'undici';
|
|
29
|
-
import { Request as
|
|
30
|
-
import type { Request as
|
|
29
|
+
import { Request as Request_3 } from 'undici';
|
|
30
|
+
import type { Request as Request_4 } from '@cloudflare/workers-types/experimental';
|
|
31
31
|
import { RequestCache } from 'undici';
|
|
32
32
|
import { RequestCredentials } from 'undici';
|
|
33
33
|
import { RequestDestination } from 'undici';
|
|
34
34
|
import { RequestDuplex } from 'undici';
|
|
35
35
|
import { RequestInfo as RequestInfo_2 } from 'undici';
|
|
36
|
-
import { RequestInit as
|
|
37
|
-
import type { RequestInit as
|
|
36
|
+
import { RequestInit as RequestInit_3 } from 'undici';
|
|
37
|
+
import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/experimental';
|
|
38
38
|
import type { RequestInitCfProperties } from '@cloudflare/workers-types/experimental';
|
|
39
39
|
import { RequestMode } from 'undici';
|
|
40
40
|
import { RequestRedirect } from 'undici';
|
|
41
|
-
import { Response as
|
|
42
|
-
import type { Response as
|
|
43
|
-
import { ResponseInit as
|
|
41
|
+
import { Response as Response_3 } from 'undici';
|
|
42
|
+
import type { Response as Response_4 } from '@cloudflare/workers-types/experimental';
|
|
43
|
+
import { ResponseInit as ResponseInit_3 } from 'undici';
|
|
44
44
|
import { ResponseRedirectStatus } from 'undici';
|
|
45
45
|
import { ResponseType } from 'undici';
|
|
46
46
|
import type { ServiceWorkerGlobalScope } from '@cloudflare/workers-types/experimental';
|
|
@@ -512,7 +512,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
512
512
|
path: string;
|
|
513
513
|
writable?: boolean | undefined;
|
|
514
514
|
};
|
|
515
|
-
}>, z.ZodType<(request:
|
|
515
|
+
}>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>>;
|
|
516
516
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
517
517
|
scriptName: z.ZodString;
|
|
518
518
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -664,7 +664,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
664
664
|
path: string;
|
|
665
665
|
writable?: boolean | undefined;
|
|
666
666
|
};
|
|
667
|
-
}>, z.ZodType<(request:
|
|
667
|
+
}>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>;
|
|
668
668
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
|
|
669
669
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
670
670
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -725,7 +725,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
725
725
|
path: string;
|
|
726
726
|
writable?: boolean | undefined;
|
|
727
727
|
};
|
|
728
|
-
} | ((request:
|
|
728
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
729
729
|
wrappedBindings?: Record<string, string | {
|
|
730
730
|
scriptName: string;
|
|
731
731
|
entrypoint?: string | undefined;
|
|
@@ -757,7 +757,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
757
757
|
path: string;
|
|
758
758
|
writable?: boolean | undefined;
|
|
759
759
|
};
|
|
760
|
-
} | ((request:
|
|
760
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
761
761
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
762
762
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
763
763
|
unsafeDirectSockets?: {
|
|
@@ -805,7 +805,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
805
805
|
path: string;
|
|
806
806
|
writable?: boolean | undefined;
|
|
807
807
|
};
|
|
808
|
-
} | ((request:
|
|
808
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
809
809
|
wrappedBindings?: Record<string, string | {
|
|
810
810
|
scriptName: string;
|
|
811
811
|
entrypoint?: string | undefined;
|
|
@@ -837,7 +837,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
837
837
|
path: string;
|
|
838
838
|
writable?: boolean | undefined;
|
|
839
839
|
};
|
|
840
|
-
} | ((request:
|
|
840
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
841
841
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
842
842
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
843
843
|
unsafeDirectSockets?: {
|
|
@@ -892,7 +892,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
892
892
|
path: string;
|
|
893
893
|
writable?: boolean | undefined;
|
|
894
894
|
};
|
|
895
|
-
} | ((request:
|
|
895
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
896
896
|
wrappedBindings?: Record<string, string | {
|
|
897
897
|
scriptName: string;
|
|
898
898
|
entrypoint?: string | undefined;
|
|
@@ -924,7 +924,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
924
924
|
path: string;
|
|
925
925
|
writable?: boolean | undefined;
|
|
926
926
|
};
|
|
927
|
-
} | ((request:
|
|
927
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
928
928
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
929
929
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
930
930
|
unsafeDirectSockets?: {
|
|
@@ -982,7 +982,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
982
982
|
path: string;
|
|
983
983
|
writable?: boolean | undefined;
|
|
984
984
|
};
|
|
985
|
-
} | ((request:
|
|
985
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
986
986
|
wrappedBindings?: Record<string, string | {
|
|
987
987
|
scriptName: string;
|
|
988
988
|
entrypoint?: string | undefined;
|
|
@@ -1014,7 +1014,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1014
1014
|
path: string;
|
|
1015
1015
|
writable?: boolean | undefined;
|
|
1016
1016
|
};
|
|
1017
|
-
} | ((request:
|
|
1017
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
1018
1018
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1019
1019
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1020
1020
|
unsafeDirectSockets?: {
|
|
@@ -1071,7 +1071,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1071
1071
|
path: string;
|
|
1072
1072
|
writable?: boolean | undefined;
|
|
1073
1073
|
};
|
|
1074
|
-
} | ((request:
|
|
1074
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
1075
1075
|
wrappedBindings?: Record<string, string | {
|
|
1076
1076
|
scriptName: string;
|
|
1077
1077
|
entrypoint?: string | undefined;
|
|
@@ -1103,7 +1103,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1103
1103
|
path: string;
|
|
1104
1104
|
writable?: boolean | undefined;
|
|
1105
1105
|
};
|
|
1106
|
-
} | ((request:
|
|
1106
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
1107
1107
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1108
1108
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1109
1109
|
unsafeDirectSockets?: {
|
|
@@ -1177,7 +1177,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1177
1177
|
path: string;
|
|
1178
1178
|
writable?: boolean | undefined;
|
|
1179
1179
|
};
|
|
1180
|
-
} | ((request:
|
|
1180
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
1181
1181
|
wrappedBindings?: Record<string, string | {
|
|
1182
1182
|
scriptName: string;
|
|
1183
1183
|
entrypoint?: string | undefined;
|
|
@@ -1209,7 +1209,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1209
1209
|
path: string;
|
|
1210
1210
|
writable?: boolean | undefined;
|
|
1211
1211
|
};
|
|
1212
|
-
} | ((request:
|
|
1212
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
1213
1213
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1214
1214
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1215
1215
|
unsafeDirectSockets?: {
|
|
@@ -1240,7 +1240,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1240
1240
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
1241
1241
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1242
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
1243
|
+
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>>;
|
|
1244
1244
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1245
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1246
1246
|
rootPath?: undefined;
|
|
@@ -1259,7 +1259,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1259
1259
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1260
1260
|
liveReload?: boolean | undefined;
|
|
1261
1261
|
unsafeProxySharedSecret?: string | undefined;
|
|
1262
|
-
unsafeModuleFallbackService?: ((request:
|
|
1262
|
+
unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
1263
1263
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1264
1264
|
}, {
|
|
1265
1265
|
rootPath?: string | undefined;
|
|
@@ -1278,7 +1278,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1278
1278
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1279
1279
|
liveReload?: boolean | undefined;
|
|
1280
1280
|
unsafeProxySharedSecret?: string | undefined;
|
|
1281
|
-
unsafeModuleFallbackService?: ((request:
|
|
1281
|
+
unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
1282
1282
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1283
1283
|
}>;
|
|
1284
1284
|
|
|
@@ -1333,7 +1333,7 @@ export declare interface DiskDirectory {
|
|
|
1333
1333
|
writable?: boolean;
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
|
-
export declare type DispatchFetch = (input: RequestInfo, init?:
|
|
1336
|
+
export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
|
|
1337
1337
|
|
|
1338
1338
|
/**
|
|
1339
1339
|
* Dispatcher created for each `dispatchFetch()` call. Ensures request origin
|
|
@@ -1471,7 +1471,8 @@ export declare interface ExternalServer_Tcp {
|
|
|
1471
1471
|
certificateHost?: string;
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
1474
|
-
|
|
1474
|
+
declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
|
|
1475
|
+
export { fetch_2 as fetch }
|
|
1475
1476
|
|
|
1476
1477
|
export { File }
|
|
1477
1478
|
|
|
@@ -1479,7 +1480,7 @@ export declare function _forceColour(enabled?: boolean): void;
|
|
|
1479
1480
|
|
|
1480
1481
|
export declare function formatZodError(error: z.ZodError, input: unknown): string;
|
|
1481
1482
|
|
|
1482
|
-
export { FormData }
|
|
1483
|
+
export { FormData_2 as FormData }
|
|
1483
1484
|
|
|
1484
1485
|
export declare function getAccessibleHosts(ipv4Only?: boolean): string[];
|
|
1485
1486
|
|
|
@@ -1543,7 +1544,7 @@ export declare interface GlobalServicesOptions {
|
|
|
1543
1544
|
|
|
1544
1545
|
export declare function globsToRegExps(globs?: string[]): MatcherRegExps;
|
|
1545
1546
|
|
|
1546
|
-
export { Headers }
|
|
1547
|
+
export { Headers_2 as Headers }
|
|
1547
1548
|
|
|
1548
1549
|
export { HeadersInit }
|
|
1549
1550
|
|
|
@@ -1749,12 +1750,13 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
|
1749
1750
|
*/
|
|
1750
1751
|
export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
|
|
1751
1752
|
|
|
1752
|
-
|
|
1753
|
+
declare class MessageEvent_2 extends Event {
|
|
1753
1754
|
readonly data: ArrayBuffer | string;
|
|
1754
1755
|
constructor(type: "message", init: {
|
|
1755
1756
|
data: ArrayBuffer | string;
|
|
1756
1757
|
});
|
|
1757
1758
|
}
|
|
1759
|
+
export { MessageEvent_2 as MessageEvent }
|
|
1758
1760
|
|
|
1759
1761
|
export declare function migrateDatabase(log: Log, uniqueKey: string, persistPath: string, namespace: string): Promise<void>;
|
|
1760
1762
|
|
|
@@ -1853,7 +1855,7 @@ export declare interface Network {
|
|
|
1853
1855
|
tlsOptions?: TlsOptions;
|
|
1854
1856
|
}
|
|
1855
1857
|
|
|
1856
|
-
export declare const NODE_PLATFORM_IMPL: PlatformImpl<
|
|
1858
|
+
export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_3>;
|
|
1857
1859
|
|
|
1858
1860
|
/**
|
|
1859
1861
|
* We can provide Node.js compatibility in a number of different modes:
|
|
@@ -1985,9 +1987,9 @@ export declare const PersistenceSchema: z.ZodOptional<z.ZodUnion<[z.ZodBoolean,
|
|
|
1985
1987
|
export declare interface PlatformImpl<RS> {
|
|
1986
1988
|
Blob: typeof Blob_2;
|
|
1987
1989
|
File: typeof File_2;
|
|
1988
|
-
Headers: typeof
|
|
1989
|
-
Request: typeof
|
|
1990
|
-
Response: typeof
|
|
1990
|
+
Headers: typeof Headers_3;
|
|
1991
|
+
Request: typeof Request_4;
|
|
1992
|
+
Response: typeof Response_4;
|
|
1991
1993
|
isReadableStream(value: unknown): value is RS;
|
|
1992
1994
|
bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
|
|
1993
1995
|
unbufferReadableStream(buffer: ArrayBuffer): RS;
|
|
@@ -2260,7 +2262,7 @@ export declare const PLUGINS: {
|
|
|
2260
2262
|
path: string;
|
|
2261
2263
|
writable?: boolean | undefined;
|
|
2262
2264
|
};
|
|
2263
|
-
}>, z.ZodType<(request:
|
|
2265
|
+
}>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>>;
|
|
2264
2266
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2265
2267
|
scriptName: z.ZodString;
|
|
2266
2268
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -2412,7 +2414,7 @@ export declare const PLUGINS: {
|
|
|
2412
2414
|
path: string;
|
|
2413
2415
|
writable?: boolean | undefined;
|
|
2414
2416
|
};
|
|
2415
|
-
}>, z.ZodType<(request:
|
|
2417
|
+
}>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>;
|
|
2416
2418
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
2417
2419
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
2418
2420
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2470,7 +2472,7 @@ export declare const PLUGINS: {
|
|
|
2470
2472
|
path: string;
|
|
2471
2473
|
writable?: boolean | undefined;
|
|
2472
2474
|
};
|
|
2473
|
-
} | ((request:
|
|
2475
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
2474
2476
|
wrappedBindings?: Record<string, string | {
|
|
2475
2477
|
scriptName: string;
|
|
2476
2478
|
entrypoint?: string | undefined;
|
|
@@ -2502,7 +2504,7 @@ export declare const PLUGINS: {
|
|
|
2502
2504
|
path: string;
|
|
2503
2505
|
writable?: boolean | undefined;
|
|
2504
2506
|
};
|
|
2505
|
-
} | ((request:
|
|
2507
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
2506
2508
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2507
2509
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2508
2510
|
unsafeDirectSockets?: {
|
|
@@ -2550,7 +2552,7 @@ export declare const PLUGINS: {
|
|
|
2550
2552
|
path: string;
|
|
2551
2553
|
writable?: boolean | undefined;
|
|
2552
2554
|
};
|
|
2553
|
-
} | ((request:
|
|
2555
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
2554
2556
|
wrappedBindings?: Record<string, string | {
|
|
2555
2557
|
scriptName: string;
|
|
2556
2558
|
entrypoint?: string | undefined;
|
|
@@ -2582,7 +2584,7 @@ export declare const PLUGINS: {
|
|
|
2582
2584
|
path: string;
|
|
2583
2585
|
writable?: boolean | undefined;
|
|
2584
2586
|
};
|
|
2585
|
-
} | ((request:
|
|
2587
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
2586
2588
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2587
2589
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2588
2590
|
unsafeDirectSockets?: {
|
|
@@ -2637,7 +2639,7 @@ export declare const PLUGINS: {
|
|
|
2637
2639
|
path: string;
|
|
2638
2640
|
writable?: boolean | undefined;
|
|
2639
2641
|
};
|
|
2640
|
-
} | ((request:
|
|
2642
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
2641
2643
|
wrappedBindings?: Record<string, string | {
|
|
2642
2644
|
scriptName: string;
|
|
2643
2645
|
entrypoint?: string | undefined;
|
|
@@ -2669,7 +2671,7 @@ export declare const PLUGINS: {
|
|
|
2669
2671
|
path: string;
|
|
2670
2672
|
writable?: boolean | undefined;
|
|
2671
2673
|
};
|
|
2672
|
-
} | ((request:
|
|
2674
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
2673
2675
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2674
2676
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2675
2677
|
unsafeDirectSockets?: {
|
|
@@ -2727,7 +2729,7 @@ export declare const PLUGINS: {
|
|
|
2727
2729
|
path: string;
|
|
2728
2730
|
writable?: boolean | undefined;
|
|
2729
2731
|
};
|
|
2730
|
-
} | ((request:
|
|
2732
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
2731
2733
|
wrappedBindings?: Record<string, string | {
|
|
2732
2734
|
scriptName: string;
|
|
2733
2735
|
entrypoint?: string | undefined;
|
|
@@ -2759,7 +2761,7 @@ export declare const PLUGINS: {
|
|
|
2759
2761
|
path: string;
|
|
2760
2762
|
writable?: boolean | undefined;
|
|
2761
2763
|
};
|
|
2762
|
-
} | ((request:
|
|
2764
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
2763
2765
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2764
2766
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2765
2767
|
unsafeDirectSockets?: {
|
|
@@ -2816,7 +2818,7 @@ export declare const PLUGINS: {
|
|
|
2816
2818
|
path: string;
|
|
2817
2819
|
writable?: boolean | undefined;
|
|
2818
2820
|
};
|
|
2819
|
-
} | ((request:
|
|
2821
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
2820
2822
|
wrappedBindings?: Record<string, string | {
|
|
2821
2823
|
scriptName: string;
|
|
2822
2824
|
entrypoint?: string | undefined;
|
|
@@ -2848,7 +2850,7 @@ export declare const PLUGINS: {
|
|
|
2848
2850
|
path: string;
|
|
2849
2851
|
writable?: boolean | undefined;
|
|
2850
2852
|
};
|
|
2851
|
-
} | ((request:
|
|
2853
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
2852
2854
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2853
2855
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2854
2856
|
unsafeDirectSockets?: {
|
|
@@ -2922,7 +2924,7 @@ export declare const PLUGINS: {
|
|
|
2922
2924
|
path: string;
|
|
2923
2925
|
writable?: boolean | undefined;
|
|
2924
2926
|
};
|
|
2925
|
-
} | ((request:
|
|
2927
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
|
|
2926
2928
|
wrappedBindings?: Record<string, string | {
|
|
2927
2929
|
scriptName: string;
|
|
2928
2930
|
entrypoint?: string | undefined;
|
|
@@ -2954,7 +2956,7 @@ export declare const PLUGINS: {
|
|
|
2954
2956
|
path: string;
|
|
2955
2957
|
writable?: boolean | undefined;
|
|
2956
2958
|
};
|
|
2957
|
-
} | ((request:
|
|
2959
|
+
} | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
2958
2960
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2959
2961
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2960
2962
|
unsafeDirectSockets?: {
|
|
@@ -2983,7 +2985,7 @@ export declare const PLUGINS: {
|
|
|
2983
2985
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2984
2986
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
2985
2987
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
2986
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
2988
|
+
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>>;
|
|
2987
2989
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
2988
2990
|
}, "strip", z.ZodTypeAny, {
|
|
2989
2991
|
rootPath?: undefined;
|
|
@@ -3002,7 +3004,7 @@ export declare const PLUGINS: {
|
|
|
3002
3004
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3003
3005
|
liveReload?: boolean | undefined;
|
|
3004
3006
|
unsafeProxySharedSecret?: string | undefined;
|
|
3005
|
-
unsafeModuleFallbackService?: ((request:
|
|
3007
|
+
unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
3006
3008
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3007
3009
|
}, {
|
|
3008
3010
|
rootPath?: string | undefined;
|
|
@@ -3021,7 +3023,7 @@ export declare const PLUGINS: {
|
|
|
3021
3023
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3022
3024
|
liveReload?: boolean | undefined;
|
|
3023
3025
|
unsafeProxySharedSecret?: string | undefined;
|
|
3024
|
-
unsafeModuleFallbackService?: ((request:
|
|
3026
|
+
unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
|
|
3025
3027
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3026
3028
|
}>>;
|
|
3027
3029
|
cache: Plugin<z.ZodObject<{
|
|
@@ -3322,6 +3324,39 @@ export declare const PLUGINS: {
|
|
|
3322
3324
|
} | undefined;
|
|
3323
3325
|
} | undefined;
|
|
3324
3326
|
}>>;
|
|
3327
|
+
workflows: Plugin<z.ZodObject<{
|
|
3328
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3329
|
+
name: z.ZodString;
|
|
3330
|
+
className: z.ZodString;
|
|
3331
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
}, "strip", z.ZodTypeAny, {
|
|
3333
|
+
name: string;
|
|
3334
|
+
className: string;
|
|
3335
|
+
scriptName?: string | undefined;
|
|
3336
|
+
}, {
|
|
3337
|
+
name: string;
|
|
3338
|
+
className: string;
|
|
3339
|
+
scriptName?: string | undefined;
|
|
3340
|
+
}>>>;
|
|
3341
|
+
}, "strip", z.ZodTypeAny, {
|
|
3342
|
+
workflows?: Record<string, {
|
|
3343
|
+
name: string;
|
|
3344
|
+
className: string;
|
|
3345
|
+
scriptName?: string | undefined;
|
|
3346
|
+
}> | undefined;
|
|
3347
|
+
}, {
|
|
3348
|
+
workflows?: Record<string, {
|
|
3349
|
+
name: string;
|
|
3350
|
+
className: string;
|
|
3351
|
+
scriptName?: string | undefined;
|
|
3352
|
+
}> | undefined;
|
|
3353
|
+
}>, z.ZodObject<{
|
|
3354
|
+
workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
3355
|
+
}, "strip", z.ZodTypeAny, {
|
|
3356
|
+
workflowsPersist?: string | boolean | undefined;
|
|
3357
|
+
}, {
|
|
3358
|
+
workflowsPersist?: string | boolean | undefined;
|
|
3359
|
+
}>>;
|
|
3325
3360
|
};
|
|
3326
3361
|
|
|
3327
3362
|
export declare type Plugins = typeof PLUGINS;
|
|
@@ -3346,7 +3381,7 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
|
|
|
3346
3381
|
|
|
3347
3382
|
export declare function prefixError(prefix: string, e: any): Error;
|
|
3348
3383
|
|
|
3349
|
-
export declare function prefixStream(prefix: Uint8Array, stream:
|
|
3384
|
+
export declare function prefixStream(prefix: Uint8Array, stream: ReadableStream_3<Uint8Array>): ReadableStream_3<Uint8Array>;
|
|
3350
3385
|
|
|
3351
3386
|
export declare const ProxyAddresses: {
|
|
3352
3387
|
readonly GLOBAL: 0;
|
|
@@ -3801,7 +3836,7 @@ export declare const RatelimitOptionsSchema: z.ZodObject<{
|
|
|
3801
3836
|
}> | undefined;
|
|
3802
3837
|
}>;
|
|
3803
3838
|
|
|
3804
|
-
export declare function readPrefix(stream:
|
|
3839
|
+
export declare function readPrefix(stream: ReadableStream_3<Uint8Array>, prefixLength: number): Promise<[prefix: Buffer, rest: ReadableStream_3<Uint8Array>]>;
|
|
3805
3840
|
|
|
3806
3841
|
export declare function reduceError(e: any): JsonError;
|
|
3807
3842
|
|
|
@@ -3811,17 +3846,18 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
|
|
|
3811
3846
|
|
|
3812
3847
|
export { ReferrerPolicy }
|
|
3813
3848
|
|
|
3814
|
-
export declare type ReplaceWorkersTypes<T> = T extends
|
|
3849
|
+
export declare type ReplaceWorkersTypes<T> = T extends Request_4 ? Request_2 : T extends Response_4 ? Response_2 : T extends ReadableStream_2 ? ReadableStream_3 : Required<T> extends Required<RequestInit_4> ? RequestInit_2 : T extends Headers_3 ? Headers_2 : T extends Blob_2 ? Blob_3 : T extends AbortSignal_2 ? AbortSignal : T extends Promise<infer P> ? Promise<ReplaceWorkersTypes<P>> : T extends (...args: infer P) => infer R ? (...args: ReplaceWorkersTypes<P>) => ReplaceWorkersTypes<R> : T extends object ? {
|
|
3815
3850
|
[K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
|
|
3816
3851
|
} : T;
|
|
3817
3852
|
|
|
3818
|
-
|
|
3853
|
+
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_3 {
|
|
3819
3854
|
[kCf]?: CfType;
|
|
3820
|
-
constructor(input: RequestInfo, init?:
|
|
3855
|
+
constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
|
|
3821
3856
|
get cf(): CfType | undefined;
|
|
3822
3857
|
/** @ts-expect-error `clone` is actually defined as a method internally */
|
|
3823
|
-
clone():
|
|
3858
|
+
clone(): Request_2<CfType>;
|
|
3824
3859
|
}
|
|
3860
|
+
export { Request_2 as Request }
|
|
3825
3861
|
|
|
3826
3862
|
export { RequestCache }
|
|
3827
3863
|
|
|
@@ -3831,11 +3867,12 @@ export { RequestDestination }
|
|
|
3831
3867
|
|
|
3832
3868
|
export { RequestDuplex }
|
|
3833
3869
|
|
|
3834
|
-
export declare type RequestInfo = RequestInfo_2 |
|
|
3870
|
+
export declare type RequestInfo = RequestInfo_2 | Request_2;
|
|
3835
3871
|
|
|
3836
|
-
|
|
3872
|
+
declare interface RequestInit_2<CfType extends RequestInitCfType = RequestInitCfType> extends RequestInit_3 {
|
|
3837
3873
|
cf?: CfType;
|
|
3838
3874
|
}
|
|
3875
|
+
export { RequestInit_2 as RequestInit }
|
|
3839
3876
|
|
|
3840
3877
|
export declare type RequestInitCfType = Partial<IncomingRequestCfProperties> | RequestInitCfProperties;
|
|
3841
3878
|
|
|
@@ -3843,22 +3880,24 @@ export { RequestMode }
|
|
|
3843
3880
|
|
|
3844
3881
|
export { RequestRedirect }
|
|
3845
3882
|
|
|
3846
|
-
|
|
3883
|
+
declare class Response_2 extends Response_3 {
|
|
3847
3884
|
readonly [kWebSocket]: WebSocket | null;
|
|
3848
|
-
static error():
|
|
3849
|
-
static redirect(url: string | URL, status: ResponseRedirectStatus):
|
|
3850
|
-
static json(data: any, init?:
|
|
3851
|
-
constructor(body?: BodyInit, init?:
|
|
3885
|
+
static error(): Response_2;
|
|
3886
|
+
static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
|
|
3887
|
+
static json(data: any, init?: ResponseInit_2): Response_2;
|
|
3888
|
+
constructor(body?: BodyInit, init?: ResponseInit_2);
|
|
3852
3889
|
/** @ts-expect-error `status` is actually defined as a getter internally */
|
|
3853
3890
|
get status(): number;
|
|
3854
3891
|
get webSocket(): WebSocket | null;
|
|
3855
3892
|
/** @ts-expect-error `clone` is actually defined as a method internally */
|
|
3856
|
-
clone():
|
|
3893
|
+
clone(): Response_2;
|
|
3857
3894
|
}
|
|
3895
|
+
export { Response_2 as Response }
|
|
3858
3896
|
|
|
3859
|
-
|
|
3897
|
+
declare interface ResponseInit_2 extends ResponseInit_3 {
|
|
3860
3898
|
webSocket?: WebSocket | null;
|
|
3861
3899
|
}
|
|
3900
|
+
export { ResponseInit_2 as ResponseInit }
|
|
3862
3901
|
|
|
3863
3902
|
export { ResponseRedirectStatus }
|
|
3864
3903
|
|
|
@@ -3941,7 +3980,7 @@ export declare const SharedHeaders: {
|
|
|
3941
3980
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
3942
3981
|
};
|
|
3943
3982
|
|
|
3944
|
-
export declare type SharedOptions = z.input<typeof CORE_PLUGIN.sharedOptions> & z.input<typeof CACHE_PLUGIN.sharedOptions> & z.input<typeof D1_PLUGIN.sharedOptions> & z.input<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input<typeof KV_PLUGIN.sharedOptions> & z.input<typeof R2_PLUGIN.sharedOptions>;
|
|
3983
|
+
export declare type SharedOptions = z.input<typeof CORE_PLUGIN.sharedOptions> & z.input<typeof CACHE_PLUGIN.sharedOptions> & z.input<typeof D1_PLUGIN.sharedOptions> & z.input<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input<typeof KV_PLUGIN.sharedOptions> & z.input<typeof R2_PLUGIN.sharedOptions> & z.input<typeof WORKFLOWS_PLUGIN.sharedOptions>;
|
|
3945
3984
|
|
|
3946
3985
|
export declare const SiteBindings: {
|
|
3947
3986
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -4178,7 +4217,7 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
|
|
|
4178
4217
|
}
|
|
4179
4218
|
|
|
4180
4219
|
export declare type WebSocketEventMap = {
|
|
4181
|
-
message:
|
|
4220
|
+
message: MessageEvent_2;
|
|
4182
4221
|
close: CloseEvent;
|
|
4183
4222
|
error: ErrorEvent;
|
|
4184
4223
|
};
|
|
@@ -4388,7 +4427,7 @@ export declare type Worker_Module = {
|
|
|
4388
4427
|
pythonRequirement?: string;
|
|
4389
4428
|
});
|
|
4390
4429
|
|
|
4391
|
-
export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options>;
|
|
4430
|
+
export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options>;
|
|
4392
4431
|
|
|
4393
4432
|
export declare interface WorkerRoute {
|
|
4394
4433
|
target: string;
|
|
@@ -4401,6 +4440,48 @@ export declare interface WorkerRoute {
|
|
|
4401
4440
|
allowPathSuffix: boolean;
|
|
4402
4441
|
}
|
|
4403
4442
|
|
|
4443
|
+
export declare const WORKFLOWS_PLUGIN: Plugin<typeof WorkflowsOptionsSchema, typeof WorkflowsSharedOptionsSchema>;
|
|
4444
|
+
|
|
4445
|
+
export declare const WORKFLOWS_PLUGIN_NAME = "workflows";
|
|
4446
|
+
|
|
4447
|
+
export declare const WORKFLOWS_STORAGE_SERVICE_NAME = "workflows:storage";
|
|
4448
|
+
|
|
4449
|
+
export declare const WorkflowsOptionsSchema: z.ZodObject<{
|
|
4450
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4451
|
+
name: z.ZodString;
|
|
4452
|
+
className: z.ZodString;
|
|
4453
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
4454
|
+
}, "strip", z.ZodTypeAny, {
|
|
4455
|
+
name: string;
|
|
4456
|
+
className: string;
|
|
4457
|
+
scriptName?: string | undefined;
|
|
4458
|
+
}, {
|
|
4459
|
+
name: string;
|
|
4460
|
+
className: string;
|
|
4461
|
+
scriptName?: string | undefined;
|
|
4462
|
+
}>>>;
|
|
4463
|
+
}, "strip", z.ZodTypeAny, {
|
|
4464
|
+
workflows?: Record<string, {
|
|
4465
|
+
name: string;
|
|
4466
|
+
className: string;
|
|
4467
|
+
scriptName?: string | undefined;
|
|
4468
|
+
}> | undefined;
|
|
4469
|
+
}, {
|
|
4470
|
+
workflows?: Record<string, {
|
|
4471
|
+
name: string;
|
|
4472
|
+
className: string;
|
|
4473
|
+
scriptName?: string | undefined;
|
|
4474
|
+
}> | undefined;
|
|
4475
|
+
}>;
|
|
4476
|
+
|
|
4477
|
+
export declare const WorkflowsSharedOptionsSchema: z.ZodObject<{
|
|
4478
|
+
workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
4479
|
+
}, "strip", z.ZodTypeAny, {
|
|
4480
|
+
workflowsPersist?: string | boolean | undefined;
|
|
4481
|
+
}, {
|
|
4482
|
+
workflowsPersist?: string | boolean | undefined;
|
|
4483
|
+
}>;
|
|
4484
|
+
|
|
4404
4485
|
export declare type WrappedBindingNames = Set<string>;
|
|
4405
4486
|
|
|
4406
4487
|
export declare function zAwaitable<T extends z.ZodTypeAny>(type: T): z.ZodUnion<[T, z.ZodPromise<T>]>;
|