miniflare 0.0.0-dfbf03f87 → 0.0.0-dfea523ea

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.
@@ -23,6 +23,7 @@ import { Json as Json_2 } from '..';
23
23
  import { kCurrentWorker as kCurrentWorker_2 } from '..';
24
24
  import { kUnsafeEphemeralUniqueKey as kUnsafeEphemeralUniqueKey_2 } from './shared';
25
25
  import type { KVNamespace } from '@cloudflare/workers-types/experimental';
26
+ import type { KVNamespaceListKey } from '@cloudflare/workers-types/experimental';
26
27
  import { Log as Log_2 } from '..';
27
28
  import { Miniflare as Miniflare_2 } from '../..';
28
29
  import { Miniflare as Miniflare_3 } from '..';
@@ -488,6 +489,8 @@ export declare const CoreBindings: {
488
489
  readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
489
490
  readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
490
491
  readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
492
+ readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
493
+ readonly LOG_REQUESTS: "LOG_REQUESTS";
491
494
  };
492
495
 
493
496
  export declare const CoreHeaders: {
@@ -509,29 +512,29 @@ export declare const CoreHeaders: {
509
512
 
510
513
  export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
511
514
  modules: z.ZodArray<z.ZodObject<{
512
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
515
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
513
516
  path: z.ZodEffects<z.ZodString, string, string>;
514
517
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
515
518
  }, "strip", z.ZodTypeAny, {
516
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
519
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
517
520
  path: string;
518
521
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
519
522
  }, {
520
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
523
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
521
524
  path: string;
522
525
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
523
526
  }>, "many">;
524
527
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
525
528
  }, "strip", z.ZodTypeAny, {
526
529
  modules: {
527
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
530
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
528
531
  path: string;
529
532
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
530
533
  }[];
531
534
  modulesRoot?: string | undefined;
532
535
  }, {
533
536
  modules: {
534
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
537
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
535
538
  path: string;
536
539
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
537
540
  }[];
@@ -541,15 +544,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
541
544
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
542
545
  modules: z.ZodOptional<z.ZodBoolean>;
543
546
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
547
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
545
548
  include: z.ZodArray<z.ZodString, "many">;
546
549
  fallthrough: z.ZodOptional<z.ZodBoolean>;
547
550
  }, "strip", z.ZodTypeAny, {
548
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
551
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
549
552
  include: string[];
550
553
  fallthrough?: boolean | undefined;
551
554
  }, {
552
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
555
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
553
556
  include: string[];
554
557
  fallthrough?: boolean | undefined;
555
558
  }>, "many">>;
@@ -559,7 +562,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
559
562
  scriptPath?: string | undefined;
560
563
  modules?: boolean | undefined;
561
564
  modulesRules?: {
562
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
565
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
563
566
  include: string[];
564
567
  fallthrough?: boolean | undefined;
565
568
  }[] | undefined;
@@ -569,7 +572,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
569
572
  scriptPath?: string | undefined;
570
573
  modules?: boolean | undefined;
571
574
  modulesRules?: {
572
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
575
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
573
576
  include: string[];
574
577
  fallthrough?: boolean | undefined;
575
578
  }[] | undefined;
@@ -578,15 +581,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
578
581
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
579
582
  modules: z.ZodOptional<z.ZodBoolean>;
580
583
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
584
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
582
585
  include: z.ZodArray<z.ZodString, "many">;
583
586
  fallthrough: z.ZodOptional<z.ZodBoolean>;
584
587
  }, "strip", z.ZodTypeAny, {
585
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
588
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
586
589
  include: string[];
587
590
  fallthrough?: boolean | undefined;
588
591
  }, {
589
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
592
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
590
593
  include: string[];
591
594
  fallthrough?: boolean | undefined;
592
595
  }>, "many">>;
@@ -595,7 +598,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
595
598
  scriptPath: string;
596
599
  modules?: boolean | undefined;
597
600
  modulesRules?: {
598
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
601
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
599
602
  include: string[];
600
603
  fallthrough?: boolean | undefined;
601
604
  }[] | undefined;
