@vertesia/common 0.54.0 → 0.56.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/lib/cjs/Progress.js +61 -0
- package/lib/cjs/Progress.js.map +1 -0
- package/lib/cjs/access-control.js +39 -0
- package/lib/cjs/access-control.js.map +1 -0
- package/lib/cjs/analytics.js +3 -0
- package/lib/cjs/analytics.js.map +1 -0
- package/lib/cjs/apikey.js +15 -0
- package/lib/cjs/apikey.js.map +1 -0
- package/lib/cjs/common.js +3 -0
- package/lib/cjs/common.js.map +1 -0
- package/lib/cjs/environment.js +116 -0
- package/lib/cjs/environment.js.map +1 -0
- package/lib/cjs/facets.js +3 -0
- package/lib/cjs/facets.js.map +1 -0
- package/lib/cjs/index.js +40 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/integrations.js +12 -0
- package/lib/cjs/integrations.js.map +1 -0
- package/lib/cjs/interaction.js +63 -0
- package/lib/cjs/interaction.js.map +1 -0
- package/lib/cjs/meters.js +13 -0
- package/lib/cjs/meters.js.map +1 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/payload.js +3 -0
- package/lib/cjs/payload.js.map +1 -0
- package/lib/cjs/plugin.js +3 -0
- package/lib/cjs/plugin.js.map +1 -0
- package/lib/cjs/project.js +50 -0
- package/lib/cjs/project.js.map +1 -0
- package/lib/cjs/prompt.js +21 -0
- package/lib/cjs/prompt.js.map +1 -0
- package/lib/cjs/query.js +3 -0
- package/lib/cjs/query.js.map +1 -0
- package/lib/cjs/refs.js +12 -0
- package/lib/cjs/refs.js.map +1 -0
- package/lib/cjs/runs.js +3 -0
- package/lib/cjs/runs.js.map +1 -0
- package/lib/cjs/store/activity-catalog.js +3 -0
- package/lib/cjs/store/activity-catalog.js.map +1 -0
- package/lib/cjs/store/agent.js +3 -0
- package/lib/cjs/store/agent.js.map +1 -0
- package/lib/cjs/store/collections.js +9 -0
- package/lib/cjs/store/collections.js.map +1 -0
- package/lib/cjs/store/common.js +3 -0
- package/lib/cjs/store/common.js.map +1 -0
- package/lib/cjs/store/doc-analyzer.js +3 -0
- package/lib/cjs/store/doc-analyzer.js.map +1 -0
- package/lib/cjs/store/dsl-workflow.js +5 -0
- package/lib/cjs/store/dsl-workflow.js.map +1 -0
- package/lib/cjs/store/index.js +28 -0
- package/lib/cjs/store/index.js.map +1 -0
- package/lib/cjs/store/object-types.js +98 -0
- package/lib/cjs/store/object-types.js.map +1 -0
- package/lib/cjs/store/signals.js +3 -0
- package/lib/cjs/store/signals.js.map +1 -0
- package/lib/cjs/store/store.js +18 -0
- package/lib/cjs/store/store.js.map +1 -0
- package/lib/cjs/store/temporalio.js +44 -0
- package/lib/cjs/store/temporalio.js.map +1 -0
- package/lib/cjs/store/workflow.js +47 -0
- package/lib/cjs/store/workflow.js.map +1 -0
- package/lib/cjs/training.js +14 -0
- package/lib/cjs/training.js.map +1 -0
- package/lib/cjs/transient-tokens.js +9 -0
- package/lib/cjs/transient-tokens.js.map +1 -0
- package/lib/cjs/user.js +17 -0
- package/lib/cjs/user.js.map +1 -0
- package/lib/cjs/utils/auth.js +15 -0
- package/lib/cjs/utils/auth.js.map +1 -0
- package/lib/cjs/utils/schemas.js +66 -0
- package/lib/cjs/utils/schemas.js.map +1 -0
- package/lib/esm/Progress.js +57 -0
- package/lib/esm/Progress.js.map +1 -0
- package/lib/esm/access-control.js +36 -0
- package/lib/esm/access-control.js.map +1 -0
- package/lib/esm/analytics.js +2 -0
- package/lib/esm/analytics.js.map +1 -0
- package/lib/esm/apikey.js +12 -0
- package/lib/esm/apikey.js.map +1 -0
- package/lib/esm/common.js +2 -0
- package/lib/esm/common.js.map +1 -0
- package/lib/esm/environment.js +113 -0
- package/lib/esm/environment.js.map +1 -0
- package/lib/esm/facets.js +2 -0
- package/lib/esm/facets.js.map +1 -0
- package/lib/esm/index.js +24 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/integrations.js +9 -0
- package/lib/esm/integrations.js.map +1 -0
- package/lib/esm/interaction.js +60 -0
- package/lib/esm/interaction.js.map +1 -0
- package/lib/esm/meters.js +10 -0
- package/lib/esm/meters.js.map +1 -0
- package/lib/esm/payload.js +2 -0
- package/lib/esm/payload.js.map +1 -0
- package/lib/esm/plugin.js +2 -0
- package/lib/esm/plugin.js.map +1 -0
- package/lib/esm/project.js +46 -0
- package/lib/esm/project.js.map +1 -0
- package/lib/esm/prompt.js +18 -0
- package/lib/esm/prompt.js.map +1 -0
- package/lib/esm/query.js +2 -0
- package/lib/esm/query.js.map +1 -0
- package/lib/esm/refs.js +9 -0
- package/lib/esm/refs.js.map +1 -0
- package/lib/esm/runs.js +2 -0
- package/lib/esm/runs.js.map +1 -0
- package/lib/esm/store/activity-catalog.js +2 -0
- package/lib/esm/store/activity-catalog.js.map +1 -0
- package/lib/esm/store/agent.js +2 -0
- package/lib/esm/store/agent.js.map +1 -0
- package/lib/esm/store/collections.js +6 -0
- package/lib/esm/store/collections.js.map +1 -0
- package/lib/esm/store/common.js +2 -0
- package/lib/esm/store/common.js.map +1 -0
- package/lib/esm/store/doc-analyzer.js +2 -0
- package/lib/esm/store/doc-analyzer.js.map +1 -0
- package/lib/esm/store/dsl-workflow.js +2 -0
- package/lib/esm/store/dsl-workflow.js.map +1 -0
- package/lib/esm/store/index.js +12 -0
- package/lib/esm/store/index.js.map +1 -0
- package/lib/esm/store/object-types.js +95 -0
- package/lib/esm/store/object-types.js.map +1 -0
- package/lib/esm/store/signals.js +2 -0
- package/lib/esm/store/signals.js.map +1 -0
- package/lib/esm/store/store.js +15 -0
- package/lib/esm/store/store.js.map +1 -0
- package/lib/esm/store/temporalio.js +41 -0
- package/lib/esm/store/temporalio.js.map +1 -0
- package/lib/esm/store/workflow.js +43 -0
- package/lib/esm/store/workflow.js.map +1 -0
- package/lib/esm/training.js +11 -0
- package/lib/esm/training.js.map +1 -0
- package/lib/esm/transient-tokens.js +6 -0
- package/lib/esm/transient-tokens.js.map +1 -0
- package/lib/esm/user.js +14 -0
- package/lib/esm/user.js.map +1 -0
- package/lib/esm/utils/auth.js +11 -0
- package/lib/esm/utils/auth.js.map +1 -0
- package/lib/esm/utils/schemas.js +61 -0
- package/lib/esm/utils/schemas.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/types/Progress.d.ts +21 -0
- package/lib/types/Progress.d.ts.map +1 -0
- package/lib/types/access-control.d.ts +56 -0
- package/lib/types/access-control.d.ts.map +1 -0
- package/lib/types/analytics.d.ts +36 -0
- package/lib/types/analytics.d.ts.map +1 -0
- package/lib/types/apikey.d.ts +54 -0
- package/lib/types/apikey.d.ts.map +1 -0
- package/lib/types/common.d.ts +31 -0
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/environment.d.ts +80 -0
- package/lib/types/environment.d.ts.map +1 -0
- package/lib/types/facets.d.ts +34 -0
- package/lib/types/facets.d.ts.map +1 -0
- package/lib/types/index.d.ts +23 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/integrations.d.ts +28 -0
- package/lib/types/integrations.d.ts.map +1 -0
- package/lib/types/interaction.d.ts +399 -0
- package/lib/types/interaction.d.ts.map +1 -0
- package/lib/types/meters.d.ts +23 -0
- package/lib/types/meters.d.ts.map +1 -0
- package/lib/types/payload.d.ts +52 -0
- package/lib/types/payload.d.ts.map +1 -0
- package/lib/types/plugin.d.ts +26 -0
- package/lib/types/plugin.d.ts.map +1 -0
- package/lib/types/project.d.ts +103 -0
- package/lib/types/project.d.ts.map +1 -0
- package/lib/types/prompt.d.ts +70 -0
- package/lib/types/prompt.d.ts.map +1 -0
- package/lib/types/query.d.ts +78 -0
- package/lib/types/query.d.ts.map +1 -0
- package/lib/types/refs.d.ts +19 -0
- package/lib/types/refs.d.ts.map +1 -0
- package/lib/types/runs.d.ts +32 -0
- package/lib/types/runs.d.ts.map +1 -0
- package/lib/types/store/activity-catalog.d.ts +26 -0
- package/lib/types/store/activity-catalog.d.ts.map +1 -0
- package/lib/types/store/agent.d.ts +18 -0
- package/lib/types/store/agent.d.ts.map +1 -0
- package/lib/types/store/collections.d.ts +59 -0
- package/lib/types/store/collections.d.ts.map +1 -0
- package/lib/types/store/common.d.ts +22 -0
- package/lib/types/store/common.d.ts.map +1 -0
- package/lib/types/store/doc-analyzer.d.ts +132 -0
- package/lib/types/store/doc-analyzer.d.ts.map +1 -0
- package/lib/types/store/dsl-workflow.d.ts +238 -0
- package/lib/types/store/dsl-workflow.d.ts.map +1 -0
- package/lib/types/store/index.d.ts +11 -0
- package/lib/types/store/index.d.ts.map +1 -0
- package/lib/types/store/object-types.d.ts +23 -0
- package/lib/types/store/object-types.d.ts.map +1 -0
- package/lib/types/store/signals.d.ts +5 -0
- package/lib/types/store/signals.d.ts.map +1 -0
- package/lib/types/store/store.d.ts +269 -0
- package/lib/types/store/store.d.ts.map +1 -0
- package/lib/types/store/temporalio.d.ts +16 -0
- package/lib/types/store/temporalio.d.ts.map +1 -0
- package/lib/types/store/workflow.d.ts +249 -0
- package/lib/types/store/workflow.d.ts.map +1 -0
- package/lib/types/training.d.ts +38 -0
- package/lib/types/training.d.ts.map +1 -0
- package/lib/types/transient-tokens.d.ts +27 -0
- package/lib/types/transient-tokens.d.ts.map +1 -0
- package/lib/types/user.d.ts +113 -0
- package/lib/types/user.d.ts.map +1 -0
- package/lib/types/utils/auth.d.ts +3 -0
- package/lib/types/utils/auth.d.ts.map +1 -0
- package/lib/types/utils/schemas.d.ts +7 -0
- package/lib/types/utils/schemas.d.ts.map +1 -0
- package/lib/vertesia-common.js +2 -0
- package/lib/vertesia-common.js.map +1 -0
- package/package.json +8 -4
- package/src/environment.ts +1 -1
- package/src/index.ts +0 -1
- package/src/integrations.ts +6 -0
- package/src/interaction.ts +6 -3
- package/src/plugin.ts +14 -0
- package/src/prompt.ts +3 -3
- package/src/store/object-types.ts +3 -4
- package/src/store/store.ts +8 -3
- package/src/store/workflow.ts +22 -5
- package/src/training.ts +1 -1
- package/src/utils/schemas.ts +5 -3
- package/src/utils/advanced-content-processing.ts +0 -32
@@ -0,0 +1,113 @@
|
|
1
|
+
export var SupportedProviders;
|
2
|
+
(function (SupportedProviders) {
|
3
|
+
// from llumiverse
|
4
|
+
SupportedProviders["openai"] = "openai";
|
5
|
+
SupportedProviders["azure_openai"] = "azure_openai";
|
6
|
+
SupportedProviders["huggingface_ie"] = "huggingface_ie";
|
7
|
+
SupportedProviders["replicate"] = "replicate";
|
8
|
+
SupportedProviders["bedrock"] = "bedrock";
|
9
|
+
SupportedProviders["vertexai"] = "vertexai";
|
10
|
+
SupportedProviders["togetherai"] = "togetherai";
|
11
|
+
SupportedProviders["mistralai"] = "mistralai";
|
12
|
+
SupportedProviders["groq"] = "groq";
|
13
|
+
SupportedProviders["watsonx"] = "watsonx";
|
14
|
+
// from studio
|
15
|
+
SupportedProviders["virtual_lb"] = "virtual_lb";
|
16
|
+
SupportedProviders["virtual_mediator"] = "virtual_mediator";
|
17
|
+
SupportedProviders["test"] = "test";
|
18
|
+
})(SupportedProviders || (SupportedProviders = {}));
|
19
|
+
export const SupportedProvidersList = {
|
20
|
+
'openai': {
|
21
|
+
id: SupportedProviders.openai,
|
22
|
+
name: "OpenAI",
|
23
|
+
requiresApiKey: true,
|
24
|
+
requiresEndpointUrl: false,
|
25
|
+
supportSearch: false,
|
26
|
+
},
|
27
|
+
'azure_openai': {
|
28
|
+
id: SupportedProviders.azure_openai,
|
29
|
+
name: "Azure OpenAI",
|
30
|
+
requiresApiKey: false,
|
31
|
+
requiresEndpointUrl: true,
|
32
|
+
supportSearch: false,
|
33
|
+
},
|
34
|
+
'huggingface_ie': {
|
35
|
+
id: SupportedProviders.huggingface_ie,
|
36
|
+
name: "HuggingFace Inference Endpoint",
|
37
|
+
requiresApiKey: true,
|
38
|
+
requiresEndpointUrl: true,
|
39
|
+
},
|
40
|
+
'replicate': {
|
41
|
+
id: SupportedProviders.replicate,
|
42
|
+
name: "Repicate",
|
43
|
+
requiresApiKey: true,
|
44
|
+
requiresEndpointUrl: false,
|
45
|
+
supportSearch: true,
|
46
|
+
},
|
47
|
+
'bedrock': {
|
48
|
+
id: SupportedProviders.bedrock,
|
49
|
+
name: "AWS Bedrock",
|
50
|
+
requiresApiKey: false,
|
51
|
+
requiresEndpointUrl: false,
|
52
|
+
endpointPlaceholder: "region name (eg. us-east-1)",
|
53
|
+
supportSearch: false,
|
54
|
+
},
|
55
|
+
vertexai: {
|
56
|
+
id: SupportedProviders.vertexai,
|
57
|
+
name: "Google Vertex AI",
|
58
|
+
requiresApiKey: false,
|
59
|
+
requiresEndpointUrl: false,
|
60
|
+
supportSearch: false,
|
61
|
+
},
|
62
|
+
togetherai: {
|
63
|
+
id: SupportedProviders.togetherai,
|
64
|
+
name: "Together AI",
|
65
|
+
requiresApiKey: false,
|
66
|
+
requiresEndpointUrl: false,
|
67
|
+
supportSearch: false,
|
68
|
+
},
|
69
|
+
mistralai: {
|
70
|
+
id: SupportedProviders.mistralai,
|
71
|
+
name: "Mistral AI",
|
72
|
+
requiresApiKey: false,
|
73
|
+
requiresEndpointUrl: false,
|
74
|
+
supportSearch: false,
|
75
|
+
},
|
76
|
+
groq: {
|
77
|
+
id: SupportedProviders.groq,
|
78
|
+
name: "Groq Cloud",
|
79
|
+
requiresApiKey: false,
|
80
|
+
requiresEndpointUrl: false,
|
81
|
+
supportSearch: false,
|
82
|
+
},
|
83
|
+
watsonx: {
|
84
|
+
id: SupportedProviders.watsonx,
|
85
|
+
name: "IBM WatsonX",
|
86
|
+
requiresApiKey: true,
|
87
|
+
requiresEndpointUrl: true,
|
88
|
+
supportSearch: false
|
89
|
+
},
|
90
|
+
'virtual_lb': {
|
91
|
+
id: SupportedProviders.virtual_lb,
|
92
|
+
name: "Virtual - Load Balancer",
|
93
|
+
requiresApiKey: false,
|
94
|
+
requiresEndpointUrl: false,
|
95
|
+
supportSearch: false,
|
96
|
+
},
|
97
|
+
'virtual_mediator': {
|
98
|
+
id: SupportedProviders.virtual_mediator,
|
99
|
+
name: "Virtual - Mediator",
|
100
|
+
requiresApiKey: false,
|
101
|
+
requiresEndpointUrl: false,
|
102
|
+
supportSearch: false,
|
103
|
+
},
|
104
|
+
'test': {
|
105
|
+
id: SupportedProviders.test,
|
106
|
+
name: "Test LLM",
|
107
|
+
requiresApiKey: false,
|
108
|
+
requiresEndpointUrl: false,
|
109
|
+
supportSearch: false,
|
110
|
+
},
|
111
|
+
};
|
112
|
+
export const ExecutionEnvironmentRefPopulate = "id name provider enabled_models default_model endpoint_url allowed_projects account created_at updated_at";
|
113
|
+
//# sourceMappingURL=environment.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../src/environment.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"facets.js","sourceRoot":"","sources":["../../src/facets.ts"],"names":[],"mappings":""}
|
package/lib/esm/index.js
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
export * from './access-control.js';
|
2
|
+
export * from './analytics.js';
|
3
|
+
export * from './apikey.js';
|
4
|
+
export * from './common.js';
|
5
|
+
export * from './environment.js';
|
6
|
+
export * from "./facets.js";
|
7
|
+
export * from './integrations.js';
|
8
|
+
export * from './interaction.js';
|
9
|
+
export * from './meters.js';
|
10
|
+
export * from './payload.js';
|
11
|
+
export * from "./plugin.js";
|
12
|
+
export * from "./Progress.js";
|
13
|
+
export * from './project.js';
|
14
|
+
export * from './prompt.js';
|
15
|
+
export * from './query.js';
|
16
|
+
export * from './refs.js';
|
17
|
+
export * from './runs.js';
|
18
|
+
export * from "./store/index.js";
|
19
|
+
export * from "./training.js";
|
20
|
+
export * from './transient-tokens.js';
|
21
|
+
export * from './user.js';
|
22
|
+
export * from './utils/auth.js';
|
23
|
+
export * from './utils/schemas.js';
|
24
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var SupportedIntegrations;
|
2
|
+
(function (SupportedIntegrations) {
|
3
|
+
SupportedIntegrations["gladia"] = "gladia";
|
4
|
+
SupportedIntegrations["github"] = "github";
|
5
|
+
SupportedIntegrations["aws"] = "aws";
|
6
|
+
SupportedIntegrations["magic_pdf"] = "magic_pdf";
|
7
|
+
SupportedIntegrations["serper"] = "serper";
|
8
|
+
})(SupportedIntegrations || (SupportedIntegrations = {}));
|
9
|
+
//# sourceMappingURL=integrations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":"AA+BA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,oCAAW,CAAA;IACX,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;AACrB,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
export const InteractionRefPopulate = "id name endpoint parent description status version visibility tags updated_at prompts";
|
2
|
+
export var InteractionStatus;
|
3
|
+
(function (InteractionStatus) {
|
4
|
+
InteractionStatus["draft"] = "draft";
|
5
|
+
InteractionStatus["published"] = "published";
|
6
|
+
InteractionStatus["archived"] = "archived";
|
7
|
+
})(InteractionStatus || (InteractionStatus = {}));
|
8
|
+
export var ExecutionRunStatus;
|
9
|
+
(function (ExecutionRunStatus) {
|
10
|
+
ExecutionRunStatus["created"] = "created";
|
11
|
+
ExecutionRunStatus["processing"] = "processing";
|
12
|
+
ExecutionRunStatus["completed"] = "completed";
|
13
|
+
ExecutionRunStatus["failed"] = "failed";
|
14
|
+
})(ExecutionRunStatus || (ExecutionRunStatus = {}));
|
15
|
+
export var RunDataStorageLevel;
|
16
|
+
(function (RunDataStorageLevel) {
|
17
|
+
RunDataStorageLevel["STANDARD"] = "STANDARD";
|
18
|
+
RunDataStorageLevel["RESTRICTED"] = "RESTRICTED";
|
19
|
+
RunDataStorageLevel["DEBUG"] = "DEBUG";
|
20
|
+
})(RunDataStorageLevel || (RunDataStorageLevel = {}));
|
21
|
+
export var RunDataStorageDescription;
|
22
|
+
(function (RunDataStorageDescription) {
|
23
|
+
RunDataStorageDescription["STANDARD"] = "Run data is stored for both the model inputs and output.";
|
24
|
+
RunDataStorageDescription["RESTRICTED"] = "No run data is stored for the model inputs \u2014 only the model output.";
|
25
|
+
RunDataStorageDescription["DEBUG"] = "Run data is stored for the model inputs and output, schema, and final prompt.";
|
26
|
+
})(RunDataStorageDescription || (RunDataStorageDescription = {}));
|
27
|
+
export const RunDataStorageOptions = {
|
28
|
+
[RunDataStorageLevel.STANDARD]: RunDataStorageDescription.STANDARD,
|
29
|
+
[RunDataStorageLevel.RESTRICTED]: RunDataStorageDescription.RESTRICTED,
|
30
|
+
[RunDataStorageLevel.DEBUG]: RunDataStorageDescription.DEBUG,
|
31
|
+
};
|
32
|
+
// ================= end async execution payloads ====================
|
33
|
+
export var RunSourceTypes;
|
34
|
+
(function (RunSourceTypes) {
|
35
|
+
RunSourceTypes["api"] = "api";
|
36
|
+
RunSourceTypes["cli"] = "cli";
|
37
|
+
RunSourceTypes["ui"] = "ui";
|
38
|
+
RunSourceTypes["webhook"] = "webhook";
|
39
|
+
RunSourceTypes["test"] = "test-data";
|
40
|
+
RunSourceTypes["system"] = "system";
|
41
|
+
})(RunSourceTypes || (RunSourceTypes = {}));
|
42
|
+
export const ExecutionRunRefSelect = "-result -parameters -result_schema -prompt";
|
43
|
+
export var ConfigModes;
|
44
|
+
(function (ConfigModes) {
|
45
|
+
ConfigModes["RUN_AND_INTERACTION_CONFIG"] = "RUN_AND_INTERACTION_CONFIG";
|
46
|
+
ConfigModes["RUN_CONFIG_ONLY"] = "RUN_CONFIG_ONLY";
|
47
|
+
ConfigModes["INTERACTION_CONFIG_ONLY"] = "INTERACTION_CONFIG_ONLY";
|
48
|
+
})(ConfigModes || (ConfigModes = {}));
|
49
|
+
export var ConfigModesDescription;
|
50
|
+
(function (ConfigModesDescription) {
|
51
|
+
ConfigModesDescription["RUN_AND_INTERACTION_CONFIG"] = "This run configuration is used. Undefined options are filled with interaction configuration.";
|
52
|
+
ConfigModesDescription["RUN_CONFIG_ONLY"] = "Only this run configuration is used. Undefined options remain undefined.";
|
53
|
+
ConfigModesDescription["INTERACTION_CONFIG_ONLY"] = "Only interaction configuration is used.";
|
54
|
+
})(ConfigModesDescription || (ConfigModesDescription = {}));
|
55
|
+
export const ConfigModesOptions = {
|
56
|
+
[ConfigModes.RUN_AND_INTERACTION_CONFIG]: ConfigModesDescription.RUN_AND_INTERACTION_CONFIG,
|
57
|
+
[ConfigModes.RUN_CONFIG_ONLY]: ConfigModesDescription.RUN_CONFIG_ONLY,
|
58
|
+
[ConfigModes.INTERACTION_CONFIG_ONLY]: ConfigModesDescription.INTERACTION_CONFIG_ONLY,
|
59
|
+
};
|
60
|
+
//# sourceMappingURL=interaction.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../../src/interaction.ts"],"names":[],"mappings":"AAgGA,MAAM,CAAC,MAAM,sBAAsB,GAC/B,uFAAuF,CAAC;AAsB5F,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;AACzB,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B;AAED,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;AACrB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAED,MAAM,CAAN,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;IACzB,sCAAe,CAAA;AACnB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;AAED,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,kGAAqE,CAAA;IACrE,oHAAkF,CAAA;IAClF,oHAAuF,CAAA;AAC3F,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAA2D;IACzF,CAAC,mBAAmB,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC,QAAQ;IAClE,CAAC,mBAAmB,CAAC,UAAU,CAAC,EAAE,yBAAyB,CAAC,UAAU;IACtE,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,yBAAyB,CAAC,KAAK;CAC/D,CAAC;AA8PF,sEAAsE;AAEtE,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACtB,6BAAW,CAAA;IACX,6BAAW,CAAA;IACX,2BAAS,CAAA;IACT,qCAAmB,CAAA;IACnB,oCAAkB,CAAA;IAClB,mCAAiB,CAAA;AACrB,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB;AAgED,MAAM,CAAC,MAAM,qBAAqB,GAAG,4CAA4C,CAAC;AAElF,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,wEAAyD,CAAA;IACzD,kDAAmC,CAAA;IACnC,kEAAmD,CAAA;AACvD,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AAED,MAAM,CAAN,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAC9B,qJAA2H,CAAA;IAC3H,sHAA4F,CAAA;IAC5F,6FAAmE,CAAA;AACvE,CAAC,EAJW,sBAAsB,KAAtB,sBAAsB,QAIjC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAgD;IAC3E,CAAC,WAAW,CAAC,0BAA0B,CAAC,EAAE,sBAAsB,CAAC,0BAA0B;IAC3F,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,sBAAsB,CAAC,eAAe;IACrE,CAAC,WAAW,CAAC,uBAAuB,CAAC,EAAE,sBAAsB,CAAC,uBAAuB;CACxF,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export var MeterNames;
|
2
|
+
(function (MeterNames) {
|
3
|
+
MeterNames["analyzed_pages"] = "analyzed_pages";
|
4
|
+
MeterNames["extracted_tables"] = "extracted_tables";
|
5
|
+
MeterNames["analyzed_images"] = "analyzed_images";
|
6
|
+
MeterNames["input_token_used"] = "input_token_used";
|
7
|
+
MeterNames["output_token_used"] = "output_token_used";
|
8
|
+
MeterNames["task_run"] = "task_run";
|
9
|
+
})(MeterNames || (MeterNames = {}));
|
10
|
+
//# sourceMappingURL=meters.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"meters.js","sourceRoot":"","sources":["../../src/meters.ts"],"names":[],"mappings":"AAcA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,+CAAiC,CAAA;IACjC,mDAAqC,CAAA;IACrC,iDAAmC,CAAA;IACnC,mDAAqC,CAAA;IACrC,qDAAuC,CAAA;IACvC,mCAAqB,CAAA;AACzB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../src/payload.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/plugin.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export var ProjectRoles;
|
2
|
+
(function (ProjectRoles) {
|
3
|
+
ProjectRoles["owner"] = "owner";
|
4
|
+
ProjectRoles["admin"] = "admin";
|
5
|
+
ProjectRoles["project_admin"] = "project_admin";
|
6
|
+
ProjectRoles["developer"] = "developer";
|
7
|
+
ProjectRoles["application"] = "application";
|
8
|
+
ProjectRoles["executor"] = "executor";
|
9
|
+
ProjectRoles["reader"] = "reader";
|
10
|
+
ProjectRoles["billing"] = "billing";
|
11
|
+
ProjectRoles["member"] = "member";
|
12
|
+
})(ProjectRoles || (ProjectRoles = {}));
|
13
|
+
export function isRoleIncludedIn(role, includingRole) {
|
14
|
+
switch (includingRole) {
|
15
|
+
case ProjectRoles.owner:
|
16
|
+
return true; // includes billing to?
|
17
|
+
case ProjectRoles.admin:
|
18
|
+
return role !== ProjectRoles.billing && role !== ProjectRoles.owner;
|
19
|
+
case ProjectRoles.developer:
|
20
|
+
return role === ProjectRoles.developer;
|
21
|
+
case ProjectRoles.billing:
|
22
|
+
return role === ProjectRoles.billing;
|
23
|
+
default:
|
24
|
+
return false;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
export var ResourceVisibility;
|
28
|
+
(function (ResourceVisibility) {
|
29
|
+
ResourceVisibility["public"] = "public";
|
30
|
+
ResourceVisibility["account"] = "account";
|
31
|
+
ResourceVisibility["project"] = "project";
|
32
|
+
})(ResourceVisibility || (ResourceVisibility = {}));
|
33
|
+
// export interface ProjectConfigurationEmbeddings {
|
34
|
+
// environment: string;
|
35
|
+
// max_tokens: number;
|
36
|
+
// dimensions: number;
|
37
|
+
// model?: string;
|
38
|
+
// }
|
39
|
+
export var SupportedEmbeddingTypes;
|
40
|
+
(function (SupportedEmbeddingTypes) {
|
41
|
+
SupportedEmbeddingTypes["text"] = "text";
|
42
|
+
SupportedEmbeddingTypes["image"] = "image";
|
43
|
+
SupportedEmbeddingTypes["properties"] = "properties";
|
44
|
+
})(SupportedEmbeddingTypes || (SupportedEmbeddingTypes = {}));
|
45
|
+
export const ProjectRefPopulate = "id name account";
|
46
|
+
//# sourceMappingURL=project.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/project.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,YAUX;AAVD,WAAY,YAAY;IACpB,+BAAe,CAAA;IACf,+BAAe,CAAA;IACf,+CAA+B,CAAA;IAC/B,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;AACrB,CAAC,EAVW,YAAY,KAAZ,YAAY,QAUvB;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAY,EAAE,aAAqB;IAChE,QAAQ,aAAa,EAAE,CAAC;QACpB,KAAK,YAAY,CAAC,KAAK;YACnB,OAAO,IAAI,CAAC,CAAC,uBAAuB;QACxC,KAAK,YAAY,CAAC,KAAK;YACnB,OAAO,IAAI,KAAK,YAAY,CAAC,OAAO,IAAI,IAAI,KAAK,YAAY,CAAC,KAAK,CAAC;QACxE,KAAK,YAAY,CAAC,SAAS;YACvB,OAAO,IAAI,KAAK,YAAY,CAAC,SAAS,CAAC;QAC3C,KAAK,YAAY,CAAC,OAAO;YACrB,OAAO,IAAI,KAAK,YAAY,CAAC,OAAO,CAAC;QACzC;YACI,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC;AAoBD,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACvB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAqBD,oDAAoD;AACpD,2BAA2B;AAC3B,0BAA0B;AAC1B,0BAA0B;AAC1B,sBAAsB;AACtB,IAAI;AAEJ,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAC/B,wCAAa,CAAA;IACb,0CAAe,CAAA;IACf,oDAAyB,CAAA;AAC7B,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC;AAiCD,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export var PromptStatus;
|
2
|
+
(function (PromptStatus) {
|
3
|
+
PromptStatus["draft"] = "draft";
|
4
|
+
PromptStatus["published"] = "published";
|
5
|
+
PromptStatus["archived"] = "archived";
|
6
|
+
})(PromptStatus || (PromptStatus = {}));
|
7
|
+
export var PromptSegmentDefType;
|
8
|
+
(function (PromptSegmentDefType) {
|
9
|
+
PromptSegmentDefType["chat"] = "chat";
|
10
|
+
PromptSegmentDefType["template"] = "template";
|
11
|
+
})(PromptSegmentDefType || (PromptSegmentDefType = {}));
|
12
|
+
export var TemplateType;
|
13
|
+
(function (TemplateType) {
|
14
|
+
TemplateType["text"] = "text";
|
15
|
+
TemplateType["js"] = "js";
|
16
|
+
TemplateType["jst"] = "jst";
|
17
|
+
})(TemplateType || (TemplateType = {}));
|
18
|
+
//# sourceMappingURL=prompt.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/prompt.ts"],"names":[],"mappings":"AAUA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+BAAe,CAAA;IACf,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAGD,MAAM,CAAN,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACzB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B;AA2BD,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,6BAAa,CAAA;IACb,yBAAS,CAAA;IACT,2BAAW,CAAA;AACf,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB"}
|
package/lib/esm/query.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/query.ts"],"names":[],"mappings":""}
|
package/lib/esm/refs.js
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
export var ResolvableRefType;
|
2
|
+
(function (ResolvableRefType) {
|
3
|
+
ResolvableRefType["project"] = "Project";
|
4
|
+
ResolvableRefType["environment"] = "Environment";
|
5
|
+
ResolvableRefType["user"] = "User";
|
6
|
+
ResolvableRefType["account"] = "Account";
|
7
|
+
ResolvableRefType["interaction"] = "Interaction";
|
8
|
+
})(ResolvableRefType || (ResolvableRefType = {}));
|
9
|
+
//# sourceMappingURL=refs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"refs.js","sourceRoot":"","sources":["../../src/refs.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;IAC3B,kCAAa,CAAA;IACb,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;AAC/B,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B"}
|
package/lib/esm/runs.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../src/runs.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"activity-catalog.js","sourceRoot":"","sources":["../../../src/store/activity-catalog.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../src/store/agent.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/store/collections.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;AACzB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/store/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"doc-analyzer.js","sourceRoot":"","sources":["../../../src/store/doc-analyzer.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dsl-workflow.js","sourceRoot":"","sources":["../../../src/store/dsl-workflow.ts"],"names":[],"mappings":"AAyRA,MAAM,CAAC,MAAM,6BAA6B,GAAG,gDAAgD,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export * from "./activity-catalog.js";
|
2
|
+
export * from "./agent.js";
|
3
|
+
export * from "./collections.js";
|
4
|
+
export * from "./common.js";
|
5
|
+
export * from "./doc-analyzer.js";
|
6
|
+
export * from "./dsl-workflow.js";
|
7
|
+
export * from "./object-types.js";
|
8
|
+
export * from "./store.js";
|
9
|
+
export * from "./temporalio.js";
|
10
|
+
export * from "./workflow.js";
|
11
|
+
export * from "./signals.js";
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
export const RenditionSchema = {
|
2
|
+
type: "object",
|
3
|
+
description: "Represent a rendition of a file stored in an object. It will be stored as a separate object in the database.",
|
4
|
+
properties: {
|
5
|
+
mime_type: {
|
6
|
+
type: "string",
|
7
|
+
description: "The format of the rendition. This is a MIME type."
|
8
|
+
},
|
9
|
+
source_etag: {
|
10
|
+
type: "string",
|
11
|
+
description: "The ETag of the file used for the rendition.",
|
12
|
+
nullable: true
|
13
|
+
},
|
14
|
+
height: {
|
15
|
+
type: "integer",
|
16
|
+
description: "The height of the rendition",
|
17
|
+
nullable: true
|
18
|
+
},
|
19
|
+
width: {
|
20
|
+
type: "integer",
|
21
|
+
description: "The width of the rendition",
|
22
|
+
nullable: true
|
23
|
+
},
|
24
|
+
multipart: {
|
25
|
+
type: "boolean",
|
26
|
+
description: "If the rendition is a multi-part rendition",
|
27
|
+
nullable: true,
|
28
|
+
default: false
|
29
|
+
},
|
30
|
+
total_parts: {
|
31
|
+
type: "integer",
|
32
|
+
description: "The total number of parts in the rendition",
|
33
|
+
nullable: true
|
34
|
+
}
|
35
|
+
},
|
36
|
+
required: ["mime_type"],
|
37
|
+
};
|
38
|
+
export const DocumentPartSchema = {
|
39
|
+
type: "object",
|
40
|
+
description: "Represent a semantic chunk of a document",
|
41
|
+
properties: {
|
42
|
+
source_etag: {
|
43
|
+
type: "string",
|
44
|
+
description: "The ETag of the file used for the rendition.",
|
45
|
+
nullable: true
|
46
|
+
},
|
47
|
+
part_number: {
|
48
|
+
type: "integer",
|
49
|
+
description: "The part number of the chunk",
|
50
|
+
},
|
51
|
+
title: {
|
52
|
+
type: "string",
|
53
|
+
description: "The title of the chunk",
|
54
|
+
nullable: true
|
55
|
+
},
|
56
|
+
source_line_start: {
|
57
|
+
type: "integer",
|
58
|
+
description: "The line number where the chunk starts",
|
59
|
+
nullable: true
|
60
|
+
},
|
61
|
+
source_line_end: {
|
62
|
+
type: "integer",
|
63
|
+
description: "The line number where the chunk ends",
|
64
|
+
nullable: true
|
65
|
+
},
|
66
|
+
type: {
|
67
|
+
type: "string",
|
68
|
+
description: "The type of the chunk",
|
69
|
+
enum: ['text', 'image', 'table', 'chart', 'diagram', 'code', 'other'],
|
70
|
+
nullable: true
|
71
|
+
},
|
72
|
+
page_number: {
|
73
|
+
type: "integer",
|
74
|
+
description: "The page number of the document part",
|
75
|
+
nullable: true
|
76
|
+
},
|
77
|
+
description: {
|
78
|
+
type: "string",
|
79
|
+
description: "The description of the document part, if it's an image, the exhaustive description of the image",
|
80
|
+
nullable: true
|
81
|
+
},
|
82
|
+
height: {
|
83
|
+
type: "integer",
|
84
|
+
description: "The height of the rendition",
|
85
|
+
nullable: true
|
86
|
+
},
|
87
|
+
width: {
|
88
|
+
type: "integer",
|
89
|
+
description: "The width of the rendition",
|
90
|
+
nullable: true
|
91
|
+
}
|
92
|
+
},
|
93
|
+
required: ["part_number"],
|
94
|
+
};
|
95
|
+
//# sourceMappingURL=object-types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"object-types.js","sourceRoot":"","sources":["../../../src/store/object-types.ts"],"names":[],"mappings":"AAaA,MAAM,CAAC,MAAM,eAAe,GAAwC;IAEhE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,8GAA8G;IAC3H,UAAU,EAAE;QACR,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mDAAmD;SACnE;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,CAAC,WAAW,CAAC;CAC1B,CAAA;AAoBD,MAAM,CAAC,MAAM,kBAAkB,GAA2C;IACtE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,0CAA0C;IACvD,UAAU,EAAE;QACR,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;SAC9C;QACD,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,QAAQ,EAAE,IAAI;SACjB;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;SACjB;QACD,eAAe,EAAE;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC;YACrE,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iGAAiG;YAC9G,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,CAAC,aAAa,CAAC;CAC5B,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../src/store/signals.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export var ContentObjectStatus;
|
2
|
+
(function (ContentObjectStatus) {
|
3
|
+
ContentObjectStatus["created"] = "created";
|
4
|
+
ContentObjectStatus["processing"] = "processing";
|
5
|
+
ContentObjectStatus["completed"] = "completed";
|
6
|
+
ContentObjectStatus["failed"] = "failed";
|
7
|
+
ContentObjectStatus["archived"] = "archived";
|
8
|
+
})(ContentObjectStatus || (ContentObjectStatus = {}));
|
9
|
+
export var WorkflowRuleInputType;
|
10
|
+
(function (WorkflowRuleInputType) {
|
11
|
+
WorkflowRuleInputType["single"] = "single";
|
12
|
+
WorkflowRuleInputType["multiple"] = "multiple";
|
13
|
+
WorkflowRuleInputType["none"] = "none";
|
14
|
+
})(WorkflowRuleInputType || (WorkflowRuleInputType = {}));
|
15
|
+
//# sourceMappingURL=store.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/store/store.ts"],"names":[],"mappings":"AAMA,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;IACzB,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACzB,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAmQD,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,sCAAa,CAAA;AACjB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC"}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export const ParentClosePolicy = {
|
2
|
+
/**
|
3
|
+
* When the Parent is Closed, the Child is Terminated.
|
4
|
+
*
|
5
|
+
* @default
|
6
|
+
*/
|
7
|
+
TERMINATE: "TERMINATE",
|
8
|
+
/**
|
9
|
+
* When the Parent is Closed, nothing is done to the Child.
|
10
|
+
*/
|
11
|
+
ABANDON: "ABANDON",
|
12
|
+
/**
|
13
|
+
* When the Parent is Closed, the Child is Cancelled.
|
14
|
+
*/
|
15
|
+
REQUEST_CANCEL: "REQUEST_CANCEL",
|
16
|
+
/**
|
17
|
+
* If a `ParentClosePolicy` is set to this, or is not set at all, the server default value will be used.
|
18
|
+
*
|
19
|
+
* @deprecated Either leave property `undefined`, or set an explicit policy instead.
|
20
|
+
*/
|
21
|
+
PARENT_CLOSE_POLICY_UNSPECIFIED: undefined,
|
22
|
+
/**
|
23
|
+
* When the Parent is Closed, the Child is Terminated.
|
24
|
+
*
|
25
|
+
* @deprecated Use {@link ParentClosePolicy.TERMINATE} instead.
|
26
|
+
*/
|
27
|
+
PARENT_CLOSE_POLICY_TERMINATE: "TERMINATE",
|
28
|
+
/**
|
29
|
+
* When the Parent is Closed, nothing is done to the Child.
|
30
|
+
*
|
31
|
+
* @deprecated Use {@link ParentClosePolicy.ABANDON} instead.
|
32
|
+
*/
|
33
|
+
PARENT_CLOSE_POLICY_ABANDON: "ABANDON",
|
34
|
+
/**
|
35
|
+
* When the Parent is Closed, the Child is Cancelled.
|
36
|
+
*
|
37
|
+
* @deprecated Use {@link ParentClosePolicy.REQUEST_CANCEL} instead.
|
38
|
+
*/
|
39
|
+
PARENT_CLOSE_POLICY_REQUEST_CANCEL: "REQUEST_CANCEL"
|
40
|
+
};
|
41
|
+
//# sourceMappingURL=temporalio.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"temporalio.js","sourceRoot":"","sources":["../../../src/store/temporalio.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B;;;;OAIG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;OAIG;IACH,+BAA+B,EAAE,SAAS;IAC1C;;;;OAIG;IACH,6BAA6B,EAAE,WAAW;IAC1C;;;;OAIG;IACH,2BAA2B,EAAE,SAAS;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,gBAAgB;CACjC,CAAC"}
|