@stonecrop/stonecrop 0.26.0 → 0.28.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.
|
@@ -99,9 +99,9 @@ export interface UseClientActionOptions {
|
|
|
99
99
|
* Build the opaque argument array handed to `DataClient.runAction`.
|
|
100
100
|
*
|
|
101
101
|
* The default is `[{ id, data }]`, omitting `id` entirely for a draft — the envelope every
|
|
102
|
-
* in-repo server handler destructures. Supply this when your backend expects another shape
|
|
103
|
-
*
|
|
104
|
-
*
|
|
102
|
+
* in-repo server handler destructures. Supply this when your backend expects another shape —
|
|
103
|
+
* positional `[recordId, data]`, for instance. Nothing validates the array, so both ends of
|
|
104
|
+
* your own stack have to agree on it.
|
|
105
105
|
*
|
|
106
106
|
* Whatever you return is sent verbatim. It does not affect how the *result* is stored — that
|
|
107
107
|
* is keyed off the returned record's declared identity, not off what was sent.
|
package/dist/stonecrop.d.ts
CHANGED
|
@@ -2271,9 +2271,9 @@ export declare interface UseClientActionOptions {
|
|
|
2271
2271
|
* Build the opaque argument array handed to `DataClient.runAction`.
|
|
2272
2272
|
*
|
|
2273
2273
|
* The default is `[{ id, data }]`, omitting `id` entirely for a draft — the envelope every
|
|
2274
|
-
* in-repo server handler destructures. Supply this when your backend expects another shape
|
|
2275
|
-
*
|
|
2276
|
-
*
|
|
2274
|
+
* in-repo server handler destructures. Supply this when your backend expects another shape —
|
|
2275
|
+
* positional `[recordId, data]`, for instance. Nothing validates the array, so both ends of
|
|
2276
|
+
* your own stack have to agree on it.
|
|
2277
2277
|
*
|
|
2278
2278
|
* Whatever you return is sent verbatim. It does not affect how the *result* is stored — that
|
|
2279
2279
|
* is keyed off the returned record's declared identity, not off what was sent.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/stonecrop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "Schema-driven framework with XState workflows and HST state management",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/agritheory/stonecrop/issues"
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"immutable": "^5.1.4",
|
|
35
35
|
"pinia-shared-state": "^1.0.1",
|
|
36
36
|
"xstate": "^5.25.0",
|
|
37
|
-
"@stonecrop/aform": "0.
|
|
38
|
-
"@stonecrop/atable": "0.
|
|
39
|
-
"@stonecrop/schema": "0.
|
|
37
|
+
"@stonecrop/aform": "0.28.0",
|
|
38
|
+
"@stonecrop/atable": "0.28.0",
|
|
39
|
+
"@stonecrop/schema": "0.28.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@microsoft/api-documenter": "^7.30.5",
|
|
@@ -100,9 +100,9 @@ export interface UseClientActionOptions {
|
|
|
100
100
|
* Build the opaque argument array handed to `DataClient.runAction`.
|
|
101
101
|
*
|
|
102
102
|
* The default is `[{ id, data }]`, omitting `id` entirely for a draft — the envelope every
|
|
103
|
-
* in-repo server handler destructures. Supply this when your backend expects another shape
|
|
104
|
-
*
|
|
105
|
-
*
|
|
103
|
+
* in-repo server handler destructures. Supply this when your backend expects another shape —
|
|
104
|
+
* positional `[recordId, data]`, for instance. Nothing validates the array, so both ends of
|
|
105
|
+
* your own stack have to agree on it.
|
|
106
106
|
*
|
|
107
107
|
* Whatever you return is sent verbatim. It does not affect how the *result* is stored — that
|
|
108
108
|
* is keyed off the returned record's declared identity, not off what was sent.
|