@strapi/content-releases 5.56.0 → 5.57.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.
@@ -1,4 +1,5 @@
1
- import type { Core, Modules, UID } from '@strapi/types';
1
+ import type { Core, Modules, UID, Data } from '@strapi/types';
2
+ import _ from 'lodash';
2
3
  import { RELEASE_ACTION_MODEL_UID } from '../constants';
3
4
  import type { CreateReleaseAction, GetReleaseActions, ReleaseAction, ReleaseActionGroupBy, UpdateReleaseAction, DeleteReleaseAction } from '../../../shared/contracts/release-actions';
4
5
  import type { Entity } from '../../../shared/types';
@@ -21,7 +22,1748 @@ declare const createReleaseActionService: ({ strapi }: {
21
22
  total: number;
22
23
  };
23
24
  }>;
24
- groupActions(actions: ReleaseAction[], groupBy: ReleaseActionGroupBy): Promise<import("lodash").Dictionary<(null | undefined)[]>>;
25
+ groupActions(actions: ReleaseAction[], groupBy: ReleaseActionGroupBy): Promise<_.Dictionary<(number | {
26
+ locale: Pick<Locale, "name" | "code"> | null;
27
+ contentType: {
28
+ displayName: string;
29
+ mainFieldValue: any;
30
+ uid: UID.ContentType;
31
+ };
32
+ type: "publish" | "unpublish";
33
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
34
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
35
+ release: import("../../../shared/contracts/releases").Release;
36
+ isEntryValid: boolean;
37
+ status: "draft" | "published" | "modified";
38
+ documentId: string;
39
+ id: Data.ID;
40
+ createdAt: string;
41
+ updatedAt: string;
42
+ } | (() => ArrayIterator<{
43
+ locale: Pick<Locale, "name" | "code"> | null;
44
+ contentType: {
45
+ displayName: string;
46
+ mainFieldValue: any;
47
+ uid: UID.ContentType;
48
+ };
49
+ type: "publish" | "unpublish";
50
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
51
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
52
+ release: import("../../../shared/contracts/releases").Release;
53
+ isEntryValid: boolean;
54
+ status: "draft" | "published" | "modified";
55
+ documentId: string;
56
+ id: Data.ID;
57
+ createdAt: string;
58
+ updatedAt: string;
59
+ }>) | {
60
+ [x: number]: boolean | undefined;
61
+ length?: boolean | undefined;
62
+ toString?: boolean | undefined;
63
+ toLocaleString?: boolean | undefined;
64
+ pop?: boolean | undefined;
65
+ push?: boolean | undefined;
66
+ concat?: boolean | undefined;
67
+ join?: boolean | undefined;
68
+ reverse?: boolean | undefined;
69
+ shift?: boolean | undefined;
70
+ slice?: boolean | undefined;
71
+ sort?: boolean | undefined;
72
+ splice?: boolean | undefined;
73
+ unshift?: boolean | undefined;
74
+ indexOf?: boolean | undefined;
75
+ lastIndexOf?: boolean | undefined;
76
+ every?: boolean | undefined;
77
+ some?: boolean | undefined;
78
+ forEach?: boolean | undefined;
79
+ map?: boolean | undefined;
80
+ filter?: boolean | undefined;
81
+ reduce?: boolean | undefined;
82
+ reduceRight?: boolean | undefined;
83
+ find?: boolean | undefined;
84
+ findIndex?: boolean | undefined;
85
+ fill?: boolean | undefined;
86
+ copyWithin?: boolean | undefined;
87
+ entries?: boolean | undefined;
88
+ keys?: boolean | undefined;
89
+ values?: boolean | undefined;
90
+ includes?: boolean | undefined;
91
+ flatMap?: boolean | undefined;
92
+ flat?: boolean | undefined;
93
+ at?: boolean | undefined;
94
+ findLast?: boolean | undefined;
95
+ findLastIndex?: boolean | undefined;
96
+ toReversed?: boolean | undefined;
97
+ toSorted?: boolean | undefined;
98
+ toSpliced?: boolean | undefined;
99
+ with?: boolean | undefined;
100
+ [Symbol.iterator]?: boolean | undefined;
101
+ readonly [Symbol.unscopables]?: boolean | undefined;
102
+ } | ((compareFn?: ((a: {
103
+ locale: Pick<Locale, "name" | "code"> | null;
104
+ contentType: {
105
+ displayName: string;
106
+ mainFieldValue: any;
107
+ uid: UID.ContentType;
108
+ };
109
+ type: "publish" | "unpublish";
110
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
111
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
112
+ release: import("../../../shared/contracts/releases").Release;
113
+ isEntryValid: boolean;
114
+ status: "draft" | "published" | "modified";
115
+ documentId: string;
116
+ id: Data.ID;
117
+ createdAt: string;
118
+ updatedAt: string;
119
+ }, b: {
120
+ locale: Pick<Locale, "name" | "code"> | null;
121
+ contentType: {
122
+ displayName: string;
123
+ mainFieldValue: any;
124
+ uid: UID.ContentType;
125
+ };
126
+ type: "publish" | "unpublish";
127
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
128
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
129
+ release: import("../../../shared/contracts/releases").Release;
130
+ isEntryValid: boolean;
131
+ status: "draft" | "published" | "modified";
132
+ documentId: string;
133
+ id: Data.ID;
134
+ createdAt: string;
135
+ updatedAt: string;
136
+ }) => number) | undefined) => {
137
+ locale: Pick<Locale, "name" | "code"> | null;
138
+ contentType: {
139
+ displayName: string;
140
+ mainFieldValue: any;
141
+ uid: UID.ContentType;
142
+ };
143
+ type: "publish" | "unpublish";
144
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
145
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
146
+ release: import("../../../shared/contracts/releases").Release;
147
+ isEntryValid: boolean;
148
+ status: "draft" | "published" | "modified";
149
+ documentId: string;
150
+ id: Data.ID;
151
+ createdAt: string;
152
+ updatedAt: string;
153
+ }[]) | (<U>(callbackfn: (value: {
154
+ locale: Pick<Locale, "name" | "code"> | null;
155
+ contentType: {
156
+ displayName: string;
157
+ mainFieldValue: any;
158
+ uid: UID.ContentType;
159
+ };
160
+ type: "publish" | "unpublish";
161
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
162
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
163
+ release: import("../../../shared/contracts/releases").Release;
164
+ isEntryValid: boolean;
165
+ status: "draft" | "published" | "modified";
166
+ documentId: string;
167
+ id: Data.ID;
168
+ createdAt: string;
169
+ updatedAt: string;
170
+ }, index: number, array: {
171
+ locale: Pick<Locale, "name" | "code"> | null;
172
+ contentType: {
173
+ displayName: string;
174
+ mainFieldValue: any;
175
+ uid: UID.ContentType;
176
+ };
177
+ type: "publish" | "unpublish";
178
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
179
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
180
+ release: import("../../../shared/contracts/releases").Release;
181
+ isEntryValid: boolean;
182
+ status: "draft" | "published" | "modified";
183
+ documentId: string;
184
+ id: Data.ID;
185
+ createdAt: string;
186
+ updatedAt: string;
187
+ }[]) => U, thisArg?: any) => U[]) | {
188
+ <S extends {
189
+ locale: Pick<Locale, "name" | "code"> | null;
190
+ contentType: {
191
+ displayName: string;
192
+ mainFieldValue: any;
193
+ uid: UID.ContentType;
194
+ };
195
+ type: "publish" | "unpublish";
196
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
197
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
198
+ release: import("../../../shared/contracts/releases").Release;
199
+ isEntryValid: boolean;
200
+ status: "draft" | "published" | "modified";
201
+ documentId: string;
202
+ id: Data.ID;
203
+ createdAt: string;
204
+ updatedAt: string;
205
+ }>(predicate: (value: {
206
+ locale: Pick<Locale, "name" | "code"> | null;
207
+ contentType: {
208
+ displayName: string;
209
+ mainFieldValue: any;
210
+ uid: UID.ContentType;
211
+ };
212
+ type: "publish" | "unpublish";
213
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
214
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
215
+ release: import("../../../shared/contracts/releases").Release;
216
+ isEntryValid: boolean;
217
+ status: "draft" | "published" | "modified";
218
+ documentId: string;
219
+ id: Data.ID;
220
+ createdAt: string;
221
+ updatedAt: string;
222
+ }, index: number, array: {
223
+ locale: Pick<Locale, "name" | "code"> | null;
224
+ contentType: {
225
+ displayName: string;
226
+ mainFieldValue: any;
227
+ uid: UID.ContentType;
228
+ };
229
+ type: "publish" | "unpublish";
230
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
231
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
232
+ release: import("../../../shared/contracts/releases").Release;
233
+ isEntryValid: boolean;
234
+ status: "draft" | "published" | "modified";
235
+ documentId: string;
236
+ id: Data.ID;
237
+ createdAt: string;
238
+ updatedAt: string;
239
+ }[]) => value is S, thisArg?: any): S[];
240
+ (predicate: (value: {
241
+ locale: Pick<Locale, "name" | "code"> | null;
242
+ contentType: {
243
+ displayName: string;
244
+ mainFieldValue: any;
245
+ uid: UID.ContentType;
246
+ };
247
+ type: "publish" | "unpublish";
248
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
249
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
250
+ release: import("../../../shared/contracts/releases").Release;
251
+ isEntryValid: boolean;
252
+ status: "draft" | "published" | "modified";
253
+ documentId: string;
254
+ id: Data.ID;
255
+ createdAt: string;
256
+ updatedAt: string;
257
+ }, index: number, array: {
258
+ locale: Pick<Locale, "name" | "code"> | null;
259
+ contentType: {
260
+ displayName: string;
261
+ mainFieldValue: any;
262
+ uid: UID.ContentType;
263
+ };
264
+ type: "publish" | "unpublish";
265
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
266
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
267
+ release: import("../../../shared/contracts/releases").Release;
268
+ isEntryValid: boolean;
269
+ status: "draft" | "published" | "modified";
270
+ documentId: string;
271
+ id: Data.ID;
272
+ createdAt: string;
273
+ updatedAt: string;
274
+ }[]) => unknown, thisArg?: any): {
275
+ locale: Pick<Locale, "name" | "code"> | null;
276
+ contentType: {
277
+ displayName: string;
278
+ mainFieldValue: any;
279
+ uid: UID.ContentType;
280
+ };
281
+ type: "publish" | "unpublish";
282
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
283
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
284
+ release: import("../../../shared/contracts/releases").Release;
285
+ isEntryValid: boolean;
286
+ status: "draft" | "published" | "modified";
287
+ documentId: string;
288
+ id: Data.ID;
289
+ createdAt: string;
290
+ updatedAt: string;
291
+ }[];
292
+ } | {
293
+ (callbackfn: (previousValue: {
294
+ locale: Pick<Locale, "name" | "code"> | null;
295
+ contentType: {
296
+ displayName: string;
297
+ mainFieldValue: any;
298
+ uid: UID.ContentType;
299
+ };
300
+ type: "publish" | "unpublish";
301
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
302
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
303
+ release: import("../../../shared/contracts/releases").Release;
304
+ isEntryValid: boolean;
305
+ status: "draft" | "published" | "modified";
306
+ documentId: string;
307
+ id: Data.ID;
308
+ createdAt: string;
309
+ updatedAt: string;
310
+ }, currentValue: {
311
+ locale: Pick<Locale, "name" | "code"> | null;
312
+ contentType: {
313
+ displayName: string;
314
+ mainFieldValue: any;
315
+ uid: UID.ContentType;
316
+ };
317
+ type: "publish" | "unpublish";
318
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
319
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
320
+ release: import("../../../shared/contracts/releases").Release;
321
+ isEntryValid: boolean;
322
+ status: "draft" | "published" | "modified";
323
+ documentId: string;
324
+ id: Data.ID;
325
+ createdAt: string;
326
+ updatedAt: string;
327
+ }, currentIndex: number, array: {
328
+ locale: Pick<Locale, "name" | "code"> | null;
329
+ contentType: {
330
+ displayName: string;
331
+ mainFieldValue: any;
332
+ uid: UID.ContentType;
333
+ };
334
+ type: "publish" | "unpublish";
335
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
336
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
337
+ release: import("../../../shared/contracts/releases").Release;
338
+ isEntryValid: boolean;
339
+ status: "draft" | "published" | "modified";
340
+ documentId: string;
341
+ id: Data.ID;
342
+ createdAt: string;
343
+ updatedAt: string;
344
+ }[]) => {
345
+ locale: Pick<Locale, "name" | "code"> | null;
346
+ contentType: {
347
+ displayName: string;
348
+ mainFieldValue: any;
349
+ uid: UID.ContentType;
350
+ };
351
+ type: "publish" | "unpublish";
352
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
353
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
354
+ release: import("../../../shared/contracts/releases").Release;
355
+ isEntryValid: boolean;
356
+ status: "draft" | "published" | "modified";
357
+ documentId: string;
358
+ id: Data.ID;
359
+ createdAt: string;
360
+ updatedAt: string;
361
+ }): {
362
+ locale: Pick<Locale, "name" | "code"> | null;
363
+ contentType: {
364
+ displayName: string;
365
+ mainFieldValue: any;
366
+ uid: UID.ContentType;
367
+ };
368
+ type: "publish" | "unpublish";
369
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
370
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
371
+ release: import("../../../shared/contracts/releases").Release;
372
+ isEntryValid: boolean;
373
+ status: "draft" | "published" | "modified";
374
+ documentId: string;
375
+ id: Data.ID;
376
+ createdAt: string;
377
+ updatedAt: string;
378
+ };
379
+ (callbackfn: (previousValue: {
380
+ locale: Pick<Locale, "name" | "code"> | null;
381
+ contentType: {
382
+ displayName: string;
383
+ mainFieldValue: any;
384
+ uid: UID.ContentType;
385
+ };
386
+ type: "publish" | "unpublish";
387
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
388
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
389
+ release: import("../../../shared/contracts/releases").Release;
390
+ isEntryValid: boolean;
391
+ status: "draft" | "published" | "modified";
392
+ documentId: string;
393
+ id: Data.ID;
394
+ createdAt: string;
395
+ updatedAt: string;
396
+ }, currentValue: {
397
+ locale: Pick<Locale, "name" | "code"> | null;
398
+ contentType: {
399
+ displayName: string;
400
+ mainFieldValue: any;
401
+ uid: UID.ContentType;
402
+ };
403
+ type: "publish" | "unpublish";
404
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
405
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
406
+ release: import("../../../shared/contracts/releases").Release;
407
+ isEntryValid: boolean;
408
+ status: "draft" | "published" | "modified";
409
+ documentId: string;
410
+ id: Data.ID;
411
+ createdAt: string;
412
+ updatedAt: string;
413
+ }, currentIndex: number, array: {
414
+ locale: Pick<Locale, "name" | "code"> | null;
415
+ contentType: {
416
+ displayName: string;
417
+ mainFieldValue: any;
418
+ uid: UID.ContentType;
419
+ };
420
+ type: "publish" | "unpublish";
421
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
422
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
423
+ release: import("../../../shared/contracts/releases").Release;
424
+ isEntryValid: boolean;
425
+ status: "draft" | "published" | "modified";
426
+ documentId: string;
427
+ id: Data.ID;
428
+ createdAt: string;
429
+ updatedAt: string;
430
+ }[]) => {
431
+ locale: Pick<Locale, "name" | "code"> | null;
432
+ contentType: {
433
+ displayName: string;
434
+ mainFieldValue: any;
435
+ uid: UID.ContentType;
436
+ };
437
+ type: "publish" | "unpublish";
438
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
439
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
440
+ release: import("../../../shared/contracts/releases").Release;
441
+ isEntryValid: boolean;
442
+ status: "draft" | "published" | "modified";
443
+ documentId: string;
444
+ id: Data.ID;
445
+ createdAt: string;
446
+ updatedAt: string;
447
+ }, initialValue: {
448
+ locale: Pick<Locale, "name" | "code"> | null;
449
+ contentType: {
450
+ displayName: string;
451
+ mainFieldValue: any;
452
+ uid: UID.ContentType;
453
+ };
454
+ type: "publish" | "unpublish";
455
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
456
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
457
+ release: import("../../../shared/contracts/releases").Release;
458
+ isEntryValid: boolean;
459
+ status: "draft" | "published" | "modified";
460
+ documentId: string;
461
+ id: Data.ID;
462
+ createdAt: string;
463
+ updatedAt: string;
464
+ }): {
465
+ locale: Pick<Locale, "name" | "code"> | null;
466
+ contentType: {
467
+ displayName: string;
468
+ mainFieldValue: any;
469
+ uid: UID.ContentType;
470
+ };
471
+ type: "publish" | "unpublish";
472
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
473
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
474
+ release: import("../../../shared/contracts/releases").Release;
475
+ isEntryValid: boolean;
476
+ status: "draft" | "published" | "modified";
477
+ documentId: string;
478
+ id: Data.ID;
479
+ createdAt: string;
480
+ updatedAt: string;
481
+ };
482
+ <U>(callbackfn: (previousValue: U, currentValue: {
483
+ locale: Pick<Locale, "name" | "code"> | null;
484
+ contentType: {
485
+ displayName: string;
486
+ mainFieldValue: any;
487
+ uid: UID.ContentType;
488
+ };
489
+ type: "publish" | "unpublish";
490
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
491
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
492
+ release: import("../../../shared/contracts/releases").Release;
493
+ isEntryValid: boolean;
494
+ status: "draft" | "published" | "modified";
495
+ documentId: string;
496
+ id: Data.ID;
497
+ createdAt: string;
498
+ updatedAt: string;
499
+ }, currentIndex: number, array: {
500
+ locale: Pick<Locale, "name" | "code"> | null;
501
+ contentType: {
502
+ displayName: string;
503
+ mainFieldValue: any;
504
+ uid: UID.ContentType;
505
+ };
506
+ type: "publish" | "unpublish";
507
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
508
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
509
+ release: import("../../../shared/contracts/releases").Release;
510
+ isEntryValid: boolean;
511
+ status: "draft" | "published" | "modified";
512
+ documentId: string;
513
+ id: Data.ID;
514
+ createdAt: string;
515
+ updatedAt: string;
516
+ }[]) => U, initialValue: U): U;
517
+ } | ((predicate: (value: {
518
+ locale: Pick<Locale, "name" | "code"> | null;
519
+ contentType: {
520
+ displayName: string;
521
+ mainFieldValue: any;
522
+ uid: UID.ContentType;
523
+ };
524
+ type: "publish" | "unpublish";
525
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
526
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
527
+ release: import("../../../shared/contracts/releases").Release;
528
+ isEntryValid: boolean;
529
+ status: "draft" | "published" | "modified";
530
+ documentId: string;
531
+ id: Data.ID;
532
+ createdAt: string;
533
+ updatedAt: string;
534
+ }, index: number, array: {
535
+ locale: Pick<Locale, "name" | "code"> | null;
536
+ contentType: {
537
+ displayName: string;
538
+ mainFieldValue: any;
539
+ uid: UID.ContentType;
540
+ };
541
+ type: "publish" | "unpublish";
542
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
543
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
544
+ release: import("../../../shared/contracts/releases").Release;
545
+ isEntryValid: boolean;
546
+ status: "draft" | "published" | "modified";
547
+ documentId: string;
548
+ id: Data.ID;
549
+ createdAt: string;
550
+ updatedAt: string;
551
+ }[]) => unknown, thisArg?: any) => boolean) | {
552
+ (...items: ConcatArray<{
553
+ locale: Pick<Locale, "name" | "code"> | null;
554
+ contentType: {
555
+ displayName: string;
556
+ mainFieldValue: any;
557
+ uid: UID.ContentType;
558
+ };
559
+ type: "publish" | "unpublish";
560
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
561
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
562
+ release: import("../../../shared/contracts/releases").Release;
563
+ isEntryValid: boolean;
564
+ status: "draft" | "published" | "modified";
565
+ documentId: string;
566
+ id: Data.ID;
567
+ createdAt: string;
568
+ updatedAt: string;
569
+ }>[]): {
570
+ locale: Pick<Locale, "name" | "code"> | null;
571
+ contentType: {
572
+ displayName: string;
573
+ mainFieldValue: any;
574
+ uid: UID.ContentType;
575
+ };
576
+ type: "publish" | "unpublish";
577
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
578
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
579
+ release: import("../../../shared/contracts/releases").Release;
580
+ isEntryValid: boolean;
581
+ status: "draft" | "published" | "modified";
582
+ documentId: string;
583
+ id: Data.ID;
584
+ createdAt: string;
585
+ updatedAt: string;
586
+ }[];
587
+ (...items: ({
588
+ locale: Pick<Locale, "name" | "code"> | null;
589
+ contentType: {
590
+ displayName: string;
591
+ mainFieldValue: any;
592
+ uid: UID.ContentType;
593
+ };
594
+ type: "publish" | "unpublish";
595
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
596
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
597
+ release: import("../../../shared/contracts/releases").Release;
598
+ isEntryValid: boolean;
599
+ status: "draft" | "published" | "modified";
600
+ documentId: string;
601
+ id: Data.ID;
602
+ createdAt: string;
603
+ updatedAt: string;
604
+ } | ConcatArray<{
605
+ locale: Pick<Locale, "name" | "code"> | null;
606
+ contentType: {
607
+ displayName: string;
608
+ mainFieldValue: any;
609
+ uid: UID.ContentType;
610
+ };
611
+ type: "publish" | "unpublish";
612
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
613
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
614
+ release: import("../../../shared/contracts/releases").Release;
615
+ isEntryValid: boolean;
616
+ status: "draft" | "published" | "modified";
617
+ documentId: string;
618
+ id: Data.ID;
619
+ createdAt: string;
620
+ updatedAt: string;
621
+ }>)[]): {
622
+ locale: Pick<Locale, "name" | "code"> | null;
623
+ contentType: {
624
+ displayName: string;
625
+ mainFieldValue: any;
626
+ uid: UID.ContentType;
627
+ };
628
+ type: "publish" | "unpublish";
629
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
630
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
631
+ release: import("../../../shared/contracts/releases").Release;
632
+ isEntryValid: boolean;
633
+ status: "draft" | "published" | "modified";
634
+ documentId: string;
635
+ id: Data.ID;
636
+ createdAt: string;
637
+ updatedAt: string;
638
+ }[];
639
+ } | ((searchElement: {
640
+ locale: Pick<Locale, "name" | "code"> | null;
641
+ contentType: {
642
+ displayName: string;
643
+ mainFieldValue: any;
644
+ uid: UID.ContentType;
645
+ };
646
+ type: "publish" | "unpublish";
647
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
648
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
649
+ release: import("../../../shared/contracts/releases").Release;
650
+ isEntryValid: boolean;
651
+ status: "draft" | "published" | "modified";
652
+ documentId: string;
653
+ id: Data.ID;
654
+ createdAt: string;
655
+ updatedAt: string;
656
+ }, fromIndex?: number) => number) | ((searchElement: {
657
+ locale: Pick<Locale, "name" | "code"> | null;
658
+ contentType: {
659
+ displayName: string;
660
+ mainFieldValue: any;
661
+ uid: UID.ContentType;
662
+ };
663
+ type: "publish" | "unpublish";
664
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
665
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
666
+ release: import("../../../shared/contracts/releases").Release;
667
+ isEntryValid: boolean;
668
+ status: "draft" | "published" | "modified";
669
+ documentId: string;
670
+ id: Data.ID;
671
+ createdAt: string;
672
+ updatedAt: string;
673
+ }, fromIndex?: number) => number) | ((start?: number, end?: number) => {
674
+ locale: Pick<Locale, "name" | "code"> | null;
675
+ contentType: {
676
+ displayName: string;
677
+ mainFieldValue: any;
678
+ uid: UID.ContentType;
679
+ };
680
+ type: "publish" | "unpublish";
681
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
682
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
683
+ release: import("../../../shared/contracts/releases").Release;
684
+ isEntryValid: boolean;
685
+ status: "draft" | "published" | "modified";
686
+ documentId: string;
687
+ id: Data.ID;
688
+ createdAt: string;
689
+ updatedAt: string;
690
+ }[]) | ((searchElement: {
691
+ locale: Pick<Locale, "name" | "code"> | null;
692
+ contentType: {
693
+ displayName: string;
694
+ mainFieldValue: any;
695
+ uid: UID.ContentType;
696
+ };
697
+ type: "publish" | "unpublish";
698
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
699
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
700
+ release: import("../../../shared/contracts/releases").Release;
701
+ isEntryValid: boolean;
702
+ status: "draft" | "published" | "modified";
703
+ documentId: string;
704
+ id: Data.ID;
705
+ createdAt: string;
706
+ updatedAt: string;
707
+ }, fromIndex?: number) => boolean) | ((index: number) => {
708
+ locale: Pick<Locale, "name" | "code"> | null;
709
+ contentType: {
710
+ displayName: string;
711
+ mainFieldValue: any;
712
+ uid: UID.ContentType;
713
+ };
714
+ type: "publish" | "unpublish";
715
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
716
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
717
+ release: import("../../../shared/contracts/releases").Release;
718
+ isEntryValid: boolean;
719
+ status: "draft" | "published" | "modified";
720
+ documentId: string;
721
+ id: Data.ID;
722
+ createdAt: string;
723
+ updatedAt: string;
724
+ } | undefined) | {
725
+ (): string;
726
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
727
+ } | (() => string) | (() => {
728
+ locale: Pick<Locale, "name" | "code"> | null;
729
+ contentType: {
730
+ displayName: string;
731
+ mainFieldValue: any;
732
+ uid: UID.ContentType;
733
+ };
734
+ type: "publish" | "unpublish";
735
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
736
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
737
+ release: import("../../../shared/contracts/releases").Release;
738
+ isEntryValid: boolean;
739
+ status: "draft" | "published" | "modified";
740
+ documentId: string;
741
+ id: Data.ID;
742
+ createdAt: string;
743
+ updatedAt: string;
744
+ } | undefined) | ((...items: {
745
+ locale: Pick<Locale, "name" | "code"> | null;
746
+ contentType: {
747
+ displayName: string;
748
+ mainFieldValue: any;
749
+ uid: UID.ContentType;
750
+ };
751
+ type: "publish" | "unpublish";
752
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
753
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
754
+ release: import("../../../shared/contracts/releases").Release;
755
+ isEntryValid: boolean;
756
+ status: "draft" | "published" | "modified";
757
+ documentId: string;
758
+ id: Data.ID;
759
+ createdAt: string;
760
+ updatedAt: string;
761
+ }[]) => number) | ((separator?: string) => string) | (() => {
762
+ locale: Pick<Locale, "name" | "code"> | null;
763
+ contentType: {
764
+ displayName: string;
765
+ mainFieldValue: any;
766
+ uid: UID.ContentType;
767
+ };
768
+ type: "publish" | "unpublish";
769
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
770
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
771
+ release: import("../../../shared/contracts/releases").Release;
772
+ isEntryValid: boolean;
773
+ status: "draft" | "published" | "modified";
774
+ documentId: string;
775
+ id: Data.ID;
776
+ createdAt: string;
777
+ updatedAt: string;
778
+ }[]) | (() => {
779
+ locale: Pick<Locale, "name" | "code"> | null;
780
+ contentType: {
781
+ displayName: string;
782
+ mainFieldValue: any;
783
+ uid: UID.ContentType;
784
+ };
785
+ type: "publish" | "unpublish";
786
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
787
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
788
+ release: import("../../../shared/contracts/releases").Release;
789
+ isEntryValid: boolean;
790
+ status: "draft" | "published" | "modified";
791
+ documentId: string;
792
+ id: Data.ID;
793
+ createdAt: string;
794
+ updatedAt: string;
795
+ } | undefined) | {
796
+ (start: number, deleteCount?: number): {
797
+ locale: Pick<Locale, "name" | "code"> | null;
798
+ contentType: {
799
+ displayName: string;
800
+ mainFieldValue: any;
801
+ uid: UID.ContentType;
802
+ };
803
+ type: "publish" | "unpublish";
804
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
805
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
806
+ release: import("../../../shared/contracts/releases").Release;
807
+ isEntryValid: boolean;
808
+ status: "draft" | "published" | "modified";
809
+ documentId: string;
810
+ id: Data.ID;
811
+ createdAt: string;
812
+ updatedAt: string;
813
+ }[];
814
+ (start: number, deleteCount: number, ...items: {
815
+ locale: Pick<Locale, "name" | "code"> | null;
816
+ contentType: {
817
+ displayName: string;
818
+ mainFieldValue: any;
819
+ uid: UID.ContentType;
820
+ };
821
+ type: "publish" | "unpublish";
822
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
823
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
824
+ release: import("../../../shared/contracts/releases").Release;
825
+ isEntryValid: boolean;
826
+ status: "draft" | "published" | "modified";
827
+ documentId: string;
828
+ id: Data.ID;
829
+ createdAt: string;
830
+ updatedAt: string;
831
+ }[]): {
832
+ locale: Pick<Locale, "name" | "code"> | null;
833
+ contentType: {
834
+ displayName: string;
835
+ mainFieldValue: any;
836
+ uid: UID.ContentType;
837
+ };
838
+ type: "publish" | "unpublish";
839
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
840
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
841
+ release: import("../../../shared/contracts/releases").Release;
842
+ isEntryValid: boolean;
843
+ status: "draft" | "published" | "modified";
844
+ documentId: string;
845
+ id: Data.ID;
846
+ createdAt: string;
847
+ updatedAt: string;
848
+ }[];
849
+ } | ((...items: {
850
+ locale: Pick<Locale, "name" | "code"> | null;
851
+ contentType: {
852
+ displayName: string;
853
+ mainFieldValue: any;
854
+ uid: UID.ContentType;
855
+ };
856
+ type: "publish" | "unpublish";
857
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
858
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
859
+ release: import("../../../shared/contracts/releases").Release;
860
+ isEntryValid: boolean;
861
+ status: "draft" | "published" | "modified";
862
+ documentId: string;
863
+ id: Data.ID;
864
+ createdAt: string;
865
+ updatedAt: string;
866
+ }[]) => number) | {
867
+ <S extends {
868
+ locale: Pick<Locale, "name" | "code"> | null;
869
+ contentType: {
870
+ displayName: string;
871
+ mainFieldValue: any;
872
+ uid: UID.ContentType;
873
+ };
874
+ type: "publish" | "unpublish";
875
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
876
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
877
+ release: import("../../../shared/contracts/releases").Release;
878
+ isEntryValid: boolean;
879
+ status: "draft" | "published" | "modified";
880
+ documentId: string;
881
+ id: Data.ID;
882
+ createdAt: string;
883
+ updatedAt: string;
884
+ }>(predicate: (value: {
885
+ locale: Pick<Locale, "name" | "code"> | null;
886
+ contentType: {
887
+ displayName: string;
888
+ mainFieldValue: any;
889
+ uid: UID.ContentType;
890
+ };
891
+ type: "publish" | "unpublish";
892
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
893
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
894
+ release: import("../../../shared/contracts/releases").Release;
895
+ isEntryValid: boolean;
896
+ status: "draft" | "published" | "modified";
897
+ documentId: string;
898
+ id: Data.ID;
899
+ createdAt: string;
900
+ updatedAt: string;
901
+ }, index: number, array: {
902
+ locale: Pick<Locale, "name" | "code"> | null;
903
+ contentType: {
904
+ displayName: string;
905
+ mainFieldValue: any;
906
+ uid: UID.ContentType;
907
+ };
908
+ type: "publish" | "unpublish";
909
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
910
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
911
+ release: import("../../../shared/contracts/releases").Release;
912
+ isEntryValid: boolean;
913
+ status: "draft" | "published" | "modified";
914
+ documentId: string;
915
+ id: Data.ID;
916
+ createdAt: string;
917
+ updatedAt: string;
918
+ }[]) => value is S, thisArg?: any): this is S[];
919
+ (predicate: (value: {
920
+ locale: Pick<Locale, "name" | "code"> | null;
921
+ contentType: {
922
+ displayName: string;
923
+ mainFieldValue: any;
924
+ uid: UID.ContentType;
925
+ };
926
+ type: "publish" | "unpublish";
927
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
928
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
929
+ release: import("../../../shared/contracts/releases").Release;
930
+ isEntryValid: boolean;
931
+ status: "draft" | "published" | "modified";
932
+ documentId: string;
933
+ id: Data.ID;
934
+ createdAt: string;
935
+ updatedAt: string;
936
+ }, index: number, array: {
937
+ locale: Pick<Locale, "name" | "code"> | null;
938
+ contentType: {
939
+ displayName: string;
940
+ mainFieldValue: any;
941
+ uid: UID.ContentType;
942
+ };
943
+ type: "publish" | "unpublish";
944
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
945
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
946
+ release: import("../../../shared/contracts/releases").Release;
947
+ isEntryValid: boolean;
948
+ status: "draft" | "published" | "modified";
949
+ documentId: string;
950
+ id: Data.ID;
951
+ createdAt: string;
952
+ updatedAt: string;
953
+ }[]) => unknown, thisArg?: any): boolean;
954
+ } | ((callbackfn: (value: {
955
+ locale: Pick<Locale, "name" | "code"> | null;
956
+ contentType: {
957
+ displayName: string;
958
+ mainFieldValue: any;
959
+ uid: UID.ContentType;
960
+ };
961
+ type: "publish" | "unpublish";
962
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
963
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
964
+ release: import("../../../shared/contracts/releases").Release;
965
+ isEntryValid: boolean;
966
+ status: "draft" | "published" | "modified";
967
+ documentId: string;
968
+ id: Data.ID;
969
+ createdAt: string;
970
+ updatedAt: string;
971
+ }, index: number, array: {
972
+ locale: Pick<Locale, "name" | "code"> | null;
973
+ contentType: {
974
+ displayName: string;
975
+ mainFieldValue: any;
976
+ uid: UID.ContentType;
977
+ };
978
+ type: "publish" | "unpublish";
979
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
980
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
981
+ release: import("../../../shared/contracts/releases").Release;
982
+ isEntryValid: boolean;
983
+ status: "draft" | "published" | "modified";
984
+ documentId: string;
985
+ id: Data.ID;
986
+ createdAt: string;
987
+ updatedAt: string;
988
+ }[]) => void, thisArg?: any) => void) | {
989
+ (callbackfn: (previousValue: {
990
+ locale: Pick<Locale, "name" | "code"> | null;
991
+ contentType: {
992
+ displayName: string;
993
+ mainFieldValue: any;
994
+ uid: UID.ContentType;
995
+ };
996
+ type: "publish" | "unpublish";
997
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
998
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
999
+ release: import("../../../shared/contracts/releases").Release;
1000
+ isEntryValid: boolean;
1001
+ status: "draft" | "published" | "modified";
1002
+ documentId: string;
1003
+ id: Data.ID;
1004
+ createdAt: string;
1005
+ updatedAt: string;
1006
+ }, currentValue: {
1007
+ locale: Pick<Locale, "name" | "code"> | null;
1008
+ contentType: {
1009
+ displayName: string;
1010
+ mainFieldValue: any;
1011
+ uid: UID.ContentType;
1012
+ };
1013
+ type: "publish" | "unpublish";
1014
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1015
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1016
+ release: import("../../../shared/contracts/releases").Release;
1017
+ isEntryValid: boolean;
1018
+ status: "draft" | "published" | "modified";
1019
+ documentId: string;
1020
+ id: Data.ID;
1021
+ createdAt: string;
1022
+ updatedAt: string;
1023
+ }, currentIndex: number, array: {
1024
+ locale: Pick<Locale, "name" | "code"> | null;
1025
+ contentType: {
1026
+ displayName: string;
1027
+ mainFieldValue: any;
1028
+ uid: UID.ContentType;
1029
+ };
1030
+ type: "publish" | "unpublish";
1031
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1032
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1033
+ release: import("../../../shared/contracts/releases").Release;
1034
+ isEntryValid: boolean;
1035
+ status: "draft" | "published" | "modified";
1036
+ documentId: string;
1037
+ id: Data.ID;
1038
+ createdAt: string;
1039
+ updatedAt: string;
1040
+ }[]) => {
1041
+ locale: Pick<Locale, "name" | "code"> | null;
1042
+ contentType: {
1043
+ displayName: string;
1044
+ mainFieldValue: any;
1045
+ uid: UID.ContentType;
1046
+ };
1047
+ type: "publish" | "unpublish";
1048
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1049
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1050
+ release: import("../../../shared/contracts/releases").Release;
1051
+ isEntryValid: boolean;
1052
+ status: "draft" | "published" | "modified";
1053
+ documentId: string;
1054
+ id: Data.ID;
1055
+ createdAt: string;
1056
+ updatedAt: string;
1057
+ }): {
1058
+ locale: Pick<Locale, "name" | "code"> | null;
1059
+ contentType: {
1060
+ displayName: string;
1061
+ mainFieldValue: any;
1062
+ uid: UID.ContentType;
1063
+ };
1064
+ type: "publish" | "unpublish";
1065
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1066
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1067
+ release: import("../../../shared/contracts/releases").Release;
1068
+ isEntryValid: boolean;
1069
+ status: "draft" | "published" | "modified";
1070
+ documentId: string;
1071
+ id: Data.ID;
1072
+ createdAt: string;
1073
+ updatedAt: string;
1074
+ };
1075
+ (callbackfn: (previousValue: {
1076
+ locale: Pick<Locale, "name" | "code"> | null;
1077
+ contentType: {
1078
+ displayName: string;
1079
+ mainFieldValue: any;
1080
+ uid: UID.ContentType;
1081
+ };
1082
+ type: "publish" | "unpublish";
1083
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1084
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1085
+ release: import("../../../shared/contracts/releases").Release;
1086
+ isEntryValid: boolean;
1087
+ status: "draft" | "published" | "modified";
1088
+ documentId: string;
1089
+ id: Data.ID;
1090
+ createdAt: string;
1091
+ updatedAt: string;
1092
+ }, currentValue: {
1093
+ locale: Pick<Locale, "name" | "code"> | null;
1094
+ contentType: {
1095
+ displayName: string;
1096
+ mainFieldValue: any;
1097
+ uid: UID.ContentType;
1098
+ };
1099
+ type: "publish" | "unpublish";
1100
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1101
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1102
+ release: import("../../../shared/contracts/releases").Release;
1103
+ isEntryValid: boolean;
1104
+ status: "draft" | "published" | "modified";
1105
+ documentId: string;
1106
+ id: Data.ID;
1107
+ createdAt: string;
1108
+ updatedAt: string;
1109
+ }, currentIndex: number, array: {
1110
+ locale: Pick<Locale, "name" | "code"> | null;
1111
+ contentType: {
1112
+ displayName: string;
1113
+ mainFieldValue: any;
1114
+ uid: UID.ContentType;
1115
+ };
1116
+ type: "publish" | "unpublish";
1117
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1118
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1119
+ release: import("../../../shared/contracts/releases").Release;
1120
+ isEntryValid: boolean;
1121
+ status: "draft" | "published" | "modified";
1122
+ documentId: string;
1123
+ id: Data.ID;
1124
+ createdAt: string;
1125
+ updatedAt: string;
1126
+ }[]) => {
1127
+ locale: Pick<Locale, "name" | "code"> | null;
1128
+ contentType: {
1129
+ displayName: string;
1130
+ mainFieldValue: any;
1131
+ uid: UID.ContentType;
1132
+ };
1133
+ type: "publish" | "unpublish";
1134
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1135
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1136
+ release: import("../../../shared/contracts/releases").Release;
1137
+ isEntryValid: boolean;
1138
+ status: "draft" | "published" | "modified";
1139
+ documentId: string;
1140
+ id: Data.ID;
1141
+ createdAt: string;
1142
+ updatedAt: string;
1143
+ }, initialValue: {
1144
+ locale: Pick<Locale, "name" | "code"> | null;
1145
+ contentType: {
1146
+ displayName: string;
1147
+ mainFieldValue: any;
1148
+ uid: UID.ContentType;
1149
+ };
1150
+ type: "publish" | "unpublish";
1151
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1152
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1153
+ release: import("../../../shared/contracts/releases").Release;
1154
+ isEntryValid: boolean;
1155
+ status: "draft" | "published" | "modified";
1156
+ documentId: string;
1157
+ id: Data.ID;
1158
+ createdAt: string;
1159
+ updatedAt: string;
1160
+ }): {
1161
+ locale: Pick<Locale, "name" | "code"> | null;
1162
+ contentType: {
1163
+ displayName: string;
1164
+ mainFieldValue: any;
1165
+ uid: UID.ContentType;
1166
+ };
1167
+ type: "publish" | "unpublish";
1168
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1169
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1170
+ release: import("../../../shared/contracts/releases").Release;
1171
+ isEntryValid: boolean;
1172
+ status: "draft" | "published" | "modified";
1173
+ documentId: string;
1174
+ id: Data.ID;
1175
+ createdAt: string;
1176
+ updatedAt: string;
1177
+ };
1178
+ <U>(callbackfn: (previousValue: U, currentValue: {
1179
+ locale: Pick<Locale, "name" | "code"> | null;
1180
+ contentType: {
1181
+ displayName: string;
1182
+ mainFieldValue: any;
1183
+ uid: UID.ContentType;
1184
+ };
1185
+ type: "publish" | "unpublish";
1186
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1187
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1188
+ release: import("../../../shared/contracts/releases").Release;
1189
+ isEntryValid: boolean;
1190
+ status: "draft" | "published" | "modified";
1191
+ documentId: string;
1192
+ id: Data.ID;
1193
+ createdAt: string;
1194
+ updatedAt: string;
1195
+ }, currentIndex: number, array: {
1196
+ locale: Pick<Locale, "name" | "code"> | null;
1197
+ contentType: {
1198
+ displayName: string;
1199
+ mainFieldValue: any;
1200
+ uid: UID.ContentType;
1201
+ };
1202
+ type: "publish" | "unpublish";
1203
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1204
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1205
+ release: import("../../../shared/contracts/releases").Release;
1206
+ isEntryValid: boolean;
1207
+ status: "draft" | "published" | "modified";
1208
+ documentId: string;
1209
+ id: Data.ID;
1210
+ createdAt: string;
1211
+ updatedAt: string;
1212
+ }[]) => U, initialValue: U): U;
1213
+ } | {
1214
+ <S extends {
1215
+ locale: Pick<Locale, "name" | "code"> | null;
1216
+ contentType: {
1217
+ displayName: string;
1218
+ mainFieldValue: any;
1219
+ uid: UID.ContentType;
1220
+ };
1221
+ type: "publish" | "unpublish";
1222
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1223
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1224
+ release: import("../../../shared/contracts/releases").Release;
1225
+ isEntryValid: boolean;
1226
+ status: "draft" | "published" | "modified";
1227
+ documentId: string;
1228
+ id: Data.ID;
1229
+ createdAt: string;
1230
+ updatedAt: string;
1231
+ }>(predicate: (value: {
1232
+ locale: Pick<Locale, "name" | "code"> | null;
1233
+ contentType: {
1234
+ displayName: string;
1235
+ mainFieldValue: any;
1236
+ uid: UID.ContentType;
1237
+ };
1238
+ type: "publish" | "unpublish";
1239
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1240
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1241
+ release: import("../../../shared/contracts/releases").Release;
1242
+ isEntryValid: boolean;
1243
+ status: "draft" | "published" | "modified";
1244
+ documentId: string;
1245
+ id: Data.ID;
1246
+ createdAt: string;
1247
+ updatedAt: string;
1248
+ }, index: number, obj: {
1249
+ locale: Pick<Locale, "name" | "code"> | null;
1250
+ contentType: {
1251
+ displayName: string;
1252
+ mainFieldValue: any;
1253
+ uid: UID.ContentType;
1254
+ };
1255
+ type: "publish" | "unpublish";
1256
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1257
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1258
+ release: import("../../../shared/contracts/releases").Release;
1259
+ isEntryValid: boolean;
1260
+ status: "draft" | "published" | "modified";
1261
+ documentId: string;
1262
+ id: Data.ID;
1263
+ createdAt: string;
1264
+ updatedAt: string;
1265
+ }[]) => value is S, thisArg?: any): S | undefined;
1266
+ (predicate: (value: {
1267
+ locale: Pick<Locale, "name" | "code"> | null;
1268
+ contentType: {
1269
+ displayName: string;
1270
+ mainFieldValue: any;
1271
+ uid: UID.ContentType;
1272
+ };
1273
+ type: "publish" | "unpublish";
1274
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1275
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1276
+ release: import("../../../shared/contracts/releases").Release;
1277
+ isEntryValid: boolean;
1278
+ status: "draft" | "published" | "modified";
1279
+ documentId: string;
1280
+ id: Data.ID;
1281
+ createdAt: string;
1282
+ updatedAt: string;
1283
+ }, index: number, obj: {
1284
+ locale: Pick<Locale, "name" | "code"> | null;
1285
+ contentType: {
1286
+ displayName: string;
1287
+ mainFieldValue: any;
1288
+ uid: UID.ContentType;
1289
+ };
1290
+ type: "publish" | "unpublish";
1291
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1292
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1293
+ release: import("../../../shared/contracts/releases").Release;
1294
+ isEntryValid: boolean;
1295
+ status: "draft" | "published" | "modified";
1296
+ documentId: string;
1297
+ id: Data.ID;
1298
+ createdAt: string;
1299
+ updatedAt: string;
1300
+ }[]) => unknown, thisArg?: any): {
1301
+ locale: Pick<Locale, "name" | "code"> | null;
1302
+ contentType: {
1303
+ displayName: string;
1304
+ mainFieldValue: any;
1305
+ uid: UID.ContentType;
1306
+ };
1307
+ type: "publish" | "unpublish";
1308
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1309
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1310
+ release: import("../../../shared/contracts/releases").Release;
1311
+ isEntryValid: boolean;
1312
+ status: "draft" | "published" | "modified";
1313
+ documentId: string;
1314
+ id: Data.ID;
1315
+ createdAt: string;
1316
+ updatedAt: string;
1317
+ } | undefined;
1318
+ } | ((predicate: (value: {
1319
+ locale: Pick<Locale, "name" | "code"> | null;
1320
+ contentType: {
1321
+ displayName: string;
1322
+ mainFieldValue: any;
1323
+ uid: UID.ContentType;
1324
+ };
1325
+ type: "publish" | "unpublish";
1326
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1327
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1328
+ release: import("../../../shared/contracts/releases").Release;
1329
+ isEntryValid: boolean;
1330
+ status: "draft" | "published" | "modified";
1331
+ documentId: string;
1332
+ id: Data.ID;
1333
+ createdAt: string;
1334
+ updatedAt: string;
1335
+ }, index: number, obj: {
1336
+ locale: Pick<Locale, "name" | "code"> | null;
1337
+ contentType: {
1338
+ displayName: string;
1339
+ mainFieldValue: any;
1340
+ uid: UID.ContentType;
1341
+ };
1342
+ type: "publish" | "unpublish";
1343
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1344
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1345
+ release: import("../../../shared/contracts/releases").Release;
1346
+ isEntryValid: boolean;
1347
+ status: "draft" | "published" | "modified";
1348
+ documentId: string;
1349
+ id: Data.ID;
1350
+ createdAt: string;
1351
+ updatedAt: string;
1352
+ }[]) => unknown, thisArg?: any) => number) | ((value: {
1353
+ locale: Pick<Locale, "name" | "code"> | null;
1354
+ contentType: {
1355
+ displayName: string;
1356
+ mainFieldValue: any;
1357
+ uid: UID.ContentType;
1358
+ };
1359
+ type: "publish" | "unpublish";
1360
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1361
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1362
+ release: import("../../../shared/contracts/releases").Release;
1363
+ isEntryValid: boolean;
1364
+ status: "draft" | "published" | "modified";
1365
+ documentId: string;
1366
+ id: Data.ID;
1367
+ createdAt: string;
1368
+ updatedAt: string;
1369
+ }, start?: number, end?: number) => {
1370
+ locale: Pick<Locale, "name" | "code"> | null;
1371
+ contentType: {
1372
+ displayName: string;
1373
+ mainFieldValue: any;
1374
+ uid: UID.ContentType;
1375
+ };
1376
+ type: "publish" | "unpublish";
1377
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1378
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1379
+ release: import("../../../shared/contracts/releases").Release;
1380
+ isEntryValid: boolean;
1381
+ status: "draft" | "published" | "modified";
1382
+ documentId: string;
1383
+ id: Data.ID;
1384
+ createdAt: string;
1385
+ updatedAt: string;
1386
+ }[]) | ((target: number, start: number, end?: number) => {
1387
+ locale: Pick<Locale, "name" | "code"> | null;
1388
+ contentType: {
1389
+ displayName: string;
1390
+ mainFieldValue: any;
1391
+ uid: UID.ContentType;
1392
+ };
1393
+ type: "publish" | "unpublish";
1394
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1395
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1396
+ release: import("../../../shared/contracts/releases").Release;
1397
+ isEntryValid: boolean;
1398
+ status: "draft" | "published" | "modified";
1399
+ documentId: string;
1400
+ id: Data.ID;
1401
+ createdAt: string;
1402
+ updatedAt: string;
1403
+ }[]) | (() => ArrayIterator<[number, {
1404
+ locale: Pick<Locale, "name" | "code"> | null;
1405
+ contentType: {
1406
+ displayName: string;
1407
+ mainFieldValue: any;
1408
+ uid: UID.ContentType;
1409
+ };
1410
+ type: "publish" | "unpublish";
1411
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1412
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1413
+ release: import("../../../shared/contracts/releases").Release;
1414
+ isEntryValid: boolean;
1415
+ status: "draft" | "published" | "modified";
1416
+ documentId: string;
1417
+ id: Data.ID;
1418
+ createdAt: string;
1419
+ updatedAt: string;
1420
+ }]>) | (() => ArrayIterator<number>) | (() => ArrayIterator<{
1421
+ locale: Pick<Locale, "name" | "code"> | null;
1422
+ contentType: {
1423
+ displayName: string;
1424
+ mainFieldValue: any;
1425
+ uid: UID.ContentType;
1426
+ };
1427
+ type: "publish" | "unpublish";
1428
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1429
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1430
+ release: import("../../../shared/contracts/releases").Release;
1431
+ isEntryValid: boolean;
1432
+ status: "draft" | "published" | "modified";
1433
+ documentId: string;
1434
+ id: Data.ID;
1435
+ createdAt: string;
1436
+ updatedAt: string;
1437
+ }>) | (<U, This = undefined>(callback: (this: This, value: {
1438
+ locale: Pick<Locale, "name" | "code"> | null;
1439
+ contentType: {
1440
+ displayName: string;
1441
+ mainFieldValue: any;
1442
+ uid: UID.ContentType;
1443
+ };
1444
+ type: "publish" | "unpublish";
1445
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1446
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1447
+ release: import("../../../shared/contracts/releases").Release;
1448
+ isEntryValid: boolean;
1449
+ status: "draft" | "published" | "modified";
1450
+ documentId: string;
1451
+ id: Data.ID;
1452
+ createdAt: string;
1453
+ updatedAt: string;
1454
+ }, index: number, array: {
1455
+ locale: Pick<Locale, "name" | "code"> | null;
1456
+ contentType: {
1457
+ displayName: string;
1458
+ mainFieldValue: any;
1459
+ uid: UID.ContentType;
1460
+ };
1461
+ type: "publish" | "unpublish";
1462
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1463
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1464
+ release: import("../../../shared/contracts/releases").Release;
1465
+ isEntryValid: boolean;
1466
+ status: "draft" | "published" | "modified";
1467
+ documentId: string;
1468
+ id: Data.ID;
1469
+ createdAt: string;
1470
+ updatedAt: string;
1471
+ }[]) => U | readonly U[], thisArg?: This | undefined) => U[]) | (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]) | {
1472
+ <S extends {
1473
+ locale: Pick<Locale, "name" | "code"> | null;
1474
+ contentType: {
1475
+ displayName: string;
1476
+ mainFieldValue: any;
1477
+ uid: UID.ContentType;
1478
+ };
1479
+ type: "publish" | "unpublish";
1480
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1481
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1482
+ release: import("../../../shared/contracts/releases").Release;
1483
+ isEntryValid: boolean;
1484
+ status: "draft" | "published" | "modified";
1485
+ documentId: string;
1486
+ id: Data.ID;
1487
+ createdAt: string;
1488
+ updatedAt: string;
1489
+ }>(predicate: (value: {
1490
+ locale: Pick<Locale, "name" | "code"> | null;
1491
+ contentType: {
1492
+ displayName: string;
1493
+ mainFieldValue: any;
1494
+ uid: UID.ContentType;
1495
+ };
1496
+ type: "publish" | "unpublish";
1497
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1498
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1499
+ release: import("../../../shared/contracts/releases").Release;
1500
+ isEntryValid: boolean;
1501
+ status: "draft" | "published" | "modified";
1502
+ documentId: string;
1503
+ id: Data.ID;
1504
+ createdAt: string;
1505
+ updatedAt: string;
1506
+ }, index: number, array: {
1507
+ locale: Pick<Locale, "name" | "code"> | null;
1508
+ contentType: {
1509
+ displayName: string;
1510
+ mainFieldValue: any;
1511
+ uid: UID.ContentType;
1512
+ };
1513
+ type: "publish" | "unpublish";
1514
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1515
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1516
+ release: import("../../../shared/contracts/releases").Release;
1517
+ isEntryValid: boolean;
1518
+ status: "draft" | "published" | "modified";
1519
+ documentId: string;
1520
+ id: Data.ID;
1521
+ createdAt: string;
1522
+ updatedAt: string;
1523
+ }[]) => value is S, thisArg?: any): S | undefined;
1524
+ (predicate: (value: {
1525
+ locale: Pick<Locale, "name" | "code"> | null;
1526
+ contentType: {
1527
+ displayName: string;
1528
+ mainFieldValue: any;
1529
+ uid: UID.ContentType;
1530
+ };
1531
+ type: "publish" | "unpublish";
1532
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1533
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1534
+ release: import("../../../shared/contracts/releases").Release;
1535
+ isEntryValid: boolean;
1536
+ status: "draft" | "published" | "modified";
1537
+ documentId: string;
1538
+ id: Data.ID;
1539
+ createdAt: string;
1540
+ updatedAt: string;
1541
+ }, index: number, array: {
1542
+ locale: Pick<Locale, "name" | "code"> | null;
1543
+ contentType: {
1544
+ displayName: string;
1545
+ mainFieldValue: any;
1546
+ uid: UID.ContentType;
1547
+ };
1548
+ type: "publish" | "unpublish";
1549
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1550
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1551
+ release: import("../../../shared/contracts/releases").Release;
1552
+ isEntryValid: boolean;
1553
+ status: "draft" | "published" | "modified";
1554
+ documentId: string;
1555
+ id: Data.ID;
1556
+ createdAt: string;
1557
+ updatedAt: string;
1558
+ }[]) => unknown, thisArg?: any): {
1559
+ locale: Pick<Locale, "name" | "code"> | null;
1560
+ contentType: {
1561
+ displayName: string;
1562
+ mainFieldValue: any;
1563
+ uid: UID.ContentType;
1564
+ };
1565
+ type: "publish" | "unpublish";
1566
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1567
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1568
+ release: import("../../../shared/contracts/releases").Release;
1569
+ isEntryValid: boolean;
1570
+ status: "draft" | "published" | "modified";
1571
+ documentId: string;
1572
+ id: Data.ID;
1573
+ createdAt: string;
1574
+ updatedAt: string;
1575
+ } | undefined;
1576
+ } | ((predicate: (value: {
1577
+ locale: Pick<Locale, "name" | "code"> | null;
1578
+ contentType: {
1579
+ displayName: string;
1580
+ mainFieldValue: any;
1581
+ uid: UID.ContentType;
1582
+ };
1583
+ type: "publish" | "unpublish";
1584
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1585
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1586
+ release: import("../../../shared/contracts/releases").Release;
1587
+ isEntryValid: boolean;
1588
+ status: "draft" | "published" | "modified";
1589
+ documentId: string;
1590
+ id: Data.ID;
1591
+ createdAt: string;
1592
+ updatedAt: string;
1593
+ }, index: number, array: {
1594
+ locale: Pick<Locale, "name" | "code"> | null;
1595
+ contentType: {
1596
+ displayName: string;
1597
+ mainFieldValue: any;
1598
+ uid: UID.ContentType;
1599
+ };
1600
+ type: "publish" | "unpublish";
1601
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1602
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1603
+ release: import("../../../shared/contracts/releases").Release;
1604
+ isEntryValid: boolean;
1605
+ status: "draft" | "published" | "modified";
1606
+ documentId: string;
1607
+ id: Data.ID;
1608
+ createdAt: string;
1609
+ updatedAt: string;
1610
+ }[]) => unknown, thisArg?: any) => number) | (() => {
1611
+ locale: Pick<Locale, "name" | "code"> | null;
1612
+ contentType: {
1613
+ displayName: string;
1614
+ mainFieldValue: any;
1615
+ uid: UID.ContentType;
1616
+ };
1617
+ type: "publish" | "unpublish";
1618
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1619
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1620
+ release: import("../../../shared/contracts/releases").Release;
1621
+ isEntryValid: boolean;
1622
+ status: "draft" | "published" | "modified";
1623
+ documentId: string;
1624
+ id: Data.ID;
1625
+ createdAt: string;
1626
+ updatedAt: string;
1627
+ }[]) | ((compareFn?: ((a: {
1628
+ locale: Pick<Locale, "name" | "code"> | null;
1629
+ contentType: {
1630
+ displayName: string;
1631
+ mainFieldValue: any;
1632
+ uid: UID.ContentType;
1633
+ };
1634
+ type: "publish" | "unpublish";
1635
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1636
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1637
+ release: import("../../../shared/contracts/releases").Release;
1638
+ isEntryValid: boolean;
1639
+ status: "draft" | "published" | "modified";
1640
+ documentId: string;
1641
+ id: Data.ID;
1642
+ createdAt: string;
1643
+ updatedAt: string;
1644
+ }, b: {
1645
+ locale: Pick<Locale, "name" | "code"> | null;
1646
+ contentType: {
1647
+ displayName: string;
1648
+ mainFieldValue: any;
1649
+ uid: UID.ContentType;
1650
+ };
1651
+ type: "publish" | "unpublish";
1652
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1653
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1654
+ release: import("../../../shared/contracts/releases").Release;
1655
+ isEntryValid: boolean;
1656
+ status: "draft" | "published" | "modified";
1657
+ documentId: string;
1658
+ id: Data.ID;
1659
+ createdAt: string;
1660
+ updatedAt: string;
1661
+ }) => number) | undefined) => {
1662
+ locale: Pick<Locale, "name" | "code"> | null;
1663
+ contentType: {
1664
+ displayName: string;
1665
+ mainFieldValue: any;
1666
+ uid: UID.ContentType;
1667
+ };
1668
+ type: "publish" | "unpublish";
1669
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1670
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1671
+ release: import("../../../shared/contracts/releases").Release;
1672
+ isEntryValid: boolean;
1673
+ status: "draft" | "published" | "modified";
1674
+ documentId: string;
1675
+ id: Data.ID;
1676
+ createdAt: string;
1677
+ updatedAt: string;
1678
+ }[]) | {
1679
+ (start: number, deleteCount: number, ...items: {
1680
+ locale: Pick<Locale, "name" | "code"> | null;
1681
+ contentType: {
1682
+ displayName: string;
1683
+ mainFieldValue: any;
1684
+ uid: UID.ContentType;
1685
+ };
1686
+ type: "publish" | "unpublish";
1687
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1688
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1689
+ release: import("../../../shared/contracts/releases").Release;
1690
+ isEntryValid: boolean;
1691
+ status: "draft" | "published" | "modified";
1692
+ documentId: string;
1693
+ id: Data.ID;
1694
+ createdAt: string;
1695
+ updatedAt: string;
1696
+ }[]): {
1697
+ locale: Pick<Locale, "name" | "code"> | null;
1698
+ contentType: {
1699
+ displayName: string;
1700
+ mainFieldValue: any;
1701
+ uid: UID.ContentType;
1702
+ };
1703
+ type: "publish" | "unpublish";
1704
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1705
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1706
+ release: import("../../../shared/contracts/releases").Release;
1707
+ isEntryValid: boolean;
1708
+ status: "draft" | "published" | "modified";
1709
+ documentId: string;
1710
+ id: Data.ID;
1711
+ createdAt: string;
1712
+ updatedAt: string;
1713
+ }[];
1714
+ (start: number, deleteCount?: number): {
1715
+ locale: Pick<Locale, "name" | "code"> | null;
1716
+ contentType: {
1717
+ displayName: string;
1718
+ mainFieldValue: any;
1719
+ uid: UID.ContentType;
1720
+ };
1721
+ type: "publish" | "unpublish";
1722
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1723
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1724
+ release: import("../../../shared/contracts/releases").Release;
1725
+ isEntryValid: boolean;
1726
+ status: "draft" | "published" | "modified";
1727
+ documentId: string;
1728
+ id: Data.ID;
1729
+ createdAt: string;
1730
+ updatedAt: string;
1731
+ }[];
1732
+ } | ((index: number, value: {
1733
+ locale: Pick<Locale, "name" | "code"> | null;
1734
+ contentType: {
1735
+ displayName: string;
1736
+ mainFieldValue: any;
1737
+ uid: UID.ContentType;
1738
+ };
1739
+ type: "publish" | "unpublish";
1740
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1741
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1742
+ release: import("../../../shared/contracts/releases").Release;
1743
+ isEntryValid: boolean;
1744
+ status: "draft" | "published" | "modified";
1745
+ documentId: string;
1746
+ id: Data.ID;
1747
+ createdAt: string;
1748
+ updatedAt: string;
1749
+ }) => {
1750
+ locale: Pick<Locale, "name" | "code"> | null;
1751
+ contentType: {
1752
+ displayName: string;
1753
+ mainFieldValue: any;
1754
+ uid: UID.ContentType;
1755
+ };
1756
+ type: "publish" | "unpublish";
1757
+ entry: import("../../../shared/contracts/release-actions").ReleaseActionEntry;
1758
+ entryDocumentId: import("../../../shared/contracts/release-actions").ReleaseActionEntry["documentId"];
1759
+ release: import("../../../shared/contracts/releases").Release;
1760
+ isEntryValid: boolean;
1761
+ status: "draft" | "published" | "modified";
1762
+ documentId: string;
1763
+ id: Data.ID;
1764
+ createdAt: string;
1765
+ updatedAt: string;
1766
+ }[]))[]>>;
25
1767
  getContentTypeModelsFromActions(actions: ReleaseAction[]): Promise<{} | undefined>;
26
1768
  countActions(query: Modules.EntityService.Params.Pick<typeof RELEASE_ACTION_MODEL_UID, "filters">): Promise<number>;
27
1769
  update(actionId: UpdateReleaseAction.Request["params"]["actionId"], releaseId: UpdateReleaseAction.Request["params"]["releaseId"], update: UpdateReleaseAction.Request["body"]): Promise<any>;