@requence/task 1.0.0-alpha.7 → 1.0.0-alpha.9

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 (56) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/{chunk-r3hqv0x2.js → chunk-ajdmm777.js} +3 -5
  3. package/build/{chunk-r3hqv0x2.js.map → chunk-ajdmm777.js.map} +4 -5
  4. package/build/cli.js +1 -1
  5. package/build/cli.js.map +1 -1
  6. package/build/index.js +79 -9
  7. package/build/index.js.map +8 -7
  8. package/build/types/helpers/src/context/context.d.ts +156 -0
  9. package/build/types/helpers/src/context/context.d.ts.map +1 -0
  10. package/build/types/helpers/src/context/index.d.ts +2 -0
  11. package/build/types/helpers/src/context/index.d.ts.map +1 -0
  12. package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
  13. package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
  14. package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
  15. package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
  16. package/build/types/helpers/src/files/index.d.ts +48 -0
  17. package/build/types/helpers/src/files/index.d.ts.map +1 -0
  18. package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
  19. package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
  20. package/build/types/helpers/src/files/mapOutput.d.ts +7 -0
  21. package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
  22. package/build/types/helpers/src/files/types.d.ts +4 -0
  23. package/build/types/helpers/src/files/types.d.ts.map +1 -0
  24. package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
  25. package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
  26. package/build/types/helpers/src/jsonschema/types.d.ts +11 -0
  27. package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
  28. package/build/types/helpers/src/jsonschema/validate.d.ts +27 -0
  29. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
  30. package/build/types/helpers/src/jsonschema/zod.d.ts +20 -0
  31. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
  32. package/build/types/helpers/src/protocol/command.d.ts +1969 -0
  33. package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
  34. package/build/types/helpers/src/protocol/createNodeMaps.d.ts +10 -0
  35. package/build/types/helpers/src/protocol/createNodeMaps.d.ts.map +1 -0
  36. package/build/types/helpers/src/protocol/getCycles.d.ts +3 -0
  37. package/build/types/helpers/src/protocol/getCycles.d.ts.map +1 -0
  38. package/build/types/helpers/src/protocol/getNodeOutputs.d.ts +4 -0
  39. package/build/types/helpers/src/protocol/getNodeOutputs.d.ts.map +1 -0
  40. package/build/types/helpers/src/protocol/getPossiblePaths.d.ts +9 -0
  41. package/build/types/helpers/src/protocol/getPossiblePaths.d.ts.map +1 -0
  42. package/build/types/helpers/src/protocol/identifyNode.d.ts +4 -0
  43. package/build/types/helpers/src/protocol/identifyNode.d.ts.map +1 -0
  44. package/build/types/helpers/src/protocol/index.d.ts +10 -0
  45. package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
  46. package/build/types/helpers/src/protocol/node.d.ts +1014 -0
  47. package/build/types/helpers/src/protocol/node.d.ts.map +1 -0
  48. package/build/types/helpers/src/protocol/nodes.d.ts +801 -0
  49. package/build/types/helpers/src/protocol/nodes.d.ts.map +1 -0
  50. package/build/types/helpers/src/protocol/update.d.ts +3087 -0
  51. package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
  52. package/build/types/task/src/createTask.d.ts.map +1 -1
  53. package/build/types/task/src/index.d.ts +1 -1
  54. package/build/types/task/src/index.d.ts.map +1 -1
  55. package/build/types/task/src/utils/mapOutput.d.ts.map +1 -1
  56. package/package.json +5 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAg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ot":"","sources":["../../../../src/createTask.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,MAAM,EAEZ,MAAM,YAAY,CAAA;AAKnB,qBAAa,SAAU,SAAQ,KAAK;aAGhB,YAAY,EAAE,MAAM;gBADpC,OAAO,EAAE,MAAM,EACC,YAAY,EAAE,MAAM;CAIvC;AAED,KAAK,iBAAiB,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;AAEjD,wBAAgB,UAAU,CACxB,CAAC,SAAS,MAAM,QAAQ,CAAC,YAAY,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EACrD,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiN5D"}
1
+ {"version":3,"file":"createTask.d.ts","sourceRoot":"","sources":["../../../../src/createTask.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,MAAM,EAEZ,MAAM,YAAY,CAAA;AAKnB,qBAAa,SAAU,SAAQ,KAAK;aAGhB,YAAY,EAAE,MAAM;gBADpC,OAAO,EAAE,MAAM,EACC,YAAY,EAAE,MAAM;CAIvC;AAED,KAAK,iBAAiB,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;AAEjD,wBAAgB,UAAU,CACxB,CAAC,SAAS,MAAM,QAAQ,CAAC,YAAY,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EACrD,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmN5D"}
@@ -1,4 +1,4 @@
1
1
  export { createTask } from './createTask.ts';
2
2
  export { watchTasks } from './watchTasks.ts';
3
- export { RequenceFile } from '@requence/helpers/files';
3
+ export { RequenceFile, RequenceStream } from '../../helpers/src/files/index.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"mapOutput.d.ts","sourceRoot":"","sources":["../../../../../src/utils/mapOutput.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAQxD"}
1
+ {"version":3,"file":"mapOutput.d.ts","sourceRoot":"","sources":["../../../../../src/utils/mapOutput.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAWxD"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@requence/task",
3
3
  "type": "module",
4
- "version": "1.0.0-alpha.7",
4
+ "version": "1.0.0-alpha.9",
5
5
  "bin": {
6
6
  "requence-task": "build/cli.js"
7
7
  },
@@ -21,11 +21,14 @@
21
21
  "dependencies": {
22
22
  "chalk": "^5.4.1",
23
23
  "eventsource": "^3.0.5",
24
+ "form-data": "^4.0.2",
25
+ "mime-types": "^2.1.35",
24
26
  "zod": "^3.24.2"
25
27
  },
26
28
  "devDependencies": {
27
29
  "@requence/helpers": "workspace:*",
28
30
  "@requence/utils": "workspace:*",
29
- "@types/eventsource": "^3.0.0"
31
+ "@types/eventsource": "^3.0.0",
32
+ "ajv": "^8.17.1"
30
33
  }
31
34
  }