@wordpress/core-data 7.42.0 → 7.43.2-next.v.202604091042.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 +9 -1
- package/build/entities.cjs +28 -20
- package/build/entities.cjs.map +2 -2
- package/build/hooks/index.cjs +3 -3
- package/build/hooks/index.cjs.map +1 -1
- package/build/hooks/use-entity-record.cjs +4 -4
- package/build/hooks/use-entity-record.cjs.map +2 -2
- package/build/hooks/use-entity-records.cjs +3 -3
- package/build/hooks/use-entity-records.cjs.map +2 -2
- package/build/hooks/use-query-select.cjs +2 -2
- package/build/hooks/use-query-select.cjs.map +2 -2
- package/build/hooks/use-resource-permissions.cjs +4 -4
- package/build/hooks/use-resource-permissions.cjs.map +2 -2
- package/build/private-actions.cjs +10 -0
- package/build/private-actions.cjs.map +2 -2
- package/build/private-selectors.cjs +20 -3
- package/build/private-selectors.cjs.map +2 -2
- package/build/queried-data/get-query-parts.cjs +8 -7
- package/build/queried-data/get-query-parts.cjs.map +2 -2
- package/build/queried-data/reducer.cjs +15 -9
- package/build/queried-data/reducer.cjs.map +2 -2
- package/build/queried-data/selectors.cjs +23 -22
- package/build/queried-data/selectors.cjs.map +2 -2
- package/build/reducer.cjs +16 -3
- package/build/reducer.cjs.map +2 -2
- package/build/resolvers.cjs +22 -14
- package/build/resolvers.cjs.map +2 -2
- package/build/selectors.cjs +20 -10
- package/build/selectors.cjs.map +2 -2
- package/build/utils/crdt-blocks.cjs +170 -31
- package/build/utils/crdt-blocks.cjs.map +2 -2
- package/build/utils/crdt-text.cjs +52 -0
- package/build/utils/crdt-text.cjs.map +7 -0
- package/build/utils/crdt.cjs +13 -0
- package/build/utils/crdt.cjs.map +2 -2
- package/build/utils/index.cjs +0 -3
- package/build/utils/index.cjs.map +2 -2
- package/build-module/entities.mjs +29 -20
- package/build-module/entities.mjs.map +2 -2
- package/build-module/hooks/index.mjs +6 -6
- package/build-module/hooks/index.mjs.map +2 -2
- package/build-module/hooks/use-entity-record.mjs +3 -3
- package/build-module/hooks/use-entity-record.mjs.map +2 -2
- package/build-module/hooks/use-entity-records.mjs +2 -2
- package/build-module/hooks/use-entity-records.mjs.map +2 -2
- package/build-module/hooks/use-query-select.mjs +1 -1
- package/build-module/hooks/use-query-select.mjs.map +1 -1
- package/build-module/hooks/use-resource-permissions.mjs +3 -3
- package/build-module/hooks/use-resource-permissions.mjs.map +2 -2
- package/build-module/private-actions.mjs +9 -0
- package/build-module/private-actions.mjs.map +2 -2
- package/build-module/private-selectors.mjs +19 -3
- package/build-module/private-selectors.mjs.map +2 -2
- package/build-module/queried-data/get-query-parts.mjs +8 -7
- package/build-module/queried-data/get-query-parts.mjs.map +2 -2
- package/build-module/queried-data/reducer.mjs +15 -9
- package/build-module/queried-data/reducer.mjs.map +2 -2
- package/build-module/queried-data/selectors.mjs +23 -22
- package/build-module/queried-data/selectors.mjs.map +2 -2
- package/build-module/reducer.mjs +14 -2
- package/build-module/reducer.mjs.map +2 -2
- package/build-module/resolvers.mjs +20 -13
- package/build-module/resolvers.mjs.map +2 -2
- package/build-module/selectors.mjs +20 -11
- package/build-module/selectors.mjs.map +2 -2
- package/build-module/utils/crdt-blocks.mjs +169 -31
- package/build-module/utils/crdt-blocks.mjs.map +2 -2
- package/build-module/utils/crdt-text.mjs +26 -0
- package/build-module/utils/crdt-text.mjs.map +7 -0
- package/build-module/utils/crdt.mjs +13 -0
- package/build-module/utils/crdt.mjs.map +2 -2
- package/build-module/utils/index.mjs +8 -10
- package/build-module/utils/index.mjs.map +2 -2
- package/build-types/entities.d.ts +51 -32
- package/build-types/entities.d.ts.map +1 -1
- package/build-types/hooks/index.d.ts +3 -3
- package/build-types/hooks/index.d.ts.map +1 -1
- package/build-types/hooks/use-entity-record.d.ts +1 -1
- package/build-types/hooks/use-entity-record.d.ts.map +1 -1
- package/build-types/hooks/use-entity-records.d.ts +1 -1
- package/build-types/hooks/use-entity-records.d.ts.map +1 -1
- package/build-types/hooks/use-resource-permissions.d.ts +1 -1
- package/build-types/hooks/use-resource-permissions.d.ts.map +1 -1
- package/build-types/index.d.ts.map +1 -1
- package/build-types/private-actions.d.ts +10 -0
- package/build-types/private-actions.d.ts.map +1 -1
- package/build-types/private-selectors.d.ts +11 -4
- package/build-types/private-selectors.d.ts.map +1 -1
- package/build-types/queried-data/get-query-parts.d.ts +11 -19
- package/build-types/queried-data/get-query-parts.d.ts.map +1 -1
- package/build-types/queried-data/reducer.d.ts +11 -5
- package/build-types/queried-data/reducer.d.ts.map +1 -1
- package/build-types/queried-data/selectors.d.ts +5 -3
- package/build-types/queried-data/selectors.d.ts.map +1 -1
- package/build-types/reducer.d.ts +11 -0
- package/build-types/reducer.d.ts.map +1 -1
- package/build-types/resolvers.d.ts +3 -0
- package/build-types/resolvers.d.ts.map +1 -1
- package/build-types/selectors.d.ts +1 -0
- package/build-types/selectors.d.ts.map +1 -1
- package/build-types/utils/crdt-blocks.d.ts +11 -0
- package/build-types/utils/crdt-blocks.d.ts.map +1 -1
- package/build-types/utils/crdt-text.d.ts +16 -0
- package/build-types/utils/crdt-text.d.ts.map +1 -0
- package/build-types/utils/crdt.d.ts +7 -0
- package/build-types/utils/crdt.d.ts.map +1 -1
- package/build-types/utils/index.d.ts +0 -1
- package/package.json +18 -18
- package/src/entities.js +16 -8
- package/src/hooks/index.ts +3 -3
- package/src/hooks/test/use-entity-records.js +1 -1
- package/src/hooks/use-entity-record.ts +1 -1
- package/src/hooks/use-entity-records.ts +1 -1
- package/src/hooks/use-query-select.ts +1 -1
- package/src/hooks/use-resource-permissions.ts +1 -1
- package/src/private-actions.js +18 -0
- package/src/private-selectors.ts +37 -4
- package/src/queried-data/get-query-parts.js +14 -20
- package/src/queried-data/reducer.js +28 -15
- package/src/queried-data/selectors.js +34 -38
- package/src/queried-data/test/get-query-parts.js +11 -11
- package/src/queried-data/test/reducer.js +78 -8
- package/src/queried-data/test/selectors.js +52 -30
- package/src/reducer.js +20 -0
- package/src/resolvers.js +29 -13
- package/src/selectors.ts +28 -21
- package/src/utils/crdt-blocks.ts +348 -60
- package/src/utils/crdt-text.ts +43 -0
- package/src/utils/crdt.ts +25 -0
- package/src/utils/index.js +0 -1
- package/src/utils/test/crdt-blocks.ts +838 -6
- package/src/utils/test/crdt.ts +147 -1
- package/build/hooks/memoize.cjs +0 -38
- package/build/hooks/memoize.cjs.map +0 -7
- package/build/utils/is-raw-attribute.cjs +0 -29
- package/build/utils/is-raw-attribute.cjs.map +0 -7
- package/build-module/hooks/memoize.mjs +0 -7
- package/build-module/hooks/memoize.mjs.map +0 -7
- package/build-module/utils/is-raw-attribute.mjs +0 -8
- package/build-module/utils/is-raw-attribute.mjs.map +0 -7
- package/build-types/hooks/memoize.d.ts +0 -3
- package/build-types/hooks/memoize.d.ts.map +0 -1
- package/build-types/utils/is-raw-attribute.d.ts +0 -10
- package/build-types/utils/is-raw-attribute.d.ts.map +0 -1
- package/src/hooks/memoize.js +0 -7
- package/src/utils/is-raw-attribute.js +0 -11
- package/src/utils/test/is-raw-attribute.js +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const DEFAULT_ENTITY_KEY: "id";
|
|
2
2
|
export const rootEntitiesConfig: ({
|
|
3
|
-
label: import("@wordpress/i18n").
|
|
3
|
+
label: import("@wordpress/i18n").TransformedText<"Base">;
|
|
4
4
|
kind: string;
|
|
5
5
|
key: boolean;
|
|
6
6
|
name: string;
|
|
@@ -10,13 +10,14 @@ export const rootEntitiesConfig: ({
|
|
|
10
10
|
context?: undefined;
|
|
11
11
|
};
|
|
12
12
|
plural: string;
|
|
13
|
+
supportsPagination: boolean;
|
|
13
14
|
rawAttributes?: undefined;
|
|
14
|
-
supportsPagination?: undefined;
|
|
15
15
|
transientEdits?: undefined;
|
|
16
16
|
getTitle?: undefined;
|
|
17
|
+
syncConfig?: undefined;
|
|
17
18
|
getRevisionsUrl?: undefined;
|
|
18
19
|
} | {
|
|
19
|
-
label: import("@wordpress/i18n").
|
|
20
|
+
label: import("@wordpress/i18n").TransformedText<"Post Type">;
|
|
20
21
|
name: string;
|
|
21
22
|
kind: string;
|
|
22
23
|
key: string;
|
|
@@ -26,10 +27,11 @@ export const rootEntitiesConfig: ({
|
|
|
26
27
|
_fields?: undefined;
|
|
27
28
|
};
|
|
28
29
|
plural: string;
|
|
30
|
+
supportsPagination: boolean;
|
|
29
31
|
rawAttributes?: undefined;
|
|
30
|
-
supportsPagination?: undefined;
|
|
31
32
|
transientEdits?: undefined;
|
|
32
33
|
getTitle?: undefined;
|
|
34
|
+
syncConfig?: undefined;
|
|
33
35
|
getRevisionsUrl?: undefined;
|
|
34
36
|
} | {
|
|
35
37
|
name: string;
|
|
@@ -40,12 +42,13 @@ export const rootEntitiesConfig: ({
|
|
|
40
42
|
_fields?: undefined;
|
|
41
43
|
};
|
|
42
44
|
plural: string;
|
|
43
|
-
label: import("@wordpress/i18n").
|
|
45
|
+
label: import("@wordpress/i18n").TransformedText<"Media">;
|
|
44
46
|
rawAttributes: string[];
|
|
45
47
|
supportsPagination: boolean;
|
|
46
48
|
key?: undefined;
|
|
47
49
|
transientEdits?: undefined;
|
|
48
50
|
getTitle?: undefined;
|
|
51
|
+
syncConfig?: undefined;
|
|
49
52
|
getRevisionsUrl?: undefined;
|
|
50
53
|
} | {
|
|
51
54
|
name: string;
|
|
@@ -57,11 +60,12 @@ export const rootEntitiesConfig: ({
|
|
|
57
60
|
_fields?: undefined;
|
|
58
61
|
};
|
|
59
62
|
plural: string;
|
|
60
|
-
label: import("@wordpress/i18n").
|
|
63
|
+
label: import("@wordpress/i18n").TransformedText<"Taxonomy">;
|
|
64
|
+
supportsPagination: boolean;
|
|
61
65
|
rawAttributes?: undefined;
|
|
62
|
-
supportsPagination?: undefined;
|
|
63
66
|
transientEdits?: undefined;
|
|
64
67
|
getTitle?: undefined;
|
|
68
|
+
syncConfig?: undefined;
|
|
65
69
|
getRevisionsUrl?: undefined;
|
|
66
70
|
} | {
|
|
67
71
|
name: string;
|
|
@@ -75,11 +79,12 @@ export const rootEntitiesConfig: ({
|
|
|
75
79
|
transientEdits: {
|
|
76
80
|
blocks: boolean;
|
|
77
81
|
};
|
|
78
|
-
label: import("@wordpress/i18n").
|
|
82
|
+
label: import("@wordpress/i18n").TransformedText<"Widget areas">;
|
|
83
|
+
supportsPagination: boolean;
|
|
79
84
|
key?: undefined;
|
|
80
85
|
rawAttributes?: undefined;
|
|
81
|
-
supportsPagination?: undefined;
|
|
82
86
|
getTitle?: undefined;
|
|
87
|
+
syncConfig?: undefined;
|
|
83
88
|
getRevisionsUrl?: undefined;
|
|
84
89
|
} | {
|
|
85
90
|
name: string;
|
|
@@ -93,11 +98,12 @@ export const rootEntitiesConfig: ({
|
|
|
93
98
|
transientEdits: {
|
|
94
99
|
blocks: boolean;
|
|
95
100
|
};
|
|
96
|
-
label: import("@wordpress/i18n").
|
|
101
|
+
label: import("@wordpress/i18n").TransformedText<"Widgets">;
|
|
102
|
+
supportsPagination: boolean;
|
|
97
103
|
key?: undefined;
|
|
98
104
|
rawAttributes?: undefined;
|
|
99
|
-
supportsPagination?: undefined;
|
|
100
105
|
getTitle?: undefined;
|
|
106
|
+
syncConfig?: undefined;
|
|
101
107
|
getRevisionsUrl?: undefined;
|
|
102
108
|
} | {
|
|
103
109
|
name: string;
|
|
@@ -108,15 +114,16 @@ export const rootEntitiesConfig: ({
|
|
|
108
114
|
_fields?: undefined;
|
|
109
115
|
};
|
|
110
116
|
plural: string;
|
|
111
|
-
label: import("@wordpress/i18n").
|
|
117
|
+
label: import("@wordpress/i18n").TransformedText<"Widget types">;
|
|
118
|
+
supportsPagination: boolean;
|
|
112
119
|
key?: undefined;
|
|
113
120
|
rawAttributes?: undefined;
|
|
114
|
-
supportsPagination?: undefined;
|
|
115
121
|
transientEdits?: undefined;
|
|
116
122
|
getTitle?: undefined;
|
|
123
|
+
syncConfig?: undefined;
|
|
117
124
|
getRevisionsUrl?: undefined;
|
|
118
125
|
} | {
|
|
119
|
-
label: import("@wordpress/i18n").
|
|
126
|
+
label: import("@wordpress/i18n").TransformedText<"User">;
|
|
120
127
|
name: string;
|
|
121
128
|
kind: string;
|
|
122
129
|
baseURL: string;
|
|
@@ -130,6 +137,7 @@ export const rootEntitiesConfig: ({
|
|
|
130
137
|
key?: undefined;
|
|
131
138
|
rawAttributes?: undefined;
|
|
132
139
|
transientEdits?: undefined;
|
|
140
|
+
syncConfig?: undefined;
|
|
133
141
|
getRevisionsUrl?: undefined;
|
|
134
142
|
} | {
|
|
135
143
|
name: string;
|
|
@@ -140,8 +148,9 @@ export const rootEntitiesConfig: ({
|
|
|
140
148
|
_fields?: undefined;
|
|
141
149
|
};
|
|
142
150
|
plural: string;
|
|
143
|
-
label: import("@wordpress/i18n").
|
|
151
|
+
label: import("@wordpress/i18n").TransformedText<"Comment">;
|
|
144
152
|
supportsPagination: boolean;
|
|
153
|
+
syncConfig: import("@wordpress/sync").SyncConfig;
|
|
145
154
|
key?: undefined;
|
|
146
155
|
rawAttributes?: undefined;
|
|
147
156
|
transientEdits?: undefined;
|
|
@@ -156,12 +165,13 @@ export const rootEntitiesConfig: ({
|
|
|
156
165
|
_fields?: undefined;
|
|
157
166
|
};
|
|
158
167
|
plural: string;
|
|
159
|
-
label: import("@wordpress/i18n").
|
|
168
|
+
label: import("@wordpress/i18n").TransformedText<"Menu">;
|
|
160
169
|
supportsPagination: boolean;
|
|
161
170
|
key?: undefined;
|
|
162
171
|
rawAttributes?: undefined;
|
|
163
172
|
transientEdits?: undefined;
|
|
164
173
|
getTitle?: undefined;
|
|
174
|
+
syncConfig?: undefined;
|
|
165
175
|
getRevisionsUrl?: undefined;
|
|
166
176
|
} | {
|
|
167
177
|
name: string;
|
|
@@ -172,12 +182,13 @@ export const rootEntitiesConfig: ({
|
|
|
172
182
|
_fields?: undefined;
|
|
173
183
|
};
|
|
174
184
|
plural: string;
|
|
175
|
-
label: import("@wordpress/i18n").
|
|
185
|
+
label: import("@wordpress/i18n").TransformedText<"Menu Item">;
|
|
176
186
|
rawAttributes: string[];
|
|
177
187
|
supportsPagination: boolean;
|
|
178
188
|
key?: undefined;
|
|
179
189
|
transientEdits?: undefined;
|
|
180
190
|
getTitle?: undefined;
|
|
191
|
+
syncConfig?: undefined;
|
|
181
192
|
getRevisionsUrl?: undefined;
|
|
182
193
|
} | {
|
|
183
194
|
name: string;
|
|
@@ -188,15 +199,16 @@ export const rootEntitiesConfig: ({
|
|
|
188
199
|
_fields?: undefined;
|
|
189
200
|
};
|
|
190
201
|
plural: string;
|
|
191
|
-
label: import("@wordpress/i18n").
|
|
202
|
+
label: import("@wordpress/i18n").TransformedText<"Menu Location">;
|
|
192
203
|
key: string;
|
|
204
|
+
supportsPagination: boolean;
|
|
193
205
|
rawAttributes?: undefined;
|
|
194
|
-
supportsPagination?: undefined;
|
|
195
206
|
transientEdits?: undefined;
|
|
196
207
|
getTitle?: undefined;
|
|
208
|
+
syncConfig?: undefined;
|
|
197
209
|
getRevisionsUrl?: undefined;
|
|
198
210
|
} | {
|
|
199
|
-
label: import("@wordpress/i18n").
|
|
211
|
+
label: import("@wordpress/i18n").TransformedText<"Global Styles">;
|
|
200
212
|
name: string;
|
|
201
213
|
kind: string;
|
|
202
214
|
baseURL: string;
|
|
@@ -205,14 +217,15 @@ export const rootEntitiesConfig: ({
|
|
|
205
217
|
_fields?: undefined;
|
|
206
218
|
};
|
|
207
219
|
plural: string;
|
|
208
|
-
getTitle: () => import("@wordpress/i18n").
|
|
220
|
+
getTitle: () => import("@wordpress/i18n").TransformedText<"Custom Styles">;
|
|
209
221
|
getRevisionsUrl: (parentId: any, revisionId: any) => string;
|
|
210
222
|
supportsPagination: boolean;
|
|
211
223
|
key?: undefined;
|
|
212
224
|
rawAttributes?: undefined;
|
|
213
225
|
transientEdits?: undefined;
|
|
226
|
+
syncConfig?: undefined;
|
|
214
227
|
} | {
|
|
215
|
-
label: import("@wordpress/i18n").
|
|
228
|
+
label: import("@wordpress/i18n").TransformedText<"Themes">;
|
|
216
229
|
name: string;
|
|
217
230
|
kind: string;
|
|
218
231
|
baseURL: string;
|
|
@@ -222,13 +235,14 @@ export const rootEntitiesConfig: ({
|
|
|
222
235
|
};
|
|
223
236
|
plural: string;
|
|
224
237
|
key: string;
|
|
238
|
+
supportsPagination: boolean;
|
|
225
239
|
rawAttributes?: undefined;
|
|
226
|
-
supportsPagination?: undefined;
|
|
227
240
|
transientEdits?: undefined;
|
|
228
241
|
getTitle?: undefined;
|
|
242
|
+
syncConfig?: undefined;
|
|
229
243
|
getRevisionsUrl?: undefined;
|
|
230
244
|
} | {
|
|
231
|
-
label: import("@wordpress/i18n").
|
|
245
|
+
label: import("@wordpress/i18n").TransformedText<"Plugins">;
|
|
232
246
|
name: string;
|
|
233
247
|
kind: string;
|
|
234
248
|
baseURL: string;
|
|
@@ -238,13 +252,14 @@ export const rootEntitiesConfig: ({
|
|
|
238
252
|
};
|
|
239
253
|
plural: string;
|
|
240
254
|
key: string;
|
|
255
|
+
supportsPagination: boolean;
|
|
241
256
|
rawAttributes?: undefined;
|
|
242
|
-
supportsPagination?: undefined;
|
|
243
257
|
transientEdits?: undefined;
|
|
244
258
|
getTitle?: undefined;
|
|
259
|
+
syncConfig?: undefined;
|
|
245
260
|
getRevisionsUrl?: undefined;
|
|
246
261
|
} | {
|
|
247
|
-
label: import("@wordpress/i18n").
|
|
262
|
+
label: import("@wordpress/i18n").TransformedText<"Status">;
|
|
248
263
|
name: string;
|
|
249
264
|
kind: string;
|
|
250
265
|
baseURL: string;
|
|
@@ -254,26 +269,28 @@ export const rootEntitiesConfig: ({
|
|
|
254
269
|
};
|
|
255
270
|
plural: string;
|
|
256
271
|
key: string;
|
|
272
|
+
supportsPagination: boolean;
|
|
257
273
|
rawAttributes?: undefined;
|
|
258
|
-
supportsPagination?: undefined;
|
|
259
274
|
transientEdits?: undefined;
|
|
260
275
|
getTitle?: undefined;
|
|
276
|
+
syncConfig?: undefined;
|
|
261
277
|
getRevisionsUrl?: undefined;
|
|
262
278
|
} | {
|
|
263
|
-
label: import("@wordpress/i18n").
|
|
279
|
+
label: import("@wordpress/i18n").TransformedText<"Registered Templates">;
|
|
264
280
|
name: string;
|
|
265
281
|
kind: string;
|
|
266
282
|
baseURL: string;
|
|
267
283
|
key: string;
|
|
284
|
+
supportsPagination: boolean;
|
|
268
285
|
baseURLParams?: undefined;
|
|
269
286
|
plural?: undefined;
|
|
270
287
|
rawAttributes?: undefined;
|
|
271
|
-
supportsPagination?: undefined;
|
|
272
288
|
transientEdits?: undefined;
|
|
273
289
|
getTitle?: undefined;
|
|
290
|
+
syncConfig?: undefined;
|
|
274
291
|
getRevisionsUrl?: undefined;
|
|
275
292
|
} | {
|
|
276
|
-
label: import("@wordpress/i18n").
|
|
293
|
+
label: import("@wordpress/i18n").TransformedText<"Font Collections">;
|
|
277
294
|
name: string;
|
|
278
295
|
kind: string;
|
|
279
296
|
baseURL: string;
|
|
@@ -287,9 +304,10 @@ export const rootEntitiesConfig: ({
|
|
|
287
304
|
rawAttributes?: undefined;
|
|
288
305
|
transientEdits?: undefined;
|
|
289
306
|
getTitle?: undefined;
|
|
307
|
+
syncConfig?: undefined;
|
|
290
308
|
getRevisionsUrl?: undefined;
|
|
291
309
|
} | {
|
|
292
|
-
label: import("@wordpress/i18n").
|
|
310
|
+
label: import("@wordpress/i18n").TransformedText<"Icons">;
|
|
293
311
|
name: string;
|
|
294
312
|
kind: string;
|
|
295
313
|
baseURL: string;
|
|
@@ -299,10 +317,11 @@ export const rootEntitiesConfig: ({
|
|
|
299
317
|
};
|
|
300
318
|
plural: string;
|
|
301
319
|
key: string;
|
|
320
|
+
supportsPagination: boolean;
|
|
302
321
|
rawAttributes?: undefined;
|
|
303
|
-
supportsPagination?: undefined;
|
|
304
322
|
transientEdits?: undefined;
|
|
305
323
|
getTitle?: undefined;
|
|
324
|
+
syncConfig?: undefined;
|
|
306
325
|
getRevisionsUrl?: undefined;
|
|
307
326
|
})[];
|
|
308
327
|
export namespace deprecatedEntities {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.js"],"names":[],"mappings":"AAyBA,iCAAkC,IAAI,CAAC;AAYvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwNE;;;;;;;;;;;;AAcF;;;;;;;;;;KASE;AAWK,2EAJI,MAAM,cACN,OAAO,GACN,OAAO,KAAU,CA6C5B;AA2NM,oCANI,MAAM,QACN,MAAM,WACN,MAAM,GAEL,MAAM,CAMjB;AA7ND;;;;GAIG;AACH,sDAmIC;AA6BD;;;;GAIG;AACH,gDA2BC"}
|
|
@@ -6,9 +6,9 @@ import type { WithPermissions } from './use-entity-records';
|
|
|
6
6
|
* Utility type that adds permissions to any record type.
|
|
7
7
|
*/
|
|
8
8
|
export type { WithPermissions };
|
|
9
|
-
export { default as useEntityRecord, __experimentalUseEntityRecord, } from './use-entity-record';
|
|
10
|
-
export { default as useEntityRecords, __experimentalUseEntityRecords, } from './use-entity-records';
|
|
11
|
-
export { default as useResourcePermissions, __experimentalUseResourcePermissions, } from './use-resource-permissions';
|
|
9
|
+
export { default as useEntityRecord, useDeprecatedEntityRecord as __experimentalUseEntityRecord, } from './use-entity-record';
|
|
10
|
+
export { default as useEntityRecords, useDeprecatedEntityRecords as __experimentalUseEntityRecords, } from './use-entity-records';
|
|
11
|
+
export { default as useResourcePermissions, useDeprecatedResourcePermissions as __experimentalUseResourcePermissions, } from './use-resource-permissions';
|
|
12
12
|
export { default as useEntityBlockEditor } from './use-entity-block-editor';
|
|
13
13
|
export { default as useEntityId } from './use-entity-id';
|
|
14
14
|
export { default as useEntityProp } from './use-entity-prop';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,OAAO,EACN,OAAO,IAAI,eAAe,EAC1B,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,OAAO,EACN,OAAO,IAAI,eAAe,EAC1B,yBAAyB,IAAI,6BAA6B,GAC1D,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,OAAO,IAAI,gBAAgB,EAC3B,0BAA0B,IAAI,8BAA8B,GAC5D,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,OAAO,IAAI,sBAAsB,EACjC,gCAAgC,IAAI,oCAAoC,GACxE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -123,5 +123,5 @@ export interface Options {
|
|
|
123
123
|
* @template RecordType
|
|
124
124
|
*/
|
|
125
125
|
export default function useEntityRecord<RecordType>(kind: string, name: string, recordId: string | number, options?: Options): EntityRecordResolution<RecordType>;
|
|
126
|
-
export declare function
|
|
126
|
+
export declare function useDeprecatedEntityRecord(kind: string, name: string, recordId: any, options: any): EntityRecordResolution<unknown>;
|
|
127
127
|
//# sourceMappingURL=use-entity-record.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-entity-record.d.ts","sourceRoot":"","sources":["../../src/hooks/use-entity-record.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,sBAAsB,CAAE,UAAU;IAClD,kCAAkC;IAClC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAE1B,+BAA+B;IAC/B,YAAY,EAAE,OAAO,CAAE,UAAU,CAAE,CAAC;IAEpC,4CAA4C;IAC5C,KAAK,EAAE,OAAO,CAAE,UAAU,CAAE,CAAC;IAE7B,iEAAiE;IACjE,IAAI,EAAE,CAAE,IAAI,EAAE,OAAO,CAAE,UAAU,CAAE,KAAM,IAAI,CAAC;IAE9C,sCAAsC;IACtC,IAAI,EAAE,MAAM,OAAO,CAAE,IAAI,CAAE,CAAC;IAE5B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,OAAO;IACvB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CACjB;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,UAAU,EAClD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE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I,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,GAAG,EACb,OAAO,EAAE,GAAG,mCAOZ"}
|
|
@@ -73,7 +73,7 @@ interface EntityRecordsWithPermissionsResolution<RecordType> extends Omit<Entity
|
|
|
73
73
|
* @template RecordType
|
|
74
74
|
*/
|
|
75
75
|
export default function useEntityRecords<RecordType>(kind: string, name: string, queryArgs?: Record<string, unknown>, options?: Options): EntityRecordsResolution<RecordType>;
|
|
76
|
-
export declare function
|
|
76
|
+
export declare function useDeprecatedEntityRecords(kind: string, name: string, queryArgs: any, options: any): EntityRecordsResolution<unknown>;
|
|
77
77
|
export declare function useEntityRecordsWithPermissions<RecordType>(kind: string, name: string, queryArgs?: Record<string, unknown>, options?: Options): EntityRecordsWithPermissionsResolution<RecordType>;
|
|
78
78
|
export {};
|
|
79
79
|
//# sourceMappingURL=use-entity-records.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-entity-records.d.ts","sourceRoot":"","sources":["../../src/hooks/use-entity-records.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,UAAU,uBAAuB,CAAE,UAAU;IAC5C,mCAAmC;IACnC,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAE7B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,MAAM,eAAe,CAAE,UAAU,IAAK,UAAU,GAAG;IACxD,WAAW,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;Q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;AAEF,UAAU,sCAAsC,CAAE,UAAU,CAC3D,SAAQ,IAAI,CAAE,uBAAuB,CAAE,UAAU,CAAE,EAAE,SAAS,CAAE;IAChE,oDAAoD;IACpD,OAAO,EAAE,eAAe,CAAE,UAAU,CAAE,EAAE,GAAG,IAAI,CAAC;CAChD;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAE,UAAU,EACnD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,SAAS,GAAE,MAAM,CAAE,MAAM,EAAE,OAAO,CAAO,EACzC,OAAO,GAAE,OAA2B,GAClC,uBAAuB,CAAE,UAAU,CAAE,CAkDvC;AAED,wBAAgB,0BAA0B,CACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,GAAG,EACd,OAAO,EAAE,GAAG,oCAOZ;AAED,wBAAgB,+BAA+B,CAAE,UAAU,EAC1D,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,SAAS,GAAE,MAAM,CAAE,MAAM,EAAE,OAAO,CAAO,EACzC,OAAO,GAAE,OAA2B,GAClC,sCAAsC,CAAE,UAAU,CAAE,CAwDtD"}
|
|
@@ -33,5 +33,5 @@ type EntityResource = {
|
|
|
33
33
|
declare function useResourcePermissions<IdType = void>(resource: string, id?: IdType): ResourcePermissionsResolution<IdType>;
|
|
34
34
|
declare function useResourcePermissions<IdType = void>(resource: EntityResource, id?: never): ResourcePermissionsResolution<IdType>;
|
|
35
35
|
export default useResourcePermissions;
|
|
36
|
-
export declare function
|
|
36
|
+
export declare function useDeprecatedResourcePermissions(resource: string, id?: unknown): ResourcePermissionsResolution<unknown>;
|
|
37
37
|
//# sourceMappingURL=use-resource-permissions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-resource-permissions.d.ts","sourceRoot":"","sources":["../../src/hooks/use-resource-permissions.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,UAAU,mCAAmC;IAC5C,8DAA8D;IAC9D,SAAS,EAAE,OAAO,CAAC;CACnB;AACD,UAAU,qCAAqC;IAC9C,0DAA0D;IAC1D,SAAS,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,SAAS,EAAE,OAAO,CAAC;CACnB;AACD,UAAU,iBAAiB;IAC1B,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,KAAK,WAAW,GAAG,OAAO,CAAC;AAE3B,KAAK,6BAA6B,CAAE,MAAM,IAAK;IAC9C,WAAW;IACX,iBAAiB,GAChB,mCAAmC,GACnC,CAAE,MAAM,SAAS,IAAI,GAAG,qCAAqC,GAAG,EAAE,CAAE;CACrE,CAAC;AAEF,KAAK,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE3E,iBAAS,sBAAsB,CAAE,MAAM,GAAG,IAAI,EAC7C,QAAQ,EAAE,MAAM,EAChB,EAAE,CAAC,EAAE,MAAM,GACT,6BAA6B,CAAE,MAAM,CAAE,CAAC;AAE3C,iBAAS,sBAAsB,CAAE,MAAM,GAAG,IAAI,EAC7C,QAAQ,EAAE,cAAc,EACxB,EAAE,CAAC,EAAE,KAAK,GACR,6BAA6B,CAAE,MAAM,CAAE,CAAC;AA2J3C,eAAe,sBAAsB,CAAC;AAEtC,wBAAgB,
|
|
1
|
+
{"version":3,"file":"use-resource-permissions.d.ts","sourceRoot":"","sources":["../../src/hooks/use-resource-permissions.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,UAAU,mCAAmC;IAC5C,8DAA8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BAAmrN,eAAS;6BAAgtC,YAAK,EAAC,YAAK,EAAC,aAAS,EAAC,yBAAQ,MAAc;;;;KAAoC;6CAAslC,YAAK,EAAC,YAAK,EAAC,yBAAS,EAAC,kBAAY,EAAC,YAAQ,MAAc;;;;KAAoC;uBAAgzJ,YAAK,EAAC,YAAK,EAAC,0BAAU,EAAC,oBAAQ,EAAC,iBAAM,EAAC,6CAAwB,EAAC,gBAAK,MAAc;;;KAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAtlU,sBAAc,EAAC,YAAc,EAAC,YAAc,EAAC,oCAA4B;iCAAu9B,sBAAc,EAAC,YAAc,EAAC,YAAc,EAAC,oCAA4B;;;;;;;;;;;;;;;;;;;;mBAA4oqB,sBAAc,EAAC,YAAc,EAAC,YAAc,EAAC,0BAA4B,EAAC,qCAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IApBz9pC;;;;;;;;;;;2BAzHxC,aAAa"}
|
|
@@ -24,6 +24,16 @@ export function receiveEditorSettings(settings: any): any;
|
|
|
24
24
|
* @return {Object} Action object.
|
|
25
25
|
*/
|
|
26
26
|
export function receiveEditorAssets(assets: any): any;
|
|
27
|
+
/**
|
|
28
|
+
* Returns an action object used to receive view config.
|
|
29
|
+
*
|
|
30
|
+
* @param {string} kind Entity kind.
|
|
31
|
+
* @param {string} name Entity name.
|
|
32
|
+
* @param {Object} config View config object.
|
|
33
|
+
*
|
|
34
|
+
* @return {Object} Action object.
|
|
35
|
+
*/
|
|
36
|
+
export function receiveViewConfig(kind: string, name: string, config: any): any;
|
|
27
37
|
export function editMediaEntity(recordId: string, edits?: Edits, { __unstableFetch, throwOnError }?: {
|
|
28
38
|
__unstableFetch: Function;
|
|
29
39
|
throwOnError: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../src/private-actions.js"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,oDALW,MAAM,gCAWhB;AA8GD;;;;;;GAMG;AACH,0DAKC;AAED;;;;;;GAMG;AACH,sDAKC;
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../src/private-actions.js"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,oDALW,MAAM,gCAWhB;AA8GD;;;;;;GAMG;AACH,0DAKC;AAED;;;;;;GAMG;AACH,sDAKC;AAeD;;;;;;;;GAQG;AACH,wCANW,MAAM,QACN,MAAM,oBAYhB;AA9IM,0CARI,MAAM,UACN,KAAK,sCAEb;IAA0B,eAAe;IACf,YAAY,EAA9B,OAAO;CAEf,gBAqFD;AAqCK,qDAJI,OAAO,OAQhB"}
|
|
@@ -71,10 +71,7 @@ export declare function getEntityRecordPermissions(state: State, kind: string, n
|
|
|
71
71
|
*/
|
|
72
72
|
export declare function getRegisteredPostMeta(state: State, postType: string): Object;
|
|
73
73
|
export declare const getHomePage: {
|
|
74
|
-
(): {
|
|
75
|
-
postType: string;
|
|
76
|
-
postId: any;
|
|
77
|
-
} | null;
|
|
74
|
+
(): {} | null;
|
|
78
75
|
isRegistrySelector?: boolean;
|
|
79
76
|
registry?: any;
|
|
80
77
|
};
|
|
@@ -109,5 +106,15 @@ export declare function getEditorAssets(state: State): Record<string, any> | nul
|
|
|
109
106
|
* @return Whether collaboration is supported.
|
|
110
107
|
*/
|
|
111
108
|
export declare function isCollaborationSupported(state: State): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Returns the view configuration for the given entity type.
|
|
111
|
+
*
|
|
112
|
+
* @param state Data state.
|
|
113
|
+
* @param kind Entity kind.
|
|
114
|
+
* @param name Entity name.
|
|
115
|
+
*
|
|
116
|
+
* @return The view configuration or undefined if not loaded.
|
|
117
|
+
*/
|
|
118
|
+
export declare function getViewConfig(state: State, kind: string, name: string): Record<string, any> | undefined;
|
|
112
119
|
export {};
|
|
113
120
|
//# sourceMappingURL=private-selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../src/private-selectors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,EAAyC,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAMhF,KAAK,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../src/private-selectors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,EAAyC,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAMhF,KAAK,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC;AAIvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,cAAc,CAAE,KAAK,EAAE,KAAK,6FAG3C;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACtC,KAAK,EAAE,KAAK,GACV,eAAe,GAAG,SAAS,CAE7B;AAED,eAAO,MAAM,2BAA2B;;;;CAcvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;CAwBvC,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACzC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM;;;EAIV;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAEpE;AAqBD,eAAO,MAAM,WAAW;;;;CA8CvB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;CAQxB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;CAmFzB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,KAAK,GACV,MAAM,CAAE,MAAM,EAAE,GAAG,CAAE,GAAG,IAAI,CAE9B;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,KAAK,GAAI,MAAM,CAAE,MAAM,EAAE,GAAG,CAAE,GAAG,IAAI,CAE5E;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAE,KAAK,EAAE,KAAK,GAAI,OAAO,CAEhE;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC5B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACV,MAAM,CAAE,MAAM,EAAE,GAAG,CAAE,GAAG,SAAS,CASnC"}
|
|
@@ -5,15 +5,11 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @property {number} page The query page (1-based index, default 1).
|
|
7
7
|
* @property {number} perPage Items per page for query (default 10).
|
|
8
|
-
* @property {number}
|
|
9
|
-
*
|
|
10
|
-
* @property {string}
|
|
11
|
-
*
|
|
12
|
-
* @property {
|
|
13
|
-
* item objects.
|
|
14
|
-
* @property {?(number[])} include Specific item IDs to include.
|
|
15
|
-
* @property {string} context Scope under which the request is made;
|
|
16
|
-
* determines returned fields in response.
|
|
8
|
+
* @property {?number} offset Absolute item offset (default null).
|
|
9
|
+
* @property {string} stableKey An encoded stable string of all non-pagination, non-fields query parameters.
|
|
10
|
+
* @property {?(string[])} fields Target subset of fields to derive from item objects (default null).
|
|
11
|
+
* @property {?(number[])} include Specific item IDs to include (default null).
|
|
12
|
+
* @property {string} context Scope under which the request is made; determines returned fields in response.
|
|
17
13
|
*/
|
|
18
14
|
/**
|
|
19
15
|
* Given a query object, returns an object of parts, including pagination
|
|
@@ -40,27 +36,23 @@ export type WPQueriedDataQueryParts = {
|
|
|
40
36
|
*/
|
|
41
37
|
perPage: number;
|
|
42
38
|
/**
|
|
43
|
-
* Absolute item offset (default
|
|
44
|
-
* When present, also encoded into stableKey.
|
|
39
|
+
* Absolute item offset (default null).
|
|
45
40
|
*/
|
|
46
|
-
offset: number;
|
|
41
|
+
offset: number | null;
|
|
47
42
|
/**
|
|
48
|
-
* An encoded stable string of all non-
|
|
49
|
-
* pagination, non-fields query parameters.
|
|
43
|
+
* An encoded stable string of all non-pagination, non-fields query parameters.
|
|
50
44
|
*/
|
|
51
45
|
stableKey: string;
|
|
52
46
|
/**
|
|
53
|
-
* Target subset of fields to derive from
|
|
54
|
-
* item objects.
|
|
47
|
+
* Target subset of fields to derive from item objects (default null).
|
|
55
48
|
*/
|
|
56
49
|
fields: (string[]) | null;
|
|
57
50
|
/**
|
|
58
|
-
* Specific item IDs to include.
|
|
51
|
+
* Specific item IDs to include (default null).
|
|
59
52
|
*/
|
|
60
53
|
include: (number[]) | null;
|
|
61
54
|
/**
|
|
62
|
-
* Scope under which the request is made;
|
|
63
|
-
* determines returned fields in response.
|
|
55
|
+
* Scope under which the request is made; determines returned fields in response.
|
|
64
56
|
*/
|
|
65
57
|
context: string;
|
|
66
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-query-parts.d.ts","sourceRoot":"","sources":["../../src/queried-data/get-query-parts.js"],"names":[],"mappings":"AAUA
|
|
1
|
+
{"version":3,"file":"get-query-parts.d.ts","sourceRoot":"","sources":["../../src/queried-data/get-query-parts.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AAEH;;;;;;;;GAQG;AACH,2CAFY,uBAAuB,CAkFlC;;;;;;;;;;UAlGa,MAAM;;;;aACN,MAAM;;;;YACL,MAAM,OAAA;;;;eACP,MAAM;;;;YACL,CAAC,MAAM,EAAE,CAAC,OAAA;;;;aACV,CAAC,MAAM,EAAE,CAAC,OAAA;;;;aACX,MAAM"}
|
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
* Returns a merged array of item IDs, given details of the received paginated
|
|
3
3
|
* items. The array is sparse-like with `undefined` entries where holes exist.
|
|
4
4
|
*
|
|
5
|
-
* @param {
|
|
6
|
-
* @param {number[]}
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {number}
|
|
5
|
+
* @param {number[]|undefined} itemIds Original item IDs (default empty array).
|
|
6
|
+
* @param {number[]} nextItemIds Item IDs to merge.
|
|
7
|
+
* @param {Object} options Options object.
|
|
8
|
+
* @param {number} [options.page] Page of items merged.
|
|
9
|
+
* @param {number} [options.offset] Offset of items merged.
|
|
10
|
+
* @param {number} options.perPage Number of items per page.
|
|
9
11
|
*
|
|
10
12
|
* @return {number[]} Merged array of item IDs.
|
|
11
13
|
*/
|
|
12
|
-
export function getMergedItemIds(itemIds:
|
|
14
|
+
export function getMergedItemIds(itemIds: number[] | undefined, nextItemIds: number[], { page, offset, perPage }?: {
|
|
15
|
+
page?: number | undefined;
|
|
16
|
+
offset?: number | undefined;
|
|
17
|
+
perPage: number;
|
|
18
|
+
}): number[];
|
|
13
19
|
/**
|
|
14
20
|
* Reducer tracking items state, keyed by ID. Items are assumed to be normal,
|
|
15
21
|
* where identifiers are common across all queries.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/queried-data/reducer.js"],"names":[],"mappings":"AA4BA
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/queried-data/reducer.js"],"names":[],"mappings":"AA4BA;;;;;;;;;;;;GAYG;AACH,0CATW,MAAM,EAAE,GAAC,SAAS,eAClB,MAAM,EAAE,8BAEhB;IAAqC,IAAI;IACJ,MAAM;IACP,OAAO,EAAnC,MAAM;CAEd,GAAS,MAAM,EAAE,CAuCnB;AAyBD;;;;;;;;GAQG;AACH,oDAiCC;AAED;;;;;;;;;;;GAWG;AACH;;;;;;;;EA8CC"}
|
|
@@ -8,10 +8,12 @@ export function getQueriedTotalPages(state: any, query?: {}): any;
|
|
|
8
8
|
*
|
|
9
9
|
* `getQueriedItems( state, {} ) !== getQueriedItems( state, {} )`
|
|
10
10
|
*
|
|
11
|
-
* @param {Object} state
|
|
12
|
-
* @param {?Object} query
|
|
11
|
+
* @param {Object} state State object.
|
|
12
|
+
* @param {?Object} query Optional query.
|
|
13
|
+
* @param {?Object} options Optional pagination options.
|
|
14
|
+
* @param {boolean} options.supportsPagination Whether the entity supports pagination. Default true.
|
|
13
15
|
*
|
|
14
16
|
* @return {?Array} Query items.
|
|
15
17
|
*/
|
|
16
|
-
export const getQueriedItems: ((state: any, query?: any) => any) & import("rememo").EnhancedSelector;
|
|
18
|
+
export const getQueriedItems: ((state: any, query?: any, options?: any) => any) & import("rememo").EnhancedSelector;
|
|
17
19
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/queried-data/selectors.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/queried-data/selectors.js"],"names":[],"mappings":"AAoJA,kEAIC;AAED,kEAIC;AA5CD;;;;;;;;;;;;;;GAcG;AACH,oHAiBE"}
|
package/build-types/reducer.d.ts
CHANGED
|
@@ -167,6 +167,15 @@ export function syncConnectionStatuses(state: any, action: any): any;
|
|
|
167
167
|
* @return {boolean} Updated state.
|
|
168
168
|
*/
|
|
169
169
|
export function collaborationSupported(state: boolean | undefined, action: any): boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Reducer managing view configs, keyed by `kind/name`.
|
|
172
|
+
*
|
|
173
|
+
* @param {Object} state Current state.
|
|
174
|
+
* @param {Object} action Dispatched action.
|
|
175
|
+
*
|
|
176
|
+
* @return {Object} Updated state.
|
|
177
|
+
*/
|
|
178
|
+
export function viewConfigs(state: any, action: any): any;
|
|
170
179
|
export function entities(state: any, action: any): any;
|
|
171
180
|
declare const _default: import("redux").Reducer<{
|
|
172
181
|
users: any;
|
|
@@ -192,6 +201,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
192
201
|
editorAssets: any;
|
|
193
202
|
syncConnectionStatuses: any;
|
|
194
203
|
collaborationSupported: boolean;
|
|
204
|
+
viewConfigs: any;
|
|
195
205
|
}, any, Partial<{
|
|
196
206
|
users: any;
|
|
197
207
|
currentTheme: string | undefined;
|
|
@@ -216,6 +226,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
216
226
|
editorAssets: any;
|
|
217
227
|
syncConnectionStatuses: any;
|
|
218
228
|
collaborationSupported: boolean | undefined;
|
|
229
|
+
viewConfigs: any;
|
|
219
230
|
}>>;
|
|
220
231
|
export default _default;
|
|
221
232
|
export type AnyFunction = import("./types").AnyFunction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../src/reducer.js"],"names":[],"mappings":"AAoBA,2DAA2D;AAE3D;;;;;;;GAOG;AACH,oDAuBC;AAED;;;;;;;GAOG;AACH,0DAOC;AAED;;;;;;;GAOG;AACH,oCALW,MAAM,GAAC,SAAS,gBAGf,MAAM,GAAC,SAAS,CAS3B;AAED;;;;;;;GAOG;AACH,6CALW,MAAM,GAAC,SAAS,gBAGf,MAAM,GAAC,SAAS,CAS3B;AAED;;;;;;;GAOG;AACH,6CALW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,4BAGrB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYjC;AAED;;;;;;;GAOG;AACH,kDALW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,4BAGrB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYjC;AAoND;;;;;;;GAOG;AACH,6DAOC;AAoFD;;GAEG;AACH,oJAEC;AAED,uEAQC;AAED;;;;;;;GAOG;AACH,4DAUC;AAED;;;;;;;;GAQG;AACH,8DAeC;AAED;;;;;;;GAOG;AACH,wDAYC;AAED,0EAOC;AAED,mFAOC;AAED,kFAMC;AAED,gFAOC;AAED;;;;;;;GAOG;AACH,iDALW,MAAM,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AAE,MAAM,CAAC,CAYjC;AAED;;;;;;;GAOG;AACH,wCALW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,4BAGrB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYjC;AAED;;;;;;;GAOG;AACH,iEASC;AAED;;;;;;;GAOG;AACH,6DAMC;AAED;;;;;;;GAOG;AACH,2DAMC;AAED;;;;;;;;GAQG;AACH,qEAgBC;AAED;;;;;;;;;;;GAWG;AACH,8CALW,OAAO,4BAGN,OAAO,CAkBlB;AAED;;;;;;;GAOG;AACH,0DASC;AAvWM,uDAwEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAjba,OAAO,SAAS,EAAE,WAAW"}
|
|
@@ -131,4 +131,7 @@ export function getEditorSettings(): ({ dispatch }: {
|
|
|
131
131
|
export function getEditorAssets(): ({ dispatch }: {
|
|
132
132
|
dispatch: any;
|
|
133
133
|
}) => Promise<void>;
|
|
134
|
+
export function getViewConfig(kind: string, name: string): ({ dispatch }: {
|
|
135
|
+
dispatch: any;
|
|
136
|
+
}) => Promise<void>;
|
|
134
137
|
//# sourceMappingURL=resolvers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../src/resolvers.js"],"names":[],"mappings":"AAqCO,kCAHI,MAAO,SAAS,IAKlB;;CAAY,mBAOnB;AAKK,mCAEE;;CAAY,mBAGnB;AAYK,sCAPI,MAAM,QACN,MAAM,OACN,MAAM,GAAC,MAAM,qBACb,MAAO,SAAS,IAMlB;;;;;CAA6C,mBAoOpD;;IAIF,kEAcC;;AAED;;GAEG;AACH,0CAAuE;AAEvE;;GAEG;AACH,6CAA0E;AAUnE,uCALI,MAAM,QACN,MAAM,UACN,UAAO,IAKT;;;;CAAqC,mBAqP5C;;IAEF,kEAOC;;AAED;;GAEG;AACH,kDAAgF;AAEhF;;GAEG;AACH,kDAAgF;AAKzE,oCAEE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AM,MAAO,MAEZ,MAAM,OAAA,IAIT;;;;CAAqC,mBAiF5C;AAUK,8CAJI,MAAM,QACN,MAAM,YACN,MAAM,GAAC,MAAM,IAIf;;CAAY,mBAEnB;AAQK,uCAHI,MAAM,UACN,MAAM,IAIR;;;CAA2B,mBAiBlC;AAWK,sCAHI,MAAM,UACN,MAAM,IAIR;;CAAiB,mBAExB;AAEK,2DAEE;;;CAA2B,mBAqBlC;AAEK,kEAEE;;;CAA2B,mBAUlC;AAEK,wEAEE;;;CAA2B,mBAUlC;AAKK,yDAEE;;;CAA2B,mBA6BlC;;IAEF,gDAOC;;AAEM,qCAEE;;CAAY,mBAGnB;AAEK,8CAEE;;CAAY,mBAKnB;AAEK,6CAEE;;;CAA2B,mBAsBlC;AAEK,4CAEE;;;;CAA8B,mBAwCrC;AAEK,mDAEE;;;;CAAqC,mBAgC5C;;IAEF,gDAMC;;AAYM,mCAPI,MAAM,QACN,MAAM,aACN,MAAM,GAAC,MAAM,UACb,MAAO,SAAS,IAMlB;;;;CAAqC,mBA8G5C;;IAGF,sFAK8B;;AAavB,kCARI,MAAM,QACN,MAAM,aACN,MAAM,GAAC,MAAM,eACb,MAAM,GAAC,MAAM,SACb,MAAO,SAAS,IAMlB;;;;CAAmC,mBAwE1C;AAOK,gDAFI,MAAM,IAIR;;;CAA2B,mBAsBlC;AAOK,wCAFI,MAAM,IAIR;;CAAY,mBAmBnB;AAKK,sCAEE;;CAAY,mBAKnB;AAKK,oCAEE;;CAAY,mBAKnB;AAQK,oCAHI,MAAM,QACN,MAAM,IAIR;;CAAY,mBAKnB"}
|
|
@@ -26,6 +26,7 @@ export interface State {
|
|
|
26
26
|
editorAssets: Record<string, any> | null;
|
|
27
27
|
syncConnectionStatuses?: Record<string, ConnectionStatus>;
|
|
28
28
|
collaborationSupported: boolean;
|
|
29
|
+
viewConfigs: Record<string, Record<string, any>>;
|
|
29
30
|
}
|
|
30
31
|
type EntityRecordKey = string | number;
|
|
31
32
|
interface EntitiesState {
|