@vertigis/viewer-spec 53.5.1 → 53.7.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/messaging/registry/arcade.d.ts +7 -0
- package/messaging/registry/workflow.d.ts +6 -0
- package/messaging/registry/workflow.js +1 -1
- package/messaging/schema/mobile-action.schema.json +9 -0
- package/messaging/schema/web-action.schema.json +4 -0
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -33,6 +33,13 @@ export interface RunArcadeArgs extends HasMaps, HasLayers, HasFeatures {
|
|
|
33
33
|
* referenced at runtime.
|
|
34
34
|
*/
|
|
35
35
|
arguments?: Record<string, unknown | ItemPropertyPath>;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to pass the operation context object into the script.
|
|
38
|
+
* If included, the context object uses the variable name $context.
|
|
39
|
+
*
|
|
40
|
+
* @webOnly
|
|
41
|
+
*/
|
|
42
|
+
includeContext?: boolean;
|
|
36
43
|
/**
|
|
37
44
|
* Properties used to set a series of watch handles and/or event listeners
|
|
38
45
|
* on an item that will trigger the canExecuteChanged event for the
|
|
@@ -126,6 +126,12 @@ export declare class WorkflowCommands extends CommandRegistry {
|
|
|
126
126
|
* @mobileOnly
|
|
127
127
|
*/
|
|
128
128
|
get cancel(): Command<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Cancels all running workflows.
|
|
131
|
+
*
|
|
132
|
+
* @mobileOnly
|
|
133
|
+
*/
|
|
134
|
+
get cancelAll(): Command;
|
|
129
135
|
}
|
|
130
136
|
export declare class WorkflowOperations extends OperationRegistry {
|
|
131
137
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as r}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class WorkflowCommands extends e{get run(){return this._messages.command("workflow.run")}get refresh(){return this._messages.command("workflow.refresh")}get cancel(){return this._messages.command("workflow.cancel")}}export class WorkflowOperations extends s{get evaluate(){return this._messages.operation("workflow.evaluate")}}export class WorkflowEvents extends r{get workflowStarted(){return this._messages.event("workflow.workflow-started")}get starting(){return this._messages.event("workflow.starting")}get workflowFinished(){return this._messages.event("workflow.workflow-finished")}get workflowError(){return this._messages.event("workflow.workflow-error")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as r}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class WorkflowCommands extends e{get run(){return this._messages.command("workflow.run")}get refresh(){return this._messages.command("workflow.refresh")}get cancel(){return this._messages.command("workflow.cancel")}get cancelAll(){return this._messages.command("workflow.cancel-all")}}export class WorkflowOperations extends s{get evaluate(){return this._messages.operation("workflow.evaluate")}}export class WorkflowEvents extends r{get workflowStarted(){return this._messages.event("workflow.workflow-started")}get starting(){return this._messages.event("workflow.starting")}get workflowFinished(){return this._messages.event("workflow.workflow-finished")}get workflowError(){return this._messages.event("workflow.workflow-error")}}
|
|
@@ -17866,6 +17866,9 @@
|
|
|
17866
17866
|
{
|
|
17867
17867
|
"$ref": "#/definitions/workflow.cancel"
|
|
17868
17868
|
},
|
|
17869
|
+
{
|
|
17870
|
+
"$ref": "#/definitions/workflow.cancel-all"
|
|
17871
|
+
},
|
|
17869
17872
|
{
|
|
17870
17873
|
"$ref": "#/definitions/workflow.evaluate"
|
|
17871
17874
|
},
|
|
@@ -18804,6 +18807,12 @@
|
|
|
18804
18807
|
"workflow.cancel"
|
|
18805
18808
|
]
|
|
18806
18809
|
},
|
|
18810
|
+
"workflow.cancel-all": {
|
|
18811
|
+
"description": "Cancels all running workflows.",
|
|
18812
|
+
"enum": [
|
|
18813
|
+
"workflow.cancel-all"
|
|
18814
|
+
]
|
|
18815
|
+
},
|
|
18807
18816
|
"workflow.cancel:input": {
|
|
18808
18817
|
"type": "string"
|
|
18809
18818
|
},
|
|
@@ -5196,6 +5196,10 @@
|
|
|
5196
5196
|
"$ref": "#/definitions/FeaturesLike",
|
|
5197
5197
|
"description": "Features to use for the command/operation."
|
|
5198
5198
|
},
|
|
5199
|
+
"includeContext": {
|
|
5200
|
+
"description": "Whether to pass the operation context object into the script. If included, the context object uses the variable name $context.",
|
|
5201
|
+
"type": "boolean"
|
|
5202
|
+
},
|
|
5199
5203
|
"layers": {
|
|
5200
5204
|
"$ref": "#/definitions/LayersLike",
|
|
5201
5205
|
"description": "Layer(s) to use for the command/operation."
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED