eutaxy 0.4.0 → 0.5.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.
Files changed (46) hide show
  1. package/README.md +2 -2
  2. package/dist/aws.d.mts +7 -5
  3. package/dist/aws.d.mts.map +1 -1
  4. package/dist/aws.mjs +41 -135
  5. package/dist/aws.mjs.map +1 -1
  6. package/dist/bin.mjs +2 -2
  7. package/dist/checked-CGpA2-F0.d.mts +285 -0
  8. package/dist/checked-CGpA2-F0.d.mts.map +1 -0
  9. package/dist/cli-IJrKkeYS.mjs +2 -0
  10. package/dist/cli.d.mts.map +1 -1
  11. package/dist/cli.mjs +2 -2
  12. package/dist/cloudflare.d.mts +232 -51
  13. package/dist/cloudflare.d.mts.map +1 -1
  14. package/dist/cloudflare.mjs +3 -1083
  15. package/dist/delivery-invariants-BraYqcYN.d.mts +5 -0
  16. package/dist/delivery-invariants-BraYqcYN.d.mts.map +1 -0
  17. package/dist/delivery-invariants-Cuxdna28.mjs +39 -0
  18. package/dist/delivery-invariants-Cuxdna28.mjs.map +1 -0
  19. package/dist/index.d.mts +66 -5
  20. package/dist/index.d.mts.map +1 -1
  21. package/dist/index.mjs +81 -5
  22. package/dist/index.mjs.map +1 -0
  23. package/dist/{platform-TwATAkL3.d.mts → platform-DfMwknw1.d.mts} +179 -42
  24. package/dist/platform-DfMwknw1.d.mts.map +1 -0
  25. package/dist/src-Bqc9Eyb1.mjs +2655 -0
  26. package/dist/src-Bqc9Eyb1.mjs.map +1 -0
  27. package/dist/src-DKb-fkdb.mjs +3399 -0
  28. package/dist/src-DKb-fkdb.mjs.map +1 -0
  29. package/dist/src-Dxl9ZlKn.mjs +1752 -0
  30. package/dist/src-Dxl9ZlKn.mjs.map +1 -0
  31. package/package.json +1 -1
  32. package/dist/cli-Dr-Ziogu.mjs +0 -2
  33. package/dist/cloudflare.mjs.map +0 -1
  34. package/dist/explore-YVHTRjjS.d.mts +0 -63
  35. package/dist/explore-YVHTRjjS.d.mts.map +0 -1
  36. package/dist/platform-TwATAkL3.d.mts.map +0 -1
  37. package/dist/src-BBXd0WEp.mjs +0 -117
  38. package/dist/src-BBXd0WEp.mjs.map +0 -1
  39. package/dist/src-BGdIBGkN.mjs +0 -311
  40. package/dist/src-BGdIBGkN.mjs.map +0 -1
  41. package/dist/src-Brt0dfNL.mjs +0 -1286
  42. package/dist/src-Brt0dfNL.mjs.map +0 -1
  43. package/dist/src-s6uYyC0B.mjs +0 -89
  44. package/dist/src-s6uYyC0B.mjs.map +0 -1
  45. package/dist/verdict-evEM5Gxx.mjs +0 -12
  46. package/dist/verdict-evEM5Gxx.mjs.map +0 -1
