@nosana/types 0.1.5 → 0.1.8
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/args/index.d.ts +3 -0
- package/dist/Jobs/JobDefinition/args/index.js +1 -0
- package/dist/Jobs/JobDefinition/args/index.js.map +1 -1
- package/dist/Jobs/JobDefinition/args/literals.d.ts +1 -1
- package/dist/Jobs/JobDefinition/args/private.d.ts +1 -0
- package/dist/Jobs/JobDefinition/args/private.js +2 -0
- package/dist/Jobs/JobDefinition/args/private.js.map +1 -0
- package/dist/Jobs/JobDefinition/operations/index.d.ts +10 -1
- package/dist/Jobs/JobDefinition/operations/index.js +2 -1
- package/dist/Jobs/JobDefinition/operations/index.js.map +1 -1
- package/dist/Jobs/index.js +21 -9
- package/dist/Jobs/index.js.map +1 -1
- package/dist/Schemas/job.js +16 -1
- package/dist/Schemas/job.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import type { Env } from "./env.js";
|
|
|
5
5
|
import type { Expose } from "./expose.js";
|
|
6
6
|
import type { GPU } from "./gpu.js";
|
|
7
7
|
import type { Image } from "./image.js";
|
|
8
|
+
import type { Private } from "./private.js";
|
|
8
9
|
import type { Resources } from "./resources.js";
|
|
9
10
|
import type { Volume } from "./volumes.js";
|
|
10
11
|
import type { WorkDir } from "./work_dir.js";
|
|
@@ -16,6 +17,7 @@ export * from "./expose.js";
|
|
|
16
17
|
export * from "./gpu.js";
|
|
17
18
|
export * from "./image.js";
|
|
18
19
|
export * from "./literals.js";
|
|
20
|
+
export * from "./private.js";
|
|
19
21
|
export * from "./resources.js";
|
|
20
22
|
export * from "./variables.js";
|
|
21
23
|
export * from "./volumes.js";
|
|
@@ -30,6 +32,7 @@ export interface ContainerRun {
|
|
|
30
32
|
work_dir?: WorkDir;
|
|
31
33
|
entrypoint?: CMDString | CMDArray;
|
|
32
34
|
env?: Env;
|
|
35
|
+
private?: Private;
|
|
33
36
|
resources?: Resources;
|
|
34
37
|
authentication?: Authentication;
|
|
35
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/args/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/args/index.ts"],"names":[],"mappings":"AAYA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -12,6 +12,7 @@ export type LiteralString = string & tags.TagBase<{
|
|
|
12
12
|
}>;
|
|
13
13
|
export type SpreadMarker = {
|
|
14
14
|
__spread__: LiteralString;
|
|
15
|
+
chunked?: boolean;
|
|
15
16
|
} & tags.TagBase<{
|
|
16
17
|
kind: 'spreadMarker';
|
|
17
18
|
target: 'object';
|
|
@@ -20,7 +21,6 @@ export type SpreadMarker = {
|
|
|
20
21
|
typeof $input === "object" &&
|
|
21
22
|
$input !== null &&
|
|
22
23
|
!Array.isArray($input) &&
|
|
23
|
-
Object.keys($input).length === 1 &&
|
|
24
24
|
typeof $input.__spread__ === "string" &&
|
|
25
25
|
/^%%(ops|global).[^%]+%%$/.test($input.__spread__)
|
|
26
26
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Private = boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"private.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/args/private.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import type { ContainerCreateVolume, ContainerRun } from "../args/index.js";
|
|
2
2
|
import type { Execution } from "../execution/index.js";
|
|
3
3
|
import type { OperationResults } from "../results/index.js";
|
|
4
|
+
import type { tags } from "typia";
|
|
4
5
|
export type OperationArgsMap = {
|
|
5
6
|
'container/run': ContainerRun;
|
|
6
7
|
'container/create-volume': ContainerCreateVolume;
|
|
7
8
|
};
|
|
8
9
|
export type OperationType = keyof OperationArgsMap;
|
|
9
10
|
export type Ops = Array<Operation<OperationType>>;
|
|
11
|
+
export declare const OPERATION_ID_VALIDATE: "typeof $input === \"string\" && !$input.includes(\" \")";
|
|
12
|
+
export type OperationId = string & tags.TagBase<{
|
|
13
|
+
kind: 'operationId';
|
|
14
|
+
target: 'string';
|
|
15
|
+
value: 'operationId';
|
|
16
|
+
validate: typeof OPERATION_ID_VALIDATE;
|
|
17
|
+
message: 'ops[*].id must be a string and not contain spaces';
|
|
18
|
+
}>;
|
|
10
19
|
export type Operation<T extends OperationType> = {
|
|
11
20
|
type: OperationType;
|
|
12
|
-
id:
|
|
21
|
+
id: OperationId;
|
|
13
22
|
args: OperationArgsMap[T];
|
|
14
23
|
results?: OperationResults;
|
|
15
24
|
execution?: Execution;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/index.ts"],"names":[],"mappings":"AAcA,sDAAsD;AACtD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qDAA8D,CAAC"}
|
package/dist/Jobs/index.js
CHANGED
|
@@ -72,7 +72,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
72
72
|
if (undefined === value)
|
|
73
73
|
return true;
|
|
74
74
|
return "string" === typeof value;
|
|
75
|
-
}); const _io9 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && "string" === typeof input.id && ("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) && _io27(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 => {
|
|
75
|
+
}); const _io9 = (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) && _io27(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 => {
|
|
76
76
|
if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
|
|
77
77
|
return true;
|
|
78
78
|
const value = input[key];
|
|
@@ -114,8 +114,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
return true;
|
|
117
|
-
})() && input.expose.every((elem, _index6) => null !== elem && undefined !== elem && ("number" === typeof elem || "string" === typeof elem && (typeof elem === "string" && /^%%(ops|global).[^%]+%%$/.test(elem)) || "object" === typeof elem && null !== elem && _iu1(elem, true && _exceptionable)))) || "object" === typeof input.expose && null !== input.expose && _iu1(input.expose, true && _exceptionable)))) && (undefined === input.gpu || "boolean" === typeof input.gpu) && (undefined === input.work_dir || "string" === typeof input.work_dir) && (null !== input.entrypoint && (undefined === input.entrypoint || "string" === typeof input.entrypoint || Array.isArray(input.entrypoint) && input.entrypoint.every((elem, _index7) => "string" === typeof elem))) && (undefined === input.env || "object" === typeof input.env && null !== input.env && false === Array.isArray(input.env) && _io7(input.env, true && _exceptionable)) && (undefined === input.resources || Array.isArray(input.resources) && input.resources.every((elem, _index8) => null !== elem && undefined !== elem && ("__remove-if-empty__" === elem || "object" === typeof elem && null !== elem && _iu2(elem, true && _exceptionable)))) && (undefined === input.authentication || "object" === typeof input.authentication && null !== input.authentication && false === Array.isArray(input.authentication) && _io24(input.authentication, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
118
|
-
if (["image", "aliases", "cmd", "volumes", "expose", "gpu", "work_dir", "entrypoint", "env", "resources", "authentication"].some(prop => key === prop))
|
|
117
|
+
})() && input.expose.every((elem, _index6) => null !== elem && undefined !== elem && ("number" === typeof elem || "string" === typeof elem && (typeof elem === "string" && /^%%(ops|global).[^%]+%%$/.test(elem)) || "object" === typeof elem && null !== elem && _iu1(elem, true && _exceptionable)))) || "object" === typeof input.expose && null !== input.expose && _iu1(input.expose, true && _exceptionable)))) && (undefined === input.gpu || "boolean" === typeof input.gpu) && (undefined === input.work_dir || "string" === typeof input.work_dir) && (null !== input.entrypoint && (undefined === input.entrypoint || "string" === typeof input.entrypoint || Array.isArray(input.entrypoint) && input.entrypoint.every((elem, _index7) => "string" === typeof elem))) && (undefined === input.env || "object" === typeof input.env && null !== input.env && false === Array.isArray(input.env) && _io7(input.env, true && _exceptionable)) && (undefined === input["private"] || "boolean" === typeof input["private"]) && (undefined === input.resources || Array.isArray(input.resources) && input.resources.every((elem, _index8) => null !== elem && undefined !== elem && ("__remove-if-empty__" === elem || "object" === typeof elem && null !== elem && _iu2(elem, true && _exceptionable)))) && (undefined === input.authentication || "object" === typeof input.authentication && null !== input.authentication && false === Array.isArray(input.authentication) && _io24(input.authentication, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
118
|
+
if (["image", "aliases", "cmd", "volumes", "expose", "gpu", "work_dir", "entrypoint", "env", "private", "resources", "authentication"].some(prop => key === prop))
|
|
119
119
|
return true;
|
|
120
120
|
const value = input[key];
|
|
121
121
|
if (undefined === value)
|
|
@@ -128,8 +128,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
128
128
|
if (undefined === value)
|
|
129
129
|
return true;
|
|
130
130
|
return false;
|
|
131
|
-
})); const _io12 = (input, _exceptionable = true) => "string" === typeof input.__spread__ && (typeof input.__spread__ === "string" && /^%%(ops|global).[^%]+%%$/.test(input.__spread__)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
132
|
-
if (["__spread__"].some(prop => key === prop))
|
|
131
|
+
})); const _io12 = (input, _exceptionable = true) => "string" === typeof input.__spread__ && (typeof input.__spread__ === "string" && /^%%(ops|global).[^%]+%%$/.test(input.__spread__)) && (undefined === input.chunked || "boolean" === typeof input.chunked) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
132
|
+
if (["__spread__", "chunked"].some(prop => key === prop))
|
|
133
133
|
return true;
|
|
134
134
|
const value = input[key];
|
|
135
135
|
if (undefined === value)
|
|
@@ -588,9 +588,13 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
588
588
|
path: _path + ".type",
|
|
589
589
|
expected: "(\"container/create-volume\" | \"container/run\")",
|
|
590
590
|
value: input.type
|
|
591
|
-
}), "string" === typeof input.id || _report(_exceptionable, {
|
|
591
|
+
}), "string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") || _report(_exceptionable, {
|
|
592
592
|
path: _path + ".id",
|
|
593
|
-
expected: "string",
|
|
593
|
+
expected: "string & TagBase<__type>",
|
|
594
|
+
value: input.id
|
|
595
|
+
})) || _report(_exceptionable, {
|
|
596
|
+
path: _path + ".id",
|
|
597
|
+
expected: "(string & TagBase<__type>)",
|
|
594
598
|
value: input.id
|
|
595
599
|
}), ("object" === typeof input.args && null !== input.args || _report(_exceptionable, {
|
|
596
600
|
path: _path + ".args",
|
|
@@ -791,6 +795,10 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
791
795
|
path: _path + ".env",
|
|
792
796
|
expected: "(Env | undefined)",
|
|
793
797
|
value: input.env
|
|
798
|
+
}), undefined === input["private"] || "boolean" === typeof input["private"] || _report(_exceptionable, {
|
|
799
|
+
path: _path + "[\"private\"]",
|
|
800
|
+
expected: "(boolean | undefined)",
|
|
801
|
+
value: input["private"]
|
|
794
802
|
}), undefined === input.resources || (Array.isArray(input.resources) || _report(_exceptionable, {
|
|
795
803
|
path: _path + ".resources",
|
|
796
804
|
expected: "(Resources | undefined)",
|
|
@@ -824,7 +832,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
824
832
|
expected: "(Authentication | undefined)",
|
|
825
833
|
value: input.authentication
|
|
826
834
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
827
|
-
if (["image", "aliases", "cmd", "volumes", "expose", "gpu", "work_dir", "entrypoint", "env", "resources", "authentication"].some(prop => key === prop))
|
|
835
|
+
if (["image", "aliases", "cmd", "volumes", "expose", "gpu", "work_dir", "entrypoint", "env", "private", "resources", "authentication"].some(prop => key === prop))
|
|
828
836
|
return true;
|
|
829
837
|
const value = input[key];
|
|
830
838
|
if (undefined === value)
|
|
@@ -871,8 +879,12 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
|
|
|
871
879
|
path: _path + ".__spread__",
|
|
872
880
|
expected: "(string & TagBase<__type>)",
|
|
873
881
|
value: input.__spread__
|
|
882
|
+
}), undefined === input.chunked || "boolean" === typeof input.chunked || _report(_exceptionable, {
|
|
883
|
+
path: _path + ".chunked",
|
|
884
|
+
expected: "(boolean | undefined)",
|
|
885
|
+
value: input.chunked
|
|
874
886
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
875
|
-
if (["__spread__"].some(prop => key === prop))
|
|
887
|
+
if (["__spread__", "chunked"].some(prop => key === prop))
|
|
876
888
|
return true;
|
|
877
889
|
const value = input[key];
|
|
878
890
|
if (undefined === value)
|
package/dist/Jobs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAGpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAwB/B,MAAM,CAAC,MAAM,qBAAqB,yvBA7BD,EAAE;;;qBAGV,EAAE;;;;;IAIT,CAAC;;AACP,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;04BARH,EAAG;;;;;;;;;;4CAgBJ,CAAE,SAAQ,CAAE;;;;;QAOrB,CAAC;;;;;;;;;YAMwR,CAAC;;QAAoD,CAAC;IAAW,CAAC;;;;;QAA0J,CAAC;IAAW,CAAC;;AAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uNA5B7e,EAAG;;;;;;IAM1C,CAAC;;AACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CARwB,EAAE;;;yBAGV,EAAE;;;;;QAIT,CAAC;;IACP,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAGpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAwB/B,MAAM,CAAC,MAAM,qBAAqB,yvBA7BD,EAAE;;;qBAGV,EAAE;;;;;IAIT,CAAC;;AACP,CAAC;;;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
|
|
205
205
|
oneOf: [
|
|
@@ -231,6 +231,9 @@ export const jobSchemas = {
|
|
|
231
231
|
"args"
|
|
232
232
|
]
|
|
233
233
|
},
|
|
234
|
+
OperationId: {
|
|
235
|
+
type: "string"
|
|
236
|
+
},
|
|
234
237
|
ContainerRun: {
|
|
235
238
|
type: "object",
|
|
236
239
|
properties: {
|
|
@@ -276,6 +279,9 @@ export const jobSchemas = {
|
|
|
276
279
|
properties: {
|
|
277
280
|
__spread__: {
|
|
278
281
|
$ref: "#/components/schemas/LiteralString"
|
|
282
|
+
},
|
|
283
|
+
chunked: {
|
|
284
|
+
type: "boolean"
|
|
279
285
|
}
|
|
280
286
|
},
|
|
281
287
|
required: [
|
|
@@ -309,6 +315,9 @@ export const jobSchemas = {
|
|
|
309
315
|
env: {
|
|
310
316
|
$ref: "#/components/schemas/Env"
|
|
311
317
|
},
|
|
318
|
+
"private": {
|
|
319
|
+
type: "boolean"
|
|
320
|
+
},
|
|
312
321
|
resources: {
|
|
313
322
|
$ref: "#/components/schemas/Resources"
|
|
314
323
|
},
|
|
@@ -471,6 +480,9 @@ export const jobSchemas = {
|
|
|
471
480
|
properties: {
|
|
472
481
|
__spread__: {
|
|
473
482
|
$ref: "#/components/schemas/LiteralString"
|
|
483
|
+
},
|
|
484
|
+
chunked: {
|
|
485
|
+
type: "boolean"
|
|
474
486
|
}
|
|
475
487
|
},
|
|
476
488
|
required: [
|
|
@@ -491,6 +503,9 @@ export const jobSchemas = {
|
|
|
491
503
|
properties: {
|
|
492
504
|
__spread__: {
|
|
493
505
|
$ref: "#/components/schemas/LiteralString"
|
|
506
|
+
},
|
|
507
|
+
chunked: {
|
|
508
|
+
type: "boolean"
|
|
494
509
|
}
|
|
495
510
|
},
|
|
496
511
|
required: [
|
package/dist/Schemas/job.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.js","sourceRoot":"","sources":["../../src/Schemas/job.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK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