@loopstack/core 0.0.4 → 0.0.5
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 +8 -0
- package/dist/config-provider.service.js.map +1 -1
- package/dist/modules/common/services/document-helper.service.d.ts +48 -48
- package/dist/modules/common/services/expression-evaluator.service.js.map +1 -1
- package/dist/modules/configuration/services/config-provider.registry.js.map +1 -1
- package/dist/modules/configuration/services/configuration.service.js +34 -21
- package/dist/modules/configuration/services/configuration.service.js.map +1 -1
- package/dist/modules/configuration/services/dynamic-schema-generator.service.js +6 -4
- package/dist/modules/configuration/services/dynamic-schema-generator.service.js.map +1 -1
- package/dist/modules/workflow-processor/services/state-machine-config.service.js.map +1 -1
- package/dist/modules/workflow-processor/services/state-machine-processor.service.d.ts +1 -2
- package/dist/modules/workflow-processor/services/state-machine-processor.service.js +1 -23
- package/dist/modules/workflow-processor/services/state-machine-processor.service.js.map +1 -1
- package/dist/modules/workflow-processor/services/tool-execution.service.d.ts +1 -0
- package/dist/modules/workflow-processor/services/tool-execution.service.js +22 -0
- package/dist/modules/workflow-processor/services/tool-execution.service.js.map +1 -1
- package/dist/modules/workflow-processor/services/workflow-processor.service.d.ts +5 -2
- package/dist/modules/workflow-processor/services/workflow-processor.service.js +27 -4
- package/dist/modules/workflow-processor/services/workflow-processor.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/add-namespace.service.js +4 -2
- package/dist/modules/workflow-processor/tools/add-namespace.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/batch-create-documents.service.js +8 -4
- package/dist/modules/workflow-processor/tools/batch-create-documents.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/create-document.service.d.ts +86 -86
- package/dist/modules/workflow-processor/tools/create-document.service.js +8 -4
- package/dist/modules/workflow-processor/tools/create-document.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/debug.service.js +6 -2
- package/dist/modules/workflow-processor/tools/debug.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/load-document.service.d.ts +84 -9
- package/dist/modules/workflow-processor/tools/load-document.service.js +4 -2
- package/dist/modules/workflow-processor/tools/load-document.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/set-context.service.js +8 -4
- package/dist/modules/workflow-processor/tools/set-context.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/tool-call.service.js +8 -4
- package/dist/modules/workflow-processor/tools/tool-call.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/transition-selector.service.js +8 -4
- package/dist/modules/workflow-processor/tools/transition-selector.service.js.map +1 -1
- package/dist/modules/workflow-processor/tools/update-document.service.d.ts +44 -44
- package/dist/modules/workflow-processor/tools/update-document.service.js +8 -4
- package/dist/modules/workflow-processor/tools/update-document.service.js.map +1 -1
- package/dist/utils/load-configuration.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-execution.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/services/tool-execution.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,uDAAyE;AAUzE,uCAAiD;AACjD,mFAA6E;AAGtE,IAAM,oBAAoB,4BAA1B,MAAM,oBAAoB;IAIrB;IACA;IACA;IACA;IANF,MAAM,GAAG,IAAI,eAAM,CAAC,sBAAoB,CAAC,IAAI,CAAC,CAAC;IAEvD,YACU,iBAAuC,EACvC,kBAAsC,EACtC,YAA0B,EAC1B,0BAAsD;QAHtD,sBAAiB,GAAjB,iBAAiB,CAAsB;QACvC,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,iBAAY,GAAZ,YAAY,CAAc;QAC1B,+BAA0B,GAA1B,0BAA0B,CAA4B;IAC7D,CAAC;IAEJ,aAAa,CAAC,QAAgB;QAC5B,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,CACvC,OAAO,EACP,QAAQ,CACT,CAAC;QACF,IAAI,CAAC,MAAM,EAAE,CAAC;Y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AED,MAAM,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAC,aAAa,CAC9D,QAAQ,EACR,KAAK,CACN,CAAC;QACF,OAAO,QAAQ,CAAC,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC;IACxE,CAAC;CACF,CAAA;
|
|
1
|
+
{"version":3,"file":"tool-execution.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/services/tool-execution.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,uDAAyE;AAUzE,uCAAiD;AACjD,mFAA6E;AAGtE,IAAM,oBAAoB,4BAA1B,MAAM,oBAAoB;IAIrB;IACA;IACA;IACA;IANF,MAAM,GAAG,IAAI,eAAM,CAAC,sBAAoB,CAAC,IAAI,CAAC,CAAC;IAEvD,YACU,iBAAuC,EACvC,kBAAsC,EACtC,YAA0B,EAC1B,0BAAsD;QAHtD,sBAAiB,GAAjB,iBAAiB,CAAsB;QACvC,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,iBAAY,GAAZ,YAAY,CAAc;QAC1B,+BAA0B,GAA1B,0BAA0B,CAA4B;IAC7D,CAAC;IAEJ,aAAa,CAAC,QAAgB;QAC5B,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,CACvC,OAAO,EACP,QAAQ,CACT,CAAC;QACF,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,aAAa,CAAC,CAAC;QAClE,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,SAAS,CACb,OAAqB,EACrB,QAAoC,EACpC,OAAyB,EACzB,eAAmC;QAEnC,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAGpD,MAAM,cAAc,GAClB,QAAQ,EAAE,SAAS,IAAI,QAAQ,CAAC,QAAQ;YACtC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M,EAAE,QAAQ,CAAC;QAC9B,CAAC;QAED,IAAI,MAAM,EAAE,IAAI,EAAE,CAAC;YACjB,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;gBACvB,QAAQ,CAAC,QAAQ,GAAG,EAAE,CAAC;YACzB,CAAC;YAED,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;gBACnC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;YACrC,CAAC;YAED,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;QACpD,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,SAAS,GAAG,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC;YAC3C,QAAQ,CAAC,SAAS,GAAG;gBACnB,GAAG,SAAS;gBACZ,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,EAAE,IAAI,CAAC;aAC5B,CAAC;QACJ,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF,CAAA;AA9GY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAKkB,oCAAoB;QACnB,0BAAkB;QACxB,4BAAY;QACE,0DAA0B;GAPrD,oBAAoB,CA8GhC"}
|
|
@@ -3,8 +3,9 @@ import { ValueParserService } from '../../common';
|
|
|
3
3
|
import { StateMachineProcessorService } from './state-machine-processor.service';
|
|
4
4
|
import { ConfigurationService } from '../../configuration';
|
|
5
5
|
import { WorkflowService } from '../../persistence';
|
|
6
|
-
import { ContextInterface, WorkflowEntity, WorkflowFactoryType, WorkflowPipelineType, WorkflowStateMachineType, WorkflowType } from '@loopstack/shared';
|
|
6
|
+
import { ContextInterface, WorkflowEntity, WorkflowFactoryType, WorkflowPipelineType, WorkflowStateMachineType, WorkflowToolType, WorkflowType } from '@loopstack/shared';
|
|
7
7
|
import { NamespaceProcessorService } from './namespace-processor.service';
|
|
8
|
+
import { ToolExecutionService } from './tool-execution.service';
|
|
8
9
|
export declare class WorkflowProcessorService {
|
|
9
10
|
private contextService;
|
|
10
11
|
private loopConfigService;
|
|
@@ -12,11 +13,13 @@ export declare class WorkflowProcessorService {
|
|
|
12
13
|
private stateMachineProcessorService;
|
|
13
14
|
private workflowService;
|
|
14
15
|
private namespaceProcessorService;
|
|
16
|
+
private toolExecutionService;
|
|
15
17
|
private readonly logger;
|
|
16
18
|
stop: boolean;
|
|
17
|
-
constructor(contextService: ContextService, loopConfigService: ConfigurationService, valueParserService: ValueParserService, stateMachineProcessorService: StateMachineProcessorService, workflowService: WorkflowService, namespaceProcessorService: NamespaceProcessorService);
|
|
19
|
+
constructor(contextService: ContextService, loopConfigService: ConfigurationService, valueParserService: ValueParserService, stateMachineProcessorService: StateMachineProcessorService, workflowService: WorkflowService, namespaceProcessorService: NamespaceProcessorService, toolExecutionService: ToolExecutionService);
|
|
18
20
|
workflowExists(name: string): boolean;
|
|
19
21
|
createIndex(ltreeIndex: string, increment?: number): string;
|
|
22
|
+
runToolType(config: WorkflowToolType, context: ContextInterface): Promise<ContextInterface | undefined>;
|
|
20
23
|
runSequenceType(sequenceConfig: WorkflowPipelineType, context: ContextInterface): Promise<ContextInterface | undefined>;
|
|
21
24
|
prepareAllContexts(context: ContextInterface, factory: WorkflowFactoryType, items: string[]): Promise<ContextInterface[]>;
|
|
22
25
|
runFactoryType(factory: WorkflowFactoryType, context: ContextInterface): Promise<ContextInterface>;
|
|
@@ -18,6 +18,7 @@ const state_machine_processor_service_1 = require("./state-machine-processor.ser
|
|
|
18
18
|
const configuration_1 = require("../../configuration");
|
|
19
19
|
const persistence_1 = require("../../persistence");
|
|
20
20
|
const namespace_processor_service_1 = require("./namespace-processor.service");
|
|
21
|
+
const tool_execution_service_1 = require("./tool-execution.service");
|
|
21
22
|
let WorkflowProcessorService = WorkflowProcessorService_1 = class WorkflowProcessorService {
|
|
22
23
|
contextService;
|
|
23
24
|
loopConfigService;
|
|
@@ -25,15 +26,17 @@ let WorkflowProcessorService = WorkflowProcessorService_1 = class WorkflowProces
|
|
|
25
26
|
stateMachineProcessorService;
|
|
26
27
|
workflowService;
|
|
27
28
|
namespaceProcessorService;
|
|
29
|
+
toolExecutionService;
|
|
28
30
|
logger = new common_1.Logger(WorkflowProcessorService_1.name);
|
|
29
31
|
stop = false;
|
|
30
|
-
constructor(contextService, loopConfigService, valueParserService, stateMachineProcessorService, workflowService, namespaceProcessorService) {
|
|
32
|
+
constructor(contextService, loopConfigService, valueParserService, stateMachineProcessorService, workflowService, namespaceProcessorService, toolExecutionService) {
|
|
31
33
|
this.contextService = contextService;
|
|
32
34
|
this.loopConfigService = loopConfigService;
|
|
33
35
|
this.valueParserService = valueParserService;
|
|
34
36
|
this.stateMachineProcessorService = stateMachineProcessorService;
|
|
35
37
|
this.workflowService = workflowService;
|
|
36
38
|
this.namespaceProcessorService = namespaceProcessorService;
|
|
39
|
+
this.toolExecutionService = toolExecutionService;
|
|
37
40
|
}
|
|
38
41
|
workflowExists(name) {
|
|
39
42
|
return this.loopConfigService.has('workflows', name);
|
|
@@ -43,6 +46,24 @@ let WorkflowProcessorService = WorkflowProcessorService_1 = class WorkflowProces
|
|
|
43
46
|
parts[parts.length - 1] += increment;
|
|
44
47
|
return parts.map((part) => part.toString().padStart(4, '0')).join('.');
|
|
45
48
|
}
|
|
49
|
+
async runToolType(config, context) {
|
|
50
|
+
const sequence = config.sequence;
|
|
51
|
+
if (!sequence) {
|
|
52
|
+
return context;
|
|
53
|
+
}
|
|
54
|
+
let workflow = await this.getWorkflow(config, context);
|
|
55
|
+
let lastContext = this.contextService.create(context);
|
|
56
|
+
for (let i = 0; i < sequence.length; i++) {
|
|
57
|
+
const handler = sequence[i];
|
|
58
|
+
const result = await this.toolExecutionService.applyTool(handler, workflow, context, { options: {} });
|
|
59
|
+
workflow = this.toolExecutionService.commitToolCallResult(workflow, 'default', handler.call, handler.provideAs, result);
|
|
60
|
+
if (result?.commitDirect) {
|
|
61
|
+
await this.workflowService.save(workflow);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
await this.workflowService.save(workflow);
|
|
65
|
+
return lastContext;
|
|
66
|
+
}
|
|
46
67
|
async runSequenceType(sequenceConfig, context) {
|
|
47
68
|
const sequence = sequenceConfig.sequence;
|
|
48
69
|
const index = `${context.index}.0`;
|
|
@@ -131,6 +152,8 @@ let WorkflowProcessorService = WorkflowProcessorService_1 = class WorkflowProces
|
|
|
131
152
|
context = await this.namespaceProcessorService.createNamespace(context, workflowConfig.namespace);
|
|
132
153
|
}
|
|
133
154
|
switch (workflowConfig.type) {
|
|
155
|
+
case 'tool':
|
|
156
|
+
return this.runToolType(workflowConfig, context);
|
|
134
157
|
case 'pipeline':
|
|
135
158
|
return this.runSequenceType(workflowConfig, context);
|
|
136
159
|
case 'factory':
|
|
@@ -138,7 +161,6 @@ let WorkflowProcessorService = WorkflowProcessorService_1 = class WorkflowProces
|
|
|
138
161
|
case 'stateMachine':
|
|
139
162
|
return this.runStateMachineType(workflowConfig, context);
|
|
140
163
|
}
|
|
141
|
-
throw new Error('Unknown workflow type');
|
|
142
164
|
}
|
|
143
165
|
async getWorkflow(workflowConfig, context) {
|
|
144
166
|
const workflow = await this.workflowService
|
|
@@ -156,7 +178,7 @@ let WorkflowProcessorService = WorkflowProcessorService_1 = class WorkflowProces
|
|
|
156
178
|
namespace: context.namespace ?? undefined,
|
|
157
179
|
projectId: context.projectId,
|
|
158
180
|
name: workflowConfig.name,
|
|
159
|
-
title: workflowConfig.title,
|
|
181
|
+
title: workflowConfig.title ?? workflowConfig.name,
|
|
160
182
|
index: context.index,
|
|
161
183
|
});
|
|
162
184
|
}
|
|
@@ -184,6 +206,7 @@ exports.WorkflowProcessorService = WorkflowProcessorService = WorkflowProcessorS
|
|
|
184
206
|
common_3.ValueParserService,
|
|
185
207
|
state_machine_processor_service_1.StateMachineProcessorService,
|
|
186
208
|
persistence_1.WorkflowService,
|
|
187
|
-
namespace_processor_service_1.NamespaceProcessorService
|
|
209
|
+
namespace_processor_service_1.NamespaceProcessorService,
|
|
210
|
+
tool_execution_service_1.ToolExecutionService])
|
|
188
211
|
], WorkflowProcessorService);
|
|
189
212
|
//# sourceMappingURL=workflow-processor.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-processor.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/services/workflow-processor.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AAEpD,yCAA8C;AAC9C,yCAAkD;AAClD,uFAAiF;AACjF,uDAA2D;AAC3D,mDAAoD;
|
|
1
|
+
{"version":3,"file":"workflow-processor.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/services/workflow-processor.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AAEpD,yCAA8C;AAC9C,yCAAkD;AAClD,uFAAiF;AACjF,uDAA2D;AAC3D,mDAAoD;AAUpD,+EAA0E;AAC1E,qEAAgE;AAGzD,IAAM,wBAAwB,gCAA9B,MAAM,wBAAwB;IAKzB;IACA;IACA;IACA;IACA;IACA;IACA;IAVO,MAAM,GAAG,IAAI,eAAM,CAAC,0BAAwB,CAAC,IAAI,CAAC,CAAC;IACpE,IAAI,GAAY,KAAK,CAAC;IAEtB,YACU,cAA8B,EAC9B,iBAAuC,EACvC,kBAAsC,EACtC,4BAA0D,EAC1D,eAAgC,EAChC,yBAAoD,EACpD,oBAA0C;QAN1C,mBAAc,GAAd,cAAc,CAAgB;QAC9B,sBAAiB,GAAjB,iBAAiB,CAAsB;QACvC,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,iCAA4B,GAA5B,4BAA4B,CAA8B;QAC1D,oBAAe,GAAf,eAAe,CAAiB;QAChC,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,yBAAoB,GAApB,oBAAoB,CAAsB;IACjD,CAAC;IAEJ,cAAc,CAAC,IAAY;Q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AE;qCAMe,uBAAc;QACX,oCAAoB;QACnB,2BAAkB;QACR,8DAA4B;QACzC,6BAAe;QACL,uDAAyB;QAC9B,6CAAoB;GAXzC,wBAAwB,CA4SpC"}
|
|
@@ -18,10 +18,12 @@ const persistence_1 = require("../../persistence");
|
|
|
18
18
|
let AddNamespaceService = AddNamespaceService_1 = class AddNamespaceService {
|
|
19
19
|
namespacesService;
|
|
20
20
|
logger = new common_1.Logger(AddNamespaceService_1.name);
|
|
21
|
-
configSchema = zod_1.z
|
|
21
|
+
configSchema = zod_1.z
|
|
22
|
+
.object({
|
|
22
23
|
label: zod_1.z.union([zod_1.z.string(), shared_1.ExpressionString]),
|
|
23
24
|
meta: zod_1.z.any().optional(),
|
|
24
|
-
})
|
|
25
|
+
})
|
|
26
|
+
.strict();
|
|
25
27
|
schema = shared_1.NamespacePropsSchema.strict();
|
|
26
28
|
constructor(namespacesService) {
|
|
27
29
|
this.namespacesService = namespacesService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-namespace.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/tools/add-namespace.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,6BAAwB;AACxB,8CAQ2B;AAC3B,mDAAsD;AAI/C,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;
|
|
1
|
+
{"version":3,"file":"add-namespace.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/tools/add-namespace.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,6BAAwB;AACxB,8CAQ2B;AAC3B,mDAAsD;AAI/C,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;IAYV;IAXH,MAAM,GAAG,IAAI,eAAM,CAAC,qBAAmB,CAAC,IAAI,CAAC,CAAC;IAE/D,YAAY,GAAG,OAAC;SACb,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,M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AAI,CAAC,CAAC;QAE9D,OAAO;YACL,QAAQ;SACT,CAAC;IACJ,CAAC;CACF,CAAA;AArDY,kDAAmB;8BAAnB,mBAAmB;IAF/B,IAAA,mBAAU,GAAE;IACZ,IAAA,aAAI,GAAE;qCAakC,+BAAiB;GAZ7C,mBAAmB,CAqD/B"}
|
|
@@ -25,16 +25,20 @@ let BatchCreateDocumentsService = BatchCreateDocumentsService_1 = class BatchCre
|
|
|
25
25
|
documentHelperService;
|
|
26
26
|
valueParserService;
|
|
27
27
|
logger = new common_1.Logger(BatchCreateDocumentsService_1.name);
|
|
28
|
-
configSchema = zod_1.z
|
|
28
|
+
configSchema = zod_1.z
|
|
29
|
+
.object({
|
|
29
30
|
document: zod_1.z.string(),
|
|
30
31
|
namePrefix: zod_1.z.union([shared_1.ExpressionString, shared_1.NonExpressionString]).optional(),
|
|
31
32
|
items: zod_1.z.union([shared_1.ExpressionString, zod_1.z.array(zod_1.z.any())]),
|
|
32
|
-
})
|
|
33
|
-
|
|
33
|
+
})
|
|
34
|
+
.strict();
|
|
35
|
+
schema = zod_1.z
|
|
36
|
+
.object({
|
|
34
37
|
document: zod_1.z.string(),
|
|
35
38
|
namePrefix: shared_1.NonExpressionString.optional(),
|
|
36
39
|
items: zod_1.z.array(zod_1.z.any()),
|
|
37
|
-
})
|
|
40
|
+
})
|
|
41
|
+
.strict();
|
|
38
42
|
constructor(actionHelperService, loopConfigService, documentService, documentHelperService, valueParserService) {
|
|
39
43
|
this.actionHelperService = actionHelperService;
|
|
40
44
|
this.loopConfigService = loopConfigService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-create-documents.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/tools/batch-create-documents.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,8CAS2B;AAC3B,yCAIsB;AACtB,uDAA2D;AAE3D,6BAAwB;AAExB,mDAAoD;AACpD,mCAA+B;AAIxB,IAAM,2BAA2B,mCAAjC,MAAM,2BAA2B;
|
|
1
|
+
{"version":3,"file":"batch-create-documents.service.js","sourceRoot":"","sources":["../../../../src/modules/workflow-processor/tools/batch-create-documents.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,8CAS2B;AAC3B,yCAIsB;AACtB,uDAA2D;AAE3D,6BAAwB;AAExB,mDAAoD;AACpD,mCAA+B;AAIxB,IAAM,2BAA2B,mCAAjC,MAAM,2BAA2B;IAmB5B;IACA;IACA;IACA;IACA;IAtBO,MAAM,GAAG,IAAI,eAAM,CAAC,6BAA2B,CAAC,IAAI,CAAC,CAAC;IACvE,YAAY,GAAG,OAAC;SACb,MAAM,CAAC;QACN,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;QACpB,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,yBAAgB,EAAE,4BAAmB,CAAC,CAAC,CAAC,QAAQ,EAAE;QACvE,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,yBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;KACrD,CAAC;SACD,MAAM,EAAE,CAAC;IAEZ,MAAM,GAAG,OAAC;SACP,MAAM,CAAC;QACN,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;QACpB,UAAU,EAAE,4BAAmB,CAAC,QAAQ,EAAE;QAC1C,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC;KACxB,CAAC;SACD,MAAM,EAAE,CAAC;IAEZ,YACU,mBAA2C,EAC3C,iBAAuC,EACvC,eAAgC,EAChC,qBAA4C,EAC5C,kBAAsC;QAJtC,wBAAmB,GAAnB,mBAAmB,CAAwB;QAC3C,sBAAiB,GAAjB,iBAAiB,CAAsB;QACvC,oBAAe,GAAf,eAAe,CAAiB;QAChC,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,uBAAkB,GAAlB,kB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AAC,CAAC;YAChD,CAAC;YAED,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CACvC,YAAuC,CACxC,CAAC;YAEF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC;YAE7D,SAAS,CAAC,IAAI,CACZ,IAAI,CAAC,eAAe,CAAC,MAAM,CACzB,QAAQ,EACR,OAAO,EACP,eAAe,EACf,YAAuC,CACxC,CACF,CAAC;QACJ,CAAC;QAED,OAAO;YACL,QAAQ;YACR,YAAY,EAAE,IAAI;YAClB,IAAI,EAAE,SAAS;SAChB,CAAC;IACJ,CAAC;CACF,CAAA;AAxFY,kEAA2B;sCAA3B,2BAA2B;IAFvC,IAAA,mBAAU,GAAE;IACZ,IAAA,aAAI,GAAE;qCAoB0B,+BAAsB;QACxB,oCAAoB;QACtB,6BAAe;QACT,8BAAqB;QACxB,2BAAkB;GAvBrC,2BAA2B,CAwFvC"}
|
|
@@ -27,15 +27,15 @@ export declare class CreateDocumentService implements ToolInterface {
|
|
|
27
27
|
hideAtPlaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
28
|
data: z.ZodOptional<z.ZodAny>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
data?: any;
|
|
31
30
|
invalidate?: string | boolean | undefined;
|
|
31
|
+
data?: any;
|
|
32
32
|
mimeType?: string | undefined;
|
|
33
33
|
enableTransitions?: string[] | undefined;
|
|
34
34
|
enableAtPlaces?: string[] | undefined;
|
|
35
35
|
hideAtPlaces?: string[] | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
data?: any;
|
|
38
37
|
invalidate?: string | boolean | undefined;
|
|
38
|
+
data?: any;
|
|
39
39
|
mimeType?: string | undefined;
|
|
40
40
|
enableTransitions?: string[] | undefined;
|
|
41
41
|
enableAtPlaces?: string[] | undefined;
|
|
@@ -43,32 +43,32 @@ export declare class CreateDocumentService implements ToolInterface {
|
|
|
43
43
|
}>>>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
name?: string | undefined;
|
|
46
|
-
content?: any;
|
|
47
|
-
schema?: any;
|
|
48
|
-
ui?: any;
|
|
49
|
-
tags?: string | string[] | undefined;
|
|
50
46
|
meta?: {
|
|
51
|
-
data?: any;
|
|
52
47
|
invalidate?: string | boolean | undefined;
|
|
48
|
+
data?: any;
|
|
53
49
|
mimeType?: string | undefined;
|
|
54
50
|
enableTransitions?: string[] | undefined;
|
|
55
51
|
enableAtPlaces?: string[] | undefined;
|
|
56
52
|
hideAtPlaces?: string[] | undefined;
|
|
57
53
|
} | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
name?: string | undefined;
|
|
60
54
|
content?: any;
|
|
61
55
|
schema?: any;
|
|
62
56
|
ui?: any;
|
|
63
57
|
tags?: string | string[] | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
name?: string | undefined;
|
|
64
60
|
meta?: {
|
|
65
|
-
data?: any;
|
|
66
61
|
invalidate?: string | boolean | undefined;
|
|
62
|
+
data?: any;
|
|
67
63
|
mimeType?: string | undefined;
|
|
68
64
|
enableTransitions?: string[] | undefined;
|
|
69
65
|
enableAtPlaces?: string[] | undefined;
|
|
70
66
|
hideAtPlaces?: string[] | undefined;
|
|
71
67
|
} | undefined;
|
|
68
|
+
content?: any;
|
|
69
|
+
schema?: any;
|
|
70
|
+
ui?: any;
|
|
71
|
+
tags?: string | string[] | undefined;
|
|
72
72
|
}>>;
|
|
73
73
|
create: z.ZodOptional<z.ZodObject<{
|
|
74
74
|
name: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -84,15 +84,15 @@ export declare class CreateDocumentService implements ToolInterface {
|
|
|
84
84
|
hideAtPlaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
85
|
data: z.ZodOptional<z.ZodAny>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
data?: any;
|
|
88
87
|
invalidate?: string | boolean | undefined;
|
|
88
|
+
data?: any;
|
|
89
89
|
mimeType?: string | undefined;
|
|
90
90
|
enableTransitions?: string[] | undefined;
|
|
91
91
|
enableAtPlaces?: string[] | undefined;
|
|
92
92
|
hideAtPlaces?: string[] | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
data?: any;
|
|
95
94
|
invalidate?: string | boolean | undefined;
|
|
95
|
+
data?: any;
|
|
96
96
|
mimeType?: string | undefined;
|
|
97
97
|
enableTransitions?: string[] | undefined;
|
|
98
98
|
enableAtPlaces?: string[] | undefined;
|
|
@@ -100,95 +100,95 @@ export declare class CreateDocumentService implements ToolInterface {
|
|
|
100
100
|
}>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
name: string;
|
|
103
|
+
schema?: any;
|
|
103
104
|
content?: any;
|
|
105
|
+
ui?: any;
|
|
106
|
+
tags?: string | string[] | undefined;
|
|
104
107
|
meta?: {
|
|
105
|
-
data?: any;
|
|
106
108
|
invalidate?: string | boolean | undefined;
|
|
109
|
+
data?: any;
|
|
107
110
|
mimeType?: string | undefined;
|
|
108
111
|
enableTransitions?: string[] | undefined;
|
|
109
112
|
enableAtPlaces?: string[] | undefined;
|
|
110
113
|
hideAtPlaces?: string[] | undefined;
|
|
111
114
|
} | undefined;
|
|
112
|
-
schema?: any;
|
|
113
|
-
ui?: any;
|
|
114
|
-
tags?: string | string[] | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
name: string;
|
|
117
|
+
schema?: any;
|
|
117
118
|
content?: any;
|
|
119
|
+
ui?: any;
|
|
120
|
+
tags?: string | string[] | undefined;
|
|
118
121
|
meta?: {
|
|
119
|
-
data?: any;
|
|
120
122
|
invalidate?: string | boolean | undefined;
|
|
123
|
+
data?: any;
|
|
121
124
|
mimeType?: string | undefined;
|
|
122
125
|
enableTransitions?: string[] | undefined;
|
|
123
126
|
enableAtPlaces?: string[] | undefined;
|
|
124
127
|
hideAtPlaces?: string[] | undefined;
|
|
125
128
|
} | undefined;
|
|
126
|
-
schema?: any;
|
|
127
|
-
ui?: any;
|
|
128
|
-
tags?: string | string[] | undefined;
|
|
129
129
|
}>>;
|
|
130
130
|
}, "strict", z.ZodTypeAny, {
|
|
131
131
|
create?: {
|
|
132
132
|
name: string;
|
|
133
|
+
schema?: any;
|
|
133
134
|
content?: any;
|
|
135
|
+
ui?: any;
|
|
136
|
+
tags?: string | string[] | undefined;
|
|
134
137
|
meta?: {
|
|
135
|
-
data?: any;
|
|
136
138
|
invalidate?: string | boolean | undefined;
|
|
139
|
+
data?: any;
|
|
137
140
|
mimeType?: string | undefined;
|
|
138
141
|
enableTransitions?: string[] | undefined;
|
|
139
142
|
enableAtPlaces?: string[] | undefined;
|
|
140
143
|
hideAtPlaces?: string[] | undefined;
|
|
141
144
|
} | undefined;
|
|
142
|
-
schema?: any;
|
|
143
|
-
ui?: any;
|
|
144
|
-
tags?: string | string[] | undefined;
|
|
145
145
|
} | undefined;
|
|
146
146
|
update?: {
|
|
147
147
|
name?: string | undefined;
|
|
148
|
-
content?: any;
|
|
149
|
-
schema?: any;
|
|
150
|
-
ui?: any;
|
|
151
|
-
tags?: string | string[] | undefined;
|
|
152
148
|
meta?: {
|
|
153
|
-
data?: any;
|
|
154
149
|
invalidate?: string | boolean | undefined;
|
|
150
|
+
data?: any;
|
|
155
151
|
mimeType?: string | undefined;
|
|
156
152
|
enableTransitions?: string[] | undefined;
|
|
157
153
|
enableAtPlaces?: string[] | undefined;
|
|
158
154
|
hideAtPlaces?: string[] | undefined;
|
|
159
155
|
} | undefined;
|
|
156
|
+
content?: any;
|
|
157
|
+
schema?: any;
|
|
158
|
+
ui?: any;
|
|
159
|
+
tags?: string | string[] | undefined;
|
|
160
160
|
} | undefined;
|
|
161
161
|
document?: string | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
create?: {
|
|
164
164
|
name: string;
|
|
165
|
+
schema?: any;
|
|
165
166
|
content?: any;
|
|
167
|
+
ui?: any;
|
|
168
|
+
tags?: string | string[] | undefined;
|
|
166
169
|
meta?: {
|
|
167
|
-
data?: any;
|
|
168
170
|
invalidate?: string | boolean | undefined;
|
|
171
|
+
data?: any;
|
|
169
172
|
mimeType?: string | undefined;
|
|
170
173
|
enableTransitions?: string[] | undefined;
|
|
171
174
|
enableAtPlaces?: string[] | undefined;
|
|
172
175
|
hideAtPlaces?: string[] | undefined;
|
|
173
176
|
} | undefined;
|
|
174
|
-
schema?: any;
|
|
175
|
-
ui?: any;
|
|
176
|
-
tags?: string | string[] | undefined;
|
|
177
177
|
} | undefined;
|
|
178
178
|
update?: {
|
|
179
179
|
name?: string | undefined;
|
|
180
|
-
content?: any;
|
|
181
|
-
schema?: any;
|
|
182
|
-
ui?: any;
|
|
183
|
-
tags?: string | string[] | undefined;
|
|
184
180
|
meta?: {
|
|
185
|
-
data?: any;
|
|
186
181
|
invalidate?: string | boolean | undefined;
|
|
182
|
+
data?: any;
|
|
187
183
|
mimeType?: string | undefined;
|
|
188
184
|
enableTransitions?: string[] | undefined;
|
|
189
185
|
enableAtPlaces?: string[] | undefined;
|
|
190
186
|
hideAtPlaces?: string[] | undefined;
|
|
191
187
|
} | undefined;
|
|
188
|
+
content?: any;
|
|
189
|
+
schema?: any;
|
|
190
|
+
ui?: any;
|
|
191
|
+
tags?: string | string[] | undefined;
|
|
192
192
|
} | undefined;
|
|
193
193
|
document?: string | undefined;
|
|
194
194
|
}>;
|
|
@@ -208,48 +208,48 @@ export declare class CreateDocumentService implements ToolInterface {
|
|
|
208
208
|
hideAtPlaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
209
209
|
data: z.ZodOptional<z.ZodAny>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
data?: any;
|
|
212
211
|
invalidate?: boolean | undefined;
|
|
213
|
-
|
|
212
|
+
data?: any;
|
|
213
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
214
214
|
enableTransitions?: string[] | undefined;
|
|
215
215
|
enableAtPlaces?: string[] | undefined;
|
|
216
216
|
hideAtPlaces?: string[] | undefined;
|
|
217
217
|
}, {
|
|
218
|
-
data?: any;
|
|
219
218
|
invalidate?: boolean | undefined;
|
|
220
|
-
|
|
219
|
+
data?: any;
|
|
220
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
221
221
|
enableTransitions?: string[] | undefined;
|
|
222
222
|
enableAtPlaces?: string[] | undefined;
|
|
223
223
|
hideAtPlaces?: string[] | undefined;
|
|
224
224
|
}>>>;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
schema?: any;
|
|
226
227
|
name?: string | undefined;
|
|
227
228
|
content?: any;
|
|
229
|
+
ui?: any;
|
|
230
|
+
tags?: string[] | undefined;
|
|
228
231
|
meta?: {
|
|
229
|
-
data?: any;
|
|
230
232
|
invalidate?: boolean | undefined;
|
|
231
|
-
|
|
233
|
+
data?: any;
|
|
234
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
232
235
|
enableTransitions?: string[] | undefined;
|
|
233
236
|
enableAtPlaces?: string[] | undefined;
|
|
234
237
|
hideAtPlaces?: string[] | undefined;
|
|
235
238
|
} | undefined;
|
|
236
|
-
schema?: any;
|
|
237
|
-
ui?: any;
|
|
238
|
-
tags?: string[] | undefined;
|
|
239
239
|
}, {
|
|
240
|
+
schema?: any;
|
|
240
241
|
name?: string | undefined;
|
|
241
242
|
content?: any;
|
|
243
|
+
ui?: any;
|
|
244
|
+
tags?: string[] | undefined;
|
|
242
245
|
meta?: {
|
|
243
|
-
data?: any;
|
|
244
246
|
invalidate?: boolean | undefined;
|
|
245
|
-
|
|
247
|
+
data?: any;
|
|
248
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
246
249
|
enableTransitions?: string[] | undefined;
|
|
247
250
|
enableAtPlaces?: string[] | undefined;
|
|
248
251
|
hideAtPlaces?: string[] | undefined;
|
|
249
252
|
} | undefined;
|
|
250
|
-
schema?: any;
|
|
251
|
-
ui?: any;
|
|
252
|
-
tags?: string[] | undefined;
|
|
253
253
|
}>>;
|
|
254
254
|
create: z.ZodOptional<z.ZodObject<{
|
|
255
255
|
name: z.ZodString;
|
|
@@ -265,111 +265,111 @@ export declare class CreateDocumentService implements ToolInterface {
|
|
|
265
265
|
hideAtPlaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
266
266
|
data: z.ZodOptional<z.ZodAny>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
data?: any;
|
|
269
268
|
invalidate?: boolean | undefined;
|
|
270
|
-
|
|
269
|
+
data?: any;
|
|
270
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
271
271
|
enableTransitions?: string[] | undefined;
|
|
272
272
|
enableAtPlaces?: string[] | undefined;
|
|
273
273
|
hideAtPlaces?: string[] | undefined;
|
|
274
274
|
}, {
|
|
275
|
-
data?: any;
|
|
276
275
|
invalidate?: boolean | undefined;
|
|
277
|
-
|
|
276
|
+
data?: any;
|
|
277
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
278
278
|
enableTransitions?: string[] | undefined;
|
|
279
279
|
enableAtPlaces?: string[] | undefined;
|
|
280
280
|
hideAtPlaces?: string[] | undefined;
|
|
281
281
|
}>>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
name: string;
|
|
284
|
+
schema?: any;
|
|
284
285
|
content?: any;
|
|
286
|
+
ui?: any;
|
|
287
|
+
tags?: string[] | undefined;
|
|
285
288
|
meta?: {
|
|
286
|
-
data?: any;
|
|
287
289
|
invalidate?: boolean | undefined;
|
|
288
|
-
|
|
290
|
+
data?: any;
|
|
291
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
289
292
|
enableTransitions?: string[] | undefined;
|
|
290
293
|
enableAtPlaces?: string[] | undefined;
|
|
291
294
|
hideAtPlaces?: string[] | undefined;
|
|
292
295
|
} | undefined;
|
|
293
|
-
schema?: any;
|
|
294
|
-
ui?: any;
|
|
295
|
-
tags?: string[] | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
name: string;
|
|
298
|
+
schema?: any;
|
|
298
299
|
content?: any;
|
|
300
|
+
ui?: any;
|
|
301
|
+
tags?: string[] | undefined;
|
|
299
302
|
meta?: {
|
|
300
|
-
data?: any;
|
|
301
303
|
invalidate?: boolean | undefined;
|
|
302
|
-
|
|
304
|
+
data?: any;
|
|
305
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
303
306
|
enableTransitions?: string[] | undefined;
|
|
304
307
|
enableAtPlaces?: string[] | undefined;
|
|
305
308
|
hideAtPlaces?: string[] | undefined;
|
|
306
309
|
} | undefined;
|
|
307
|
-
schema?: any;
|
|
308
|
-
ui?: any;
|
|
309
|
-
tags?: string[] | undefined;
|
|
310
310
|
}>>;
|
|
311
311
|
}, "strict", z.ZodTypeAny, {
|
|
312
312
|
create?: {
|
|
313
313
|
name: string;
|
|
314
|
+
schema?: any;
|
|
314
315
|
content?: any;
|
|
316
|
+
ui?: any;
|
|
317
|
+
tags?: string[] | undefined;
|
|
315
318
|
meta?: {
|
|
316
|
-
data?: any;
|
|
317
319
|
invalidate?: boolean | undefined;
|
|
318
|
-
|
|
320
|
+
data?: any;
|
|
321
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
319
322
|
enableTransitions?: string[] | undefined;
|
|
320
323
|
enableAtPlaces?: string[] | undefined;
|
|
321
324
|
hideAtPlaces?: string[] | undefined;
|
|
322
325
|
} | undefined;
|
|
323
|
-
schema?: any;
|
|
324
|
-
ui?: any;
|
|
325
|
-
tags?: string[] | undefined;
|
|
326
326
|
} | undefined;
|
|
327
327
|
update?: {
|
|
328
|
+
schema?: any;
|
|
328
329
|
name?: string | undefined;
|
|
329
330
|
content?: any;
|
|
331
|
+
ui?: any;
|
|
332
|
+
tags?: string[] | undefined;
|
|
330
333
|
meta?: {
|
|
331
|
-
data?: any;
|
|
332
334
|
invalidate?: boolean | undefined;
|
|
333
|
-
|
|
335
|
+
data?: any;
|
|
336
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
334
337
|
enableTransitions?: string[] | undefined;
|
|
335
338
|
enableAtPlaces?: string[] | undefined;
|
|
336
339
|
hideAtPlaces?: string[] | undefined;
|
|
337
340
|
} | undefined;
|
|
338
|
-
schema?: any;
|
|
339
|
-
ui?: any;
|
|
340
|
-
tags?: string[] | undefined;
|
|
341
341
|
} | undefined;
|
|
342
342
|
document?: string | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
create?: {
|
|
345
345
|
name: string;
|
|
346
|
+
schema?: any;
|
|
346
347
|
content?: any;
|
|
348
|
+
ui?: any;
|
|
349
|
+
tags?: string[] | undefined;
|
|
347
350
|
meta?: {
|
|
348
|
-
data?: any;
|
|
349
351
|
invalidate?: boolean | undefined;
|
|
350
|
-
|
|
352
|
+
data?: any;
|
|
353
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
351
354
|
enableTransitions?: string[] | undefined;
|
|
352
355
|
enableAtPlaces?: string[] | undefined;
|
|
353
356
|
hideAtPlaces?: string[] | undefined;
|
|
354
357
|
} | undefined;
|
|
355
|
-
schema?: any;
|
|
356
|
-
ui?: any;
|
|
357
|
-
tags?: string[] | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
update?: {
|
|
360
|
+
schema?: any;
|
|
360
361
|
name?: string | undefined;
|
|
361
362
|
content?: any;
|
|
363
|
+
ui?: any;
|
|
364
|
+
tags?: string[] | undefined;
|
|
362
365
|
meta?: {
|
|
363
|
-
data?: any;
|
|
364
366
|
invalidate?: boolean | undefined;
|
|
365
|
-
|
|
367
|
+
data?: any;
|
|
368
|
+
mimeType?: "text/plain" | "text/html" | "text/css" | "text/xml" | "text/markdown" | "application/javascript" | "application/typescript" | "application/json" | "application/xml" | "application/yaml" | undefined;
|
|
366
369
|
enableTransitions?: string[] | undefined;
|
|
367
370
|
enableAtPlaces?: string[] | undefined;
|
|
368
371
|
hideAtPlaces?: string[] | undefined;
|
|
369
372
|
} | undefined;
|
|
370
|
-
schema?: any;
|
|
371
|
-
ui?: any;
|
|
372
|
-
tags?: string[] | undefined;
|
|
373
373
|
} | undefined;
|
|
374
374
|
document?: string | undefined;
|
|
375
375
|
}>;
|