@fnndsc/cumin 3.30.6 → 3.31.0
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/cache/checkpointWatch.d.ts +36 -0
- package/dist/cache/checkpointWatch.js +83 -0
- package/dist/cache/checkpointWatch.js.map +1 -0
- package/dist/cache/index.d.ts +1 -1
- package/dist/cache/index.js +4 -1
- package/dist/cache/index.js.map +1 -1
- package/dist/cache/listCache.d.ts +54 -2
- package/dist/cache/listCache.js +120 -24
- package/dist/cache/listCache.js.map +1 -1
- package/dist/cache/listCheckpoint.d.ts +5 -8
- package/dist/cache/listCheckpoint.js +17 -28
- package/dist/cache/listCheckpoint.js.map +1 -1
- package/dist/cache/listingInvalidation.js +11 -6
- package/dist/cache/listingInvalidation.js.map +1 -1
- package/dist/cache/procCache.d.ts +11 -0
- package/dist/cache/procCache.js +26 -1
- package/dist/cache/procCache.js.map +1 -1
- package/dist/cache/procCheckpoint.d.ts +11 -6
- package/dist/cache/procCheckpoint.js +280 -86
- package/dist/cache/procCheckpoint.js.map +1 -1
- package/dist/cache/queryIndex.d.ts +11 -0
- package/dist/cache/queryIndex.js +38 -2
- package/dist/cache/queryIndex.js.map +1 -1
- package/dist/cache/queryIndexCheckpoint.d.ts +32 -0
- package/dist/cache/queryIndexCheckpoint.js +180 -30
- package/dist/cache/queryIndexCheckpoint.js.map +1 -1
- package/dist/chrisapi/adapter.d.ts +266 -37
- package/dist/chrisapi/adapter.js +577 -116
- package/dist/chrisapi/adapter.js.map +1 -1
- package/dist/chrisapi/contract.d.ts +20 -20
- package/dist/chrisapi/contract.js +213 -60
- package/dist/chrisapi/contract.js.map +1 -1
- package/dist/chrisapi/cubeRequest.d.ts +198 -0
- package/dist/chrisapi/cubeRequest.js +345 -0
- package/dist/chrisapi/cubeRequest.js.map +1 -0
- package/dist/chrisapi/shape.d.ts +186 -0
- package/dist/chrisapi/shape.js +274 -0
- package/dist/chrisapi/shape.js.map +1 -0
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/compute/computeResources.d.ts +3 -0
- package/dist/compute/computeResources.js +5 -3
- package/dist/compute/computeResources.js.map +1 -1
- package/dist/config/config.d.ts +14 -0
- package/dist/config/config.js +6 -3
- package/dist/config/config.js.map +1 -1
- package/dist/connect/chrisConnection.d.ts +116 -6
- package/dist/connect/chrisConnection.js +418 -74
- package/dist/connect/chrisConnection.js.map +1 -1
- package/dist/connect/identityEpoch.d.ts +263 -0
- package/dist/connect/identityEpoch.js +414 -0
- package/dist/connect/identityEpoch.js.map +1 -0
- package/dist/connect/loginFailure.js +39 -22
- package/dist/connect/loginFailure.js.map +1 -1
- package/dist/context/chrisContext.js +36 -30
- package/dist/context/chrisContext.js.map +1 -1
- package/dist/error/errorStack.d.ts +1 -1
- package/dist/error/errorStack.js +1 -2
- package/dist/error/errorStack.js.map +1 -1
- package/dist/feeds/chrisAccess.d.ts +7 -2
- package/dist/feeds/chrisAccess.js +20 -7
- package/dist/feeds/chrisAccess.js.map +1 -1
- package/dist/feeds/chrisFeed.d.ts +8 -10
- package/dist/feeds/chrisFeed.js +27 -57
- package/dist/feeds/chrisFeed.js.map +1 -1
- package/dist/feeds/chrisTags.d.ts +1 -1
- package/dist/feeds/chrisTags.js +66 -24
- package/dist/feeds/chrisTags.js.map +1 -1
- package/dist/filebrowser/chrisFileBrowser.d.ts +0 -1
- package/dist/filebrowser/chrisFileBrowser.js +3 -5
- package/dist/filebrowser/chrisFileBrowser.js.map +1 -1
- package/dist/filebrowser/chrisFiles.d.ts +0 -1
- package/dist/filebrowser/chrisFiles.js +3 -4
- package/dist/filebrowser/chrisFiles.js.map +1 -1
- package/dist/filebrowser/chrisPACS.d.ts +4 -4
- package/dist/filebrowser/chrisPACS.js +10 -33
- package/dist/filebrowser/chrisPACS.js.map +1 -1
- package/dist/filebrowser/chrisPipeline.js +10 -45
- package/dist/filebrowser/chrisPipeline.js.map +1 -1
- package/dist/groups/chrisGroups.d.ts +3 -0
- package/dist/groups/chrisGroups.js +20 -8
- package/dist/groups/chrisGroups.js.map +1 -1
- package/dist/index.d.ts +6 -8
- package/dist/index.js +17 -28
- package/dist/index.js.map +1 -1
- package/dist/io/chrisIO.d.ts +81 -42
- package/dist/io/chrisIO.js +176 -325
- package/dist/io/chrisIO.js.map +1 -1
- package/dist/io/holderClient.d.ts +248 -0
- package/dist/io/holderClient.js +289 -0
- package/dist/io/holderClient.js.map +1 -0
- package/dist/io/holderFolder.d.ts +151 -0
- package/dist/io/holderFolder.js +311 -0
- package/dist/io/holderFolder.js.map +1 -0
- package/dist/io/holderIO.d.ts +258 -0
- package/dist/io/holderIO.js +557 -0
- package/dist/io/holderIO.js.map +1 -0
- package/dist/io/holderRequest.d.ts +299 -0
- package/dist/io/holderRequest.js +447 -0
- package/dist/io/holderRequest.js.map +1 -0
- package/dist/io/holderUpload.d.ts +62 -0
- package/dist/io/holderUpload.js +81 -0
- package/dist/io/holderUpload.js.map +1 -0
- package/dist/io/io.d.ts +12 -0
- package/dist/io/io.js.map +1 -1
- package/dist/io/localUpload.d.ts +59 -0
- package/dist/io/localUpload.js +150 -0
- package/dist/io/localUpload.js.map +1 -0
- package/dist/io/node_io.d.ts +16 -0
- package/dist/io/node_io.js +72 -0
- package/dist/io/node_io.js.map +1 -1
- package/dist/io/streamWatch.js +2 -2
- package/dist/io/streamWatch.js.map +1 -1
- package/dist/io/transferPool.d.ts +18 -2
- package/dist/io/transferPool.js +32 -7
- package/dist/io/transferPool.js.map +1 -1
- package/dist/pacs/chrisPACS.d.ts +3 -9
- package/dist/pacs/chrisPACS.js +102 -61
- package/dist/pacs/chrisPACS.js.map +1 -1
- package/dist/pacs/queryIndexSweep.d.ts +0 -9
- package/dist/pacs/queryIndexSweep.js +45 -41
- package/dist/pacs/queryIndexSweep.js.map +1 -1
- package/dist/path/chrisPath.d.ts +8 -3
- package/dist/path/chrisPath.js +10 -9
- package/dist/path/chrisPath.js.map +1 -1
- package/dist/pipelines/chrisPipeline.d.ts +28 -5
- package/dist/pipelines/chrisPipeline.js +270 -94
- package/dist/pipelines/chrisPipeline.js.map +1 -1
- package/dist/pipelines/pipelineMemo.d.ts +0 -16
- package/dist/pipelines/pipelineMemo.js +0 -27
- package/dist/pipelines/pipelineMemo.js.map +1 -1
- package/dist/plugins/chrisPlugins.d.ts +9 -5
- package/dist/plugins/chrisPlugins.js +97 -58
- package/dist/plugins/chrisPlugins.js.map +1 -1
- package/dist/resources/chrisObjContext.d.ts +7 -11
- package/dist/resources/chrisObjContext.js +7 -42
- package/dist/resources/chrisObjContext.js.map +1 -1
- package/dist/resources/chrisResources.d.ts +186 -74
- package/dist/resources/chrisResources.js +421 -117
- package/dist/resources/chrisResources.js.map +1 -1
- package/dist/resources/resourceShapes.d.ts +109 -0
- package/dist/resources/resourceShapes.js +22 -0
- package/dist/resources/resourceShapes.js.map +1 -0
- package/dist/users/chrisUsers.d.ts +4 -1
- package/dist/users/chrisUsers.js +6 -2
- package/dist/users/chrisUsers.js.map +1 -1
- package/dist/utils/keypair.js +21 -10
- package/dist/utils/keypair.js.map +1 -1
- package/package.json +10 -3
- package/dist/activities/chrisActivity.d.ts +0 -19
- package/dist/activities/chrisActivity.js +0 -29
- package/dist/activities/chrisActivity.js.map +0 -1
- package/dist/jobs/chrisJob.d.ts +0 -43
- package/dist/jobs/chrisJob.js +0 -174
- package/dist/jobs/chrisJob.js.map +0 -1
- package/dist/jobs/index.d.ts +0 -7
- package/dist/jobs/index.js +0 -24
- package/dist/jobs/index.js.map +0 -1
- package/dist/jobs/jobMonitor.d.ts +0 -46
- package/dist/jobs/jobMonitor.js +0 -102
- package/dist/jobs/jobMonitor.js.map +0 -1
|
@@ -24,12 +24,12 @@ export declare class ChRISPipelineGroup extends ChRISResourceGroup {
|
|
|
24
24
|
export interface PipelineRecord {
|
|
25
25
|
id: number;
|
|
26
26
|
name: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
authors?: string;
|
|
29
|
-
category?: string;
|
|
30
|
-
locked?: boolean;
|
|
27
|
+
description?: string | null;
|
|
28
|
+
authors?: string | null;
|
|
29
|
+
category?: string | null;
|
|
30
|
+
locked?: boolean | null;
|
|
31
31
|
/** Filesystem-safe slug derived from the pipeline source filename (e.g. "Varus_valgus_full_4crg2N7"). */
|
|
32
|
-
slug?: string;
|
|
32
|
+
slug?: string | null;
|
|
33
33
|
[key: string]: unknown;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
@@ -66,6 +66,29 @@ export interface WorkflowResult {
|
|
|
66
66
|
/** Plugin instance IDs created by this workflow, in DAG order. */
|
|
67
67
|
pluginInstanceIds: number[];
|
|
68
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* The registry as one walk read it.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* const read: PipelineRegistryRead = { records: [], whole: true };
|
|
74
|
+
*/
|
|
75
|
+
export interface PipelineRegistryRead {
|
|
76
|
+
/** The pipelines read. */
|
|
77
|
+
records: PipelineRecord[];
|
|
78
|
+
/** Whether they are the whole registry: false when the walk stopped short, or its first page said nothing. */
|
|
79
|
+
whole: boolean;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Reads the registered pipelines, optionally filtered by name substring,
|
|
83
|
+
* and says whether what was read is all of them.
|
|
84
|
+
*
|
|
85
|
+
* @param search - Optional name substring filter.
|
|
86
|
+
* @returns The records and whether they are whole; Err when the first page could not be fetched.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* const read: Result<PipelineRegistryRead> = await pipelineRegistry_read();
|
|
90
|
+
*/
|
|
91
|
+
export declare function pipelineRegistry_read(search?: string): Promise<Result<PipelineRegistryRead>>;
|
|
69
92
|
/**
|
|
70
93
|
* Lists all registered pipelines, optionally filtered by name substring.
|
|
71
94
|
*
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.ChRISPipelineGroup = void 0;
|
|
16
|
+
exports.pipelineRegistry_read = pipelineRegistry_read;
|
|
16
17
|
exports.pipelines_list = pipelines_list;
|
|
17
18
|
exports.pipeline_resolve = pipeline_resolve;
|
|
18
19
|
exports.pipeline_createWorkflow = pipeline_createWorkflow;
|
|
@@ -23,6 +24,18 @@ const contract_js_1 = require("../chrisapi/contract.js");
|
|
|
23
24
|
const chrisResourceGroup_js_1 = require("../resources/chrisResourceGroup.js");
|
|
24
25
|
const errorStack_js_1 = require("../error/errorStack.js");
|
|
25
26
|
const result_js_1 = require("../utils/result.js");
|
|
27
|
+
/** A record whose id is used as a number. */
|
|
28
|
+
const ID_SHAPE = (0, adapter_js_1.shape_build)('a record')(['id', 'number']);
|
|
29
|
+
/** A list item whose data's id is used as a number. */
|
|
30
|
+
const ID_ITEM_SHAPE = (0, adapter_js_1.shape_build)('a list item')(['data', ID_SHAPE]);
|
|
31
|
+
/** A list resource read for its items: they are fetched by calling it; whether there is a next page is read when it says. */
|
|
32
|
+
const ITEM_LIST_SLICE_SHAPE = (0, adapter_js_1.shape_build)('a list')(['getItems', 'function'], ['hasNextPage', 'boolean?']);
|
|
33
|
+
/** A pipeline source file in a list: its file name is split as text, and its pipeline's name read as text when there. */
|
|
34
|
+
const SOURCE_FILE_ITEM_SHAPE = (0, adapter_js_1.shape_build)('a pipeline source file')(['data', (0, adapter_js_1.shape_build)('a pipeline source file')(['fname', 'string'], ['pipeline_name', 'string?'])]);
|
|
35
|
+
/** A page of pipelines as searched by name. */
|
|
36
|
+
const PIPELINE_PAGE_SHAPE = (0, adapter_js_1.shape_build)('a page of pipelines')(['getItems', 'function']);
|
|
37
|
+
/** A workflow just made: a resource whose data and instances are read through checks of their own. */
|
|
38
|
+
const WORKFLOW_SHAPE = (0, adapter_js_1.shape_object)('a workflow');
|
|
26
39
|
/** How many pipelines a name search reads: exact names seldom collide. */
|
|
27
40
|
const PIPELINE_SEARCH_LIMIT = 100;
|
|
28
41
|
/**
|
|
@@ -34,20 +47,34 @@ class ChRISPipelineGroup extends chrisResourceGroup_js_1.ChRISResourceGroup {
|
|
|
34
47
|
}
|
|
35
48
|
}
|
|
36
49
|
exports.ChRISPipelineGroup = ChRISPipelineGroup;
|
|
50
|
+
/** A pipeline as CUBE answers: its id is used as a number (a key, an argument) and its name as text. */
|
|
51
|
+
const PIPELINE_RECORD_SHAPE = (0, adapter_js_1.shape_build)('a pipeline')(['id', 'number'], ['name', 'string']);
|
|
37
52
|
/**
|
|
38
|
-
*
|
|
53
|
+
* A pipeline as a row of a listing table. Such a row holds the fields that
|
|
54
|
+
* were asked for, as the table made them (its id is text cut from an
|
|
55
|
+
* address unless the id field was asked for), so nothing in it is held to
|
|
56
|
+
* a kind here; those who read it check what they read.
|
|
57
|
+
*/
|
|
58
|
+
const PIPELINE_TABLE_ROW_SHAPE = (0, adapter_js_1.shape_build)('a pipeline row')(['id', 'number'], ['name', 'string'], ['description', 'string?|null'], ['authors', 'string?|null'], ['category', 'string?|null'], ['locked', 'boolean?|null'], ['slug', 'string?|null']);
|
|
59
|
+
/**
|
|
60
|
+
* Reads the registered pipelines, optionally filtered by name substring,
|
|
61
|
+
* and says whether what was read is all of them.
|
|
39
62
|
*
|
|
40
63
|
* @param search - Optional name substring filter.
|
|
41
|
-
* @returns
|
|
64
|
+
* @returns The records and whether they are whole; Err when the first page could not be fetched.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* const read: Result<PipelineRegistryRead> = await pipelineRegistry_read();
|
|
42
68
|
*/
|
|
43
|
-
async function
|
|
69
|
+
async function pipelineRegistry_read(search) {
|
|
44
70
|
try {
|
|
45
71
|
const group = new ChRISPipelineGroup();
|
|
46
72
|
const params = search ? { name: search } : {};
|
|
47
73
|
const result = await group.asset.resources_getAll(params);
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
74
|
+
// No rows are "no pipelines" only when the first page came whole; a walk that stopped short says so.
|
|
75
|
+
const whole = result?.incomplete === undefined && group.asset.firstPage_isWhole();
|
|
76
|
+
const records = result?.tableData ? (0, adapter_js_1.listData_get)({ data: result.tableData }, PIPELINE_TABLE_ROW_SHAPE) : [];
|
|
77
|
+
return (0, result_js_1.Ok)({ records, whole });
|
|
51
78
|
}
|
|
52
79
|
catch (error) {
|
|
53
80
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -55,6 +82,16 @@ async function pipelines_list(search) {
|
|
|
55
82
|
return (0, result_js_1.Err)();
|
|
56
83
|
}
|
|
57
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Lists all registered pipelines, optionally filtered by name substring.
|
|
87
|
+
*
|
|
88
|
+
* @param search - Optional name substring filter.
|
|
89
|
+
* @returns Result containing array of PipelineRecord on success.
|
|
90
|
+
*/
|
|
91
|
+
async function pipelines_list(search) {
|
|
92
|
+
const read = await pipelineRegistry_read(search);
|
|
93
|
+
return read.ok ? (0, result_js_1.Ok)(read.value.records) : (0, result_js_1.Err)();
|
|
94
|
+
}
|
|
58
95
|
/**
|
|
59
96
|
* Resolves a pipeline by name (exact match first, then substring) or numeric ID string.
|
|
60
97
|
*
|
|
@@ -72,28 +109,46 @@ async function pipeline_resolve(nameOrId) {
|
|
|
72
109
|
errorStack_js_1.errorStack.stack_push('error', 'Not connected to ChRIS');
|
|
73
110
|
return (0, result_js_1.Err)();
|
|
74
111
|
}
|
|
112
|
+
// What was typed may itself name an id (a number, or a slug ending `_idN`). That id is the answer's, or
|
|
113
|
+
// there is no answer: a pipeline remembered under the same words for another reason (its name happens
|
|
114
|
+
// to be those words) does not stand in for it, and neither does one a search by name turns up.
|
|
115
|
+
const wantedID = specifierID_read(nameOrId);
|
|
75
116
|
const kept = (0, pipelineMemo_js_1.pipelineRecord_recall)(client, nameOrId);
|
|
76
|
-
if (kept !== null)
|
|
117
|
+
if (kept !== null && (wantedID === null || kept.id === wantedID))
|
|
77
118
|
return (0, result_js_1.Ok)(kept);
|
|
78
119
|
const resolved = await pipelineResolve_fetch(client, nameOrId);
|
|
120
|
+
if (resolved.ok && wantedID !== null && resolved.value.id !== wantedID) {
|
|
121
|
+
errorStack_js_1.errorStack.stack_push('error', `No pipeline matching '${nameOrId}'`);
|
|
122
|
+
return (0, result_js_1.Err)();
|
|
123
|
+
}
|
|
79
124
|
if (resolved.ok)
|
|
80
125
|
(0, pipelineMemo_js_1.pipelineRecord_keep)(client, nameOrId, resolved.value);
|
|
81
126
|
return resolved;
|
|
82
127
|
}
|
|
83
128
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
129
|
+
* Reads the chrisapi items a pipeline listing served, each with its id,
|
|
130
|
+
* so that they can be kept and the pipings read off them without listing
|
|
131
|
+
* the pipeline again. Nothing is kept here: the whole page is read, and
|
|
132
|
+
* may be refused, before any of it goes into the memo.
|
|
86
133
|
*
|
|
87
|
-
* @param client - The connection's client.
|
|
88
134
|
* @param page - The list response.
|
|
135
|
+
* @returns The items, each with its pipeline's id.
|
|
136
|
+
* @throws {ShapeError} When the page's items are not a list of resources, or one carries no data or data that is not a pipeline's.
|
|
89
137
|
*/
|
|
90
|
-
function
|
|
91
|
-
const items = (0, adapter_js_1.items_get)(page);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
138
|
+
function pipelineItems_read(page) {
|
|
139
|
+
const items = (0, adapter_js_1.items_get)(page, adapter_js_1.DATA_CARRIER_SHAPE);
|
|
140
|
+
const kept = [];
|
|
141
|
+
for (let at = 0; at < items.length; at++) {
|
|
142
|
+
const item = items[at];
|
|
143
|
+
// Held to what a pipeline is, as a later read of the kept item will hold it: an item that is not one,
|
|
144
|
+
// or that carries nothing, fails the page here at its place, and is never kept or passed over.
|
|
145
|
+
const carried = item.data;
|
|
146
|
+
if (carried === undefined || carried === null)
|
|
147
|
+
throw new adapter_js_1.ShapeError('a list of a pipeline', `items[${String(at)}].data`, carried === null ? 'null' : 'missing', 'an object');
|
|
148
|
+
const data = PIPELINE_RECORD_SHAPE.value_check(carried, `items[${String(at)}].data`, 'a list of a pipeline');
|
|
149
|
+
kept.push({ id: data.id, item });
|
|
96
150
|
}
|
|
151
|
+
return kept;
|
|
97
152
|
}
|
|
98
153
|
/**
|
|
99
154
|
* Resolves a pipeline against CUBE: the wire half of pipeline_resolve.
|
|
@@ -102,26 +157,194 @@ function pipelineItems_keep(client, page) {
|
|
|
102
157
|
* @param nameOrId - Pipeline name or numeric ID.
|
|
103
158
|
* @returns Result containing the matched PipelineRecord.
|
|
104
159
|
*/
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
160
|
+
/**
|
|
161
|
+
* The id that what was typed names by itself, if it names one: all digits
|
|
162
|
+
* are an id, and a `/bin` slug ends in the id it was minted from.
|
|
163
|
+
*
|
|
164
|
+
* @param specifier - What was typed.
|
|
165
|
+
* @returns The id, or null when the words name none.
|
|
166
|
+
*/
|
|
167
|
+
function specifierID_read(specifier) {
|
|
168
|
+
if (/^\d+$/.test(specifier))
|
|
169
|
+
return parseInt(specifier, 10);
|
|
170
|
+
const slug = specifier.match(/_id(\d+)$/);
|
|
171
|
+
return slug === null ? null : parseInt(slug[1], 10);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Reads one pipeline by its id, and keeps its item for the pipings to be
|
|
175
|
+
* read off. What is kept and answered is the pipeline that was asked for:
|
|
176
|
+
* an answer with no data is no pipeline (nothing is kept), and an answer
|
|
177
|
+
* that is another pipeline's is refused.
|
|
178
|
+
*
|
|
179
|
+
* @param client - The connection's client.
|
|
180
|
+
* @param pipelineID - The id asked for.
|
|
181
|
+
* @returns The pipeline's record, or null when CUBE answers none.
|
|
182
|
+
* @throws {ShapeError} When the answer is not a pipeline, or is not the one asked for.
|
|
183
|
+
*/
|
|
184
|
+
async function pipelineByID_read(client, pipelineID) {
|
|
185
|
+
const pipeline = await (0, adapter_js_1.resource_call)(client, (0, adapter_js_1.shape_nullable)(adapter_js_1.DATA_CARRIER_SHAPE), 'getPipeline', pipelineID);
|
|
186
|
+
if (pipeline === null)
|
|
187
|
+
return null;
|
|
188
|
+
const data = (0, adapter_js_1.itemData_get)(pipeline, PIPELINE_RECORD_SHAPE);
|
|
189
|
+
if (data === null)
|
|
190
|
+
return null;
|
|
191
|
+
if (data.id !== pipelineID)
|
|
192
|
+
throw new adapter_js_1.ShapeError('a pipeline', 'data.id', "another pipeline's", `pipeline ${String(pipelineID)}'s`);
|
|
193
|
+
(0, pipelineMemo_js_1.pipelineResource_keep)(client, data.id, pipeline);
|
|
194
|
+
return data;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Reads the pipeline a slug's id names, as one way among several of
|
|
198
|
+
* finding it. An answer that is not a pipeline, or is another's, is said
|
|
199
|
+
* and is a failure: it is not a miss to be searched around. Anything else
|
|
200
|
+
* (CUBE has no such id, CUBE cannot be reached) is a miss, and leaves the
|
|
201
|
+
* other ways to be tried.
|
|
202
|
+
*
|
|
203
|
+
* @param client - The connection's client.
|
|
204
|
+
* @param pipelineID - The id the slug names.
|
|
205
|
+
* @returns The record; null on a miss; a failure, with the reason on the error stack, on a malformed answer.
|
|
206
|
+
*/
|
|
207
|
+
async function pipelineBySlugID_read(client, pipelineID) {
|
|
208
|
+
try {
|
|
209
|
+
return (0, result_js_1.Ok)(await pipelineByID_read(client, pipelineID));
|
|
210
|
+
}
|
|
211
|
+
catch (error) {
|
|
212
|
+
if (!(error instanceof adapter_js_1.ShapeError))
|
|
213
|
+
return (0, result_js_1.Ok)(null);
|
|
214
|
+
errorStack_js_1.errorStack.stack_push('error', `pipeline_resolve: ${error.message}`);
|
|
215
|
+
return (0, result_js_1.Err)();
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Reads the pipeline a number names.
|
|
220
|
+
*
|
|
221
|
+
* @param client - The connection's client.
|
|
222
|
+
* @param numericId - The number typed.
|
|
223
|
+
* @returns The record, or a failure with the reason on the error stack.
|
|
224
|
+
*/
|
|
225
|
+
async function pipelineByNumber_resolve(client, numericId) {
|
|
226
|
+
try {
|
|
227
|
+
const data = await pipelineByID_read(client, numericId);
|
|
228
|
+
if (!data) {
|
|
229
|
+
errorStack_js_1.errorStack.stack_push('error', `Pipeline with ID ${numericId} not found`);
|
|
230
|
+
return (0, result_js_1.Err)();
|
|
231
|
+
}
|
|
232
|
+
return (0, result_js_1.Ok)(data);
|
|
233
|
+
}
|
|
234
|
+
catch (error) {
|
|
235
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
236
|
+
errorStack_js_1.errorStack.stack_push('error', `pipeline_resolve: ${msg}`);
|
|
237
|
+
return (0, result_js_1.Err)();
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Searches the pipelines by name, keeping the items the search served (a
|
|
242
|
+
* pipeline's pipings hang off its item). The search is read as a page, not
|
|
243
|
+
* through pipelines_list, so those items can be kept; the whole answer is
|
|
244
|
+
* read, and held to what is read of it, before any of it is kept: a page
|
|
245
|
+
* whose items or rows are not what they should be is an error on the stack,
|
|
246
|
+
* and leaves the memo as it was. A slug's id is the pipeline it means: one
|
|
247
|
+
* that the search turns up under another id is left out.
|
|
248
|
+
*
|
|
249
|
+
* @param client - The connection's client.
|
|
250
|
+
* @param nameOrId - What was typed.
|
|
251
|
+
* @returns The pipelines found, or a failure with the reason on the error stack.
|
|
252
|
+
*/
|
|
253
|
+
async function pipelinesByName_search(client, nameOrId) {
|
|
254
|
+
let found;
|
|
255
|
+
let served;
|
|
256
|
+
try {
|
|
257
|
+
const page = await (0, adapter_js_1.resource_call)(client, PIPELINE_PAGE_SHAPE, 'getPipelines', { name: nameOrId, limit: PIPELINE_SEARCH_LIMIT });
|
|
258
|
+
found = (0, adapter_js_1.listData_get)(page, PIPELINE_RECORD_SHAPE);
|
|
259
|
+
served = pipelineItems_read(page);
|
|
260
|
+
}
|
|
261
|
+
catch (error) {
|
|
262
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
263
|
+
errorStack_js_1.errorStack.stack_push('error', `pipelines_list: ${msg}`);
|
|
264
|
+
return (0, result_js_1.Err)();
|
|
265
|
+
}
|
|
266
|
+
for (const one of served)
|
|
267
|
+
(0, pipelineMemo_js_1.pipelineResource_keep)(client, one.id, one.item);
|
|
268
|
+
const slugWanted = specifierID_read(nameOrId);
|
|
269
|
+
if (slugWanted !== null)
|
|
270
|
+
found = found.filter((p) => p.id === slugWanted);
|
|
271
|
+
return (0, result_js_1.Ok)(found);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Finds a pipeline by a source file's name: the file whose base name, less
|
|
275
|
+
* its YAML extension, is what was typed, and the pipeline of that file's name.
|
|
276
|
+
*
|
|
277
|
+
* @param client - The connection's client.
|
|
278
|
+
* @param nameOrId - What was typed.
|
|
279
|
+
* @returns The record; null when no source file leads to one; a failure, with
|
|
280
|
+
* the reason on the error stack, when an answer was malformed or the listing failed.
|
|
281
|
+
*/
|
|
282
|
+
async function pipelineBySourceFile_find(client, nameOrId) {
|
|
283
|
+
try {
|
|
284
|
+
const sfList = await (0, adapter_js_1.resource_call)(client, ITEM_LIST_SLICE_SHAPE, 'getPipelineSourceFiles', { fname: nameOrId, limit: 1 });
|
|
285
|
+
const sfItems = (0, adapter_js_1.items_get)(sfList, SOURCE_FILE_ITEM_SHAPE).filter((item) => {
|
|
286
|
+
const base = item.data.fname.split('/').pop() ?? '';
|
|
287
|
+
return base.replace(/\.(ya?ml)$/i, '') === nameOrId;
|
|
288
|
+
});
|
|
289
|
+
if (sfItems.length > 0 && sfItems[0].data.pipeline_name) {
|
|
290
|
+
const byName = await pipelines_list(sfItems[0].data.pipeline_name);
|
|
291
|
+
// A listing that failed has said why; that is the answer, not "no such pipeline".
|
|
292
|
+
if (!byName.ok)
|
|
114
293
|
return (0, result_js_1.Err)();
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
294
|
+
const exactByName = byName.value.find((p) => p.name === sfItems[0].data.pipeline_name);
|
|
295
|
+
if (exactByName)
|
|
296
|
+
return (0, result_js_1.Ok)(exactByName);
|
|
118
297
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
298
|
+
}
|
|
299
|
+
catch (error) {
|
|
300
|
+
// A source-file answer that is not what is read is said, with its place: it is not a miss. Anything
|
|
301
|
+
// else (CUBE would not answer) leaves this way of finding the pipeline untried, as before.
|
|
302
|
+
if (error instanceof adapter_js_1.ShapeError) {
|
|
303
|
+
errorStack_js_1.errorStack.stack_push('error', `pipeline_resolve: ${error.message}`);
|
|
122
304
|
return (0, result_js_1.Err)();
|
|
123
305
|
}
|
|
124
306
|
}
|
|
307
|
+
return (0, result_js_1.Ok)(null);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* The ways tried when a search by name found nothing: the id a slug names,
|
|
311
|
+
* then a source file's name.
|
|
312
|
+
*
|
|
313
|
+
* @param client - The connection's client.
|
|
314
|
+
* @param nameOrId - What was typed.
|
|
315
|
+
* @returns The record, or a failure with the reason on the error stack.
|
|
316
|
+
*/
|
|
317
|
+
async function pipelineFallback_find(client, nameOrId) {
|
|
318
|
+
// ID-suffix fallback: slug of form "{name}_id{N}" generated for pipelines without source files
|
|
319
|
+
const idSuffixMatch = nameOrId.match(/_id(\d+)$/);
|
|
320
|
+
if (idSuffixMatch) {
|
|
321
|
+
const directId = parseInt(idSuffixMatch[1], 10);
|
|
322
|
+
const direct = await pipelineBySlugID_read(client, directId);
|
|
323
|
+
if (!direct.ok)
|
|
324
|
+
return (0, result_js_1.Err)();
|
|
325
|
+
if (direct.value)
|
|
326
|
+
return (0, result_js_1.Ok)(direct.value);
|
|
327
|
+
}
|
|
328
|
+
// Slug fallback: treat nameOrId as a source file fname fragment
|
|
329
|
+
const bySource = await pipelineBySourceFile_find(client, nameOrId);
|
|
330
|
+
if (!bySource.ok)
|
|
331
|
+
return (0, result_js_1.Err)();
|
|
332
|
+
if (bySource.value)
|
|
333
|
+
return (0, result_js_1.Ok)(bySource.value);
|
|
334
|
+
errorStack_js_1.errorStack.stack_push('error', `No pipeline matching '${nameOrId}'`);
|
|
335
|
+
return (0, result_js_1.Err)();
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Finds one pipeline by what a person typed: its id, a `/bin` slug that
|
|
339
|
+
* names its id, its exact name, or a source file's name.
|
|
340
|
+
*
|
|
341
|
+
* @param client - The connection's client.
|
|
342
|
+
* @param nameOrId - What was typed.
|
|
343
|
+
* @returns The pipeline's record, or a failure with the reason on the error stack.
|
|
344
|
+
*/
|
|
345
|
+
async function pipelineResolve_fetch(client, nameOrId) {
|
|
346
|
+
if (/^\d+$/.test(nameOrId))
|
|
347
|
+
return pipelineByNumber_resolve(client, parseInt(nameOrId, 10));
|
|
125
348
|
// A /bin slug names its pipeline's id (`<base>_id<N>`, minted by the
|
|
126
349
|
// listing from the record), so the id is the identity: one list by id
|
|
127
350
|
// answers, where a name search for the slug is a certain miss and the
|
|
@@ -130,70 +353,23 @@ async function pipelineResolve_fetch(client, nameOrId) {
|
|
|
130
353
|
// means it.
|
|
131
354
|
const slugID = nameOrId.match(/_id(\d+)$/);
|
|
132
355
|
if (slugID) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
return (0, result_js_1.Ok)(data);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
catch (_e) { }
|
|
142
|
-
}
|
|
143
|
-
// The search is read as a page, not through pipelines_list, so the items
|
|
144
|
-
// it served can be kept: a pipeline's pipings hang off its item.
|
|
145
|
-
let page;
|
|
146
|
-
try {
|
|
147
|
-
page = await (0, adapter_js_1.resource_call)(client, 'getPipelines', { name: nameOrId, limit: PIPELINE_SEARCH_LIMIT });
|
|
356
|
+
const bySlug = await pipelineBySlugID_read(client, parseInt(slugID[1], 10));
|
|
357
|
+
if (!bySlug.ok)
|
|
358
|
+
return (0, result_js_1.Err)();
|
|
359
|
+
if (bySlug.value)
|
|
360
|
+
return (0, result_js_1.Ok)(bySlug.value);
|
|
148
361
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
errorStack_js_1.errorStack.stack_push('error', `pipelines_list: ${msg}`);
|
|
362
|
+
const searched = await pipelinesByName_search(client, nameOrId);
|
|
363
|
+
if (!searched.ok)
|
|
152
364
|
return (0, result_js_1.Err)();
|
|
153
|
-
|
|
154
|
-
pipelineItems_keep(client, page);
|
|
155
|
-
const found = (0, adapter_js_1.listData_get)(page);
|
|
365
|
+
const found = searched.value;
|
|
156
366
|
const exact = found.find((p) => p.name === nameOrId);
|
|
157
367
|
if (exact)
|
|
158
368
|
return (0, result_js_1.Ok)(exact);
|
|
159
369
|
if (found.length === 1)
|
|
160
370
|
return (0, result_js_1.Ok)(found[0]);
|
|
161
|
-
if (found.length === 0)
|
|
162
|
-
|
|
163
|
-
// ID-suffix fallback: slug of form "{name}_id{N}" generated for pipelines without source files
|
|
164
|
-
const idSuffixMatch = nameOrId.match(/_id(\d+)$/);
|
|
165
|
-
if (idSuffixMatch) {
|
|
166
|
-
const directId = parseInt(idSuffixMatch[1], 10);
|
|
167
|
-
try {
|
|
168
|
-
const pipeline = await fallbackClient.getPipeline(directId);
|
|
169
|
-
const directData = (0, adapter_js_1.itemData_get)(pipeline);
|
|
170
|
-
if (directData) {
|
|
171
|
-
(0, pipelineMemo_js_1.pipelineResource_keep)(client, directData.id, pipeline);
|
|
172
|
-
return (0, result_js_1.Ok)(directData);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
catch (_e) { }
|
|
176
|
-
}
|
|
177
|
-
// Slug fallback: treat nameOrId as a source file fname fragment
|
|
178
|
-
try {
|
|
179
|
-
const sfList = await (0, adapter_js_1.resource_call)(fallbackClient, 'getPipelineSourceFiles', { fname: nameOrId, limit: 1 });
|
|
180
|
-
const sfItems = (0, adapter_js_1.items_get)(sfList).filter((item) => {
|
|
181
|
-
const base = item.data.fname.split('/').pop() ?? '';
|
|
182
|
-
return base.replace(/\.(ya?ml)$/i, '') === nameOrId;
|
|
183
|
-
});
|
|
184
|
-
if (sfItems.length > 0 && sfItems[0].data.pipeline_name) {
|
|
185
|
-
const byName = await pipelines_list(sfItems[0].data.pipeline_name);
|
|
186
|
-
if (byName.ok) {
|
|
187
|
-
const exactByName = byName.value.find((p) => p.name === sfItems[0].data.pipeline_name);
|
|
188
|
-
if (exactByName)
|
|
189
|
-
return (0, result_js_1.Ok)(exactByName);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
catch (_e) { }
|
|
194
|
-
errorStack_js_1.errorStack.stack_push('error', `No pipeline matching '${nameOrId}'`);
|
|
195
|
-
return (0, result_js_1.Err)();
|
|
196
|
-
}
|
|
371
|
+
if (found.length === 0)
|
|
372
|
+
return pipelineFallback_find(client, nameOrId);
|
|
197
373
|
errorStack_js_1.errorStack.stack_push('error', `Ambiguous: ${found.length} pipelines match '${nameOrId}'. Use ID or full name.`);
|
|
198
374
|
return (0, result_js_1.Err)();
|
|
199
375
|
}
|
|
@@ -222,12 +398,12 @@ async function pipeline_createWorkflow(pipelineId, options) {
|
|
|
222
398
|
return (0, result_js_1.Err)();
|
|
223
399
|
}
|
|
224
400
|
const pipings = await (0, contract_js_1.listPages_drain)(async (offset, limit) => {
|
|
225
|
-
const response = await (0, adapter_js_1.resource_call)(pipeline, 'getPluginPipings', { limit, offset });
|
|
226
|
-
return { data: (0, adapter_js_1.items_get)(response), totalCount: null, hasMore: response.hasNextPage };
|
|
401
|
+
const response = await (0, adapter_js_1.resource_call)(pipeline, ITEM_LIST_SLICE_SHAPE, 'getPluginPipings', { limit, offset });
|
|
402
|
+
return { data: (0, adapter_js_1.items_get)(response, ID_ITEM_SHAPE), totalCount: null, hasMore: response.hasNextPage };
|
|
227
403
|
});
|
|
228
404
|
nodes_info = pipings.map((p) => ({ piping_id: p.data.id }));
|
|
229
405
|
}
|
|
230
|
-
const workflow = await (0, adapter_js_1.resource_call)(client, 'createWorkflow', pipelineId, {
|
|
406
|
+
const workflow = await (0, adapter_js_1.resource_call)(client, (0, adapter_js_1.shape_nullable)(WORKFLOW_SHAPE), 'createWorkflow', pipelineId, {
|
|
231
407
|
previous_plugin_inst_id: options.previousPluginInstId,
|
|
232
408
|
nodes_info: JSON.stringify(nodes_info),
|
|
233
409
|
});
|
|
@@ -235,15 +411,15 @@ async function pipeline_createWorkflow(pipelineId, options) {
|
|
|
235
411
|
errorStack_js_1.errorStack.stack_push('error', 'createWorkflow returned empty response');
|
|
236
412
|
return (0, result_js_1.Err)();
|
|
237
413
|
}
|
|
238
|
-
const workflowRecord = (0, adapter_js_1.itemData_get)(workflow);
|
|
414
|
+
const workflowRecord = (0, adapter_js_1.itemData_get)(workflow, ID_SHAPE);
|
|
239
415
|
if (!workflowRecord) {
|
|
240
416
|
errorStack_js_1.errorStack.stack_push('error', 'createWorkflow response carried no data');
|
|
241
417
|
return (0, result_js_1.Err)();
|
|
242
418
|
}
|
|
243
419
|
const workflowId = workflowRecord.id;
|
|
244
420
|
const instances = await (0, contract_js_1.listPages_drain)(async (offset, limit) => {
|
|
245
|
-
const response = await (0, adapter_js_1.resource_call)(workflow, 'getPluginInstances', { limit, offset });
|
|
246
|
-
return { data: (0, adapter_js_1.items_get)(response), totalCount: null, hasMore: response.hasNextPage };
|
|
421
|
+
const response = await (0, adapter_js_1.resource_call)(workflow, ITEM_LIST_SLICE_SHAPE, 'getPluginInstances', { limit, offset });
|
|
422
|
+
return { data: (0, adapter_js_1.items_get)(response, ID_ITEM_SHAPE), totalCount: null, hasMore: response.hasNextPage };
|
|
247
423
|
});
|
|
248
424
|
const pluginInstanceIds = instances.map((inst) => inst.data.id);
|
|
249
425
|
return (0, result_js_1.Ok)({ workflowId, pluginInstanceIds });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chrisPipeline.js","sourceRoot":"","sources":["../../src/pipelines/chrisPipeline.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoGH,wCAcC;AAaD,4CAaC;AA0ID,0DAoEC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|
*/
|
|
47
47
|
export declare function pipelineResource_keep(client: object, pipelineID: number, resource: object): void;
|
|
48
|
-
/**
|
|
49
|
-
* Forgets one pipeline: its item and every specifier that resolved to it.
|
|
50
|
-
* Called when an item kept turns out not to answer (the pipeline was
|
|
51
|
-
* removed under the session), so the next ask resolves afresh.
|
|
52
|
-
*
|
|
53
|
-
* @param client - The connection's chrisapi client.
|
|
54
|
-
* @param pipelineID - The pipeline's id.
|
|
55
|
-
*/
|
|
56
|
-
export declare function pipeline_forget(client: object, pipelineID: number): void;
|
|
57
|
-
/**
|
|
58
|
-
* How many resolutions a client's memo holds (for tests and readouts).
|
|
59
|
-
*
|
|
60
|
-
* @param client - The connection's chrisapi client.
|
|
61
|
-
* @returns The count of specifiers kept.
|
|
62
|
-
*/
|
|
63
|
-
export declare function pipelineMemo_count(client: object): number;
|
|
@@ -4,8 +4,6 @@ exports.pipelineRecord_recall = pipelineRecord_recall;
|
|
|
4
4
|
exports.pipelineRecord_keep = pipelineRecord_keep;
|
|
5
5
|
exports.pipelineResource_recall = pipelineResource_recall;
|
|
6
6
|
exports.pipelineResource_keep = pipelineResource_keep;
|
|
7
|
-
exports.pipeline_forget = pipeline_forget;
|
|
8
|
-
exports.pipelineMemo_count = pipelineMemo_count;
|
|
9
7
|
/** Memos by client: a new connection starts empty. */
|
|
10
8
|
const memos = new WeakMap();
|
|
11
9
|
/**
|
|
@@ -66,29 +64,4 @@ function pipelineResource_recall(client, pipelineID) {
|
|
|
66
64
|
function pipelineResource_keep(client, pipelineID, resource) {
|
|
67
65
|
memo_resolve(client).resources.set(pipelineID, resource);
|
|
68
66
|
}
|
|
69
|
-
/**
|
|
70
|
-
* Forgets one pipeline: its item and every specifier that resolved to it.
|
|
71
|
-
* Called when an item kept turns out not to answer (the pipeline was
|
|
72
|
-
* removed under the session), so the next ask resolves afresh.
|
|
73
|
-
*
|
|
74
|
-
* @param client - The connection's chrisapi client.
|
|
75
|
-
* @param pipelineID - The pipeline's id.
|
|
76
|
-
*/
|
|
77
|
-
function pipeline_forget(client, pipelineID) {
|
|
78
|
-
const memo = memo_resolve(client);
|
|
79
|
-
memo.resources.delete(pipelineID);
|
|
80
|
-
for (const [specifier, record] of memo.records) {
|
|
81
|
-
if (record.id === pipelineID)
|
|
82
|
-
memo.records.delete(specifier);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* How many resolutions a client's memo holds (for tests and readouts).
|
|
87
|
-
*
|
|
88
|
-
* @param client - The connection's chrisapi client.
|
|
89
|
-
* @returns The count of specifiers kept.
|
|
90
|
-
*/
|
|
91
|
-
function pipelineMemo_count(client) {
|
|
92
|
-
return memos.get(client)?.records.size ?? 0;
|
|
93
|
-
}
|
|
94
67
|
//# sourceMappingURL=pipelineMemo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelineMemo.js","sourceRoot":"","sources":["../../src/pipelines/pipelineMemo.ts"],"names":[],"mappings":";;AA+CA,sDAEC;AAUD,kDAKC;AASD,0DAEC;AASD,sDAEC;
|
|
1
|
+
{"version":3,"file":"pipelineMemo.js","sourceRoot":"","sources":["../../src/pipelines/pipelineMemo.ts"],"names":[],"mappings":";;AA+CA,sDAEC;AAUD,kDAKC;AASD,0DAEC;AASD,sDAEC;AA/DD,sDAAsD;AACtD,MAAM,KAAK,GAAkC,IAAI,OAAO,EAAE,CAAC;AAE3D;;;;;GAKG;AACH,SAAS,YAAY,CAAC,MAAc;IAClC,MAAM,IAAI,GAA6B,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACzD,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,IAAI,GAAiB,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,GAAG,EAAE,EAAE,CAAC;IACxE,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACxB,OAAO,IAAI,CAAC;AACd,CAA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