@strapi/content-releases 5.0.0-beta.5 → 5.0.0-beta.7

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.
Files changed (25) hide show
  1. package/dist/_chunks/{App-FVorrIzF.js → App-BdcItFff.js} +119 -126
  2. package/dist/_chunks/App-BdcItFff.js.map +1 -0
  3. package/dist/_chunks/{App-Cmn2Mkn7.mjs → App-CJdkbHnd.mjs} +110 -116
  4. package/dist/_chunks/App-CJdkbHnd.mjs.map +1 -0
  5. package/dist/_chunks/{PurchaseContentReleases-sD6ADHk2.js → PurchaseContentReleases-Be3acS2L.js} +7 -6
  6. package/dist/_chunks/PurchaseContentReleases-Be3acS2L.js.map +1 -0
  7. package/dist/_chunks/{PurchaseContentReleases-C8djn9fP.mjs → PurchaseContentReleases-_MxP6-Dt.mjs} +8 -7
  8. package/dist/_chunks/PurchaseContentReleases-_MxP6-Dt.mjs.map +1 -0
  9. package/dist/_chunks/{index-BfJLth9Z.js → index-B6Y2hJ10.js} +100 -108
  10. package/dist/_chunks/index-B6Y2hJ10.js.map +1 -0
  11. package/dist/_chunks/{index-DDohgTaQ.mjs → index-BvhZTh4j.mjs} +100 -106
  12. package/dist/_chunks/index-BvhZTh4j.mjs.map +1 -0
  13. package/dist/admin/index.js +1 -1
  14. package/dist/admin/index.mjs +2 -2
  15. package/dist/admin/src/components/ReleaseAction.d.ts +1 -1
  16. package/dist/admin/src/services/baseQuery.d.ts +26 -0
  17. package/dist/admin/src/services/release.d.ts +216 -81
  18. package/package.json +12 -13
  19. package/dist/_chunks/App-Cmn2Mkn7.mjs.map +0 -1
  20. package/dist/_chunks/App-FVorrIzF.js.map +0 -1
  21. package/dist/_chunks/PurchaseContentReleases-C8djn9fP.mjs.map +0 -1
  22. package/dist/_chunks/PurchaseContentReleases-sD6ADHk2.js.map +0 -1
  23. package/dist/_chunks/index-BfJLth9Z.js.map +0 -1
  24. package/dist/_chunks/index-DDohgTaQ.mjs.map +0 -1
  25. package/dist/admin/src/services/axios.d.ts +0 -29
@@ -20,15 +20,20 @@ type GetReleasesTabResponse = GetReleases.Response & {
20
20
  activeTab: 'pending' | 'done';
21
21
  };
22
22
  };
23
- declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
23
+ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
24
24
  data: TData;
25
25
  error?: undefined;
26
26
  } | {
27
27
  error: {
28
28
  status: number | undefined;
29
- code: string | undefined;
29
+ code: number | undefined;
30
30
  response: {
31
- data: unknown;
31
+ data: {
32
+ data?: any;
33
+ error: import("@strapi/admin/strapi-admin").ApiError & {
34
+ status?: number | undefined;
35
+ };
36
+ } | undefined;
32
37
  };
33
38
  };
34
39
  data?: undefined;
@@ -37,43 +42,58 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
37
42
  contentTypeUid: import("@strapi/types/dist/uid").ContentType;
38
43
  entryId: number;
39
44
  hasEntryAttached?: boolean | undefined;
40
- }>, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
45
+ }>, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
41
46
  data: TData;
42
47
  error?: undefined;
