testing-farm
Advanced tools
Comparing version 1.8.0 to 1.9.0
@@ -203,5 +203,5 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -213,5 +213,5 @@ collection?: string | undefined; | ||
}, { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -225,5 +225,5 @@ collection?: string | undefined; | ||
context?: { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -237,5 +237,5 @@ collection?: string | undefined; | ||
context?: { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -251,2 +251,11 @@ collection?: string | undefined; | ||
arch: string; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
os?: { | ||
@@ -269,16 +278,7 @@ compose: string; | ||
} | null | undefined; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
tmt?: { | ||
context?: { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -294,2 +294,11 @@ collection?: string | undefined; | ||
arch: string; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
os?: { | ||
@@ -312,16 +321,7 @@ compose: string; | ||
} | null | undefined; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
tmt?: { | ||
context?: { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -368,21 +368,36 @@ collection?: string | undefined; | ||
timeout: z.ZodOptional<z.ZodNumber>; | ||
type: z.ZodOptional<z.ZodEnum<["tmt-multihost"]>>; | ||
'provision-error-failed-result': z.ZodOptional<z.ZodBoolean>; | ||
'parallel-limit': z.ZodOptional<z.ZodNumber>; | ||
}, "strip", z.ZodTypeAny, { | ||
type?: "tmt-multihost" | undefined; | ||
timeout?: number | undefined; | ||
'provision-error-failed-result'?: boolean | undefined; | ||
'parallel-limit'?: number | undefined; | ||
}, { | ||
type?: "tmt-multihost" | undefined; | ||
timeout?: number | undefined; | ||
'provision-error-failed-result'?: boolean | undefined; | ||
'parallel-limit'?: number | undefined; | ||
}>>; | ||
}, "strip", z.ZodTypeAny, { | ||
pipeline?: { | ||
type?: "tmt-multihost" | undefined; | ||
timeout?: number | undefined; | ||
'provision-error-failed-result'?: boolean | undefined; | ||
'parallel-limit'?: number | undefined; | ||
} | undefined; | ||
worker?: { | ||
image?: string | undefined; | ||
} | undefined; | ||
}, { | ||
pipeline?: { | ||
type?: "tmt-multihost" | undefined; | ||
timeout?: number | undefined; | ||
'provision-error-failed-result'?: boolean | undefined; | ||
'parallel-limit'?: number | undefined; | ||
} | undefined; | ||
}, { | ||
worker?: { | ||
image?: string | undefined; | ||
} | undefined; | ||
pipeline?: { | ||
timeout?: number | undefined; | ||
} | undefined; | ||
}>>>; | ||
@@ -409,5 +424,25 @@ }, "strip", z.ZodTypeAny, { | ||
}; | ||
settings?: { | ||
pipeline?: { | ||
type?: "tmt-multihost" | undefined; | ||
timeout?: number | undefined; | ||
'provision-error-failed-result'?: boolean | undefined; | ||
'parallel-limit'?: number | undefined; | ||
} | undefined; | ||
worker?: { | ||
image?: string | undefined; | ||
} | undefined; | ||
} | null | undefined; | ||
api_key?: any; | ||
environments?: { | ||
arch: string; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
os?: { | ||
@@ -430,16 +465,7 @@ compose: string; | ||
} | null | undefined; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
tmt?: { | ||
context?: { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -460,10 +486,2 @@ collection?: string | undefined; | ||
} | null | undefined; | ||
settings?: { | ||
worker?: { | ||
image?: string | undefined; | ||
} | undefined; | ||
pipeline?: { | ||
timeout?: number | undefined; | ||
} | undefined; | ||
} | null | undefined; | ||
}, { | ||
@@ -489,5 +507,25 @@ test: { | ||
}; | ||
settings?: { | ||
pipeline?: { | ||
type?: "tmt-multihost" | undefined; | ||
timeout?: number | undefined; | ||
'provision-error-failed-result'?: boolean | undefined; | ||
'parallel-limit'?: number | undefined; | ||
} | undefined; | ||
worker?: { | ||
image?: string | undefined; | ||
} | undefined; | ||
} | null | undefined; | ||
api_key?: any; | ||
environments?: { | ||
arch: string; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
os?: { | ||
@@ -510,16 +548,7 @@ compose: string; | ||
} | null | undefined; | ||
settings?: { | ||
pipeline?: { | ||
skip_guest_setup?: boolean | undefined; | ||
} | null | undefined; | ||
provisioning?: { | ||
post_install_script?: string | undefined; | ||
tags?: Record<string, string> | undefined; | ||
} | null | undefined; | ||
} | undefined; | ||
tmt?: { | ||
context?: { | ||
arch?: string | undefined; | ||
distro?: string | undefined; | ||
variant?: string | undefined; | ||
arch?: string | undefined; | ||
component?: string | undefined; | ||
@@ -540,10 +569,2 @@ collection?: string | undefined; | ||
} | null | undefined; | ||
settings?: { | ||
worker?: { | ||
image?: string | undefined; | ||
} | undefined; | ||
pipeline?: { | ||
timeout?: number | undefined; | ||
} | undefined; | ||
} | null | undefined; | ||
}>; | ||
@@ -550,0 +571,0 @@ export type NewRequest = z.infer<typeof newRequestSchema>; |
@@ -110,2 +110,5 @@ import { z } from 'zod'; | ||
timeout: z.number().min(1).optional(), | ||
type: z.enum(['tmt-multihost']).optional(), | ||
'provision-error-failed-result': z.boolean().optional(), | ||
'parallel-limit': z.number().nonnegative().optional(), | ||
}) | ||
@@ -112,0 +115,0 @@ .optional(), |
{ | ||
"name": "testing-farm", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "A NodeJS module to access Testing Farm instances through the REST API.", | ||
@@ -12,7 +12,7 @@ "main": "dist/index.js", | ||
"format-check": "prettier --check '**/*.ts'", | ||
"lint": "eslint src/**/*.ts", | ||
"test": "vitest run --coverage", | ||
"update-snapshots": "vitest run --update", | ||
"all": "yarn run build && yarn run format && yarn run lint && yarn test" | ||
"all": "yarn run build && yarn run format && yarn test" | ||
}, | ||
"type": "module", | ||
"packageManager": "yarn@4.1.1", | ||
@@ -33,15 +33,12 @@ "repository": { | ||
"dependencies": { | ||
"axios": "^1.6.7", | ||
"zod": "^3.22.4" | ||
"axios": "1.6.8", | ||
"zod": "3.23.4" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.11.19", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"@vitest/coverage-v8": "^1.3.0", | ||
"eslint": "^8.56.0", | ||
"prettier": "^3.2.5", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.3.0" | ||
"@types/node": "20.12.7", | ||
"@vitest/coverage-v8": "1.5.2", | ||
"prettier": "3.2.5", | ||
"typescript": "5.4.5", | ||
"vitest": "1.5.2" | ||
} | ||
} |
@@ -118,2 +118,5 @@ import { z } from 'zod'; | ||
timeout: z.number().min(1).optional(), | ||
type: z.enum(['tmt-multihost']).optional(), | ||
'provision-error-failed-result': z.boolean().optional(), | ||
'parallel-limit': z.number().nonnegative().optional(), | ||
}) | ||
@@ -120,0 +123,0 @@ .optional(), |
Sorry, the diff of this file is not supported yet
106993
5
1718
Yes
+ Addedaxios@1.6.8(transitive)
+ Addedzod@3.23.4(transitive)
- Removedaxios@1.7.9(transitive)
- Removedzod@3.24.1(transitive)
Updatedaxios@1.6.8
Updatedzod@3.23.4