@nosana/types 2.2.16 → 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.
@@ -3,6 +3,7 @@ import type { Global } from "./global/index.js";
3
3
  import type { Logistics } from "./logistics/index.js";
4
4
  import type { Meta } from "./meta/index.js";
5
5
  import type { Ops } from "./operations/index.js";
6
+ import type { SSH } from "./ssh/index.js";
6
7
  export * from "./args/index.js";
7
8
  export * from "./execution/index.js";
8
9
  export * from "./global/index.js";
@@ -10,6 +11,7 @@ export * from "./logistics/index.js";
10
11
  export * from "./meta/index.js";
11
12
  export * from "./operations/index.js";
12
13
  export * from "./results/index.js";
14
+ export * from "./ssh/index.js";
13
15
  type Version = "0.1";
14
16
  type JobType = "container";
15
17
  export type JobDefinition = {
@@ -17,6 +19,7 @@ export type JobDefinition = {
17
19
  type: JobType;
18
20
  logistics?: Logistics;
19
21
  deployment_id?: DeploymentId;
22
+ ssh?: SSH;
20
23
  meta?: Meta;
21
24
  global?: Global;
22
25
  ops: Ops;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Jobs/JobDefinition/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AAEnC,KAAK,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,EAAE,GAAG,CAAC;IACV,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,GAAG,CAAC;CACV,CAAC"}
@@ -5,4 +5,5 @@ export * from "./logistics/index.js";
5
5
  export * from "./meta/index.js";
6
6
  export * from "./operations/index.js";
7
7
  export * from "./results/index.js";
8
+ export * from "./ssh/index.js";
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Jobs/JobDefinition/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Jobs/JobDefinition/index.ts"],"names":[],"mappings":"AAOA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC"}
@@ -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,MA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W,GAAG,GAAG,GAAG,UAAU,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG,MAAM,GAC9B,IAAI,CAAC,OAAO,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,QAAQ,CAAC;IACjB,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,OAAO,qBAAqB,CAAC;IACvC,OAAO,EAAE,iEAAiE,CAAC;CAC5E,CAAC,CAAC;AAEL,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,aAAa,IAAI;IAC/C,IAAI,EAAE,aAAa,CAAC;IACpB,EAAE,EAAE,WAAW,CAAC;IAChB,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,CAC9B,KAAK,EAAE,OAAO,KACX,WAAW,CAAC,SAAS,CAAC,aAAa,CAAC,CACe,CAAC;AAEzD,eAAO,MAAM,WAAW,EAAE,CACxB,KAAK,EAAE,OAAO,KACX,WAAW,CAAC,WAAW,CACe,CAAC"}
@@ -3,7 +3,7 @@ import * as __typia_transform__validateReport from "typia/lib/internal/_validate
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;;QACd,CAAC;IAEI,CAAC;;;;;QAKE,CAAC;IAAW,CAAC;;AAGC,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,2DAC8B,CAAC;AAEjE,eAAO,MAAM,yBAAyB,0PAQtB,CAAC"}
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,qDAA8D,CAAC;AAEjE,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;OAQzB,CAAC"}
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"}
@@ -0,0 +1,6 @@
1
+ import { type IValidation } from 'typia';
2
+ export type SSH = {
3
+ public_keys?: Array<string>;
4
+ };
5
+ export declare const validateSSH: (input: unknown) => IValidation<SSH>;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/ssh/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAEhD,MAAM,MAAM,GAAG,GAAG;IAChB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,WAAW,CAAC,GAAG,CAC1B,CAAC"}
@@ -0,0 +1,68 @@
1
+ import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString.js";
2
+ import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport.js";
3
+ import * as __typia_transform__createStandardSchema from "typia/lib/internal/_createStandardSchema.js";
4
+ import typia from 'typia';
5
+ export const validateSSH = (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.public_keys || Array.isArray(input.public_keys) && input.public_keys.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
6
+ if (["public_keys"].some(prop => key === prop))
7
+ return true;
8
+ const value = input[key];
9
+ if (undefined === value)
10
+ return true;
11
+ return false;
12
+ })); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.public_keys || (Array.isArray(input.public_keys) || _report(_exceptionable, {
13
+ path: _path + ".public_keys",
14
+ expected: "(Array<string> | undefined)",
15
+ value: input.public_keys
16
+ })) && input.public_keys.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
17
+ path: _path + ".public_keys[" + _index2 + "]",
18
+ expected: "string",
19
+ value: elem
20
+ })).every(flag => flag) || _report(_exceptionable, {
21
+ path: _path + ".public_keys",
22
+ expected: "(Array<string> | undefined)",
23
+ value: input.public_keys
24
+ }), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
25
+ if (["public_keys"].some(prop => key === prop))
26
+ return true;
27
+ const value = input[key];
28
+ if (undefined === value)
29
+ return true;
30
+ return _report(_exceptionable, {
31
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
32
+ expected: "undefined",
33
+ value: value,
34
+ description: [
35
+ `The property \`${key}\` is not defined in the object type.`,
36
+ "",
37
+ "Please remove the property next time."
38
+ ].join("\n")
39
+ });
40
+ }).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return __typia_transform__createStandardSchema._createStandardSchema(input => {
41
+ if (false === __is(input)) {
42
+ errors = [];
43
+ _report = __typia_transform__validateReport._validateReport(errors);
44
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
45
+ path: _path + "",
46
+ expected: "SSH",
47
+ value: input
48
+ })) && _vo0(input, _path + "", true) || _report(true, {
49
+ path: _path + "",
50
+ expected: "SSH",
51
+ value: input
52
+ }))(input, "$input", true);
53
+ const success = 0 === errors.length;
54
+ return success ? {
55
+ success,
56
+ data: input
57
+ } : {
58
+ success,
59
+ errors,
60
+ data: input
61
+ };
62
+ }
63
+ return {
64
+ success: true,
65
+ data: input
66
+ };
67
+ }); })();
68
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/ssh/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAMhD,MAAM,CAAC,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QACW,CAAC"}