@sanity/workflow-studio-plugin 0.29.0 → 0.30.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/CHANGELOG.md +79 -0
- package/README.md +13 -13
- package/dist/_chunks-cjs/index.cjs +267 -234
- package/dist/_chunks-cjs/workflows-tool-root.cjs +4355 -3525
- package/dist/_chunks-es/index.js +251 -186
- package/dist/_chunks-es/workflows-tool-root.js +4461 -3631
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/package.json +13 -12
package/dist/index.d.cts
CHANGED
|
@@ -90,8 +90,22 @@ export declare interface WorkflowPluginConfig {
|
|
|
90
90
|
* stable (module scope or memoized).
|
|
91
91
|
*/
|
|
92
92
|
readonly resourceClients?: ResourceClientResolver;
|
|
93
|
+
/**
|
|
94
|
+
* Tuning for the Workflows tool's progressive run hydration — page size,
|
|
95
|
+
* and a development-only pause between pages for watching the hydration
|
|
96
|
+
* land. Defaults suit production; set these in a dev harness to simulate
|
|
97
|
+
* small pages and slow reads.
|
|
98
|
+
*/
|
|
99
|
+
readonly previewHydration?: {
|
|
100
|
+
readonly interPageDelayMs?: number;
|
|
101
|
+
readonly pageSize?: number;
|
|
102
|
+
};
|
|
93
103
|
}
|
|
94
104
|
|
|
105
|
+
/**
|
|
106
|
+
* The workflow Studio plugin entry, wiring the engine into Studio: layout
|
|
107
|
+
* provider, form strip, footer badges, document view, and the Workflows tool.
|
|
108
|
+
*/
|
|
95
109
|
export declare const workflowStudioPlugin: Plugin_2<WorkflowPluginConfig>;
|
|
96
110
|
|
|
97
111
|
/** The Workflows view for one document — append it to any `views([...])`. */
|
package/dist/index.d.ts
CHANGED
|
@@ -90,8 +90,22 @@ export declare interface WorkflowPluginConfig {
|
|
|
90
90
|
* stable (module scope or memoized).
|
|
91
91
|
*/
|
|
92
92
|
readonly resourceClients?: ResourceClientResolver;
|
|
93
|
+
/**
|
|
94
|
+
* Tuning for the Workflows tool's progressive run hydration — page size,
|
|
95
|
+
* and a development-only pause between pages for watching the hydration
|
|
96
|
+
* land. Defaults suit production; set these in a dev harness to simulate
|
|
97
|
+
* small pages and slow reads.
|
|
98
|
+
*/
|
|
99
|
+
readonly previewHydration?: {
|
|
100
|
+
readonly interPageDelayMs?: number;
|
|
101
|
+
readonly pageSize?: number;
|
|
102
|
+
};
|
|
93
103
|
}
|
|
94
104
|
|
|
105
|
+
/**
|
|
106
|
+
* The workflow Studio plugin entry, wiring the engine into Studio: layout
|
|
107
|
+
* provider, form strip, footer badges, document view, and the Workflows tool.
|
|
108
|
+
*/
|
|
95
109
|
export declare const workflowStudioPlugin: Plugin_2<WorkflowPluginConfig>;
|
|
96
110
|
|
|
97
111
|
/** The Workflows view for one document — append it to any `views([...])`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/workflow-studio-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Sanity Studio plugin for @sanity/workflow-engine: the form strip, a Workflows document view, stage badges, and the document-action lock.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@sanity/types": "^6",
|
|
49
49
|
"@sanity/ui": "^3.3.0",
|
|
50
50
|
"@sanity/util": "^6.3.0",
|
|
51
|
+
"@tanstack/react-virtual": "^3.14.6",
|
|
51
52
|
"date-fns": "^4.4.0",
|
|
52
53
|
"motion": "^12.43.0",
|
|
53
54
|
"pluralize-esm": "^9.0.5",
|
|
@@ -66,12 +67,12 @@
|
|
|
66
67
|
"sanity": "^6",
|
|
67
68
|
"styled-components": "^6.4.2",
|
|
68
69
|
"vitest": "^4.1.8",
|
|
69
|
-
"@sanity/workflow-components": "0.
|
|
70
|
-
"@sanity/workflow-
|
|
71
|
-
"@sanity/workflow-
|
|
72
|
-
"@sanity/workflow-
|
|
73
|
-
"@sanity/workflow-
|
|
74
|
-
"@sanity/workflow-studio": "0.
|
|
70
|
+
"@sanity/workflow-components": "0.30.0",
|
|
71
|
+
"@sanity/workflow-engine": "0.30.0",
|
|
72
|
+
"@sanity/workflow-diagram": "0.30.0",
|
|
73
|
+
"@sanity/workflow-engine-test": "0.30.0",
|
|
74
|
+
"@sanity/workflow-react": "0.30.0",
|
|
75
|
+
"@sanity/workflow-studio": "0.30.0"
|
|
75
76
|
},
|
|
76
77
|
"peerDependencies": {
|
|
77
78
|
"@sanity/sdk": "^2.12.0",
|
|
@@ -79,11 +80,11 @@
|
|
|
79
80
|
"react-dom": "^19.2.7",
|
|
80
81
|
"sanity": "^6.3.0",
|
|
81
82
|
"styled-components": "^6.4.2",
|
|
82
|
-
"@sanity/workflow-
|
|
83
|
-
"@sanity/workflow-
|
|
84
|
-
"@sanity/workflow-
|
|
85
|
-
"@sanity/workflow-
|
|
86
|
-
"@sanity/workflow-
|
|
83
|
+
"@sanity/workflow-diagram": "0.30.0",
|
|
84
|
+
"@sanity/workflow-react": "0.30.0",
|
|
85
|
+
"@sanity/workflow-studio": "0.30.0",
|
|
86
|
+
"@sanity/workflow-components": "0.30.0",
|
|
87
|
+
"@sanity/workflow-engine": "0.30.0"
|
|
87
88
|
},
|
|
88
89
|
"engines": {
|
|
89
90
|
"node": ">=20"
|