testing-farm
Advanced tools
Comparing version 1.6.3 to 1.7.0
@@ -195,11 +195,26 @@ import { z } from 'zod'; | ||
distro: z.ZodOptional<z.ZodString>; | ||
variant: z.ZodOptional<z.ZodString>; | ||
arch: z.ZodOptional<z.ZodString>; | ||
component: z.ZodOptional<z.ZodString>; | ||
collection: z.ZodOptional<z.ZodString>; | ||
module: z.ZodOptional<z.ZodString>; | ||
initiator: z.ZodOptional<z.ZodString>; | ||
trigger: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
}, { | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -210,3 +225,8 @@ }>>>; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -217,3 +237,8 @@ } | null | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -254,3 +279,8 @@ } | null | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -291,3 +321,8 @@ } | null | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -402,3 +437,8 @@ } | null | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -475,3 +515,8 @@ } | null | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
collection?: string | undefined; | ||
module?: string | undefined; | ||
initiator?: string | undefined; | ||
trigger?: string | undefined; | ||
@@ -478,0 +523,0 @@ } | null | undefined; |
@@ -75,6 +75,12 @@ import { z } from 'zod'; | ||
.object({ | ||
// https://tmt.readthedocs.io/en/stable/spec/context.html#dimension | ||
context: z | ||
.object({ | ||
distro: z.string().min(1).optional(), | ||
variant: z.string().min(1).optional(), | ||
arch: z.string().min(1).optional(), | ||
component: z.string().min(1).optional(), | ||
collection: z.string().min(1).optional(), | ||
module: z.string().min(1).optional(), | ||
initiator: z.string().min(1).optional(), | ||
trigger: z.string().min(1).optional(), | ||
@@ -81,0 +87,0 @@ }) |
{ | ||
"name": "testing-farm", | ||
"version": "1.6.3", | ||
"version": "1.7.0", | ||
"description": "A NodeJS module to access Testing Farm instances through the REST API.", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
}, | ||
"packageManager": "yarn@4.1.0", | ||
"packageManager": "yarn@4.1.1", | ||
"repository": { | ||
@@ -20,0 +20,0 @@ "type": "git", |
@@ -81,6 +81,12 @@ import { z } from 'zod'; | ||
.object({ | ||
// https://tmt.readthedocs.io/en/stable/spec/context.html#dimension | ||
context: z | ||
.object({ | ||
distro: z.string().min(1).optional(), | ||
variant: z.string().min(1).optional(), | ||
arch: z.string().min(1).optional(), | ||
component: z.string().min(1).optional(), | ||
collection: z.string().min(1).optional(), | ||
module: z.string().min(1).optional(), | ||
initiator: z.string().min(1).optional(), | ||
trigger: z.string().min(1).optional(), | ||
@@ -87,0 +93,0 @@ }) |
Sorry, the diff of this file is not supported yet
104934
1684