@requence/task 1.0.0-alpha.8 → 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.
- package/CHANGELOG.md +6 -0
- package/build/{chunk-xhvsf71p.js → chunk-ajdmm777.js} +3 -22
- package/build/{chunk-xhvsf71p.js.map → chunk-ajdmm777.js.map} +3 -4
- package/build/cli.js +1 -1
- package/build/cli.js.map +1 -1
- package/build/index.js +2 -8635
- package/build/index.js.map +3 -6
- package/build/types/helpers/src/context/context.d.ts +156 -0
- package/build/types/helpers/src/context/context.d.ts.map +1 -0
- package/build/types/helpers/src/context/index.d.ts +2 -0
- package/build/types/helpers/src/context/index.d.ts.map +1 -0
- package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
- package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
- package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
- package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
- package/build/types/helpers/src/files/index.d.ts +48 -0
- package/build/types/helpers/src/files/index.d.ts.map +1 -0
- package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
- package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
- package/build/types/helpers/src/files/mapOutput.d.ts +7 -0
- package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
- package/build/types/helpers/src/files/types.d.ts +4 -0
- package/build/types/helpers/src/files/types.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/types.d.ts +11 -0
- package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts +27 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts +20 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/command.d.ts +1969 -0
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/createNodeMaps.d.ts +10 -0
- package/build/types/helpers/src/protocol/createNodeMaps.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/getCycles.d.ts +3 -0
- package/build/types/helpers/src/protocol/getCycles.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/getNodeOutputs.d.ts +4 -0
- package/build/types/helpers/src/protocol/getNodeOutputs.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/getPossiblePaths.d.ts +9 -0
- package/build/types/helpers/src/protocol/getPossiblePaths.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/identifyNode.d.ts +4 -0
- package/build/types/helpers/src/protocol/identifyNode.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/index.d.ts +10 -0
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/node.d.ts +1014 -0
- package/build/types/helpers/src/protocol/node.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/nodes.d.ts +801 -0
- package/build/types/helpers/src/protocol/nodes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/update.d.ts +3087 -0
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
- package/build/types/task/src/index.d.ts +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,WAAW;;;;;;;;;EAGtB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA;AAE/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,i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;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA4C,CAAA;AAEtE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EntryNode, Node, Nodes } from './nodes.ts';
|
|
2
|
+
import type { NamedString } from './types.d.ts';
|
|
3
|
+
export interface NodeMaps {
|
|
4
|
+
getNode(node: '__entry__'): EntryNode;
|
|
5
|
+
getNode(nodeId: string): Node | undefined;
|
|
6
|
+
getInputs(node: NamedString<'exit'> | Node): Array<Node>;
|
|
7
|
+
lookupNode(nameOrAlias: string): Node | undefined;
|
|
8
|
+
}
|
|
9
|
+
export default function createNodeMaps(nodes: Nodes): NodeMaps;
|
|
10
|
+
//# sourceMappingURL=createNodeMaps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createNodeMaps.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/createNodeMaps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,QAAQ;IACvB,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,CAAA;IACrC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACzC,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA;IACxD,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CAClD;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,QAAQ,CA4C7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCycles.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/getCycles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAGnD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,cAuB7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNodeOutputs.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/getNodeOutputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,IAAI,EAAE,IAAI,EACV,UAAU,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,GAClC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAiB5B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NodeMaps } from './createNodeMaps.ts';
|
|
2
|
+
import type { Node } from './nodes.ts';
|
|
3
|
+
type PathSegment = '__entry__' | '__exit__' | (string & {});
|
|
4
|
+
interface GetPossiblePathsOptions extends Pick<NodeMaps, 'getInputs' | 'getNode'> {
|
|
5
|
+
onMissingInputs?: (node: Node, path: Array<PathSegment>) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function getPossiblePaths({ getInputs, getNode, onMissingInputs, }: GetPossiblePathsOptions): PathSegment[][];
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=getPossiblePaths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPossiblePaths.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/getPossiblePaths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEtC,KAAK,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAE3D,UAAU,uBACR,SAAQ,IAAI,CAAC,QAAQ,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;CACjE;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,SAAS,EACT,OAAO,EACP,eAAe,GAChB,EAAE,uBAAuB,mBAwCzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifyNode.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/identifyNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,MAAM,EAAE,WAAW,CAAC,WAAW,GAAG,UAAU,CAAC,EAC7C,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,GAC3B,MAAM,CAoCR"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './command.ts';
|
|
2
|
+
export * from './node.ts';
|
|
3
|
+
export * from './nodes.ts';
|
|
4
|
+
export { default as identifyNode } from './identifyNode.ts';
|
|
5
|
+
export { default as getPossiblePaths } from './getPossiblePaths.ts';
|
|
6
|
+
export { default as createNodeMaps } from './createNodeMaps.ts';
|
|
7
|
+
export { default as getNodeOutputs } from './getNodeOutputs.ts';
|
|
8
|
+
export { default as getCycles } from './getCycles.ts';
|
|
9
|
+
export * from './update.ts';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAA;AACrD,cAAc,aAAa,CAAA"}
|