@@ -604,7 +607,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
604
607
  scriptPath: string;
605
608
  modules?: boolean | undefined;
606
609
  modulesRules?: {
607
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
610
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
608
611
  include: string[];
609
612
  fallthrough?: boolean | undefined;
610
613
  }[] | undefined;
@@ -1114,7 +1117,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1114
1117
  hasAssetsAndIsVitest?: boolean | undefined;
1115
1118
  }>>, ({
1116
1119
  modules: {
1117
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1120
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1118
1121
  path: string;
1119
1122
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1120
1123
  }[];
@@ -1205,7 +1208,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1205
1208
  scriptPath?: string | undefined;
1206
1209
  modules?: boolean | undefined;
1207
1210
  modulesRules?: {
1208
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1211
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1209
1212
  include: string[];
1210
1213
  fallthrough?: boolean | undefined;
1211
1214
  }[] | undefined;
@@ -1295,7 +1298,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1295
1298
  scriptPath: string;
1296
1299
  modules?: boolean | undefined;
1297
1300
  modulesRules?: {
1298
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1301
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1299
1302
  include: string[];
1300
1303
  fallthrough?: boolean | undefined;
1301
1304
  }[] | undefined;
@@ -1383,7 +1386,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1383
1386
  hasAssetsAndIsVitest?: boolean | undefined;
1384
1387
  }), ({
1385
1388
  modules: {
1386
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1389
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1387
1390
  path: string;
1388
1391
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1389
1392
  }[];
@@ -1393,7 +1396,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1393
1396
  scriptPath?: string | undefined;
1394
1397
  modules?: boolean | undefined;
1395
1398
  modulesRules?: {
1396
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1399
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1397
1400
  include: string[];
1398
1401
  fallthrough?: boolean | undefined;
1399
1402
  }[] | undefined;
@@ -1402,7 +1405,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1402
1405
  scriptPath: string;
1403
1406
  modules?: boolean | undefined;
1404
1407
  modulesRules?: {
1405
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1408
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1406
1409
  include: string[];
1407
1410
  fallthrough?: boolean | undefined;
1408
1411
  }[] | undefined;
@@ -1509,7 +1512,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1509
1512
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
1510
1513
  unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>>;
1511
1514
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
1515
+ unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
1516
+ logRequests: z.ZodDefault<z.ZodBoolean>;
1512
1517
  }, "strip", z.ZodTypeAny, {
1518
+ logRequests: boolean;
1513
1519
  rootPath?: undefined;
1514
1520
  host?: string | undefined;
1515
1521
  port?: number | undefined;
@@ -1528,6 +1534,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1528
1534
  unsafeProxySharedSecret?: string | undefined;
1529
1535
  unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1530
1536
  unsafeStickyBlobs?: boolean | undefined;
1537
+ unsafeTriggerHandlers?: boolean | undefined;
1531
1538
  }, {
1532
1539
  rootPath?: string | undefined;
1533
1540
  host?: string | undefined;
@@ -1547,6 +1554,8 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1547
1554
  unsafeProxySharedSecret?: string | undefined;
1548
1555
  unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1549
1556
  unsafeStickyBlobs?: boolean | undefined;
1557
+ unsafeTriggerHandlers?: boolean | undefined;
1558
+ logRequests?: boolean | undefined;
1550
1559
  }>;
1551
1560
 
1552
1561
  export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
@@ -1598,6 +1607,7 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
1598
1607
  export declare interface DiskDirectory {
1599
1608
  path?: string;
1600
1609
  writable?: boolean;
1610
+ allowDotfiles?: boolean;
1601
1611
  }
1602
1612
 
1603
1613
  export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
@@ -1694,6 +1704,84 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
1694
1704
  durableObjectsPersist?: string | boolean | undefined;
1695
1705
  }>;
1696
1706
 