43
48
  } | {
44
49
  error: {
45
50
  status: number | undefined;
46
- code: string | undefined;
51
+ code: number | undefined;
47
52
  response: {
48
- data: unknown;
53
+ data: {
54
+ data?: any;
55
+ error: import("@strapi/admin/strapi-admin").ApiError & {
56
+ status?: number | undefined;
57
+ };
58
+ } | undefined;
49
59
  };
50
60
  };
51
61
  data?: undefined;
52
62
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", GetContentTypeEntryReleases.Response, "content-releases">;
53
- getReleases: import("@reduxjs/toolkit/query/react").QueryDefinition<void | GetReleasesQueryParams, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
63
+ getReleases: import("@reduxjs/toolkit/query/react").QueryDefinition<void | GetReleasesQueryParams, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
54
64
  data: TData;
55
65
  error?: undefined;
56
66
  } | {
57
67
  error: {
58
68
  status: number | undefined;
59
- code: string | undefined;
69
+ code: number | undefined;
60
70
  response: {
61
- data: unknown;
71
+ data: {
72
+ data?: any;
73
+ error: import("@strapi/admin/strapi-admin").ApiError & {
74
+ status?: number | undefined;
75
+ };
76
+ } | undefined;
62
77
  };
63
78
  };
64
79
  data?: undefined;
65
80
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", GetReleasesTabResponse, "content-releases">;
66
81
  getRelease: import("@reduxjs/toolkit/query/react").QueryDefinition<{
67
82
  id: import("@strapi/types/dist/data").ID;
68
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
83
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
69
84
  data: TData;
70
85
  error?: undefined;
71
86
  } | {
72
87
  error: {
73
88
  status: number | undefined;
74
- code: string | undefined;
89
+ code: number | undefined;
75
90
  response: {
76
- data: unknown;
91
+ data: {
92
+ data?: any;
93
+ error: import("@strapi/admin/strapi-admin").ApiError & {
94
+ status?: number | undefined;
95
+ };
96
+ } | undefined;
77
97
  };
78
98
  };
79
99
  data?: undefined;
@@ -82,15 +102,20 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
82
102
  releaseId: import("@strapi/types/dist/data").ID;
83
103
  } & Partial<Pick<import("../../../shared/contracts/releases").Pagination, "page" | "pageSize">> & {
84
104
  groupBy?: ReleaseActionGroupBy | undefined;
85
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
105
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
86
106
  data: TData;
87
107
  error?: undefined;
88
108
  } | {
89
109
  error: {
90
110
  status: number | undefined;
91
- code: string | undefined;
111
+ code: number | undefined;
92
112
  response: {
93
- data: unknown;
113
+ data: {
114
+ data?: any;
115
+ error: import("@strapi/admin/strapi-admin").ApiError & {
116
+ status?: number | undefined;
117
+ };
118
+ } | undefined;
94
119
  };
95
120
  };
96
121
  data?: undefined;
@@ -99,15 +124,20 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
99
124
  name: string;
100
125
  scheduledAt: Date | null;
101
126
  timezone: string | null;
102
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
127
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
103
128
  data: TData;
104
129
  error?: undefined;
105
130
  } | {
106
131
  error: {
107
132
  status: number | undefined;
108
- code: string | undefined;
133
+ code: number | undefined;
109
134
  response: {
110
- data: unknown;
135
+ data: {
136
+ data?: any;
137
+ error: import("@strapi/admin/strapi-admin").ApiError & {
138
+ status?: number | undefined;
139
+ };
140
+ } | undefined;
111
141
  };
112
142
  };
113
143
  data?: undefined;
@@ -118,41 +148,56 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
118
148
  name: string;
119
149
  scheduledAt?: Date | null | undefined;
120
150
  timezone?: string | null | undefined;
121
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
151
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
122
152
  data: TData;
123
153
  error?: undefined;
124
154
  } | {
125
155
  error: {
126
156
  status: number | undefined;
127
- code: string | undefined;
157
+ code: number | undefined;
128
158
  response: {
129
- data: unknown;
159
+ data: {
160
+ data?: any;
161
+ error: import("@strapi/admin/strapi-admin").ApiError & {
162
+ status?: number | undefined;
163
+ };
164
+ } | undefined;
130
165
  };
131
166
  };
132
167
  data?: undefined;
133
168
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", void, "content-releases">;
134
- createReleaseAction: import("@reduxjs/toolkit/query/react").MutationDefinition<CreateReleaseAction.Request, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
169
+ createReleaseAction: import("@reduxjs/toolkit/query/react").MutationDefinition<CreateReleaseAction.Request, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
135
170
  data: TData;
136
171
  error?: undefined;
137
172
  } | {
138
173
  error: {
139
174
  status: number | undefined;
140
- code: string | undefined;
175
+ code: number | undefined;
141
176
  response: {
142
- data: unknown;
177
+ data: {
178
+ data?: any;
179
+ error: import("@strapi/admin/strapi-admin").ApiError & {
180
+ status?: number | undefined;
181
+ };
182
+ } | undefined;
143
183
  };
144
184
  };
145
185
  data?: undefined;
146
186
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", CreateReleaseAction.Response, "content-releases">;
147
- createManyReleaseActions: import("@reduxjs/toolkit/query/react").MutationDefinition<CreateManyReleaseActions.Request, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
187
+ createManyReleaseActions: import("@reduxjs/toolkit/query/react").MutationDefinition<CreateManyReleaseActions.Request, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
148
188
  data: TData;
149
189
  error?: undefined;
150
190
  } | {
151
191
  error: {
152
192
  status: number | undefined;
153
- code: string | undefined;
193
+ code: number | undefined;
154
194
  response: {
155
- data: unknown;
195
+ data: {
196
+ data?: any;
197
+ error: import("@strapi/admin/strapi-admin").ApiError & {
198
+ status?: number | undefined;
199
+ };
200
+ } | undefined;
156
201
  };
157
202
  };
158
203
  data?: undefined;
@@ -161,58 +206,78 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
161
206
  query: GetReleaseActions.Request['query'];
162
207
  } & {
163
208
  actionPath: [string, number];
164
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
209
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
165
210
  data: TData;
166
211
  error?: undefined;
167
212
  } | {
168
213
  error: {
169
214
  status: number | undefined;
170
- code: string | undefined;
215
+ code: number | undefined;
171
216
  response: {
172
- data: unknown;
217
+ data: {
218
+ data?: any;
219
+ error: import("@strapi/admin/strapi-admin").ApiError & {
220
+ status?: number | undefined;
221
+ };
222
+ } | undefined;
173
223
  };
174
224
  };
175
225
  data?: undefined;
176
226
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", UpdateReleaseAction.Response, "content-releases">;
177
- deleteReleaseAction: import("@reduxjs/toolkit/query/react").MutationDefinition<DeleteReleaseAction.Request, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
227
+ deleteReleaseAction: import("@reduxjs/toolkit/query/react").MutationDefinition<DeleteReleaseAction.Request, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
178
228
  data: TData;
179
229
  error?: undefined;
180
230
  } | {
181
231
  error: {
182
232
  status: number | undefined;
183
- code: string | undefined;
233
+ code: number | undefined;
184
234
  response: {
185
- data: unknown;
235
+ data: {
236
+ data?: any;
237
+ error: import("@strapi/admin/strapi-admin").ApiError & {
238
+ status?: number | undefined;
239
+ };
240
+ } | undefined;
186
241
  };
187
242
  };
188
243
  data?: undefined;
189
244
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", DeleteReleaseAction.Response, "content-releases">;
190
245
  publishRelease: import("@reduxjs/toolkit/query/react").MutationDefinition<{
191
246
  id: import("@strapi/types/dist/data").ID;
192
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
247
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
193
248
  data: TData;
194
249
  error?: undefined;
195
250
  } | {
196
251
  error: {
197
252
  status: number | undefined;
198
- code: string | undefined;
253
+ code: number | undefined;
199
254
  response: {
200
- data: unknown;
255
+ data: {
256
+ data?: any;
257
+ error: import("@strapi/admin/strapi-admin").ApiError & {
258
+ status?: number | undefined;
259
+ };
260
+ } | undefined;
201
261
  };
202
262
  };
203
263
  data?: undefined;
204
264
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", PublishRelease.Response, "content-releases">;
205
265
  deleteRelease: import("@reduxjs/toolkit/query/react").MutationDefinition<{
206
266
  id: import("@strapi/types/dist/data").ID;
207
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
267
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
208
268
  data: TData;
209
269
  error?: undefined;
210
270
  } | {
211
271
  error: {
212
272
  status: number | undefined;
213
- code: string | undefined;
273
+ code: number | undefined;
214
274
  response: {
215
- data: unknown;
275
+ data: {
276
+ data?: any;
277
+ error: import("@strapi/admin/strapi-admin").ApiError & {
278
+ status?: number | undefined;
279
+ };
280
+ } | undefined;
216
281
  };
217
282
  };
218
283
  data?: undefined;
@@ -220,15 +285,20 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
220
285
  getMappedEntriesInReleases: import("@reduxjs/toolkit/query/react").QueryDefinition<{
221
286
  contentTypeUid: import("@strapi/types/dist/uid").ContentType;
222
287
  entriesIds: number[];
223
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
288
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
224
289
  data: TData;
225
290
  error?: undefined;
226
291
  } | {
227
292
  error: {
228
293
  status: number | undefined;
229
- code: string | undefined;
294
+ code: number | undefined;
230
295
  response: {
231
- data: unknown;
296
+ data: {
297
+ data?: any;
298
+ error: import("@strapi/admin/strapi-admin").ApiError & {
299
+ status?: number | undefined;
300
+ };
301
+ } | undefined;
232
302
  };
233
303
  };
234
304
  data?: undefined;
@@ -236,15 +306,20 @@ declare const releaseApi: import("@reduxjs/toolkit/query/react").Api<(<TData = a
236
306
  [entryId: number]: Pick<import("../../../shared/contracts/releases").Release, "id" | "name">[];
237
307
  }, "content-releases">;
238
308
  }, "content-releases", "Release" | "ReleaseAction" | "EntriesInRelease", typeof import("@reduxjs/toolkit/query/react").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
239
- declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query/react").QueryDefinition<void | GetReleasesQueryParams, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
309
+ declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query/react").QueryDefinition<void | GetReleasesQueryParams, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
240
310
  data: TData;
241
311
  error?: undefined;
242
312
  } | {
243
313
  error: {
244
314
  status: number | undefined;
245
- code: string | undefined;
315
+ code: number | undefined;
246
316
  response: {
247
- data: unknown;
317
+ data: {
318
+ data?: any;
319
+ error: import("@strapi/admin/strapi-admin").ApiError & {
320
+ status?: number | undefined;
321
+ };
322
+ } | undefined;
248
323
  };
249
324
  };
250
325
  data?: undefined;
@@ -252,29 +327,39 @@ declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/bui
252
327
  contentTypeUid: import("@strapi/types/dist/uid").ContentType;
253
328
  entryId: number;
254
329
  hasEntryAttached?: boolean | undefined;
255
- }>, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
330
+ }>, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
256
331
  data: TData;
257
332
  error?: undefined;
258
333
  } | {
259
334
  error: {
260
335
  status: number | undefined;
261
- code: string | undefined;
336
+ code: number | undefined;
262
337
  response: {
263
- data: unknown;
338
+ data: {
339
+ data?: any;
340
+ error: import("@strapi/admin/strapi-admin").ApiError & {
341
+ status?: number | undefined;
342
+ };
343
+ } | undefined;
264
344
  };
265
345
  };
266
346
  data?: undefined;
267
347
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", GetContentTypeEntryReleases.Response, "content-releases">>, useGetReleaseQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query/react").QueryDefinition<{
268
348
  id: import("@strapi/types/dist/data").ID;
269
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
349
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
270
350
  data: TData;
271
351
  error?: undefined;
272
352
  } | {
273
353
  error: {
274
354
  status: number | undefined;
275
- code: string | undefined;
355
+ code: number | undefined;
276
356
  response: {
277
- data: unknown;
357
+ data: {
358
+ data?: any;
359
+ error: import("@strapi/admin/strapi-admin").ApiError & {
360
+ status?: number | undefined;
361
+ };
362
+ } | undefined;
278
363
  };
279
364
  };
280
365
  data?: undefined;
@@ -282,15 +367,20 @@ declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/bui
282
367
  releaseId: import("@strapi/types/dist/data").ID;
283
368
  } & Partial<Pick<import("../../../shared/contracts/releases").Pagination, "page" | "pageSize">> & {
284
369
  groupBy?: ReleaseActionGroupBy | undefined;
285
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
370
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
286
371
  data: TData;
287
372
  error?: undefined;
288
373
  } | {
289
374
  error: {
290
375
  status: number | undefined;
291
- code: string | undefined;
376
+ code: number | undefined;
292
377
  response: {
293
- data: unknown;
378
+ data: {
379
+ data?: any;
380
+ error: import("@strapi/admin/strapi-admin").ApiError & {
381
+ status?: number | undefined;
382
+ };
383
+ } | undefined;
294
384
  };
295
385
  };
296
386
  data?: undefined;
@@ -298,39 +388,54 @@ declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/bui
298
388
  name: string;
299
389
  scheduledAt: Date | null;
300
390
  timezone: string | null;
301
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
391
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
302
392
  data: TData;
303
393
  error?: undefined;
304
394
  } | {
305
395
  error: {
306
396
  status: number | undefined;
307
- code: string | undefined;
397
+ code: number | undefined;
308
398
  response: {
309
- data: unknown;
399
+ data: {
400
+ data?: any;
401
+ error: import("@strapi/admin/strapi-admin").ApiError & {
402
+ status?: number | undefined;
403
+ };
404
+ } | undefined;
310
405
  };
311
406
  };
312
407
  data?: undefined;
313
- }>, "Release" | "ReleaseAction" | "EntriesInRelease", CreateRelease.Response, "content-releases">>, useCreateReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<CreateReleaseAction.Request, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
408
+ }>, "Release" | "ReleaseAction" | "EntriesInRelease", CreateRelease.Response, "content-releases">>, useCreateReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<CreateReleaseAction.Request, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
314
409
  data: TData;
