@nosana/types 2.2.13 → 2.2.16

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.
Files changed (35) hide show
  1. package/dist/Jobs/JobDefinition/args/index.d.ts +17 -0
  2. package/dist/Jobs/JobDefinition/args/index.d.ts.map +1 -1
  3. package/dist/Jobs/JobDefinition/args/index.js +2365 -0
  4. package/dist/Jobs/JobDefinition/args/index.js.map +1 -1
  5. package/dist/Jobs/JobDefinition/execution/index.d.ts +3 -0
  6. package/dist/Jobs/JobDefinition/execution/index.d.ts.map +1 -1
  7. package/dist/Jobs/JobDefinition/execution/index.js +136 -1
  8. package/dist/Jobs/JobDefinition/execution/index.js.map +1 -1
  9. package/dist/Jobs/JobDefinition/global/index.d.ts +2 -0
  10. package/dist/Jobs/JobDefinition/global/index.d.ts.map +1 -1
  11. package/dist/Jobs/JobDefinition/global/index.js +127 -1
  12. package/dist/Jobs/JobDefinition/global/index.js.map +1 -1
  13. package/dist/Jobs/JobDefinition/logistics/index.d.ts +2 -0
  14. package/dist/Jobs/JobDefinition/logistics/index.d.ts.map +1 -1
  15. package/dist/Jobs/JobDefinition/logistics/index.js +133 -0
  16. package/dist/Jobs/JobDefinition/logistics/index.js.map +1 -1
  17. package/dist/Jobs/JobDefinition/meta/index.d.ts +2 -0
  18. package/dist/Jobs/JobDefinition/meta/index.d.ts.map +1 -1
  19. package/dist/Jobs/JobDefinition/meta/index.js +118 -1
  20. package/dist/Jobs/JobDefinition/meta/index.js.map +1 -1
  21. package/dist/Jobs/JobDefinition/operations/index.d.ts +13 -2
  22. package/dist/Jobs/JobDefinition/operations/index.d.ts.map +1 -1
  23. package/dist/Jobs/JobDefinition/operations/index.js +2663 -2
  24. package/dist/Jobs/JobDefinition/operations/index.js.map +1 -1
  25. package/dist/Jobs/JobDefinition/operations/rules.d.ts +11 -0
  26. package/dist/Jobs/JobDefinition/operations/rules.d.ts.map +1 -0
  27. package/dist/Jobs/JobDefinition/operations/rules.js +20 -0
  28. package/dist/Jobs/JobDefinition/operations/rules.js.map +1 -0
  29. package/dist/Jobs/index.d.ts +3 -19
  30. package/dist/Jobs/index.d.ts.map +1 -1
  31. package/dist/Jobs/index.js +16 -8
  32. package/dist/Jobs/index.js.map +1 -1
  33. package/dist/Schemas/job.js +10 -4
  34. package/dist/Schemas/job.js.map +1 -1
  35. package/package.json +2 -2
@@ -1 +1 @@
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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uNA3CS,EAAG;;;;;;IAET,CAAC;;AAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAH9C,EAAG;;;;;;;;;;gDAU6B,CAAE,SAC5C,CACA;;;;;YA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2GA3CS,EAAG;;;;;;QAET,CAAC;;IAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0GAH5B,EAAE;;;qBACyB,EAAE;;;;;IAEvC,CAAC;;AAAsB,CAAC;;;;;;;;6CAHd,EAAE;;;6BACyB,EAAE;;;;;YAEvC,CAAC;;QAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiDC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Predicate strings consumed by typia tag validators.
3
+ *
4
+ * This module MUST NOT import `typia` or call any typia validator factory.
5
+ * It is imported directly by tests (via `new Function`) so that asserting on a
6
+ * rule never triggers the typia transform — which is only applied by the `tsc`
7
+ * build, not by vitest.
8
+ */
9
+ export declare const OPERATION_ID_VALIDATE: "typeof $input === \"string\" && !$input.includes(\" \")";
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
+ //# sourceMappingURL=rules.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Predicate strings consumed by typia tag validators.
3
+ *
4
+ * This module MUST NOT import `typia` or call any typia validator factory.
5
+ * It is imported directly by tests (via `new Function`) so that asserting on a
6
+ * rule never triggers the typia transform — which is only applied by the `tsc`
7
+ * build, not by vitest.
8
+ */
9
+ // Operation ID – mirrors @nosana/sdk/src/types/job.ts
10
+ export const OPERATION_ID_VALIDATE = `typeof $input === "string" && !$input.includes(" ")`;
11
+ export const OPS_UNIQUE_BY_ID_VALIDATE = `Array.isArray($input) && (()=>{
12
+ const seen = new Set();
13
+ for (const it of $input) {
14
+ if (typeof it?.id !== "string") return false;
15
+ if (seen.has(it.id)) return false;
16
+ seen.add(it.id);
17
+ }
18
+ return true;
19
+ })()`;
20
+ //# sourceMappingURL=rules.js.map
@@ -0,0 +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,28 +1,12 @@
1
- import { type IValidation, tags } from "typia";
1
+ import { type IValidation } from "typia";
2
2
  import { JobDefinition } from "./JobDefinition/index.js";
