@wordpress/data-controls 4.41.0 → 4.41.1-next.v.202603161435.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/build-types/index.d.ts +18 -3
- package/build-types/index.d.ts.map +1 -1
- package/package.json +5 -5
package/build-types/index.d.ts
CHANGED
|
@@ -31,7 +31,12 @@ export declare function apiFetch(request: APIFetchOptions): {
|
|
|
31
31
|
* @param selectorName The selector name.
|
|
32
32
|
* @param args Arguments passed without change to the `@wordpress/data` control.
|
|
33
33
|
*/
|
|
34
|
-
export declare function select(storeNameOrDescriptor: string | StoreDescriptor, selectorName: string, ...args: any[]):
|
|
34
|
+
export declare function select(storeNameOrDescriptor: string | StoreDescriptor, selectorName: string, ...args: any[]): {
|
|
35
|
+
type: string;
|
|
36
|
+
storeKey: string;
|
|
37
|
+
selectorName: string;
|
|
38
|
+
args: any[];
|
|
39
|
+
};
|
|
35
40
|
/**
|
|
36
41
|
* Control for calling a selector in a registered data store.
|
|
37
42
|
* Alias for the `select` built-in control in the `@wordpress/data` package.
|
|
@@ -40,7 +45,12 @@ export declare function select(storeNameOrDescriptor: string | StoreDescriptor,
|
|
|
40
45
|
* @param selectorName The selector name.
|
|
41
46
|
* @param args Arguments passed without change to the `@wordpress/data` control.
|
|
42
47
|
*/
|
|
43
|
-
export declare function syncSelect(storeNameOrDescriptor: string | StoreDescriptor, selectorName: string, ...args: any[]):
|
|
48
|
+
export declare function syncSelect(storeNameOrDescriptor: string | StoreDescriptor, selectorName: string, ...args: any[]): {
|
|
49
|
+
type: string;
|
|
50
|
+
storeKey: string;
|
|
51
|
+
selectorName: string;
|
|
52
|
+
args: unknown[];
|
|
53
|
+
};
|
|
44
54
|
/**
|
|
45
55
|
* Control for dispatching an action in a registered data store.
|
|
46
56
|
* Alias for the `dispatch` control in the `@wordpress/data` package.
|
|
@@ -49,7 +59,12 @@ export declare function syncSelect(storeNameOrDescriptor: string | StoreDescript
|
|
|
49
59
|
* @param actionName The action name.
|
|
50
60
|
* @param args Arguments passed without change to the `@wordpress/data` control.
|
|
51
61
|
*/
|
|
52
|
-
export declare function dispatch(storeNameOrDescriptor: string | StoreDescriptor, actionName: string, ...args: any[]):
|
|
62
|
+
export declare function dispatch(storeNameOrDescriptor: string | StoreDescriptor, actionName: string, ...args: any[]): {
|
|
63
|
+
type: string;
|
|
64
|
+
storeKey: string;
|
|
65
|
+
actionName: string;
|
|
66
|
+
args: unknown[];
|
|
67
|
+
};
|
|
53
68
|
/**
|
|
54
69
|
* Dispatches a control action for awaiting on a promise to be resolved.
|
|
55
70
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAE,OAAO,EAAE,eAAe;;;EAKjD;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACrB,qBAAqB,EAAE,MAAM,GAAG,eAAe,EAC/C,YAAY,EAAE,MAAM,EACpB,GAAG,IAAI,EAAE,GAAG,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAE,OAAO,EAAE,eAAe;;;EAKjD;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACrB,qBAAqB,EAAE,MAAM,GAAG,eAAe,EAC/C,YAAY,EAAE,MAAM,EACpB,GAAG,IAAI,EAAE,GAAG,EAAE;;;;;EAYd;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACzB,qBAAqB,EAAE,MAAM,GAAG,eAAe,EAC/C,YAAY,EAAE,MAAM,EACpB,GAAG,IAAI,EAAE,GAAG,EAAE;;;;;EAQd;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CACvB,qBAAqB,EAAE,MAAM,GAAG,eAAe,EAC/C,UAAU,EAAE,MAAM,EAClB,GAAG,IAAI,EAAE,GAAG,EAAE;;;;;EAQd;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,GAAc,CAAC,EAAI,SAAS,OAAO,CAAE,CAAC,CAAE;;;CAK1E,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,QAAQ;kBACL,CAAC,eAAiB;QAAE,OAAO,EAAE,OAAO,CAAE,CAAC,CAAE,CAAA;KAAE;2BAGlC;QAAE,OAAO,EAAE,eAAe,CAAA;KAAE;CAGpD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/data-controls",
|
|
3
|
-
"version": "4.41.0",
|
|
3
|
+
"version": "4.41.1-next.v.202603161435.0+ab4981c4f",
|
|
4
4
|
"description": "A set of common controls for the @wordpress/data api.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"wpScript": true,
|
|
45
45
|
"types": "build-types",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@wordpress/api-fetch": "^7.41.0",
|
|
48
|
-
"@wordpress/data": "^10.41.0",
|
|
49
|
-
"@wordpress/deprecated": "^4.41.0"
|
|
47
|
+
"@wordpress/api-fetch": "^7.41.1-next.v.202603161435.0+ab4981c4f",
|
|
48
|
+
"@wordpress/data": "^10.41.1-next.v.202603161435.0+ab4981c4f",
|
|
49
|
+
"@wordpress/deprecated": "^4.41.1-next.v.202603161435.0+ab4981c4f"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": "^18.0.0"
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "748f4e4564fcc0e6ae90200d90bb993a3cef5828"
|
|
58
58
|
}
|