@nosana/types 2.2.19 → 2.2.20
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/Jobs/JobDefinition/operations/index.d.ts +1 -1
- package/dist/Jobs/JobDefinition/operations/index.d.ts.map +1 -1
- package/dist/Jobs/JobDefinition/operations/index.js +4 -4
- package/dist/Jobs/JobDefinition/operations/index.js.map +1 -1
- package/dist/Jobs/JobDefinition/operations/rules.d.ts +1 -1
- package/dist/Jobs/JobDefinition/operations/rules.d.ts.map +1 -1
- package/dist/Jobs/JobDefinition/operations/rules.js +1 -1
- package/dist/Jobs/JobDefinition/operations/rules.js.map +1 -1
- package/dist/Jobs/index.js +2 -2
- package/package.json +2 -2
|
@@ -23,7 +23,7 @@ export type OperationId = string & tags.TagBase<{
|
|
|
23
23
|
target: 'string';
|
|
24
24
|
value: 'operationId';
|
|
25
25
|
validate: typeof OPERATION_ID_VALIDATE;
|
|
26
|
-
message: 'ops[*].id must be a string and not contain spaces';
|
|
26
|
+
message: 'ops[*].id must be a string and not contain spaces or full stops';
|
|
27
27
|
}>;
|
|
28
28
|
export type Operation<T extends OperationType> = {
|
|
29
29
|
type: OperationType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,WAAW,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE9E,cAAc,YAAY,CAAC;AAE3B,MAAM,MAAM,gB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|
|
|
3
3
|
import * as __typia_transform__createStandardSchema from "typia/lib/internal/_createStandardSchema.js";
|
|
4
4
|
import typia from "typia";
|
|
5
5
|
export * from "./rules.js";
|
|
6
|
-
export const validateOperation = (() => { const _io0 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" "))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io20(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6
|
+
export const validateOperation = (() => { const _io0 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes("."))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io20(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
7
7
|
if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
|
|
8
8
|
return true;
|
|
9
9
|
const value = input[key];
|
|
@@ -251,7 +251,7 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
|
|
|
251
251
|
path: _path + ".type",
|
|
252
252
|
expected: "(\"container/create-volume\" | \"container/run\")",
|
|
253
253
|
value: input.type
|
|
254
|
-
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") || _report(_exceptionable, {
|
|
254
|
+
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes(".") || _report(_exceptionable, {
|
|
255
255
|
path: _path + ".id",
|
|
256
256
|
expected: "string & TagBase<__type>",
|
|
257
257
|
value: input.id
|
|
@@ -1316,7 +1316,7 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
|
|
|
1316
1316
|
data: input
|
|
1317
1317
|
};
|
|
1318
1318
|
}); })();
|
|
1319
|
-
export const validateOps = (() => { const _io0 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" "))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io20(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
1319
|
+
export const validateOps = (() => { const _io0 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes("."))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io20(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
1320
1320
|
if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
|
|
1321
1321
|
return true;
|
|
1322
1322
|
const value = input[key];
|
|
@@ -1564,7 +1564,7 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
|
|
|
1564
1564
|
path: _path + ".type",
|
|
1565
1565
|
expected: "(\"container/create-volume\" | \"container/run\")",
|
|
1566
1566
|
value: input.type
|
|
1567
|
-
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") || _report(_exceptionable, {
|
|
1567
|
+
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes(".") || _report(_exceptionable, {
|
|
1568
1568
|
path: _path + ".id",
|
|
1569
1569
|
expected: "string & TagBase<__type>",
|
|
1570
1570
|
value: input.id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAMtD,cAAc,YAAY,CAAC;AAsC3B,MAAM,CAAC,MAAM,iBAAiB;;;;;;;w4BA5CpB,EAAG;;;;;;;;;;4CAU6B,CAAE,SAC5C,CACA;;;;;QAKoB,CAAC;;;;;;;;;YAgBN,CAAC;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAMtD,cAAc,YAAY,CAAC;AAsC3B,MAAM,CAAC,MAAM,iBAAiB;;;;;;;w4BA5CpB,EAAG;;;;;;;;;;4CAU6B,CAAE,SAC5C,CACA;;;;;QAKoB,CAAC;;;;;;;;;YAgBN,CAAC;;QAAoD,CAAC;IACnE,CAAC;;;;;QAMuB,CAAC;IACnB,CAAC;;AAGC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uNA3CuB,EAAG;;;;;;IAET,CAAC;;AAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2GA3CuB,EAAG;;;;;;QAET,CAAC;;IAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0GAH5B,EAAE;;;qBACyB,EAAE;;;;;IAEvC,CAAC;;AAAsB,CAAC;;;;;;;;6CAHd,EAAE;;;6BACyB,EAAE;;;;;YAEvC,CAAC;;QAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiDC,CAAC"}
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* rule never triggers the typia transform — which is only applied by the `tsc`
|
|
7
7
|
* build, not by vitest.
|
|
8
8
|
*/
|
|
9
|
-
export declare const OPERATION_ID_VALIDATE: "typeof $input === \"string\" && !$input.includes(\" \")";
|
|
9
|
+
export declare const OPERATION_ID_VALIDATE: "typeof $input === \"string\" && !$input.includes(\" \") && !$input.includes(\".\")";
|
|
10
10
|
export declare const OPS_UNIQUE_BY_ID_VALIDATE: "Array.isArray($input) && (()=>{\n const seen = new Set();\n for (const it of $input) {\n if (typeof it?.id !== \"string\") return false;\n if (seen.has(it.id)) return false;\n seen.add(it.id);\n }\n return true;\n })()";
|
|
11
11
|
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,eAAO,MAAM,qBAAqB,sFACuD,CAAC;AAE1F,eAAO,MAAM,yBAAyB,0PAQtB,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* build, not by vitest.
|
|
8
8
|
*/
|
|
9
9
|
// Operation ID – mirrors @nosana/sdk/src/types/job.ts
|
|
10
|
-
export const OPERATION_ID_VALIDATE = `typeof $input === "string" && !$input.includes(" ")`;
|
|
10
|
+
export const OPERATION_ID_VALIDATE = `typeof $input === "string" && !$input.includes(" ") && !$input.includes(".")`;
|
|
11
11
|
export const OPS_UNIQUE_BY_ID_VALIDATE = `Array.isArray($input) && (()=>{
|
|
12
12
|
const seen = new Set();
|
|
13
13
|
for (const it of $input) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,sDAAsD;AACtD,MAAM,CAAC,MAAM,qBAAqB,GAChC,
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,sDAAsD;AACtD,MAAM,CAAC,MAAM,qBAAqB,GAChC,8EAAuF,CAAC;AAE1F,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;OAQzB,CAAC"}
|
package/dist/Jobs/index.js
CHANGED
|
@@ -85,7 +85,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
85
85
|
if (undefined === value)
|
|
86
86
|
return true;
|
|
87
87
|
return "string" === typeof value;
|
|
88
|
-
}); const _io11 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" "))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io30(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
88
|
+
}); const _io11 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes("."))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io30(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
89
89
|
if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
|
|
90
90
|
return true;
|
|
91
91
|
const value = input[key];
|
|
@@ -673,7 +673,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
673
673
|
path: _path + ".type",
|
|
674
674
|
expected: "(\"container/create-volume\" | \"container/run\")",
|
|
675
675
|
value: input.type
|
|
676
|
-
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") || _report(_exceptionable, {
|
|
676
|
+
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes(".") || _report(_exceptionable, {
|
|
677
677
|
path: _path + ".id",
|
|
678
678
|
expected: "string & TagBase<__type>",
|
|
679
679
|
value: input.id
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/types",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.20",
|
|
4
4
|
"author": "Nosana",
|
|
5
5
|
"description": "Nosana Types Module",
|
|
6
6
|
"type": "module",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=20.18.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "53cd8e5c884aa21a0d9ed4b935462fd83d18af10"
|
|
53
53
|
}
|