315
410
  error?: undefined;
316
411
  } | {
317
412
  error: {
318
413
  status: number | undefined;
319
- code: string | undefined;
414
+ code: number | undefined;
320
415
  response: {
321
- data: unknown;
416
+ data: {
417
+ data?: any;
418
+ error: import("@strapi/admin/strapi-admin").ApiError & {
419
+ status?: number | undefined;
420
+ };
421
+ } | undefined;
322
422
  };
323
423
  };
324
424
  data?: undefined;
325
- }>, "Release" | "ReleaseAction" | "EntriesInRelease", CreateReleaseAction.Response, "content-releases">>, useCreateManyReleaseActionsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<CreateManyReleaseActions.Request, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
425
+ }>, "Release" | "ReleaseAction" | "EntriesInRelease", CreateReleaseAction.Response, "content-releases">>, useCreateManyReleaseActionsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<CreateManyReleaseActions.Request, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
326
426
  data: TData;
327
427
  error?: undefined;
328
428
  } | {
329
429
  error: {
330
430
  status: number | undefined;
331
- code: string | undefined;
431
+ code: number | undefined;
332
432
  response: {
333
- data: unknown;
433
+ data: {
434
+ data?: any;
435
+ error: import("@strapi/admin/strapi-admin").ApiError & {
436
+ status?: number | undefined;
437
+ };
438
+ } | undefined;
334
439
  };
335
440
  };
336
441
  data?: undefined;
@@ -340,15 +445,20 @@ declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/bui
340
445
  name: string;
341
446
  scheduledAt?: Date | null | undefined;
342
447
  timezone?: string | null | undefined;
343
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
448
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
344
449
  data: TData;
345
450
  error?: undefined;
346
451
  } | {
347
452
  error: {
348
453
  status: number | undefined;
349
- code: string | undefined;
454
+ code: number | undefined;
350
455
  response: {
351
- data: unknown;
456
+ data: {
457
+ data?: any;
458
+ error: import("@strapi/admin/strapi-admin").ApiError & {
459
+ status?: number | undefined;
460
+ };
461
+ } | undefined;
352
462
  };
353
463
  };
354
464
  data?: undefined;
@@ -356,70 +466,95 @@ declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/bui
356
466
  query: GetReleaseActions.Request['query'];
357
467
  } & {
358
468
  actionPath: [string, number];
359
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
469
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
360
470
  data: TData;
361
471
  error?: undefined;
362
472
  } | {
363
473
  error: {
364
474
  status: number | undefined;
365
- code: string | undefined;
475
+ code: number | undefined;
366
476
  response: {
367
- data: unknown;
477
+ data: {
478
+ data?: any;
479
+ error: import("@strapi/admin/strapi-admin").ApiError & {
480
+ status?: number | undefined;
481
+ };
482
+ } | undefined;
368
483
  };
369
484
  };
370
485
  data?: undefined;
371
486
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", UpdateReleaseAction.Response, "content-releases">>, usePublishReleaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<{
372
487
  id: import("@strapi/types/dist/data").ID;
373
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
488
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
374
489
  data: TData;
375
490
  error?: undefined;
376
491
  } | {
377
492
  error: {
378
493
  status: number | undefined;
379
- code: string | undefined;
494
+ code: number | undefined;
380
495
  response: {
381
- data: unknown;
496
+ data: {
497
+ data?: any;
498
+ error: import("@strapi/admin/strapi-admin").ApiError & {
499
+ status?: number | undefined;
500
+ };
501
+ } | undefined;
382
502
  };
383
503
  };
384
504
  data?: undefined;
385
- }>, "Release" | "ReleaseAction" | "EntriesInRelease", PublishRelease.Response, "content-releases">>, useDeleteReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<DeleteReleaseAction.Request, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
505
+ }>, "Release" | "ReleaseAction" | "EntriesInRelease", PublishRelease.Response, "content-releases">>, useDeleteReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<DeleteReleaseAction.Request, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
386
506
  data: TData;