@@ -1,5 +1,6 @@
1
- import { E as JsonValue, _ as StateQuery, a as PlatformData, c as WorkerRef, d as AtMostOncePerKey, f as EffectSelector, g as RowCondition, h as Invariant, i as ExternalDecl, m as Implies, n as Platform, o as ScenarioSpec, p as EveryRow, r as Bounds, s as ScriptedResponse, u as AtLeastOnce } from "./platform-TwATAkL3.mjs";
2
- import { c as Violated, o as ScenarioVerdict, t as ExploreOptions } from "./explore-YVHTRjjS.mjs";
1
+ import { C as StateQuery, E as EffectSelector, S as RowCondition, T as Refines, a as PlatformData, b as Implies, c as WorkerRef, h as Invariant, i as ExternalDecl, k as JsonValue, n as Platform, o as ScenarioSpec, p as AtLeastOnce, r as Bounds, s as ScriptedResponse, w as Unique, x as References, y as EveryRow } from "./platform-DfMwknw1.mjs";
2
+ import { n as atMostOncePerKey, t as atLeastOnce } from "./delivery-invariants-BraYqcYN.mjs";
3
+ import { a as lemmaUnresolved, d as ModuleSpecs, i as lemmaBool, m as ExploreOptions, t as ModulePredicates, x as Violated, y as ScenarioVerdict } from "./checked-CGpA2-F0.mjs";
3
4
  interface CloudflareRegressionOptions {
4
5
  /** Import path of the scenario module, relative to the emitted file. */
5
6
  readonly scenarioPath: string;
@@ -7,10 +8,24 @@ interface CloudflareRegressionOptions {
7
8
  readonly workerPath: string;
8
9
  /** D1 binding name to schema file path, imported with `?raw`. */
9
10
  readonly schemaPaths: Readonly<Record<string, string>>;
11
+ /**
12
+ * The time budget the check ran with, when it replaced the scenario's: the
13
+ * replay gets the same, so I/O that finished within it does not time out.
14
+ */
15
+ readonly budgetMs?: number;
10
16
  /** The platform's retry limit, when the scenario was checked with a non-default one. */
11
17
  readonly maxRetries?: number;
18
+ /** The scenario sets up Durable Objects: pass the Cloudflare test helpers to the platform. */
19
+ readonly durableObjects?: boolean;
20
+ /** The scenario sets up Workflows: pass the Worker module's exports, where their classes are. */
21
+ readonly workflows?: boolean;
12
22
  readonly expect?: "holds" | "violates";
13
23
  readonly engineModule?: string;
24
+ /** Core modules to observe during the replay (import path, functions), for `refines`. */
25
+ readonly specModules?: readonly {
26
+ readonly path: string;
27
+ readonly functions: readonly string[];
28
+ }[];
14
29
  }
15
30
  /** A Vitest regression test for a Cloudflare scenario, to run under the Cloudflare Vitest plugin. */
16
31
  export declare function cloudflareRegressionTest(verdict: Violated, options: CloudflareRegressionOptions): string;
@@ -22,6 +37,80 @@ export declare function expectHolds(spec: ScenarioSpec, platform: Platform, opti
22
37
  export declare function snapshotD1(real: D1Database): Promise<{
23
38
  readonly [table: string]: readonly JsonValue[];
24
39
  }>;
40
+ /**
41
+ * The Cloudflare Vitest plugin's test helpers, as exported by
42
+ * `cloudflare:test` (pass the module namespace). Typed loosely on purpose:
43
+ * the plugin's generic overloads are too deep to check against an interface.
44
+ */
45
+ interface DurableObjectTestHelpers {
46
+ readonly runInDurableObject: unknown;
47
+ readonly evictDurableObject: unknown;
48
+ readonly listDurableObjectIds: unknown;
49
+ }
50
+ /** The Worker's default export, as far as the platform drives it. */
51
+ interface WorkerHandler {
52
+ queue?(batch: MessageBatch<unknown>, env: unknown, ctx: ExecutionContext): void | Promise<void>;
53
+ fetch?(request: Request, env: unknown, ctx: ExecutionContext): Response | Promise<Response>;
54
+ }
55
+ /** @deprecated The former name of `WorkerHandler`; removed in 0.6.0. */
56
+ type QueueHandler = WorkerHandler;
57
+ interface CloudflarePlatformOptions {
58
+ /** The bindings from `cloudflare:workers`. */
59
+ readonly env: object;
60
+ /** The Worker's default export. */
61
+ readonly handler: WorkerHandler;
62
+ /** Schema SQL per D1 binding named in the scenario's setup. */
63
+ readonly schemas: Readonly<Record<string, string>>;
64
+ /** Cloudflare's default when the consumer does not set max_retries. */
65
+ readonly maxRetries?: number;
66
+ /**
67
+ * The Cloudflare Vitest plugin's test helpers (`import * as helpers from
68
+ * "cloudflare:test"`), needed for Durable Object bindings: Eutaxy resets,
69
+ * seeds and snapshots the real objects through them.
70
+ */
71
+ readonly durableObjects?: DurableObjectTestHelpers;
72
+ /**
73
+ * The Worker module's exports (`import * as worker from "./worker.ts"`),
74
+ * where the classes `workflow` setup steps name are found.
75
+ */
76
+ readonly exports?: Readonly<Record<string, unknown>>;
77
+ }
78
+ export declare function createCloudflarePlatform(options: CloudflarePlatformOptions): Platform;
79
+ /** A type, not an interface, so it is JSON data the comparison takes as it is. */
80
+ type AttemptRecord = {
81
+ readonly event: string;
82
+ readonly attempt: number;
83
+ readonly status: "completed" | "errored";
84
+ /** Queue drive: the acknowledgement that took effect. */
85
+ readonly decision: "ack" | "retry" | null;
86
+ /** HTTP drive: the response status the caller saw (500 for an uncaught exception). */
87
+ readonly response?: number;
88
+ };
89
+ interface Side {
90
+ readonly attempts: readonly AttemptRecord[];
91
+ readonly state: {
92
+ readonly [binding: string]: {
93
+ readonly [table: string]: readonly JsonValue[];
94
+ };
95
+ };
96
+ }
97
+ interface DifferentialResult {
98
+ /** True only when both sides agree and the proxied run touched nothing unmodelled. */
99
+ readonly equal: boolean;
100
+ readonly eutaxy: Side;
101
+ readonly raw: Side;
102
+ readonly differences: readonly string[];
103
+ /** What the proxied run could not control; non-empty means the comparison proves nothing. */
104
+ readonly unsupported: readonly string[];
105
+ }
106
+ /** Run both sides and compare. The Eutaxy side runs first; both start from the schema. */
107
+ export declare function runDifferential(spec: ScenarioSpec, options: CloudflarePlatformOptions): Promise<DifferentialResult>;
108
+ /** An object a setup seeds: its text, or its text with metadata. */
109
+ type R2Seed = string | {
110
+ readonly value: string;
111
+ readonly customMetadata?: Readonly<Record<string, string>>;
112
+ readonly httpMetadata?: Readonly<Record<string, string>>;
113
+ };
25
114
  /** One queue message to deliver; `id` defaults to its position. */
26
115
  interface QueueMessage {
27
116
  readonly id?: string;
@@ -63,24 +152,98 @@ type HttpRequestSpec = {
63
152
  * retry policy decides redelivery: a webhook provider resends a request it
64
153
  * got no 2xx for (`retryOn: "non-2xx"`, the default) or only on 5xx and
65
154
  * failures (`"5xx"`), up to `retries` times; a browser-like caller has
66
- * `retries: 0`.
155
+ * `retries: 0`. `delaysMs[i]` is the virtual time the caller waits before
156
+ * its resend number i + 1 (the last entry repeats; none means at once).
157
+ * `deadlineMs` is how long the caller waits for an answer: one that comes
158
+ * later counts as failed and is resent while the handler may still run.
67
159
  */
68
160
  interface HttpDrive extends PlatformData {
69
161
  readonly kind: "http";
70
162
  readonly requests: readonly HttpRequestSpec[];
71
163
  readonly retries: number;
72
164
  readonly retryOn: "non-2xx" | "5xx";
165
+ readonly delaysMs?: readonly number[];
166
+ readonly deadlineMs?: number;
73
167
  }
74
- export declare function http(requests: readonly HttpRequestInput[], options?: {
168
+ interface HttpCallerOptions {
75
169
  readonly retries?: number;
76
170
  readonly retryOn?: "non-2xx" | "5xx";
77
- }): HttpDrive;
171
+ readonly delaysMs?: readonly number[];
172
+ readonly deadlineMs?: number;
173
+ }
174
+ export declare function http(requests: readonly HttpRequestInput[], options?: HttpCallerOptions): HttpDrive;
78
175
  /** Apply a SQL file to a D1 binding before each run. */
79
176
  interface D1Setup extends PlatformData {
80
177
  readonly kind: "d1";
81
178
  readonly binding: string;
82
179
  readonly schemaFile: string;
83
180
  }
181
+ /**
182
+ * Clear a Durable Object namespace before each run and seed the named
183
+ * objects' storage with these entries; its storage is snapshotted after the
184
+ * run for state invariants (see `durableObjectRows`).
185
+ */
186
+ interface DurableObjectSetup extends PlatformData {
187
+ readonly kind: "durable_object";
188
+ readonly binding: string;
189
+ readonly objects: {
190
+ readonly [name: string]: {
191
+ readonly [key: string]: JsonValue;
192
+ };
193
+ };
194
+ /**
195
+ * How many times each object's alarm may fire in one run (retries not
196
+ * counted); an object that keeps re-arming stops there. Default 3.
197
+ */
198
+ readonly alarmsPerObject?: number;
199
+ }
200
+ export declare function durableObject(binding: string, objects?: {
201
+ readonly [name: string]: {
202
+ readonly [key: string]: JsonValue;
203
+ };
204
+ }, options?: {
205
+ readonly alarmsPerObject?: number;
206
+ }): DurableObjectSetup;
207
+ /** An R2 bucket the scenario uses: emptied, then seeded with these objects, before each run. */
208
+ interface R2Setup extends PlatformData {
209
+ readonly kind: "r2";
210
+ readonly binding: string;
211
+ readonly objects: Readonly<Record<string, R2Seed>>;
212
+ }
213
+ export declare function r2Bucket(binding: string, objects?: Readonly<Record<string, R2Seed>>): R2Setup;
214
+ /**
215
+ * Selects an R2 bucket's operations that completed, a `put` by default; a
216
+ * put whose `onlyIf` failed stored nothing and is not selected, as a D1
217
+ * write that changed no row is not.
218
+ */
219
+ export declare function r2Op(binding: string, op?: "put" | "delete" | "get" | "head" | "list"): EffectSelector;
220
+ /** A bucket's objects at the end of the run as rows `{ key, size, etag, customMetadata, httpMetadata, text? }`. */
221
+ export declare function r2Rows(binding: string, where?: readonly RowCondition[]): StateQuery;
222
+ /**
223
+ * Every row the query returns is named by some row of `in` (its `column`
224
+ * equals the row's value at `path`), as with a foreign key.
225
+ */
226
+ export declare function references(name: string, query: StateQuery, path: string, inQuery: StateQuery, column: string): References;
227
+ /** A Workflow binding, and the class (an export of the Worker module) its instances run. */
228
+ interface WorkflowSetup extends PlatformData {
229
+ readonly kind: "workflow";
230
+ readonly binding: string;
231
+ readonly className: string;
232
+ /** The Workflow's `name` in the wrangler config, which instances see as `event.workflowName`. */
233
+ readonly name?: string;
234
+ }
235
+ export declare function workflow(binding: string, className: string, options?: {
236
+ readonly name?: string;
237
+ }): WorkflowSetup;
238
+ /** Selects a Workflow's step attempts, optionally of one step; a failed attempt's result carries its error. */
239
+ export declare function workflowStep(binding: string, step?: string): EffectSelector;
240
+ /** A Workflow's instances at the end of the run as rows `{ id, status, params, output?, error? }`. */
241
+ export declare function workflowRows(binding: string, where?: readonly RowCondition[]): StateQuery;
242
+ /**
243
+ * The storage of one object (by the name its id was made from) as rows
244
+ * `{ key, value }`, for state invariants.
245
+ */
246
+ export declare function durableObjectRows(binding: string, object: string, where?: readonly RowCondition[]): StateQuery;
84
247
  interface CloudflareScenarioInput {
85
248
  readonly name: string;
86
249
  readonly worker: WorkerRef;
@@ -89,10 +252,12 @@ interface CloudflareScenarioInput {
89
252
  readonly queue: string;
90
253
  readonly messages: readonly QueueMessage[];
91
254
  };
92
- readonly setup?: readonly D1Setup[];
255
+ readonly setup?: readonly (D1Setup | DurableObjectSetup | R2Setup | WorkflowSetup)[];
93
256
  readonly externals?: readonly ExternalDecl[];
94
257
  readonly invariants: readonly Invariant[];
95
258
  readonly bounds?: Partial<Bounds>;
259
+ /** Modules of pure core functions with Lemma specs, relative to the scenario (see ScenarioSpec.specs). */
260
+ readonly specs?: readonly string[];
96
261
  }
97
262
  export declare function queue(name: string, messages: readonly QueueMessage[]): QueueDrive;
98
263
  export declare function d1Schema(binding: string, schemaFile: string): D1Setup;
@@ -103,10 +268,19 @@ export declare function d1Schema(binding: string, schemaFile: string): D1Setup;
103
268
  * A committed write is a `result` whose `result.changes` is at least 1.
104
269
  */
105
270
  export declare function d1Write(binding: string, op?: "run" | "batch"): EffectSelector;
271
+ /** Reads of a D1 binding: `first` (result payload `{ row }`), `all` or `raw`. */
272
+ export declare function d1Read(binding: string, op?: "first" | "all" | "raw"): EffectSelector;
106
273
  /** Dot path to the Nth bound parameter of a D1 statement, in an effect payload. */
107
274
  export declare function d1Param(index: number): string;
108
- export declare function atMostOncePerKey(name: string, effect: EffectSelector, key: string): AtMostOncePerKey;
109
- export declare function atLeastOnce(name: string, effect: EffectSelector, key: string, expected: readonly JsonValue[]): AtLeastOnce;
275
+ /**
276
+ * The shell follows the core function `decision` (see the `refines`
277
+ * invariant): every selected effect carries out the latest decision of its
278
+ * invocation, agrees with it on `follows`, and, with `state`, was not made
279
+ * stale by another invocation's write between the read it rests on and the
280
+ * effect. The core function's module must be listed in the scenario's
281
+ * `specs`, which is what records its calls.
282
+ */
283
+ export declare function refines(name: string, decision: string, effect: EffectSelector, options?: Pick<Refines, "follows" | "state">): Refines;
110
284
  /**
111
285
  * Every message's (or request's) `bodyKey` value must appear at least once
112
286
  * as `key` in a selected effect: nothing the drive delivered may be lost.
@@ -124,6 +298,8 @@ export declare function httpResponse(path: string, options?: {
124
298
  export declare function d1Rows(binding: string, table: string, where?: readonly RowCondition[]): StateQuery;
125
299
  /** Every row the query selects satisfies all conditions. */
126
300
  export declare function everyRow(name: string, query: StateQuery, holds: readonly RowCondition[]): EveryRow;
301
+ /** No two rows the query selects share the value at `path` (a column, or a dot path into the row). */
302
+ export declare function unique(name: string, query: StateQuery, path: string): Unique;
127
303
  /** Every selected effect has a row whose column equals the effect's key. */
128
304
  export declare function implies(name: string, when: EffectSelector, key: string, state: StateQuery, column: string): Implies;
129
305
  /** Selects the acknowledgement that took effect for each message (explicit or implicit; not one ignored after a retry). */
@@ -145,51 +321,56 @@ export declare function external(name: string, host: string, options?: {
145
321
  export declare function fetchCall(externalName: string, method?: string): EffectSelector;
146
322
  /** Build and validate a scenario spec; throws with every problem listed. */
147
323
  export declare function defineScenario(input: CloudflareScenarioInput): ScenarioSpec;
148
- /** The Worker's default export, as far as the platform drives it. */
149
- interface WorkerHandler {
150
- queue?(batch: MessageBatch<unknown>, env: unknown, ctx: ExecutionContext): void | Promise<void>;
151
- fetch?(request: Request, env: unknown, ctx: ExecutionContext): Response | Promise<Response>;
152
- }
153
- /** The former name of `WorkerHandler`, kept for callers written against 0.1. */
154
- type QueueHandler = WorkerHandler;
155
- interface CloudflarePlatformOptions {
156
- /** The bindings from `cloudflare:workers`. */
157
- readonly env: object;
158
- /** The Worker's default export. */
159
- readonly handler: WorkerHandler;
160
- /** Schema SQL per D1 binding named in the scenario's setup. */
161
- readonly schemas: Readonly<Record<string, string>>;
162
- /** Cloudflare's default when the consumer does not set max_retries. */
163
- readonly maxRetries?: number;
324
+ /** What the generated test stores in its task meta. */
325
+ interface CheckTransport {
326
+ readonly report: unknown;
327
+ /** Set instead of a report when a module the scenario's `specs` names has no usable annotations. */
328
+ readonly specErrors?: readonly SpecError[];
329
+ readonly worker: {
330
+ readonly entry: string;
331
+ readonly config: string;
332
+ };
333
+ readonly setup: readonly {
334
+ readonly kind: string;
335
+ readonly [key: string]: unknown;
336
+ }[];
337
+ /** The core modules observed (as the scenario's specs name them) and the functions on each. */
338
+ readonly observed?: readonly {
339
+ readonly module: string;
340
+ readonly functions: readonly string[];
341
+ }[];
164
342
  }
165
- export declare function createCloudflarePlatform(options: CloudflarePlatformOptions): Platform;
166
- interface AttemptRecord {
167
- readonly event: string;
168
- readonly attempt: number;
169
- readonly status: "completed" | "errored";
170
- /** Queue drive: the acknowledgement that took effect. */
171
- readonly decision: "ack" | "retry" | null;
172
- /** HTTP drive: the response status the caller saw (500 for an uncaught exception). */
173
- readonly response?: number;
343
+ interface SpecError {
344
+ readonly module: string;
345
+ readonly line: number;
346
+ readonly message: string;
174
347
  }
175
- interface Side {
176
- readonly attempts: readonly AttemptRecord[];
177
- readonly state: {
178
- readonly [binding: string]: {
179
- readonly [table: string]: readonly JsonValue[];
180
- };
181
- };
348
+ /** A generated spec module: the module's extracted specs and its compiled predicates. */
349
+ interface SpecEntry {
350
+ readonly specs: ModuleSpecs;
351
+ readonly predicates: (namespace: object, bool: typeof lemmaBool, unresolved: typeof lemmaUnresolved) => ModulePredicates;
182
352
  }
183
- interface DifferentialResult {
184
- /** True only when both sides agree and the proxied run touched nothing unmodelled. */
185
- readonly equal: boolean;
186
- readonly eutaxy: Side;
187
- readonly raw: Side;
188
- readonly differences: readonly string[];
189
- /** What the proxied run could not control; non-empty means the comparison proves nothing. */
190
- readonly unsupported: readonly string[];
353
+ /** Vite globs, keyed as `import.meta.glob` keys them from `.eutaxy/` (see `globKey`). */
354
+ type ModuleGlob = Readonly<Record<string, () => Promise<unknown>>>;
355
+ interface WorkerdCheckInput {
356
+ /** The scenario module's default export. */
357
+ readonly scenario: ScenarioSpec;
358
+ /** `env` from `cloudflare:workers`. */
359
+ readonly env: object;
360
+ /** The `cloudflare:test` module, for Durable Objects. */
361
+ readonly durableObjects: DurableObjectTestHelpers;
362
+ /** The raw text of the `.sql` files next to the scenario. */
363
+ readonly sqlFiles: Readonly<Record<string, string>>;
364
+ /** The TypeScript modules next to the scenario (the Worker and the spec modules among them). */
365
+ readonly modules: ModuleGlob;
366
+ /** The generated `specs.ts` loaders, by module key. */
367
+ readonly specLoaders: Readonly<Record<string, () => Promise<SpecEntry>>>;
368
+ readonly seed: string;
369
+ readonly maxRuns?: number;
370
+ readonly budgetMs?: number;
371
+ readonly exhaustive?: boolean;
191
372
  }
192
- /** Run both sides and compare. The Eutaxy side runs first; both start from the schema. */
193
- export declare function runDifferential(spec: ScenarioSpec, options: CloudflarePlatformOptions): Promise<DifferentialResult>;
194
- export type { CloudflarePlatformOptions, CloudflareRegressionOptions, CloudflareScenarioInput, D1Setup, DifferentialResult, HttpDrive, HttpRequestInput, HttpRequestSpec, QueueDrive, QueueHandler, QueueMessage, WorkerHandler };
373
+ /** Run the scenario's check, with its specs observed, and return what the CLI reads back. */
374
+ export declare function checkInWorkerd(input: WorkerdCheckInput): Promise<CheckTransport>;
375
+ export { type CheckTransport, type CloudflarePlatformOptions, type CloudflareRegressionOptions, type CloudflareScenarioInput, type D1Setup, type DifferentialResult, type DurableObjectSetup, type DurableObjectTestHelpers, type HttpCallerOptions, type HttpDrive, type HttpRequestInput, type HttpRequestSpec, type QueueDrive, type QueueHandler, type QueueMessage, type R2Setup, type SpecEntry, type WorkerHandler, type WorkerdCheckInput, type WorkflowSetup, atLeastOnce, atMostOncePerKey };
195
376
  //# sourceMappingURL=cloudflare.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cloudflare.d.mts","names":[],"sources":["../../cli/src/regression.ts","../../cloudflare/src/check.ts","../../cloudflare/src/d1.ts","../../cloudflare/src/scenario.ts","../../cloudflare/src/platform.ts","../../cloudflare/src/differential.ts"],"mappings":";;UAGiB;;WAEN;;WAEA;;WAEA,aAAa,SAAS;;WAEtB;WACA;WACA;;;wBAIK,yBACd,SAAS,UACT,SAAS;;wBCVK,MACd,MAAM,cACN,UAAU,UACV,UAAS,iBACR,QAAQ;;wBAKW,YACpB,MAAM,cACN,UAAU,UACV,UAAU,iBACT;;wBCiOmB,WACpB,MAAM,aACL;YAAoB,yBAAyB;;;UC5N/B;WACN;WACA,MAAM;;;UAIA,mBAAmB;WACzB;WACA;WACA;aAA8B;aAAqB,MAAM;;;;UAInD;WACN;WACA;WACA;WACA;cAAsB;;;WAEtB,OAAO;;;KAIN;WACD;WACA;WACA;WACA;cAAqB;;;WAErB,OAAO;;;;;;;;;UAUD,kBAAkB;WACxB;WACA,mBAAmB;WACnB;WACA;;wBAGK,KACd,mBAAmB,oBACnB;WAAoB;WAA2B;IAC9C;;UAgBc,gBAAgB;WACtB;WACA;WACA;;UAGM;WACN;WACA,QAAQ;WACR,OACL,aACA;aAEW;aACA;aACA,mBAAmB;;WAEzB,iBAAiB;WACjB,qBAAqB;WACrB,qBAAqB;WACrB,SAAS,QAAQ;;wBAGZ,MAAM,cAAc,mBAAmB,iBAAiB;wBAQxD,SAAS,iBAAiB,qBAAqB;;;;;;;wBAU/C,QAAQ,iBAAiB,uBAA8B;;wBAKvD,QAAQ;wBAIR,iBACd,cACA,QAAQ,gBACR,cACC;wBAIa,YACd,cACA,QAAQ,gBACR,aACA,mBAAmB,cAClB;;;;;wBAQa,sBACd,cACA,OAAO,aAAa,WACpB,QAAQ,gBACR,aACA,kBACC;;;;;;wBAyBa,aACd,cACA;WAAoB;IACnB;;wBAUa,OACd,iBACA,eACA,iBAAiB,iBAChB;;wBAKa,SACd,cACA,OAAO,YACP,gBAAgB,iBACf;;wBAKa,QACd,cACA,MAAM,gBACN,aACA,OAAO,YACP,iBACC;;wBAKa,SAAS,oBAAoB;;;;;;;wBAe7B,SACd,cACA,cACA;WAAoB;WAA4B,qBAAqB;IACpE;;;;;wBAaa,UAAU,sBAAsB,kBAAkB;;wBA2BlD,eAAe,OAAO,0BAA0B;;UC7Q/C;EACf,OAAO,OAAO,uBAAuB,cAAc,KAAK,0BAA0B;EAClF,OAAO,SAAS,SAAS,cAAc,KAAK,mBAAmB,WAAW,QAAQ;;;KAIxE,eAAe;UAkCV;;WAEN;;WAEA,SAAS;;WAET,SAAS,SAAS;;WAElB;;wBAqCK,yBAAyB,SAAS,4BAA4B;UChF7D;WACN;WACA;WACA;;WAEA;;WAEA;;UAGM;WACN,mBAAmB;WACnB;cACG;gBAA8B,yBAAyB;;;;UAIpD;;WAEN;WACA,QAAQ;WACR,KAAK;WACL;;WAEA;;;wBAiSW,gBACpB,MAAM,cACN,SAAS,4BACR,QAAQ"}
1
+ {"version":3,"file":"cloudflare.d.mts","names":[],"sources":["../../cli/src/regression.ts","../../cloudflare/src/check.ts","../../cloudflare/src/d1.ts","../../cloudflare/src/durable-objects.ts","../../cloudflare/src/platform.ts","../../cloudflare/src/differential.ts","../../cloudflare/src/r2.ts","../../cloudflare/src/scenario.ts","../../cli/src/workerd.ts"],"mappings":";;;UAGiB;;WAEN;;WAEA;;WAEA,aAAa,SAAS;;;;;WAKtB;;WAEA;;WAEA;;WAEA;WACA;WACA;;WAEA;aACE;aACA;;;;wBAKG,yBACd,SAAS,UACT,SAAS;;wBCxBK,MACd,MAAM,cACN,UAAU,UACV,UAAS,iBACR,QAAQ;;wBAKW,YACpB,MAAM,cACN,UAAU,UACV,UAAU,iBACT;;wBC2OmB,WACpB,MAAM,aACL;YAAoB,yBAAyB;;;;;;;UCxO/B;WACN;WACA;WACA;;;UCoBM;EACf,OAAO,OAAO,uBAAuB,cAAc,KAAK,0BAA0B;EAClF,OAAO,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