3
+ import type { UniqueById as OpsUniqueById } from "./JobDefinition/operations/index.js";
3
4
  export * from "./Diagnostics/index.js";
4
5
  export * from "./Flows/index.js";
5
6
  export * from "./JobDefinition/index.js";
6
7
  export * from "./Logs/index.js";
7
- type UniqueById = tags.TagBase<{
8
- kind: 'uniqueBy';
9
- target: 'array';
10
- value: 'id';
11
- validate: `
12
- Array.isArray($input) && (()=>{
13
- const seen = new Set();
14
- for (const it of $input) {
15
- if (typeof it?.id !== "string") return false;
16
- if (seen.has(it.id)) return false;
17
- seen.add(it.id);
18
- }
19
- return true;
20
- })()
21
- `;
22
- message: 'ops[*].id must be unique';
23
- }>;
24
8
  type JobDefinitionWithRule = Omit<JobDefinition, 'ops'> & {
25
- ops: JobDefinition['ops'] & UniqueById;
9
+ ops: JobDefinition['ops'] & OpsUniqueById;
26
10
  };
27
11
  export declare const validateJobDefinition: (input: unknown) => IValidation<JobDefinitionWithRule>;
28
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,WAAW,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAE/B,KAAK,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC;IAC7B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE;;;;;;;;;;GAUT,CAAC;IACF,OAAO,EAAE,0BAA0B,CAAC;CACrC,CAAC,CAAC;AAEH,KAAK,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,GAAG;IACxD,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,CAClC,KAAK,EAAE,OAAO,KACX,WAAW,CAAC,qBAAqB,CACe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEvF,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAE/B,KAAK,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC,GAAG;IACxD,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,aAAa,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,CAClC,KAAK,EAAE,OAAO,KACX,WAAW,CAAC,qBAAqB,CACe,CAAC"}
@@ -264,15 +264,15 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
264
264
  if (undefined === value)
265
265
  return true;
266
266
  return false;
267
- })); const _io31 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (null !== input.depends_on && undefined === input.depends_on) && (null !== input.stop_if_dependent_stops && undefined === input.stop_if_dependent_stops) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
268
- if (["group", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
267
+ })); const _io31 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (undefined === input.timeout || "number" === typeof input.timeout) && (null !== input.depends_on && undefined === input.depends_on) && (null !== input.stop_if_dependent_stops && undefined === input.stop_if_dependent_stops) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
268
+ if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
269
269
  return true;
270
270
  const value = input[key];
271
271
  if (undefined === value)
272
272
  return true;
273
273
  return false;
274
- })); const _io32 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (Array.isArray(input.depends_on) && input.depends_on.every((elem, _index17) => "string" === typeof elem)) && (undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
275
- if (["group", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
274
+ })); const _io32 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (undefined === input.timeout || "number" === typeof input.timeout) && (Array.isArray(input.depends_on) && input.depends_on.every((elem, _index17) => "string" === typeof elem)) && (undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
275
+ if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
276
276
  return true;
277
277
  const value = input[key];
278
278
  if (undefined === value)
@@ -656,11 +656,11 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
656
656
  value: input.results
657
657
  }), undefined === input.execution || ("object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) || _report(_exceptionable, {
658
658
  path: _path + ".execution",
659
- expected: "(undefined | { group?: string | undefined; } & { depends_on: string[]; stop_if_dependent_stops?: boolean | undefined; } | { group?: string | undefined; } & { depends_on?: undefined; stop_if_dependent_stops?: undefined; })",
659
+ expected: "(undefined | { group?: string | undefined; timeout?: number | undefined; } & { depends_on: string[]; stop_if_dependent_stops?: boolean | undefined; } | { group?: string | undefined; timeout?: number | undefined; } & { depends_on?: undefined; stop_if_dependent_stops?: undefined; })",
660
660
  value: input.execution
661
661
  })) && _vu4(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
662
662
  path: _path + ".execution",
663
- expected: "(undefined | { group?: string | undefined; } & { depends_on: string[]; stop_if_dependent_stops?: boolean | undefined; } | { group?: string | undefined; } & { depends_on?: undefined; stop_if_dependent_stops?: undefined; })",
663
+ expected: "(undefined | { group?: string | undefined; timeout?: number | undefined; } & { depends_on: string[]; stop_if_dependent_stops?: boolean | undefined; } | { group?: string | undefined; timeout?: number | undefined; } & { depends_on?: undefined; stop_if_dependent_stops?: undefined; })",
664
664
  value: input.execution
665
665
  }), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
666
666
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
@@ -1531,6 +1531,10 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1531
1531
  path: _path + ".group",
