@yolk-sdk/conformance 0.1.0-canary.103 → 0.1.0-canary.105
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 +10 -10
- 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;
|
|
@@ -177,26 +176,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
|
|
|
177
176
|
readonly body?: Schema.Json | undefined;
|
|
178
177
|
};
|
|
179
178
|
readonly response: {
|
|
179
|
+
readonly status: number;
|
|
180
180
|
readonly headers: {
|
|
181
181
|
readonly [x: string]: string;
|
|
182
182
|
};
|
|
183
183
|
readonly body: string;
|
|
184
|
-
readonly status: number;
|
|
185
|
-
readonly bodyBase64?: undefined;
|
|
186
184
|
readonly chunks?: undefined;
|
|
185
|
+
readonly bodyBase64?: undefined;
|
|
187
186
|
} | {
|
|
187
|
+
readonly status: number;
|
|
188
188
|
readonly headers: {
|
|
189
189
|
readonly [x: string]: string;
|
|
190
190
|
};
|
|
191
|
-
readonly status: number;
|
|
192
191
|
readonly bodyBase64: string;
|
|
193
192
|
readonly body?: undefined;
|
|
194
193
|
readonly chunks?: undefined;
|
|
195
194
|
} | {
|
|
195
|
+
readonly status: number;
|
|
196
196
|
readonly headers: {
|
|
197
197
|
readonly [x: string]: string;
|
|
198
198
|
};
|
|
199
|
-
readonly status: number;
|
|
200
199
|
readonly chunks: readonly (string | {
|
|
201
200
|
readonly base64: string;
|
|
202
201
|
})[];
|
|
@@ -213,26 +212,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
|
|
|
213
212
|
readonly body?: Schema.Json | undefined;
|
|
214
213
|
};
|
|
215
214
|
readonly response: {
|
|
215
|
+
readonly status: number;
|
|
216
216
|
readonly headers: {
|
|
217
217
|
readonly [x: string]: string;
|
|
218
218
|
};
|
|
219
219
|
readonly body: string;
|
|
220
|
-
readonly status: number;
|
|
221
|
-
readonly bodyBase64?: undefined;
|
|
222
220
|
readonly chunks?: undefined;
|
|
221
|
+
readonly bodyBase64?: undefined;
|
|
223
222
|
} | {
|
|
223
|
+
readonly status: number;
|
|
224
224
|
readonly headers: {
|
|
225
225
|
readonly [x: string]: string;
|
|
226
226
|
};
|
|
227
|
-
readonly status: number;
|
|
228
227
|
readonly bodyBase64: string;
|
|
229
228
|
readonly body?: undefined;
|
|
230
229
|
readonly chunks?: undefined;
|
|
231
230
|
} | {
|
|
231
|
+
readonly status: number;
|
|
232
232
|
readonly headers: {
|
|
233
233
|
readonly [x: string]: string;
|
|
234
234
|
};
|
|
235
|
-
readonly status: number;
|
|
236
235
|
readonly chunks: readonly (string | {
|
|
237
236
|
readonly base64: string;
|
|
238
237
|
})[];
|
|
@@ -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;
|
|
@@ -367,11 +367,11 @@ declare const decodePortFixture: (input: unknown, options?: import("effect/Schem
|
|
|
367
367
|
readonly id: string;
|
|
368
368
|
readonly port: string;
|
|
369
369
|
readonly note?: string | undefined;
|
|
370
|
+
readonly failure?: undefined;
|
|
370
371
|
readonly observed?: {
|
|
371
372
|
readonly account: string;
|
|
372
373
|
readonly date: string;
|
|
373
374
|
} | undefined;
|
|
374
|
-
readonly failure?: undefined;
|
|
375
375
|
} | {
|
|
376
376
|
readonly method: string;
|
|
377
377
|
readonly request: Schema.Json;
|
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.105",
|
|
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",
|