@spiffcommerce/core 0.10.51 → 0.10.52
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/main.js +4 -4
- package/dist/module.js +2 -2
- package/dist/types.d.ts +18 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -24,10 +24,28 @@ declare class GraphQlManager {
|
|
|
24
24
|
getShadowGraphqlClient(): ApolloClient<any>;
|
|
25
25
|
}
|
|
26
26
|
export const graphQlManager: GraphQlManager;
|
|
27
|
+
/**
|
|
28
|
+
* Information parsed froma workflow structure that is relevant
|
|
29
|
+
* to a given scene.
|
|
30
|
+
*/
|
|
27
31
|
export interface WorkflowScene {
|
|
32
|
+
/**
|
|
33
|
+
* A unique identifier for the scene.
|
|
34
|
+
*/
|
|
28
35
|
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* A human-readable title for the scene.
|
|
38
|
+
*/
|
|
29
39
|
title: string;
|
|
40
|
+
/**
|
|
41
|
+
* Steps which can display to the user.
|
|
42
|
+
* But may be conditionally hidden based on workflow logic
|
|
43
|
+
*/
|
|
30
44
|
renderableSteps: _Step1<_AnyStepData1>[];
|
|
45
|
+
/**
|
|
46
|
+
* Steps which don't display to the user.
|
|
47
|
+
* Their behavior is always silent & executed in the background.
|
|
48
|
+
*/
|
|
31
49
|
silentSteps: _Step1<_AnyStepData1>[];
|
|
32
50
|
}
|
|
33
51
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spiffcommerce/core",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.52",
|
|
4
4
|
"description": "Core client API for interacting with the Spiff Commerce backend.",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@apollo/client": "^3.7.0",
|
|
83
|
-
"@spiffcommerce/papyrus": "^1.5.
|
|
83
|
+
"@spiffcommerce/papyrus": "^1.5.19",
|
|
84
84
|
"canvg": "https://github.com/spiffdev/canvg.git#03bcd151b12441e88ecb552bb658356f5bbe92c4",
|
|
85
85
|
"cross-fetch": "^3.1.5",
|
|
86
86
|
"graphql": "^16.6.0",
|