@lokalise/translation-storage-api-schemas 13.2.0 → 13.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/contracts/editor/bulk-actions/get-editor-bulk-actions.d.ts +12 -0
- package/dist/api/contracts/editor/bulk-actions/get-editor-bulk-actions.d.ts.map +1 -1
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts +6 -0
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts.map +1 -1
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions.d.ts +8 -0
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions.d.ts.map +1 -1
- package/dist/api/objects/bulk-action.d.ts +3 -0
- package/dist/api/objects/bulk-action.d.ts.map +1 -1
- package/dist/api/objects/bulk-action.js +2 -0
- package/dist/api/objects/bulk-action.js.map +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ declare const GET_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
23
23
|
operation: z.ZodEnum<{
|
|
24
24
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
25
25
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
26
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
26
27
|
}>;
|
|
27
28
|
status: z.ZodEnum<{
|
|
28
29
|
readonly PENDING: 'PENDING';
|
|
@@ -33,6 +34,7 @@ declare const GET_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
33
34
|
totalCount: z.ZodInt;
|
|
34
35
|
succeededCount: z.ZodInt;
|
|
35
36
|
failedCount: z.ZodInt;
|
|
37
|
+
skippedCount: z.ZodInt;
|
|
36
38
|
createdBy: z.ZodGUID;
|
|
37
39
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
38
40
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -46,6 +48,7 @@ export declare const BULK_ACTION_SSE_SCHEMA: z.ZodObject<{
|
|
|
46
48
|
operation: z.ZodEnum<{
|
|
47
49
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
48
50
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
51
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
49
52
|
}>;
|
|
50
53
|
status: z.ZodEnum<{
|
|
51
54
|
readonly PENDING: 'PENDING';
|
|
@@ -56,6 +59,7 @@ export declare const BULK_ACTION_SSE_SCHEMA: z.ZodObject<{
|
|
|
56
59
|
totalCount: z.ZodInt;
|
|
57
60
|
succeededCount: z.ZodInt;
|
|
58
61
|
failedCount: z.ZodInt;
|
|
62
|
+
skippedCount: z.ZodInt;
|
|
59
63
|
createdBy: z.ZodGUID;
|
|
60
64
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
61
65
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -81,6 +85,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
81
85
|
operation: z.ZodEnum<{
|
|
82
86
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
83
87
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
88
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
84
89
|
}>;
|
|
85
90
|
status: z.ZodEnum<{
|
|
86
91
|
readonly PENDING: 'PENDING';
|
|
@@ -91,6 +96,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
91
96
|
totalCount: z.ZodInt;
|
|
92
97
|
succeededCount: z.ZodInt;
|
|
93
98
|
failedCount: z.ZodInt;
|
|
99
|
+
skippedCount: z.ZodInt;
|
|
94
100
|
createdBy: z.ZodGUID;
|
|
95
101
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
96
102
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -103,6 +109,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
103
109
|
operation: z.ZodEnum<{
|
|
104
110
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
105
111
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
112
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
106
113
|
}>;
|
|
107
114
|
status: z.ZodEnum<{
|
|
108
115
|
readonly PENDING: 'PENDING';
|
|
@@ -113,6 +120,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
113
120
|
totalCount: z.ZodInt;
|
|
114
121
|
succeededCount: z.ZodInt;
|
|
115
122
|
failedCount: z.ZodInt;
|
|
123
|
+
skippedCount: z.ZodInt;
|
|
116
124
|
createdBy: z.ZodGUID;
|
|
117
125
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
118
126
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -125,6 +133,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
125
133
|
operation: z.ZodEnum<{
|
|
126
134
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
127
135
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
136
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
128
137
|
}>;
|
|
129
138
|
status: z.ZodEnum<{
|
|
130
139
|
readonly PENDING: 'PENDING';
|
|
@@ -135,6 +144,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
135
144
|
totalCount: z.ZodInt;
|
|
136
145
|
succeededCount: z.ZodInt;
|
|
137
146
|
failedCount: z.ZodInt;
|
|
147
|
+
skippedCount: z.ZodInt;
|
|
138
148
|
createdBy: z.ZodGUID;
|
|
139
149
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
140
150
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -163,6 +173,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
163
173
|
operation: z.ZodEnum<{
|
|
164
174
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
165
175
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
176
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
166
177
|
}>;
|
|
167
178
|
status: z.ZodEnum<{
|
|
168
179
|
readonly PENDING: 'PENDING';
|
|
@@ -173,6 +184,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
173
184
|
totalCount: z.ZodInt;
|
|
174
185
|
succeededCount: z.ZodInt;
|
|
175
186
|
failedCount: z.ZodInt;
|
|
187
|
+
skippedCount: z.ZodInt;
|
|
176
188
|
createdBy: z.ZodGUID;
|
|
177
189
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
178
190
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/get-editor-bulk-actions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,6CAA6C;;iBAEjD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,6CAA6C,CACrD,CAAA;AAGD,QAAA,MAAM,4CAA4C;;;;;;;;;;iBAahD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,4CAA4C,CACpD,CAAA;AACD,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,4CAA4C,CACpD,CAAA;AAED,QAAA,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"get-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/get-editor-bulk-actions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,6CAA6C;;iBAEjD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,6CAA6C,CACrD,CAAA;AAGD,QAAA,MAAM,4CAA4C;;;;;;;;;;iBAahD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,4CAA4C,CACpD,CAAA;AACD,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,4CAA4C,CACpD,CAAA;AAED,QAAA,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;iBAE3C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAA;AAGlG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iBAEjC,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAElE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBvC,CAAA"}
|
|
@@ -11,6 +11,7 @@ export declare const POST_EDITOR_BULK_ACTION_ACTIONS_CANCEL_RESPONSE_SCHEMA: z.Z
|
|
|
11
11
|
operation: z.ZodEnum<{
|
|
12
12
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
13
13
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
14
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
14
15
|
}>;
|
|
15
16
|
status: z.ZodEnum<{
|
|
16
17
|
readonly PENDING: 'PENDING';
|
|
@@ -21,6 +22,7 @@ export declare const POST_EDITOR_BULK_ACTION_ACTIONS_CANCEL_RESPONSE_SCHEMA: z.Z
|
|
|
21
22
|
totalCount: z.ZodInt;
|
|
22
23
|
succeededCount: z.ZodInt;
|
|
23
24
|
failedCount: z.ZodInt;
|
|
25
|
+
skippedCount: z.ZodInt;
|
|
24
26
|
createdBy: z.ZodGUID;
|
|
25
27
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
26
28
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -34,6 +36,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
34
36
|
operation: z.ZodEnum<{
|
|
35
37
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
36
38
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
39
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
37
40
|
}>;
|
|
38
41
|
status: z.ZodEnum<{
|
|
39
42
|
readonly PENDING: 'PENDING';
|
|
@@ -44,6 +47,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
44
47
|
totalCount: z.ZodInt;
|
|
45
48
|
succeededCount: z.ZodInt;
|
|
46
49
|
failedCount: z.ZodInt;
|
|
50
|
+
skippedCount: z.ZodInt;
|
|
47
51
|
createdBy: z.ZodGUID;
|
|
48
52
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
49
53
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -74,6 +78,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
74
78
|
operation: z.ZodEnum<{
|
|
75
79
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
76
80
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
81
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
77
82
|
}>;
|
|
78
83
|
status: z.ZodEnum<{
|
|
79
84
|
readonly PENDING: 'PENDING';
|
|
@@ -84,6 +89,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
84
89
|
totalCount: z.ZodInt;
|
|
85
90
|
succeededCount: z.ZodInt;
|
|
86
91
|
failedCount: z.ZodInt;
|
|
92
|
+
skippedCount: z.ZodInt;
|
|
87
93
|
createdBy: z.ZodGUID;
|
|
88
94
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
89
95
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-editor-bulk-action-actions-cancel.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,4DAA4D;;;iBAGhE,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,4DAA4D,CACpE,CAAA;AAED,eAAO,MAAM,sDAAsD
|
|
1
|
+
{"version":3,"file":"post-editor-bulk-action-actions-cancel.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,4DAA4D;;;iBAGhE,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,4DAA4D,CACpE,CAAA;AAED,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;iBAEjE,CAAA;AACF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,sDAAsD,CAC9D,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpD,CAAA"}
|
|
@@ -7,6 +7,7 @@ declare const POST_EDITOR_BULK_ACTIONS_REQUEST_BODY_SCHEMA: z.ZodObject<{
|
|
|
7
7
|
operation: z.ZodEnum<{
|
|
8
8
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
9
9
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
10
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
10
11
|
}>;
|
|
11
12
|
}, z.core.$strip>;
|
|
12
13
|
export type PostEditorBulkActionsRequestBody = z.infer<typeof POST_EDITOR_BULK_ACTIONS_REQUEST_BODY_SCHEMA>;
|
|
@@ -17,6 +18,7 @@ export declare const POST_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
17
18
|
operation: z.ZodEnum<{
|
|
18
19
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
19
20
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
21
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
20
22
|
}>;
|
|
21
23
|
status: z.ZodEnum<{
|
|
22
24
|
readonly PENDING: 'PENDING';
|
|
@@ -27,6 +29,7 @@ export declare const POST_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
27
29
|
totalCount: z.ZodInt;
|
|
28
30
|
succeededCount: z.ZodInt;
|
|
29
31
|
failedCount: z.ZodInt;
|
|
32
|
+
skippedCount: z.ZodInt;
|
|
30
33
|
createdBy: z.ZodGUID;
|
|
31
34
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
32
35
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -37,6 +40,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
37
40
|
operation: z.ZodEnum<{
|
|
38
41
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
39
42
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
43
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
40
44
|
}>;
|
|
41
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
42
46
|
data: z.ZodObject<{
|
|
@@ -45,6 +49,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
45
49
|
operation: z.ZodEnum<{
|
|
46
50
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
47
51
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
52
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
48
53
|
}>;
|
|
49
54
|
status: z.ZodEnum<{
|
|
50
55
|
readonly PENDING: 'PENDING';
|
|
@@ -55,6 +60,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
55
60
|
totalCount: z.ZodInt;
|
|
56
61
|
succeededCount: z.ZodInt;
|
|
57
62
|
failedCount: z.ZodInt;
|
|
63
|
+
skippedCount: z.ZodInt;
|
|
58
64
|
createdBy: z.ZodGUID;
|
|
59
65
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
60
66
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -84,6 +90,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
84
90
|
operation: z.ZodEnum<{
|
|
85
91
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
86
92
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
93
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
87
94
|
}>;
|
|
88
95
|
status: z.ZodEnum<{
|
|
89
96
|
readonly PENDING: 'PENDING';
|
|
@@ -94,6 +101,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
94
101
|
totalCount: z.ZodInt;
|
|
95
102
|
succeededCount: z.ZodInt;
|
|
96
103
|
failedCount: z.ZodInt;
|
|
104
|
+
skippedCount: z.ZodInt;
|
|
97
105
|
createdBy: z.ZodGUID;
|
|
98
106
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
99
107
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-actions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,8CAA8C;;iBAElD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8CAA8C,CACtD,CAAA;AAED,QAAA,MAAM,4CAA4C
|
|
1
|
+
{"version":3,"file":"post-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-actions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,8CAA8C;;iBAElD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8CAA8C,CACtD,CAAA;AAED,QAAA,MAAM,4CAA4C;;;;;;iBAEhD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,4CAA4C,CACpD,CAAA;AAED,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;iBAEnD,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAA;AAEpG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaxC,CAAA"}
|
|
@@ -10,6 +10,7 @@ export type BulkActionStatus = ObjectValues<typeof BulkActionStatusEnum>;
|
|
|
10
10
|
export declare const BulkActionOperationEnum: {
|
|
11
11
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
12
12
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
13
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
13
14
|
};
|
|
14
15
|
export type BulkActionOperation = ObjectValues<typeof BulkActionOperationEnum>;
|
|
15
16
|
export declare const BULK_ACTION_SCHEMA: z.ZodObject<{
|
|
@@ -18,6 +19,7 @@ export declare const BULK_ACTION_SCHEMA: z.ZodObject<{
|
|
|
18
19
|
operation: z.ZodEnum<{
|
|
19
20
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
20
21
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
22
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
21
23
|
}>;
|
|
22
24
|
status: z.ZodEnum<{
|
|
23
25
|
readonly PENDING: 'PENDING';
|
|
@@ -28,6 +30,7 @@ export declare const BULK_ACTION_SCHEMA: z.ZodObject<{
|
|
|
28
30
|
totalCount: z.ZodInt;
|
|
29
31
|
succeededCount: z.ZodInt;
|
|
30
32
|
failedCount: z.ZodInt;
|
|
33
|
+
skippedCount: z.ZodInt;
|
|
31
34
|
createdBy: z.ZodGUID;
|
|
32
35
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
33
36
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-action.d.ts","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,eAAO,MAAM,oBAAoB;aAC/B,OAAO,EAAE,SAAS;aAClB,WAAW,EAAE,aAAa;aAC1B,SAAS,EAAE,WAAW;aACtB,SAAS,EAAE,WAAW;CACd,CAAA;AACV,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAExE,eAAO,MAAM,uBAAuB;aAClC,eAAe,EAAE,iBAAiB;aAClC,iBAAiB,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"bulk-action.d.ts","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,eAAO,MAAM,oBAAoB;aAC/B,OAAO,EAAE,SAAS;aAClB,WAAW,EAAE,aAAa;aAC1B,SAAS,EAAE,WAAW;aACtB,SAAS,EAAE,WAAW;CACd,CAAA;AACV,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAExE,eAAO,MAAM,uBAAuB;aAClC,eAAe,EAAE,iBAAiB;aAClC,iBAAiB,EAAE,mBAAmB;aACtC,uBAAuB,EAAE,yBAAyB;CAC1C,CAAA;AACV,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE9E,eAAO,MAAM,kBAAkB;;;;kCANZ,iBAAiB;oCACf,mBAAmB;0CACb,yBAAyB;;;0BAVzC,SAAS;8BACL,aAAa;4BACf,WAAW;4BACX,WAAW;;;;;;;;;iBAuBtB,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -11,6 +11,7 @@ export const BulkActionStatusEnum = {
|
|
|
11
11
|
export const BulkActionOperationEnum = {
|
|
12
12
|
APPROVE_SEGMENT: 'APPROVE_SEGMENT',
|
|
13
13
|
UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT',
|
|
14
|
+
RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION',
|
|
14
15
|
};
|
|
15
16
|
export const BULK_ACTION_SCHEMA = z.object({
|
|
16
17
|
id: z.guid(),
|
|
@@ -20,6 +21,7 @@ export const BULK_ACTION_SCHEMA = z.object({
|
|
|
20
21
|
totalCount: z.int().positive(),
|
|
21
22
|
succeededCount: z.int().nonnegative(),
|
|
22
23
|
failedCount: z.int().nonnegative(),
|
|
24
|
+
skippedCount: z.int().nonnegative(),
|
|
23
25
|
createdBy: z.guid(),
|
|
24
26
|
startedAt: z.iso.datetime().nullish(), // null means action processing didn't start yet
|
|
25
27
|
completedAt: z.iso.datetime().nullish(), // null means action didn't complete yet
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-action.js","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,6CAA6C;AAC7C,cAAc;AACd,6CAA6C;AAE7C,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACd,CAAA;AAGV,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"bulk-action.js","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,6CAA6C;AAC7C,cAAc;AACd,6CAA6C;AAE7C,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACd,CAAA;AAGV,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,uBAAuB,EAAE,yBAAyB;CAC1C,CAAA;AAGV,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC;IAC1C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IACpC,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC9B,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACrC,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,gDAAgD;IACvF,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,wCAAwC;CAClF,CAAC,CAAA"}
|