387
507
  error?: undefined;
388
508
  } | {
389
509
  error: {
390
510
  status: number | undefined;
391
- code: string | undefined;
511
+ code: number | undefined;
392
512
  response: {
393
- data: unknown;
513
+ data: {
514
+ data?: any;
515
+ error: import("@strapi/admin/strapi-admin").ApiError & {
516
+ status?: number | undefined;
517
+ };
518
+ } | undefined;
394
519
  };
395
520
  };
396
521
  data?: undefined;
397
522
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", DeleteReleaseAction.Response, "content-releases">>, useDeleteReleaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query/react").MutationDefinition<{
398
523
  id: import("@strapi/types/dist/data").ID;
399
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
524
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
400
525
  data: TData;
401
526
  error?: undefined;
402
527
  } | {
403
528
  error: {
404
529
  status: number | undefined;
405
- code: string | undefined;
530
+ code: number | undefined;
406
531
  response: {
407
- data: unknown;
532
+ data: {
533
+ data?: any;
534
+ error: import("@strapi/admin/strapi-admin").ApiError & {
535
+ status?: number | undefined;
536
+ };
537
+ } | undefined;
408
538
  };
409
539
  };
410
540
  data?: undefined;
411
541
  }>, "Release" | "ReleaseAction" | "EntriesInRelease", DeleteRelease.Response, "content-releases">>, useGetMappedEntriesInReleasesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query/react").QueryDefinition<{
412
542
  contentTypeUid: import("@strapi/types/dist/uid").ContentType;
413
543
  entriesIds: number[];
414
- }, <TData = any, TSend = any>({ url, method, data, config, }: import("./axios").QueryArguments<TSend>) => Promise<{
544
+ }, <TData = unknown, TSend = unknown>({ url, method, data, config, }: import("./baseQuery").QueryArguments<TSend>) => Promise<{
415
545
  data: TData;
416
546
  error?: undefined;
417
547
  } | {
418
548
  error: {
419
549
  status: number | undefined;
420
- code: string | undefined;
550
+ code: number | undefined;
421
551
  response: {
422
- data: unknown;
552
+ data: {
553
+ data?: any;
554
+ error: import("@strapi/admin/strapi-admin").ApiError & {
555
+ status?: number | undefined;
556
+ };
557
+ } | undefined;
423
558
  };
424
559
  };
425
560
  data?: undefined;