@yolk-sdk/conformance 0.1.0-canary.111 → 0.1.0-canary.112
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,6 +166,7 @@ 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;
|
|
169
170
|
readonly exchanges: readonly [{
|
|
170
171
|
readonly request: {
|
|
171
172
|
readonly method: string;
|
|
@@ -176,26 +177,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
|
|
|
176
177
|
readonly body?: Schema.Json | undefined;
|
|
177
178
|
};
|
|
178
179
|
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
|
|
184
|
+
readonly status: number;
|
|
185
185
|
readonly bodyBase64?: undefined;
|
|
186
|
+
readonly chunks?: undefined;
|
|
186
187
|
} | {
|
|
187
|
-
readonly status: number;
|
|
188
188
|
readonly headers: {
|
|
189
189
|
readonly [x: string]: string;
|
|
190
190
|
};
|
|
191
|
+
readonly status: number;
|
|
191
192
|
readonly bodyBase64: string;
|
|
192
193
|
readonly body?: undefined;
|
|
193
194
|
readonly chunks?: undefined;
|
|
194
195
|
} | {
|
|
195
|
-
readonly status: number;
|
|
196
196
|
readonly headers: {
|
|
197
197
|
readonly [x: string]: string;
|
|
198
198
|
};
|
|
199
|
+
readonly status: number;
|
|
199
200
|
readonly chunks: readonly (string | {
|
|
200
201
|
readonly base64: string;
|
|
201
202
|
})[];
|
|
@@ -212,26 +213,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
|
|
|
212
213
|
readonly body?: Schema.Json | undefined;
|
|
213
214
|
};
|
|
214
215
|
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
|
|
220
|
+
readonly status: number;
|
|
221
221
|
readonly bodyBase64?: undefined;
|
|
222
|
+
readonly chunks?: undefined;
|
|
222
223
|
} | {
|
|
223
|
-
readonly status: number;
|
|
224
224
|
readonly headers: {
|
|
225
225
|
readonly [x: string]: string;
|
|
226
226
|
};
|
|
227
|
+
readonly status: number;
|
|
227
228
|
readonly bodyBase64: string;
|
|
228
229
|
readonly body?: undefined;
|
|
229
230
|
readonly chunks?: undefined;
|
|
230
231
|
} | {
|
|
231
|
-
readonly status: number;
|
|
232
232
|
readonly headers: {
|
|
233
233
|
readonly [x: string]: string;
|
|
234
234
|
};
|
|
235
|
+
readonly status: number;
|
|
235
236
|
readonly chunks: readonly (string | {
|
|
236
237
|
readonly base64: string;
|
|
237
238
|
})[];
|
|
@@ -243,7 +244,6 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
|
|
|
243
244
|
readonly caseId: string;
|
|
244
245
|
readonly evidence: "verified" | "unverified";
|
|
245
246
|
readonly recordedAt: string;
|
|
246
|
-
readonly account: string;
|
|
247
247
|
readonly endpoint: string;
|
|
248
248
|
readonly model?: string | undefined;
|
|
249
249
|
readonly note?: string | undefined;
|
|
@@ -383,8 +383,8 @@ 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
386
|
readonly response?: undefined;
|
|
387
|
+
readonly note?: string | undefined;
|
|
388
388
|
readonly observed?: {
|
|
389
389
|
readonly account: string;
|
|
390
390
|
readonly date: string;
|
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.112",
|
|
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",
|