@metlo/testing
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -30,2 +30,3 @@ import { TemplateConfig } from "../types/resource_config"; | ||
assert?: (string | { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -41,3 +42,2 @@ type: "EQ" | "REGEXP" | "JS"; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -44,0 +44,0 @@ value: string; |
@@ -28,3 +28,2 @@ import { z } from "zod"; | ||
export declare const RequestSchema: z.ZodObject<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
method: z.ZodNativeEnum<typeof import("./enums").RestMethod>; | ||
@@ -65,3 +64,2 @@ url: z.ZodString; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -83,3 +81,2 @@ value: string; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -114,2 +111,3 @@ value: string | number | boolean; | ||
export declare const AssertionSchema: z.ZodUnion<[z.ZodObject<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
type: z.ZodDefault<z.ZodEnum<["EQ", "REGEXP", "JS"]>>; | ||
@@ -119,2 +117,3 @@ key: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -125,2 +124,3 @@ type: "EQ" | "REGEXP" | "JS"; | ||
type?: "EQ" | "REGEXP" | "JS" | undefined; | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -141,3 +141,2 @@ value: string | number | boolean | (string | number | boolean)[]; | ||
request: z.ZodObject<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
method: z.ZodNativeEnum<typeof import("./enums").RestMethod>; | ||
@@ -178,3 +177,2 @@ url: z.ZodString; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -196,3 +194,2 @@ value: string; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -227,2 +224,3 @@ value: string | number | boolean; | ||
assert: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
type: z.ZodDefault<z.ZodEnum<["EQ", "REGEXP", "JS"]>>; | ||
@@ -232,2 +230,3 @@ key: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -238,2 +237,3 @@ type: "EQ" | "REGEXP" | "JS"; | ||
type?: "EQ" | "REGEXP" | "JS" | undefined; | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -259,2 +259,3 @@ value: string | number | boolean | (string | number | boolean)[]; | ||
assert?: (string | { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -270,3 +271,2 @@ type: "EQ" | "REGEXP" | "JS"; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -295,2 +295,3 @@ value: string; | ||
type?: "EQ" | "REGEXP" | "JS" | undefined; | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -305,3 +306,2 @@ value: string | number | boolean | (string | number | boolean)[]; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -357,3 +357,2 @@ value: string | number | boolean; | ||
request: z.ZodObject<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
method: z.ZodNativeEnum<typeof import("./enums").RestMethod>; | ||
@@ -394,3 +393,2 @@ url: z.ZodString; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -412,3 +410,2 @@ value: string; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -443,2 +440,3 @@ value: string | number | boolean; | ||
assert: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
type: z.ZodDefault<z.ZodEnum<["EQ", "REGEXP", "JS"]>>; | ||
@@ -448,2 +446,3 @@ key: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -454,2 +453,3 @@ type: "EQ" | "REGEXP" | "JS"; | ||
type?: "EQ" | "REGEXP" | "JS" | undefined; | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -475,2 +475,3 @@ value: string | number | boolean | (string | number | boolean)[]; | ||
assert?: (string | { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -486,3 +487,2 @@ type: "EQ" | "REGEXP" | "JS"; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -511,2 +511,3 @@ value: string; | ||
type?: "EQ" | "REGEXP" | "JS" | undefined; | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -521,3 +522,2 @@ value: string | number | boolean | (string | number | boolean)[]; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -567,2 +567,3 @@ value: string | number | boolean; | ||
assert?: (string | { | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -578,3 +579,2 @@ type: "EQ" | "REGEXP" | "JS"; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -618,2 +618,3 @@ value: string; | ||
type?: "EQ" | "REGEXP" | "JS" | undefined; | ||
description?: string | undefined; | ||
key?: string | undefined; | ||
@@ -628,3 +629,2 @@ value: string | number | boolean | (string | number | boolean)[]; | ||
data?: string | undefined; | ||
description?: string | undefined; | ||
headers?: { | ||
@@ -631,0 +631,0 @@ value: string | number | boolean; |
@@ -27,3 +27,2 @@ "use strict"; | ||
exports.RequestSchema = zod_1.z.object({ | ||
description: zod_1.z.string().optional(), | ||
method: enums_1.MethodSchema, | ||
@@ -43,2 +42,3 @@ url: zod_1.z.string(), | ||
zod_1.z.object({ | ||
description: zod_1.z.string().optional(), | ||
type: enums_1.AssertionType.default(enums_1.AssertionType.enum.EQ), | ||
@@ -45,0 +45,0 @@ key: zod_1.z.string().optional(), |
{ | ||
"name": "@metlo/testing", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1231654