1707
+ export declare const EMAIL_PLUGIN: Plugin<typeof EmailOptionsSchema>;
1708
+
1709
+ export declare const EMAIL_PLUGIN_NAME = "email";
1710
+
1711
+ export declare const EmailOptionsSchema: z.ZodObject<{
1712
+ email: z.ZodOptional<z.ZodObject<{
1713
+ send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1714
+ name: z.ZodString;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ name: string;
1717
+ }, {
1718
+ name: string;
1719
+ }>, z.ZodUnion<[z.ZodObject<{
1720
+ destination_address: z.ZodOptional<z.ZodString>;
1721
+ allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
1722
+ }, "strip", z.ZodTypeAny, {
1723
+ destination_address?: string | undefined;
1724
+ allowed_destination_addresses?: undefined;
1725
+ }, {
1726
+ destination_address?: string | undefined;
1727
+ allowed_destination_addresses?: undefined;
1728
+ }>, z.ZodObject<{
1729
+ allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1730
+ destination_address: z.ZodOptional<z.ZodNever>;
1731
+ }, "strip", z.ZodTypeAny, {
1732
+ allowed_destination_addresses?: string[] | undefined;
1733
+ destination_address?: undefined;
1734
+ }, {
1735
+ allowed_destination_addresses?: string[] | undefined;
1736
+ destination_address?: undefined;
1737
+ }>]>>, "many">>;
1738
+ }, "strip", z.ZodTypeAny, {
1739
+ send_email?: ({
1740
+ name: string;
1741
+ } & ({
1742
+ destination_address?: string | undefined;
1743
+ allowed_destination_addresses?: undefined;
1744
+ } | {
1745
+ allowed_destination_addresses?: string[] | undefined;
1746
+ destination_address?: undefined;
1747
+ }))[] | undefined;
1748
+ }, {
1749
+ send_email?: ({
1750
+ name: string;
1751
+ } & ({
1752
+ destination_address?: string | undefined;
1753
+ allowed_destination_addresses?: undefined;
1754
+ } | {
1755
+ allowed_destination_addresses?: string[] | undefined;
1756
+ destination_address?: undefined;
1757
+ }))[] | undefined;
1758
+ }>>;
1759
+ }, "strip", z.ZodTypeAny, {
1760
+ email?: {
1761
+ send_email?: ({
1762
+ name: string;
1763
+ } & ({
1764
+ destination_address?: string | undefined;
1765
+ allowed_destination_addresses?: undefined;
1766
+ } | {
1767
+ allowed_destination_addresses?: string[] | undefined;
1768
+ destination_address?: undefined;
1769
+ }))[] | undefined;
1770
+ } | undefined;
1771
+ }, {
1772
+ email?: {
1773
+ send_email?: ({
1774
+ name: string;
1775
+ } & ({
1776
+ destination_address?: string | undefined;
1777
+ allowed_destination_addresses?: undefined;
1778
+ } | {
1779
+ allowed_destination_addresses?: string[] | undefined;
1780
+ destination_address?: undefined;
1781
+ }))[] | undefined;
1782
+ } | undefined;
1783
+ }>;
1784
+
1697
1785
  /* Excluded from this release type: _enableControlEndpoints */
1698
1786
 
1699
1787
  export declare function encodeSitesKey(key: string): string;
@@ -1917,6 +2005,7 @@ export declare const KVLimits: {
1917
2005
  readonly MAX_VALUE_SIZE: number;
1918
2006
  readonly MAX_VALUE_SIZE_TEST: 1024;
1919
2007
  readonly MAX_METADATA_SIZE: 1024;
2008
+ readonly MAX_BULK_SIZE: number;
1920
2009
  };
1921
2010
 
1922
2011
  export declare const kVoid: unique symbol;