1532
1532
  expected: "(string | undefined)",
1533
1533
  value: input.group
1534
+ }), undefined === input.timeout || "number" === typeof input.timeout || _report(_exceptionable, {
1535
+ path: _path + ".timeout",
1536
+ expected: "(number | undefined)",
1537
+ value: input.timeout
1534
1538
  }), (null !== input.depends_on || _report(_exceptionable, {
1535
1539
  path: _path + ".depends_on",
1536
1540
  expected: "undefined",
@@ -1548,7 +1552,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1548
1552
  expected: "undefined",
1549
1553
  value: input.stop_if_dependent_stops
1550
1554
  })), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1551
- if (["group", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1555
+ if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1552
1556
  return true;
1553
1557
  const value = input[key];
1554
1558
  if (undefined === value)
@@ -1567,6 +1571,10 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1567
1571
  path: _path + ".group",
1568
1572
  expected: "(string | undefined)",
1569
1573
  value: input.group
1574
+ }), undefined === input.timeout || "number" === typeof input.timeout || _report(_exceptionable, {
1575
+ path: _path + ".timeout",
1576
+ expected: "(number | undefined)",
1577
+ value: input.timeout
1570
1578
  }), (Array.isArray(input.depends_on) || _report(_exceptionable, {
1571
1579
  path: _path + ".depends_on",
1572
1580
  expected: "Array<string>",
@@ -1584,7 +1592,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1584
1592
  expected: "(boolean | undefined)",
1585
1593
  value: input.stop_if_dependent_stops
1586
1594
  }), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1587
- if (["group", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1595
+ if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1588
1596
  return true;
1589
1597
  const value = input[key];
1590
1598
  if (undefined === value)
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAGtD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAwB/B,MAAM,CAAC,MAAM,qBAAqB,yvBA9BA,EAAC;;;qBAG5B,EAAE;;;;;IAE0B,CAAC;;AACf,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;04BANZ,EAAG;;;;;;;;;;4CAgBL,CAAA,SAAQ,CAAE;;;;;QAIJ,CAAC;;;;;;;;;YAa+G,CAAC;;QAAoD,CAAC;IAAW,CAAC;;;;;QAA0J,CAAC;IAAW,CAAC;;AAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uNAhCpW,EAAG;;;;;;IAIP,CAAC;;AACf,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CANiB,EAAC;;;yBAG5B,EAAE;;;;;QAE0B,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2GAhBzmB,EAAG;;;;;;QAGvB,CAAC;;IACZ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAW2C,CAAC"}
@@ -259,10 +259,10 @@ export const jobSchemas = {
259
259
  execution: {
260
260
  oneOf: [
261
261
  {
262
- $ref: "#/components/schemas/groupstringundefineddepends_onstringstop_if_dependent_stopsbooleanundefined"
262
+ $ref: "#/components/schemas/groupstringundefinedtimeoutnumberundefineddepends_onstringstop_if_dependent_stopsbooleanundefined"
263
263
  },
264
264
  {
265
- $ref: "#/components/schemas/groupstringundefineddepends_onundefinedstop_if_dependent_stopsundefined"
265
+ $ref: "#/components/schemas/groupstringundefinedtimeoutnumberundefineddepends_onundefinedstop_if_dependent_stopsundefined"
266
266
  }
267
267
  ]
268
268
  }
@@ -877,12 +877,15 @@ export const jobSchemas = {
877
877
  "nodeerr"
878
878
  ]
879
879
  },
880
- groupstringundefineddepends_onstringstop_if_dependent_stopsbooleanundefined: {
880
+ groupstringundefinedtimeoutnumberundefineddepends_onstringstop_if_dependent_stopsbooleanundefined: {
881
881
  type: "object",
882
882
  properties: {
883
883
  group: {
884
884
  type: "string"
885
885
  },
886
+ timeout: {
887
+ type: "number"
888
+ },
886
889
  depends_on: {
887
890
  type: "array",
888
891
  items: {
@@ -897,11 +900,14 @@ export const jobSchemas = {
897
900
  "depends_on"
898
901
  ]
899
902
  },
900
- groupstringundefineddepends_onundefinedstop_if_dependent_stopsundefined: {
903
+ groupstringundefinedtimeoutnumberundefineddepends_onundefinedstop_if_dependent_stopsundefined: {
901
904
  type: "object",
902
905
  properties: {
903
906
  group: {
904
907
  type: "string"
908
+ },
909
+ timeout: {
910
+ type: "number"
905
911
  }
906
912
  },
907
913
  required: []
@@ -1 +1 @@
1
- {"version":3,"file":"job.js","sourceRoot":"","sources":["../../src/Schemas/job.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosana/types",
3
- "version": "2.2.13",
3
+ "version": "2.2.16",
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": "7f7f4c5d62d41a42cfdf7673728a9255f2a125ba"
52
+ "gitHead": "076c279c6d649e488d2e2a58143a9454876c6514"
53
53
  }