@requence/task 1.0.0-alpha.20 → 1.0.0-alpha.22
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 +12 -0
- package/build/{chunk-4r30g3ha.js → chunk-y4v98p2s.js} +20 -5
- package/build/{chunk-4r30g3ha.js.map → chunk-y4v98p2s.js.map} +2 -2
- package/build/cli.js +643 -137
- package/build/cli.js.map +27 -16
- package/build/index.js +202 -240
- package/build/index.js.map +12 -12
- package/build/types/helpers/src/files/fileObject.d.ts +16 -0
- package/build/types/helpers/src/files/fileObject.d.ts.map +1 -0
- package/build/types/helpers/src/files/index.d.ts +2 -43
- package/build/types/helpers/src/files/index.d.ts.map +1 -1
- package/build/types/helpers/src/files/mapOutput.d.ts +1 -1
- package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -1
- package/build/types/helpers/src/files/streamObject.d.ts +14 -0
- package/build/types/helpers/src/files/streamObject.d.ts.map +1 -0
- package/build/types/helpers/src/index.d.ts +1 -0
- package/build/types/helpers/src/index.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/validate.d.ts +1 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/zod.d.ts +4 -12
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/NodeTree.d.ts +504 -0
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/NodesError.d.ts +5 -0
- package/build/types/helpers/src/protocol/NodesError.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/command.d.ts +373 -1954
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/index.d.ts +5 -7
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/nodeOptions.d.ts +16 -0
- package/build/types/helpers/src/protocol/nodeOptions.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts +283 -0
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/targetNodes.d.ts +253 -0
- package/build/types/helpers/src/protocol/targetNodes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts +606 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/update.d.ts +182 -17892
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
- package/build/types/helpers/src/utils/mapData.d.ts +4 -0
- package/build/types/helpers/src/utils/mapData.d.ts.map +1 -1
- package/build/types/helpers/src/utils/matchSchema.d.ts +1 -1
- package/build/types/helpers/src/utils/matchSchema.d.ts.map +1 -1
- package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +2 -0
- package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +1 -0
- package/build/types/helpers/src/utils/types.d.ts +4 -0
- package/build/types/helpers/src/utils/types.d.ts.map +1 -0
- package/build/types/task/src/createTask.d.ts.map +1 -1
- package/build/types/task/src/types.d.ts +114 -5103
- package/build/types/task/src/types.d.ts.map +1 -1
- package/build/types/task/src/watchTasks.d.ts +3 -1
- package/build/types/task/src/watchTasks.d.ts.map +1 -1
- package/package.json +2 -2
- package/build/types/helpers/src/context/context.d.ts +0 -156
- package/build/types/helpers/src/context/context.d.ts.map +0 -1
- package/build/types/helpers/src/context/index.d.ts +0 -2
- package/build/types/helpers/src/context/index.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/createNodeMaps.d.ts +0 -10
- package/build/types/helpers/src/protocol/createNodeMaps.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/getCycles.d.ts +0 -3
- package/build/types/helpers/src/protocol/getCycles.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/getNodeOutputs.d.ts +0 -4
- package/build/types/helpers/src/protocol/getNodeOutputs.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/getPossiblePaths.d.ts +0 -9
- package/build/types/helpers/src/protocol/getPossiblePaths.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/identifyNode.d.ts +0 -4
- package/build/types/helpers/src/protocol/identifyNode.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/node.d.ts +0 -1014
- package/build/types/helpers/src/protocol/node.d.ts.map +0 -1
- package/build/types/helpers/src/protocol/nodes.d.ts +0 -801
- package/build/types/helpers/src/protocol/nodes.d.ts.map +0 -1
- package/build/types/task/src/utils/mapOutput.d.ts +0 -2
- package/build/types/task/src/utils/mapOutput.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,KAAK,QAAQ,CAAC,CAAC,IAAI;KAChB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN,KAAK,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,OAAO,SAAS,CAAC,GAC7C,CAAC,SAAS,OAAO,GACf,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,KAAK,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,GACvC,IAAI,SAAS,CAAC,GACZ,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,YAAY,EAAE,CAAC,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,GAAG,MAAM,CACR,KAAK,CAAC,CAAC,CAAC,EACR;IAAE,KAAK,CAAC,EAAE,IAAI,CAAA;CAAE,E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;CAC7B,CAAC,GACF,CAAC,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC,GAAG;IACnD,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5B,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;CACvB,CAAC,GACF,CAAC,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAC7E,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAGH,CAAA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type Update } from './types.ts';
|
|
2
|
-
type TaskUpdateHandler = (update: Update<unknown>
|
|
2
|
+
type TaskUpdateHandler = (update: Update<unknown> & {
|
|
3
|
+
incomplete: boolean;
|
|
4
|
+
}) => void;
|
|
3
5
|
interface WatchTasksOptions {
|
|
4
6
|
accessToken?: string;
|
|
5
7
|
since: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchTasks.d.ts","sourceRoot":"","sources":["../../../../src/watchTasks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"watchTasks.d.ts","sourceRoot":"","sources":["../../../../src/watchTasks.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,YAAY,CAAA;AAGrD,KAAK,iBAAiB,GAAG,CACvB,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,KAC9C,IAAI,CAAA;AAET,UAAU,iBAAiB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,IAAI,CAAA;IACX,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC7B;AACD,wBAAgB,UAAU,CAAC,OAAO,EAAE,iBAAiB,iDAmIpD"}
|
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.
|
|
4
|
+
"version": "1.0.0-alpha.22",
|
|
5
5
|
"bin": {
|
|
6
6
|
"requence-task": "build/cli.js"
|
|
7
7
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"chalk": "^5.4.1",
|
|
24
24
|
"eventsource": "^4.0.0",
|
|
25
25
|
"mime-types": "^3.0.1",
|
|
26
|
-
"zod": "^3.
|
|
26
|
+
"zod": "^3.25.56"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@requence/helpers": "workspace:*",
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import type { Nodes } from '../protocol/nodes.ts';
|
|
3
|
-
export declare const contextSchema: z.ZodObject<{
|
|
4
|
-
input: z.ZodAny;
|
|
5
|
-
meta: z.ZodAny;
|
|
6
|
-
tenant: z.ZodObject<{
|
|
7
|
-
name: z.ZodString;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
name: string;
|
|
10
|
-
}, {
|
|
11
|
-
name: string;
|
|
12
|
-
}>;
|
|
13
|
-
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14
|
-
errors: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
15
|
-
dates: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
16
|
-
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
errors: Record<string, string>;
|
|
18
|
-
data: Record<string, any>;
|
|
19
|
-
tenant: {
|
|
20
|
-
name: string;
|
|
21
|
-
};
|
|
22
|
-
dates: Record<string, string>;
|
|
23
|
-
meta?: any;
|
|
24
|
-
input?: any;
|
|
25
|
-
}, {
|
|
26
|
-
errors: Record<string, string>;
|
|
27
|
-
data: Record<string, any>;
|
|
28
|
-
tenant: {
|
|
29
|
-
name: string;
|
|
30
|
-
};
|
|
31
|
-
dates: Record<string, string>;
|
|
32
|
-
meta?: any;
|
|
33
|
-
input?: any;
|
|
34
|
-
}>;
|
|
35
|
-
export type Context = z.infer<typeof contextSchema>;
|
|
36
|
-
declare const internalKey: "internal";
|
|
37
|
-
export declare function getInternalContext(contextHelper: ContextHelper): {
|
|
38
|
-
results: Map<string, {
|
|
39
|
-
node: {
|
|
40
|
-
type: "entry";
|
|
41
|
-
id: "__entry__";
|
|
42
|
-
output: import("../protocol/node.ts").Output[];
|
|
43
|
-
inputSchema: import("json-schema").JSONSchema7;
|
|
44
|
-
metaSchema: import("json-schema").JSONSchema7;
|
|
45
|
-
meta?: Record<string, any> | undefined;
|
|
46
|
-
} | {
|
|
47
|
-
type: "service";
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
output: import("../protocol/node.ts").Output[];
|
|
51
|
-
inputSchema: ({
|
|
52
|
-
type: "object";
|
|
53
|
-
} & import("json-schema").JSONSchema7) | {
|
|
54
|
-
type: "null";
|
|
55
|
-
};
|
|
56
|
-
version: string;
|
|
57
|
-
configurationSchema: import("json-schema").JSONSchema7;
|
|
58
|
-
meta?: Record<string, any> | undefined;
|
|
59
|
-
configuration?: any;
|
|
60
|
-
alias?: string | undefined;
|
|
61
|
-
ttl?: number | undefined;
|
|
62
|
-
retry?: number | undefined;
|
|
63
|
-
retryDelay?: number | undefined;
|
|
64
|
-
} | {
|
|
65
|
-
type: "catch";
|
|
66
|
-
id: string;
|
|
67
|
-
output: import("../protocol/node.ts").Output[];
|
|
68
|
-
subject: string;
|
|
69
|
-
meta?: Record<string, any> | undefined;
|
|
70
|
-
} | {
|
|
71
|
-
type: "logic";
|
|
72
|
-
id: string;
|
|
73
|
-
output: import("../protocol/node.ts").Output[];
|
|
74
|
-
script: string;
|
|
75
|
-
concurrency: boolean;
|
|
76
|
-
language: "javascript" | "python" | "typescript";
|
|
77
|
-
maxExecutionTime: number;
|
|
78
|
-
meta?: Record<string, any> | undefined;
|
|
79
|
-
alias?: string | undefined;
|
|
80
|
-
} | {
|
|
81
|
-
type: "or";
|
|
82
|
-
id: string;
|
|
83
|
-
output: import("../protocol/node.ts").Output[];
|
|
84
|
-
meta?: Record<string, any> | undefined;
|
|
85
|
-
alias?: string | undefined;
|
|
86
|
-
};
|
|
87
|
-
executionDate: Date | null;
|
|
88
|
-
data: any;
|
|
89
|
-
error: string;
|
|
90
|
-
}>;
|
|
91
|
-
};
|
|
92
|
-
export declare function createContextHelper(context: Context, nodes: Nodes): {
|
|
93
|
-
internal: {
|
|
94
|
-
results: Map<string, {
|
|
95
|
-
node: {
|
|
96
|
-
type: "entry";
|
|
97
|
-
id: "__entry__";
|
|
98
|
-
output: import("../protocol/node.ts").Output[];
|
|
99
|
-
inputSchema: import("json-schema").JSONSchema7;
|
|
100
|
-
metaSchema: import("json-schema").JSONSchema7;
|
|
101
|
-
meta?: Record<string, any> | undefined;
|
|
102
|
-
} | {
|
|
103
|
-
type: "service";
|
|
104
|
-
id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
output: import("../protocol/node.ts").Output[];
|
|
107
|
-
inputSchema: ({
|
|
108
|
-
type: "object";
|
|
109
|
-
} & import("json-schema").JSONSchema7) | {
|
|
110
|
-
type: "null";
|
|
111
|
-
};
|
|
112
|
-
version: string;
|
|
113
|
-
configurationSchema: import("json-schema").JSONSchema7;
|
|
114
|
-
meta?: Record<string, any> | undefined;
|
|
115
|
-
configuration?: any;
|
|
116
|
-
alias?: string | undefined;
|
|
117
|
-
ttl?: number | undefined;
|
|
118
|
-
retry?: number | undefined;
|
|
119
|
-
retryDelay?: number | undefined;
|
|
120
|
-
} | {
|
|
121
|
-
type: "catch";
|
|
122
|
-
id: string;
|
|
123
|
-
output: import("../protocol/node.ts").Output[];
|
|
124
|
-
subject: string;
|
|
125
|
-
meta?: Record<string, any> | undefined;
|
|
126
|
-
} | {
|
|
127
|
-
type: "logic";
|
|
128
|
-
id: string;
|
|
129
|
-
output: import("../protocol/node.ts").Output[];
|
|
130
|
-
script: string;
|
|
131
|
-
concurrency: boolean;
|
|
132
|
-
language: "javascript" | "python" | "typescript";
|
|
133
|
-
maxExecutionTime: number;
|
|
134
|
-
meta?: Record<string, any> | undefined;
|
|
135
|
-
alias?: string | undefined;
|
|
136
|
-
} | {
|
|
137
|
-
type: "or";
|
|
138
|
-
id: string;
|
|
139
|
-
output: import("../protocol/node.ts").Output[];
|
|
140
|
-
meta?: Record<string, any> | undefined;
|
|
141
|
-
alias?: string | undefined;
|
|
142
|
-
};
|
|
143
|
-
executionDate: Date | null;
|
|
144
|
-
data: any;
|
|
145
|
-
error: string;
|
|
146
|
-
}>;
|
|
147
|
-
};
|
|
148
|
-
getInput(): unknown;
|
|
149
|
-
getMeta(): unknown;
|
|
150
|
-
getData(alias?: string): any;
|
|
151
|
-
getError(alias: string): string | null;
|
|
152
|
-
};
|
|
153
|
-
type InternalContextHelper = ReturnType<typeof createContextHelper>;
|
|
154
|
-
export type ContextHelper = Omit<InternalContextHelper, typeof internalKey>;
|
|
155
|
-
export {};
|
|
156
|
-
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/context/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAIjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOxB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AAEnD,QAAA,MAAM,WAAW,EAAwC,UAAU,CAAA;AAEnE,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE9D;AAgBD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiDlD,OAAO;eAGR,OAAO;oBAGF,MAAM;oBAuCN,MAAM;EAWzB;AAED,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACnE,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,qBAAqB,EAAE,OAAO,WAAW,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|