@@ -2003,6 +2092,8 @@ export declare interface MatcherRegExps {
2003
2092
 
2004
2093
  export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
2005
2094
 
2095
+ export declare const MAX_BULK_GET_KEYS = 100;
2096
+
2006
2097
  export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
2007
2098
 
2008
2099
  export declare function maybeParseURL(url: Persistence): URL | undefined;
@@ -2040,6 +2131,17 @@ export declare class Miniflare {
2040
2131
  getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
2041
2132
  getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
2042
2133
  getKVNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
2134
+ getSecretsStoreSecretAPI(bindingName: string, workerName?: string): Promise<() => {
2135
+ create: (value: string) => Promise<string>;
2136
+ update: (value: string, id: string) => Promise<string>;
2137
+ duplicate: (id: string, newName: string) => Promise<string>;
2138
+ delete: (id: string) => Promise<void>;
2139
+ list: () => Promise<KVNamespaceListKey<{
2140
+ uuid: string;
2141
+ }, string>[]>;
2142
+ get: (id: string) => Promise<string>;
2143
+ }>;
2144
+ getSecretsStoreSecret(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
2043
2145
  getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
2044
2146
  getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
2045
2147
  /* Excluded from this release type: _getInternalDurableObjectNamespace */
@@ -2065,15 +2167,15 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
2065
2167
  export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
2066
2168
 
2067
2169
  export declare const ModuleDefinitionSchema: z.ZodObject<{
2068
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2170
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2069
2171
  path: z.ZodEffects<z.ZodString, string, string>;
2070
2172
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2071
2173
  }, "strip", z.ZodTypeAny, {
2072
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2174
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2073
2175
  path: string;
2074
2176
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2075
2177
  }, {
2076
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2178
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2077
2179
  path: string;
2078
2180
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2079
2181
  }>;
@@ -2081,22 +2183,22 @@ export declare const ModuleDefinitionSchema: z.ZodObject<{
2081
2183
  export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
2082
2184
 
2083
2185
  export declare const ModuleRuleSchema: z.ZodObject<{
2084
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2186
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2085
2187
  include: z.ZodArray<z.ZodString, "many">;
2086
2188
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2087
2189
  }, "strip", z.ZodTypeAny, {
2088
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2190
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2089
2191
  include: string[];
2090
2192
  fallthrough?: boolean | undefined;
2091
2193
  }, {
2092
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2194
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2093
2195
  include: string[];
2094
2196
  fallthrough?: boolean | undefined;
2095
2197
  }>;
2096
2198
 
2097
2199
  export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
2098
2200
 
2099
- export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2201
+ export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2100
2202
 
2101
2203
  export declare class Mutex {
2102
2204
  private locked;
@@ -2364,29 +2466,29 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
2364
2466
  export declare const PLUGINS: {
2365
2467
  core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2366
2468
  modules: z.ZodArray<z.ZodObject<{
2367
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2469
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2368
2470
  path: z.ZodEffects<z.ZodString, string, string>;
2369
2471
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2370
2472
  }, "strip", z.ZodTypeAny, {
2371
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2473
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2372
2474
  path: string;
2373
2475
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2374
2476
  }, {
2375
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2477
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2376
2478
  path: string;
2377
2479
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2378
2480
  }>, "many">;
2379
2481
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2380
2482
  }, "strip", z.ZodTypeAny, {
2381
2483
  modules: {
2382
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2484
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2383
2485
  path: string;
2384
2486
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2385
2487
  }[];
2386
2488
  modulesRoot?: string | undefined;
2387
2489
  }, {
2388
2490
  modules: {
2389
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2491
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2390
2492
  path: string;
2391
2493
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2392
2494
  }[];
@@ -2396,15 +2498,15 @@ export declare const PLUGINS: {
2396
2498
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2397
2499
  modules: z.ZodOptional<z.ZodBoolean>;
2398
2500
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2399
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2501
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2400
2502
  include: z.ZodArray<z.ZodString, "many">;
2401
2503
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2402
2504
  }, "strip", z.ZodTypeAny, {
2403
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2505
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2404
2506
  include: string[];
2405
2507
  fallthrough?: boolean | undefined;
2406
2508
  }, {
2407
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2509
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2408
2510
  include: string[];
2409
2511
  fallthrough?: boolean | undefined;
2410
2512
  }>, "many">>;
@@ -2414,7 +2516,7 @@ export declare const PLUGINS: {
2414
2516
  scriptPath?: string | undefined;
2415
2517
  modules?: boolean | undefined;
2416
2518
  modulesRules?: {
2417
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2519
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2418
2520
  include: string[];
2419
2521
  fallthrough?: boolean | undefined;
2420
2522
  }[] | undefined;
@@ -2424,7 +2526,7 @@ export declare const PLUGINS: {
2424
2526
  scriptPath?: string | undefined;
2425
2527
  modules?: boolean | undefined;
2426
2528
  modulesRules?: {
2427
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2529
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2428
2530
  include: string[];
2429
2531
  fallthrough?: boolean | undefined;
2430
2532
  }[] | undefined;
@@ -2433,15 +2535,15 @@ export declare const PLUGINS: {
2433
2535
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
2434
2536
  modules: z.ZodOptional<z.ZodBoolean>;
2435
2537
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2436
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2538
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2437
2539
  include: z.ZodArray<z.ZodString, "many">;
2438
2540
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2439
2541
  }, "strip", z.ZodTypeAny, {
2440
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2542
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2441
2543
  include: string[];
2442
2544
  fallthrough?: boolean | undefined;
2443
2545
  }, {
2444
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2546
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2445
2547
  include: string[];
2446
2548
  fallthrough?: boolean | undefined;
2447
2549
  }>, "many">>;
@@ -2450,7 +2552,7 @@ export declare const PLUGINS: {
2450
2552
  scriptPath: string;
2451
2553
  modules?: boolean | undefined;
2452
2554
  modulesRules?: {
2453
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2555
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2454
2556
  include: string[];
2455
2557
  fallthrough?: boolean | undefined;
2456
2558
  }[] | undefined;
@@ -2459,7 +2561,7 @@ export declare const PLUGINS: {
2459
2561
  scriptPath: string;
2460
2562
  modules?: boolean | undefined;
2461
2563
  modulesRules?: {
2462
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2564
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2463
2565
  include: string[];
2464
2566
  fallthrough?: boolean | undefined;
2465
2567
  }[] | undefined;
@@ -2965,7 +3067,7 @@ export declare const PLUGINS: {
2965
3067
  hasAssetsAndIsVitest?: boolean | undefined;
2966
3068
  }>>, ({
2967
3069
  modules: {
2968
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3070
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2969
3071
  path: string;
2970
3072
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2971
3073
  }[];
@@ -3056,7 +3158,7 @@ export declare const PLUGINS: {
3056
3158
  scriptPath?: string | undefined;
3057
3159
  modules?: boolean | undefined;
3058
3160
  modulesRules?: {
3059
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3161
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3060
3162
  include: string[];
3061
3163
  fallthrough?: boolean | undefined;
3062
3164
  }[] | undefined;
@@ -3146,7 +3248,7 @@ export declare const PLUGINS: {
3146
3248
  scriptPath: string;
3147
3249
  modules?: boolean | undefined;
3148
3250
  modulesRules?: {
3149
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3251
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3150
3252
  include: string[];
3151
3253
  fallthrough?: boolean | undefined;
3152
3254
  }[] | undefined;
@@ -3234,7 +3336,7 @@ export declare const PLUGINS: {
3234
3336
  hasAssetsAndIsVitest?: boolean | undefined;
3235
3337
  }), ({
3236
3338
  modules: {
3237
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3339
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3238
3340
  path: string;
3239
3341
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
3240
3342
  }[];
@@ -3244,7 +3346,7 @@ export declare const PLUGINS: {
3244
3346
  scriptPath?: string | undefined;
3245
3347
  modules?: boolean | undefined;
3246
3348
  modulesRules?: {
3247
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3349
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3248
3350
  include: string[];
3249
3351
  fallthrough?: boolean | undefined;
3250
3352
  }[] | undefined;
@@ -3253,7 +3355,7 @@ export declare const PLUGINS: {
3253
3355
  scriptPath: string;
3254
3356
  modules?: boolean | undefined;
3255
3357
  modulesRules?: {
3256
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3358
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3257
3359
  include: string[];
3258
3360
  fallthrough?: boolean | undefined;
3259
3361
  }[] | undefined;
@@ -3358,7 +3460,10 @@ export declare const PLUGINS: {
3358
3460
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
3359
3461
  unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>>;
3360
3462
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
3463
+ unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
3464
+ logRequests: z.ZodDefault<z.ZodBoolean>;
3361
3465
  }, "strip", z.ZodTypeAny, {
3466
+ logRequests: boolean;
3362
3467
  rootPath?: undefined;
3363
3468
  host?: string | undefined;
3364
3469
  port?: number | undefined;
@@ -3377,6 +3482,7 @@ export declare const PLUGINS: {
3377
3482
  unsafeProxySharedSecret?: string | undefined;
3378
3483
  unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3379
3484
  unsafeStickyBlobs?: boolean | undefined;
3485
+ unsafeTriggerHandlers?: boolean | undefined;
3380
3486
  }, {
3381
3487
  rootPath?: string | undefined;
3382
3488
  host?: string | undefined;
@@ -3396,6 +3502,8 @@ export declare const PLUGINS: {
3396
3502
  unsafeProxySharedSecret?: string | undefined;
3397
3503
  unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3398
3504
  unsafeStickyBlobs?: boolean | undefined;
3505
+ unsafeTriggerHandlers?: boolean | undefined;
3506
+ logRequests?: boolean | undefined;
3399
3507
  }>>;
3400
3508
  cache: Plugin_2<z.ZodObject<{
3401
3509
  cache: z.ZodOptional<z.ZodBoolean>;
@@ -3965,6 +4073,107 @@ export declare const PLUGINS: {
3965
4073
  }, {
3966
4074
  pipelines?: string[] | Record<string, string> | undefined;
3967
4075
  }>>;
4076
+ "secrets-store": Plugin_2<z.ZodObject<{
4077
+ secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4078
+ store_id: z.ZodString;
4079
+ secret_name: z.ZodString;
4080
+ }, "strip", z.ZodTypeAny, {
4081
+ store_id: string;
4082
+ secret_name: string;
4083
+ }, {
4084
+ store_id: string;
4085
+ secret_name: string;
4086
+ }>>>;
4087
+ }, "strip", z.ZodTypeAny, {
4088
+ secretsStoreSecrets?: Record<string, {
4089
+ store_id: string;
4090
+ secret_name: string;
4091
+ }> | undefined;
4092
+ }, {
4093
+ secretsStoreSecrets?: Record<string, {
4094
+ store_id: string;
4095
+ secret_name: string;
4096
+ }> | undefined;
4097
+ }>, z.ZodObject<{
4098
+ secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
4099
+ }, "strip", z.ZodTypeAny, {
4100
+ secretsStorePersist?: string | boolean | undefined;
4101
+ }, {
4102
+ secretsStorePersist?: string | boolean | undefined;
4103
+ }>>;
4104
+ email: Plugin_2<z.ZodObject<{
4105
+ email: z.ZodOptional<z.ZodObject<{
4106
+ send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
4107
+ name: z.ZodString;
4108
+ }, "strip", z.ZodTypeAny, {
4109
+ name: string;
4110
+ }, {
4111
+ name: string;
4112
+ }>, z.ZodUnion<[z.ZodObject<{
4113
+ destination_address: z.ZodOptional<z.ZodString>;
4114
+ allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
4115
+ }, "strip", z.ZodTypeAny, {
4116
+ destination_address?: string | undefined;
4117
+ allowed_destination_addresses?: undefined;
4118
+ }, {
4119
+ destination_address?: string | undefined;
4120
+ allowed_destination_addresses?: undefined;
4121
+ }>, z.ZodObject<{
4122
+ allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4123
+ destination_address: z.ZodOptional<z.ZodNever>;
4124
+ }, "strip", z.ZodTypeAny, {
4125
+ allowed_destination_addresses?: string[] | undefined;
4126
+ destination_address?: undefined;
4127
+ }, {
4128
+ allowed_destination_addresses?: string[] | undefined;
4129
+ destination_address?: undefined;
4130
+ }>]>>, "many">>;
4131
+ }, "strip", z.ZodTypeAny, {
4132
+ send_email?: ({
4133
+ name: string;
4134
+ } & ({
4135
+ destination_address?: string | undefined;
4136
+ allowed_destination_addresses?: undefined;
4137
+ } | {
4138
+ allowed_destination_addresses?: string[] | undefined;
4139
+ destination_address?: undefined;
4140
+ }))[] | undefined;
4141
+ }, {
4142
+ send_email?: ({
4143
+ name: string;
4144
+ } & ({
4145
+ destination_address?: string | undefined;
4146
+ allowed_destination_addresses?: undefined;
4147
+ } | {
4148
+ allowed_destination_addresses?: string[] | undefined;
4149
+ destination_address?: undefined;
4150
+ }))[] | undefined;
4151
+ }>>;
4152
+ }, "strip", z.ZodTypeAny, {
4153
+ email?: {
4154
+ send_email?: ({
4155
+ name: string;
4156
+ } & ({
4157
+ destination_address?: string | undefined;
4158
+ allowed_destination_addresses?: undefined;
4159
+ } | {
4160
+ allowed_destination_addresses?: string[] | undefined;
4161
+ destination_address?: undefined;
4162
+ }))[] | undefined;
4163
+ } | undefined;
4164
+ }, {
4165
+ email?: {
4166
+ send_email?: ({
4167
+ name: string;
4168
+ } & ({
4169
+ destination_address?: string | undefined;
4170
+ allowed_destination_addresses?: undefined;
4171
+ } | {
4172
+ allowed_destination_addresses?: string[] | undefined;
4173
+ destination_address?: undefined;
4174
+ }))[] | undefined;
4175
+ } | undefined;
4176
+ }>>;
3968
4177
  };
3969
4178
 
3970
4179
  export declare type Plugins = typeof PLUGINS;
@@ -4533,6 +4742,41 @@ export declare interface RuntimeOptions {
4533
4742
 
4534
4743
  export declare function sanitisePath(unsafe: string): string;
4535
4744
 
4745
+ export declare const SECRET_STORE_PLUGIN: Plugin<typeof SecretsStoreSecretsOptionsSchema, typeof SecretsStoreSecretsSharedOptionsSchema>;
4746
+
4747
+ export declare const SECRET_STORE_PLUGIN_NAME = "secrets-store";
4748
+
4749
+ export declare const SecretsStoreSecretsOptionsSchema: z.ZodObject<{
4750
+ secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4751
+ store_id: z.ZodString;
4752
+ secret_name: z.ZodString;
4753
+ }, "strip", z.ZodTypeAny, {
4754
+ store_id: string;
4755
+ secret_name: string;
4756
+ }, {
4757
+ store_id: string;
4758
+ secret_name: string;
4759
+ }>>>;
4760
+ }, "strip", z.ZodTypeAny, {
4761
+ secretsStoreSecrets?: Record<string, {
4762
+ store_id: string;
4763
+ secret_name: string;
4764
+ }> | undefined;
4765
+ }, {
4766
+ secretsStoreSecrets?: Record<string, {
4767
+ store_id: string;
4768
+ secret_name: string;
4769
+ }> | undefined;
4770
+ }>;
4771
+
4772
+ export declare const SecretsStoreSecretsSharedOptionsSchema: z.ZodObject<{
4773
+ secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
4774
+ }, "strip", z.ZodTypeAny, {
4775
+ secretsStorePersist?: string | boolean | undefined;
4776
+ }, {
4777
+ secretsStorePersist?: string | boolean | undefined;
4778
+ }>;
4779
+
4536
4780
  export declare interface SerialisableMatcherRegExps {
4537
4781
  include: string[];
4538
4782
  exclude: string[];
@@ -4588,7 +4832,7 @@ export declare const SharedHeaders: {
4588
4832
  readonly LOG_LEVEL: "MF-Log-Level";
4589
4833
  };
4590
4834
 
4591
- 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>;
4835
+ 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> & z.input<typeof SECRET_STORE_PLUGIN.sharedOptions>;
4592
4836
 
4593
4837
  export declare const SiteBindings: {
4594
4838
  readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
@@ -4630,29 +4874,29 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
4630
4874
 
4631
4875
  export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4632
4876
  modules: z.ZodArray<z.ZodObject<{
4633
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4877
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4634
4878
  path: z.ZodEffects<z.ZodString, string, string>;
4635
4879
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
4636
4880
  }, "strip", z.ZodTypeAny, {
4637
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4881
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4638
4882
  path: string;
4639
4883
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4640
4884
  }, {
4641
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4885
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4642
4886
  path: string;
4643
4887
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4644
4888
  }>, "many">;
4645
4889
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4646
4890
  }, "strip", z.ZodTypeAny, {
4647
4891
  modules: {
4648
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4892
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4649
4893
  path: string;
4650
4894
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4651
4895
  }[];
4652
4896
  modulesRoot?: string | undefined;
4653
4897
  }, {
4654
4898
  modules: {
4655
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4899
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4656
4900
  path: string;
4657
4901
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4658
4902
  }[];
@@ -4662,15 +4906,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4662
4906
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4663
4907
  modules: z.ZodOptional<z.ZodBoolean>;
4664
4908
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4665
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4909
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4666
4910
  include: z.ZodArray<z.ZodString, "many">;
4667
4911
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4668
4912
  }, "strip", z.ZodTypeAny, {
4669
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4913
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4670
4914
  include: string[];
4671
4915
  fallthrough?: boolean | undefined;
4672
4916
  }, {
4673
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4917
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4674
4918
  include: string[];
4675
4919
  fallthrough?: boolean | undefined;
4676
4920
  }>, "many">>;
@@ -4680,7 +4924,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4680
4924
  scriptPath?: string | undefined;
4681
4925
  modules?: boolean | undefined;
4682
4926
  modulesRules?: {
4683
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4927
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4684
4928
  include: string[];
4685
4929
  fallthrough?: boolean | undefined;
4686
4930
  }[] | undefined;
@@ -4690,7 +4934,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4690
4934
  scriptPath?: string | undefined;
4691
4935
  modules?: boolean | undefined;
4692
4936
  modulesRules?: {
4693
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4937
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4694
4938
  include: string[];
4695
4939
  fallthrough?: boolean | undefined;
4696
4940
  }[] | undefined;
@@ -4699,15 +4943,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4699
4943
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
4700
4944
  modules: z.ZodOptional<z.ZodBoolean>;
4701
4945
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4702
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4946
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4703
4947
  include: z.ZodArray<z.ZodString, "many">;
4704
4948
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4705
4949
  }, "strip", z.ZodTypeAny, {
4706
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4950
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4707
4951
  include: string[];
4708
4952
  fallthrough?: boolean | undefined;
4709
4953
  }, {
4710
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4954
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4711
4955
  include: string[];
4712
4956
  fallthrough?: boolean | undefined;
4713
4957
  }>, "many">>;
@@ -4716,7 +4960,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4716
4960
  scriptPath: string;
4717
4961
  modules?: boolean | undefined;
4718
4962
  modulesRules?: {
4719
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4963
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4720
4964
  include: string[];
4721
4965
  fallthrough?: boolean | undefined;
4722
4966
  }[] | undefined;
@@ -4725,7 +4969,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4725
4969
  scriptPath: string;
4726
4970
  modules?: boolean | undefined;
4727
4971
  modulesRules?: {
4728
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4972
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4729
4973
  include: string[];
4730
4974
  fallthrough?: boolean | undefined;
4731
4975
  }[] | undefined;
@@ -5031,15 +5275,13 @@ export declare type Worker_Module = {
5031
5275
  wasm?: Uint8Array;
5032
5276
  } | {
5033
5277
  json?: string;
5034
- } | {
5035
- nodeJsCompatModule?: string;
5036
5278
  } | {
5037
5279
  pythonModule?: string;
5038
5280
  } | {
5039
5281
  pythonRequirement?: string;
5040
5282
  });
5041
5283
 
5042
- 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> & z.input<typeof PIPELINE_PLUGIN.options>;
5284
+ 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 EMAIL_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options> & z.input<typeof SECRET_STORE_PLUGIN.options>;
5043
5285
 
5044
5286
  export declare interface WorkerRoute {
5045
5287
  target: string;