@yolk-sdk/conformance 0.1.0-canary.113 → 0.1.0-canary.115
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/dist/fixture.d.mts +5 -5
- package/package.json +1 -1
package/dist/fixture.d.mts
CHANGED
|
@@ -166,7 +166,6 @@ declare const WireFixture: Schema.Struct<{
|
|
|
166
166
|
type WireFixture = typeof WireFixture.Type;
|
|
167
167
|
/** Decode unknown input (for example a JSON file) into a `WireFixture`. */
|
|
168
168
|
declare const decodeWireFixture: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{
|
|
169
|
-
readonly account: string;
|
|
170
169
|
readonly exchanges: readonly [{
|
|
171
170
|
readonly request: {
|
|
172
171
|
readonly method: string;
|
|
@@ -244,6 +243,7 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
|
|
|
244
243
|
readonly caseId: string;
|
|
245
244
|
readonly evidence: "verified" | "unverified";
|
|
246
245
|
readonly recordedAt: string;
|
|
246
|
+
readonly account: string;
|
|
247
247
|
readonly endpoint: string;
|
|
248
248
|
readonly model?: string | undefined;
|
|
249
249
|
readonly note?: string | undefined;
|
|
@@ -366,12 +366,12 @@ declare const decodePortFixture: (input: unknown, options?: import("effect/Schem
|
|
|
366
366
|
readonly response: Schema.Json;
|
|
367
367
|
readonly id: string;
|
|
368
368
|
readonly port: string;
|
|
369
|
+
readonly note?: string | undefined;
|
|
370
|
+
readonly failure?: undefined;
|
|
369
371
|
readonly observed?: {
|
|
370
372
|
readonly account: string;
|
|
371
373
|
readonly date: string;
|
|
372
374
|
} | undefined;
|
|
373
|
-
readonly note?: string | undefined;
|
|
374
|
-
readonly failure?: undefined;
|
|
375
375
|
} | {
|
|
376
376
|
readonly method: string;
|
|
377
377
|
readonly request: Schema.Json;
|
|
@@ -383,12 +383,12 @@ declare const decodePortFixture: (input: unknown, options?: import("effect/Schem
|
|
|
383
383
|
readonly status?: number | undefined;
|
|
384
384
|
};
|
|
385
385
|
readonly port: string;
|
|
386
|
+
readonly note?: string | undefined;
|
|
387
|
+
readonly response?: undefined;
|
|
386
388
|
readonly observed?: {
|
|
387
389
|
readonly account: string;
|
|
388
390
|
readonly date: string;
|
|
389
391
|
} | undefined;
|
|
390
|
-
readonly note?: string | undefined;
|
|
391
|
-
readonly response?: undefined;
|
|
392
392
|
}, Schema.SchemaError, never>;
|
|
393
393
|
/** Any fixture a conformance case may cite: an HTTP `WireFixture` or a `PortFixture`. */
|
|
394
394
|
type ConformanceFixture = WireFixture | PortFixture;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolk-sdk/conformance",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.115",
|
|
4
4
|
"description": "Experimental Effect toolkit to record, replay, and fault-inject HTTP wire fixtures, and to define and run conformance cases.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|