@cloudflare/vite-plugin 1.44.0 → 1.45.1

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.
@@ -1,4 +1,4 @@
1
- //#region ../config/dist/public-CFHebTo4.mjs
1
+ //#region ../config/dist/public-mmLmXmLK.mjs
2
2
  const bindings = {
3
3
  agentMemory: (options) => ({
4
4
  type: "agent-memory",
@@ -142,6 +142,7 @@ const bindings = {
142
142
  * triggers.queue({ name: "my-queue" }),
143
143
  * triggers.scheduled({ schedule: "0 * * * *" }),
144
144
  * triggers.scheduled({ schedule: "30 0 * * *" }),
145
+ * triggers.email({ addresses: ["support@example.com"] }),
145
146
  * ],
146
147
  * });
147
148
  * ```
@@ -158,6 +159,10 @@ const triggers = {
158
159
  scheduled: (options) => ({
159
160
  type: "scheduled",
160
161
  ...options
162
+ }),
163
+ email: (options) => ({
164
+ type: "email",
165
+ ...options
161
166
  })
162
167
  };
163
168
  function durableObject(options) {
@@ -1 +1 @@
1
- {"version":3,"file":"experimental-config.mjs","names":[],"sources":["../../config/dist/public-CFHebTo4.mjs"],"sourcesContent":["//#region src/bindings.ts\nconst bindings = {\n\tagentMemory: (options) => ({\n\t\ttype: \"agent-memory\",\n\t\t...options\n\t}),\n\tai: (options) => ({\n\t\ttype: \"ai\",\n\t\t...options\n\t}),\n\taiSearch: (options) => ({\n\t\ttype: \"ai-search\",\n\t\t...options\n\t}),\n\taiSearchNamespace: (options) => ({\n\t\ttype: \"ai-search-namespace\",\n\t\t...options\n\t}),\n\tanalyticsEngineDataset: (options) => ({\n\t\ttype: \"analytics-engine-dataset\",\n\t\t...options\n\t}),\n\tartifacts: (options) => ({\n\t\ttype: \"artifacts\",\n\t\t...options\n\t}),\n\tassets: () => ({ type: \"assets\" }),\n\tbrowser: (options) => ({\n\t\ttype: \"browser\",\n\t\t...options\n\t}),\n\td1: (options) => ({\n\t\ttype: \"d1\",\n\t\t...options\n\t}),\n\tdispatchNamespace: (options) => ({\n\t\ttype: \"dispatch-namespace\",\n\t\t...options\n\t}),\n\tdurableObject: (options) => ({\n\t\ttype: \"durable-object\",\n\t\t...options\n\t}),\n\tflagship: (options) => ({\n\t\ttype: \"flagship\",\n\t\t...options\n\t}),\n\thyperdrive: (options) => ({\n\t\ttype: \"hyperdrive\",\n\t\t...options\n\t}),\n\timages: (options) => ({\n\t\ttype: \"images\",\n\t\t...options\n\t}),\n\tjson: (value) => ({\n\t\ttype: \"json\",\n\t\tvalue\n\t}),\n\tkv: (options) => ({\n\t\ttype: \"kv\",\n\t\t...options\n\t}),\n\tlogfwdr: (options) => ({\n\t\ttype: \"logfwdr\",\n\t\t...options\n\t}),\n\tmedia: (options) => ({\n\t\ttype: \"media\",\n\t\t...options\n\t}),\n\tmtlsCertificate: (options) => ({\n\t\ttype: \"mtls-certificate\",\n\t\t...options\n\t}),\n\tpipeline: (options) => ({\n\t\ttype: \"pipeline\",\n\t\t...options\n\t}),\n\tqueue: (options) => ({\n\t\ttype: \"queue\",\n\t\t...options\n\t}),\n\trateLimit: (options) => ({\n\t\ttype: \"rate-limit\",\n\t\t...options\n\t}),\n\tr2: (options) => ({\n\t\ttype: \"r2\",\n\t\t...options\n\t}),\n\tsecret: () => ({ type: \"secret\" }),\n\tsecretsStoreSecret: (options) => ({\n\t\ttype: \"secrets-store-secret\",\n\t\t...options\n\t}),\n\tsendEmail: (options) => ({\n\t\ttype: \"send-email\",\n\t\t...options\n\t}),\n\tstream: (options) => ({\n\t\ttype: \"stream\",\n\t\t...options\n\t}),\n\ttext: (value) => ({\n\t\ttype: \"text\",\n\t\tvalue\n\t}),\n\tvectorize: (options) => ({\n\t\ttype: \"vectorize\",\n\t\t...options\n\t}),\n\tversionMetadata: () => ({ type: \"version-metadata\" }),\n\tvpcService: (options) => ({\n\t\ttype: \"vpc-service\",\n\t\t...options\n\t}),\n\tvpcNetwork: (options) => ({\n\t\ttype: \"vpc-network\",\n\t\t...options\n\t}),\n\twebSearch: (options) => ({\n\t\ttype: \"web-search\",\n\t\t...options\n\t}),\n\tworker: (options) => ({\n\t\ttype: \"worker\",\n\t\t...options\n\t}),\n\tworkerLoader: () => ({ type: \"worker-loader\" })\n};\n\n//#endregion\n//#region src/triggers.ts\n/**\n* Triggers builder for configuring event triggers.\n*\n* @example\n* ```typescript\n* import { defineWorker, triggers } from \"@cloudflare/config\";\n*\n* export default defineWorker({\n* triggers: [\n* triggers.fetch({ pattern: \"example.com/*\", zone: \"example.com\" }),\n* triggers.queue({ name: \"my-queue\" }),\n* triggers.scheduled({ schedule: \"0 * * * *\" }),\n* triggers.scheduled({ schedule: \"30 0 * * *\" }),\n* ],\n* });\n* ```\n*/\nconst triggers = {\n\tfetch: (options) => ({\n\t\ttype: \"fetch\",\n\t\t...options\n\t}),\n\tqueue: (options) => ({\n\t\ttype: \"queue\",\n\t\t...options\n\t}),\n\tscheduled: (options) => ({\n\t\ttype: \"scheduled\",\n\t\t...options\n\t})\n};\n\n//#endregion\n//#region src/exports.ts\nfunction durableObject(options) {\n\treturn {\n\t\ttype: \"durable-object\",\n\t\t...options\n\t};\n}\nfunction worker(options = {}) {\n\treturn {\n\t\ttype: \"worker\",\n\t\t...options\n\t};\n}\n/**\n* Exports builder for configuring Worker exports.\n*\n* @example\n* ```typescript\n* import { defineWorker, exports } from \"@cloudflare/config\";\n*\n* export default defineWorker({\n* exports: {\n* MyDurableObject: exports.durableObject({ storage: \"sqlite\" }),\n* OldClass: exports.durableObject({ state: \"deleted\" }),\n* OldName: exports.durableObject({ state: \"renamed\", renamedTo: \"NewName\" }),\n* Outgoing: exports.durableObject({ state: \"transferred\", transferredTo: \"target-worker\" }),\n* Incoming: exports.durableObject({ state: \"expecting-transfer\", storage: \"sqlite\", transferFrom: \"source-worker\" }),\n* },\n* });\n* ```\n*/\nconst exports = {\n\tdurableObject,\n\tworker\n};\n\n//#endregion\n//#region src/worker-definition.ts\nconst CONFIG = Symbol.for(\"@cloudflare/config:worker-config\");\nfunction defineWorker(config) {\n\treturn {\n\t\t[CONFIG]: config,\n\t\tdurableObject(options) {\n\t\t\treturn {\n\t\t\t\ttype: \"durable-object\",\n\t\t\t\t...options\n\t\t\t};\n\t\t},\n\t\tworker(options) {\n\t\t\treturn {\n\t\t\t\ttype: \"worker\",\n\t\t\t\t...options\n\t\t\t};\n\t\t}\n\t};\n}\nasync function resolveWorkerDefinition(def, ctx) {\n\tconst raw = typeof def === \"object\" && def !== null && CONFIG in def ? def[CONFIG] : def;\n\treturn await (typeof raw === \"function\" ? raw(ctx) : raw);\n}\n\n//#endregion\nexport { bindings as a, triggers as i, resolveWorkerDefinition as n, exports as r, defineWorker as t };"],"mappings":";AACA,MAAM,WAAW;CAChB,cAAc,aAAa;EAC1B,MAAM;EACN,GAAG;EACH;CACD,KAAK,aAAa;EACjB,MAAM;EACN,GAAG;EACH;CACD,WAAW,aAAa;EACvB,MAAM;EACN,GAAG;EACH;CACD,oBAAoB,aAAa;EAChC,MAAM;EACN,GAAG;EACH;CACD,yBAAyB,aAAa;EACrC,MAAM;EACN,GAAG;EACH;CACD,YAAY,aAAa;EACxB,MAAM;EACN,GAAG;EACH;CACD,eAAe,EAAE,MAAM,UAAU;CACjC,UAAU,aAAa;EACtB,MAAM;EACN,GAAG;EACH;CACD,KAAK,aAAa;EACjB,MAAM;EACN,GAAG;EACH;CACD,oBAAoB,aAAa;EAChC,MAAM;EACN,GAAG;EACH;CACD,gBAAgB,aAAa;EAC5B,MAAM;EACN,GAAG;EACH;CACD,WAAW,aAAa;EACvB,MAAM;EACN,GAAG;EACH;CACD,aAAa,aAAa;EACzB,MAAM;EACN,GAAG;EACH;CACD,SAAS,aAAa;EACrB,MAAM;EACN,GAAG;EACH;CACD,OAAO,WAAW;EACjB,MAAM;EACN;EACA;CACD,KAAK,aAAa;EACjB,MAAM;EACN,GAAG;EACH;CACD,UAAU,aAAa;EACtB,MAAM;EACN,GAAG;EACH;CACD,QAAQ,aAAa;EACpB,MAAM;EACN,GAAG;EACH;CACD,kBAAkB,aAAa;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;EAEF,OAAO,SAAS;AACf,UAAO;IACN,MAAM;IACN,GAAG;IACH;;EAEF"}
1
+ {"version":3,"file":"experimental-config.mjs","names":[],"sources":["../../config/dist/public-mmLmXmLK.mjs"],"sourcesContent":["//#region src/bindings.ts\nconst bindings = {\n\tagentMemory: (options) => ({\n\t\ttype: \"agent-memory\",\n\t\t...options\n\t}),\n\tai: (options) => ({\n\t\ttype: \"ai\",\n\t\t...options\n\t}),\n\taiSearch: (options) => ({\n\t\ttype: \"ai-search\",\n\t\t...options\n\t}),\n\taiSearchNamespace: (options) => ({\n\t\ttype: \"ai-search-namespace\",\n\t\t...options\n\t}),\n\tanalyticsEngineDataset: (options) => ({\n\t\ttype: \"analytics-engine-dataset\",\n\t\t...options\n\t}),\n\tartifacts: (options) => ({\n\t\ttype: \"artifacts\",\n\t\t...options\n\t}),\n\tassets: () => ({ type: \"assets\" }),\n\tbrowser: (options) => ({\n\t\ttype: \"browser\",\n\t\t...options\n\t}),\n\td1: (options) => ({\n\t\ttype: \"d1\",\n\t\t...options\n\t}),\n\tdispatchNamespace: (options) => ({\n\t\ttype: \"dispatch-namespace\",\n\t\t...options\n\t}),\n\tdurableObject: (options) => ({\n\t\ttype: \"durable-object\",\n\t\t...options\n\t}),\n\tflagship: (options) => ({\n\t\ttype: \"flagship\",\n\t\t...options\n\t}),\n\thyperdrive: (options) => ({\n\t\ttype: \"hyperdrive\",\n\t\t...options\n\t}),\n\timages: (options) => ({\n\t\ttype: \"images\",\n\t\t...options\n\t}),\n\tjson: (value) => ({\n\t\ttype: \"json\",\n\t\tvalue\n\t}),\n\tkv: (options) => ({\n\t\ttype: \"kv\",\n\t\t...options\n\t}),\n\tlogfwdr: (options) => ({\n\t\ttype: \"logfwdr\",\n\t\t...options\n\t}),\n\tmedia: (options) => ({\n\t\ttype: \"media\",\n\t\t...options\n\t}),\n\tmtlsCertificate: (options) => ({\n\t\ttype: \"mtls-certificate\",\n\t\t...options\n\t}),\n\tpipeline: (options) => ({\n\t\ttype: \"pipeline\",\n\t\t...options\n\t}),\n\tqueue: (options) => ({\n\t\ttype: \"queue\",\n\t\t...options\n\t}),\n\trateLimit: (options) => ({\n\t\ttype: \"rate-limit\",\n\t\t...options\n\t}),\n\tr2: (options) => ({\n\t\ttype: \"r2\",\n\t\t...options\n\t}),\n\tsecret: () => ({ type: \"secret\" }),\n\tsecretsStoreSecret: (options) => ({\n\t\ttype: \"secrets-store-secret\",\n\t\t...options\n\t}),\n\tsendEmail: (options) => ({\n\t\ttype: \"send-email\",\n\t\t...options\n\t}),\n\tstream: (options) => ({\n\t\ttype: \"stream\",\n\t\t...options\n\t}),\n\ttext: (value) => ({\n\t\ttype: \"text\",\n\t\tvalue\n\t}),\n\tvectorize: (options) => ({\n\t\ttype: \"vectorize\",\n\t\t...options\n\t}),\n\tversionMetadata: () => ({ type: \"version-metadata\" }),\n\tvpcService: (options) => ({\n\t\ttype: \"vpc-service\",\n\t\t...options\n\t}),\n\tvpcNetwork: (options) => ({\n\t\ttype: \"vpc-network\",\n\t\t...options\n\t}),\n\twebSearch: (options) => ({\n\t\ttype: \"web-search\",\n\t\t...options\n\t}),\n\tworker: (options) => ({\n\t\ttype: \"worker\",\n\t\t...options\n\t}),\n\tworkerLoader: () => ({ type: \"worker-loader\" })\n};\n\n//#endregion\n//#region src/triggers.ts\n/**\n* Triggers builder for configuring event triggers.\n*\n* @example\n* ```typescript\n* import { defineWorker, triggers } from \"@cloudflare/config\";\n*\n* export default defineWorker({\n* triggers: [\n* triggers.fetch({ pattern: \"example.com/*\", zone: \"example.com\" }),\n* triggers.queue({ name: \"my-queue\" }),\n* triggers.scheduled({ schedule: \"0 * * * *\" }),\n* triggers.scheduled({ schedule: \"30 0 * * *\" }),\n* triggers.email({ addresses: [\"support@example.com\"] }),\n* ],\n* });\n* ```\n*/\nconst triggers = {\n\tfetch: (options) => ({\n\t\ttype: \"fetch\",\n\t\t...options\n\t}),\n\tqueue: (options) => ({\n\t\ttype: \"queue\",\n\t\t...options\n\t}),\n\tscheduled: (options) => ({\n\t\ttype: \"scheduled\",\n\t\t...options\n\t}),\n\temail: (options) => ({\n\t\ttype: \"email\",\n\t\t...options\n\t})\n};\n\n//#endregion\n//#region src/exports.ts\nfunction durableObject(options) {\n\treturn {\n\t\ttype: \"durable-object\",\n\t\t...options\n\t};\n}\nfunction worker(options = {}) {\n\treturn {\n\t\ttype: \"worker\",\n\t\t...options\n\t};\n}\n/**\n* Exports builder for configuring Worker exports.\n*\n* @example\n* ```typescript\n* import { defineWorker, exports } from \"@cloudflare/config\";\n*\n* export default defineWorker({\n* exports: {\n* MyDurableObject: exports.durableObject({ storage: \"sqlite\" }),\n* OldClass: exports.durableObject({ state: \"deleted\" }),\n* OldName: exports.durableObject({ state: \"renamed\", renamedTo: \"NewName\" }),\n* Outgoing: exports.durableObject({ state: \"transferred\", transferredTo: \"target-worker\" }),\n* Incoming: exports.durableObject({ state: \"expecting-transfer\", storage: \"sqlite\", transferFrom: \"source-worker\" }),\n* },\n* });\n* ```\n*/\nconst exports = {\n\tdurableObject,\n\tworker\n};\n\n//#endregion\n//#region src/worker-definition.ts\nconst CONFIG = Symbol.for(\"@cloudflare/config:worker-config\");\nfunction defineWorker(config) {\n\treturn {\n\t\t[CONFIG]: config,\n\t\tdurableObject(options) {\n\t\t\treturn {\n\t\t\t\ttype: \"durable-object\",\n\t\t\t\t...options\n\t\t\t};\n\t\t},\n\t\tworker(options) {\n\t\t\treturn {\n\t\t\t\ttype: \"worker\",\n\t\t\t\t...options\n\t\t\t};\n\t\t}\n\t};\n}\nasync function resolveWorkerDefinition(def, ctx) {\n\tconst raw = typeof def === \"object\" && def !== null && CONFIG in def ? def[CONFIG] : def;\n\treturn await (typeof raw === \"function\" ? raw(ctx) : raw);\n}\n\n//#endregion\nexport { bindings as a, triggers as i, resolveWorkerDefinition as n, exports as r, defineWorker as t };"],"mappings":";AACA,MAAM,WAAW;CAChB,cAAc,aAAa;EAC1B,MAAM;EACN,GAAG;EACH;CACD,KAAK,aA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AAM,oBAAoB;CACpD,aAAa,aAAa;EACzB,MAAM;EACN,GAAG;EACH;CACD,aAAa,aAAa;EACzB,MAAM;EACN,GAAG;EACH;CACD,YAAY,aAAa;EACxB,MAAM;EACN,GAAG;EACH;CACD,SAAS,aAAa;EACrB,MAAM;EACN,GAAG;EACH;CACD,qBAAqB,EAAE,MAAM,iBAAiB;CAC9C;;;;;;;;;;;;;;;;;;;AAsBD,MAAM,WAAW;CAChB,QAAQ,aAAa;EACpB,MAAM;EACN,GAAG;EACH;CACD,QAAQ,aAAa;EACpB,MAAM;EACN,GAAG;EACH;CACD,YAAY,aAAa;EACxB,MAAM;EACN,GAAG;EACH;CACD,QAAQ,aAAa;EACpB,MAAM;EACN,GAAG;EACH;CACD;AAID,SAAS,cAAc,SAAS;AAC/B,QAAO;EACN,MAAM;EACN,GAAG;EACH;;AAEF,SAAS,OAAO,UAAU,EAAE,EAAE;AAC7B,QAAO;EACN,MAAM;EACN,GAAG;EACH;;;;;;;;;;;;;;;;;;;;AAoBF,MAAM,UAAU;CACf;CACA;CACA;AAID,MAAM,SAAS,OAAO,IAAI,mCAAmC;AAC7D,SAAS,aAAa,QAAQ;AAC7B,QAAO;GACL,SAAS;EACV,cAAc,SAAS;AACtB,UAAO;IACN,MAAM;IACN,GAAG;IACH;;EAEF,OAAO,SAAS;AACf,UAAO;IACN,MAAM;IACN,GAAG;IACH;;EAEF"}
package/dist/index.d.mts CHANGED
@@ -107,6 +107,12 @@ interface ExperimentalNewConfig {
107
107
  * root. Defaults to `true`.
108
108
  */
109
109
  generate?: boolean;
110
+ /**
111
+ * Whether to include the Worker's runtime types (generated from the
112
+ * project's compatibility date and flags) in the generated
113
+ * `worker-configuration.d.ts`. Defaults to `true`.
114
+ */
115
+ includeRuntime?: boolean;
110
116
  };
111
117
  /**
112
118
  * Whether to emit the experimental Build Output API (`.cloudflare/output/v0/`)
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/utils.ts","../src/workers-configs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;QAChB,QAAQ;sBACM,QAAQ;;;;;;;AFzI7B;;;;ACzBA;;;;AAA+B,iBEaf,gCAAA,CFbe,QAuBwC,CAvBxC,EAAA;EAuB1B,WAAA,CAAA,EAAA,MAAA;AAAkE,CAAA,CAAA,EAElE;EAIA,IAAA,EEdO,UFcP;EAGA,MAAA,EAAA,SAAA,GAAA,UAAA;AAML,CAAA;;AC9BA;AACA;AAGE;AAEwB;AASd;;AAeE,iBCDE,UAAA,CDCF,YAAA,CAAA,ECD2B,YDC3B,CAAA,ECD+C,IAAA,CAAK,MDCpD,EAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/utils.ts","../src/workers-configs.ts","../src/plugin-config.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;ACsDK,KDEO,OCFP,CAAA,CAAA,CAAA,GDEoB,OCFpB,CDE4B,CCF5B,EAAA,SAA8B,CAAA;;;;AAE9B,KAzBO,YAAA,GAAe,IAyBH,CAzBQ,eA0B7B,EAAA,MA1BoD,mBA2BpD,CAAA;KAJE,8BAAA,UAAwC;ACV7C,KDYK,mBAAA,GACF,iCCbqB,GDcrB,8BCdqB;AACxB,KDeK,iCAAA,GCfmB,MDgBjB,8BChBiB,CAAA,gBAAA,CAAA;AAGtB,KDeG,8BAAA,GACJ,8BCdyB,CAAA,aAAA,CAAA,CAAA,MAAA,CAAA;AAAA;AASd;;AAeE,cDLD,0BCKC,EAAA;EAbsB;;AAAgB;EAqB1C,SAAA,cAAA,EAAA;IAED,SAAA,KAAA,EAAA;MACE,SAAA,eAAA,EAAA,eAAA;MAHmC,SAAA,QAAA,EAAA,2DAAA;IAAgB,CAAA;IAMzD,SAAA,MAAA,EAAA;MAIK,SAAA,eAA0B,EAAA,QAAQ;MAIlC,SAAA,QAAA,EAAA,oDAAoC;IAKzC,CAAA;IAIK,SAAA,MAAA,EAAA;MA2BA,SAAY,eAIH,EAAA,cAAA;MAkDd,SAAA,QAAA,EAAA,yDAAgC;IAKhC,CAAA;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