@wix/blog 1.0.117 → 1.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/blog-v3-category.types.d.ts +60 -32
- package/build/cjs/src/blog-v3-category.types.js.map +1 -1
- package/build/cjs/src/blog-v3-category.universal.d.ts +51 -34
- package/build/cjs/src/blog-v3-category.universal.js.map +1 -1
- package/build/cjs/src/blog-v3-post.public.d.ts +1 -1
- package/build/cjs/src/blog-v3-post.types.d.ts +107 -29
- package/build/cjs/src/blog-v3-post.types.js.map +1 -1
- package/build/cjs/src/blog-v3-post.universal.d.ts +69 -10
- package/build/cjs/src/blog-v3-post.universal.js.map +1 -1
- package/build/cjs/src/blog-v3-tag.http.d.ts +1 -1
- package/build/cjs/src/blog-v3-tag.http.js +1 -1
- package/build/cjs/src/blog-v3-tag.http.js.map +1 -1
- package/build/cjs/src/blog-v3-tag.types.d.ts +57 -25
- package/build/cjs/src/blog-v3-tag.types.js.map +1 -1
- package/build/cjs/src/blog-v3-tag.universal.d.ts +70 -30
- package/build/cjs/src/blog-v3-tag.universal.js +1 -1
- package/build/cjs/src/blog-v3-tag.universal.js.map +1 -1
- package/build/es/src/blog-v3-category.types.d.ts +60 -32
- package/build/es/src/blog-v3-category.types.js.map +1 -1
- package/build/es/src/blog-v3-category.universal.d.ts +51 -34
- package/build/es/src/blog-v3-category.universal.js.map +1 -1
- package/build/es/src/blog-v3-post.public.d.ts +1 -1
- package/build/es/src/blog-v3-post.types.d.ts +107 -29
- package/build/es/src/blog-v3-post.types.js.map +1 -1
- package/build/es/src/blog-v3-post.universal.d.ts +69 -10
- package/build/es/src/blog-v3-post.universal.js.map +1 -1
- package/build/es/src/blog-v3-tag.http.d.ts +1 -1
- package/build/es/src/blog-v3-tag.http.js +1 -1
- package/build/es/src/blog-v3-tag.http.js.map +1 -1
- package/build/es/src/blog-v3-tag.types.d.ts +57 -25
- package/build/es/src/blog-v3-tag.types.js.map +1 -1
- package/build/es/src/blog-v3-tag.universal.d.ts +70 -30
- package/build/es/src/blog-v3-tag.universal.js +1 -1
- package/build/es/src/blog-v3-tag.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,7 +7,6 @@ export interface Tag {
|
|
|
7
7
|
/**
|
|
8
8
|
* Tag label.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
10
|
* A blog cannot have two tags with the same label.
|
|
12
11
|
*/
|
|
13
12
|
label?: string;
|
|
@@ -46,7 +45,6 @@ export interface Tag {
|
|
|
46
45
|
/**
|
|
47
46
|
* ID of the tag translations.
|
|
48
47
|
*
|
|
49
|
-
*
|
|
50
48
|
* All translations of a single tag will share the same `translationId`.
|
|
51
49
|
* @readonly
|
|
52
50
|
*/
|
|
@@ -54,7 +52,6 @@ export interface Tag {
|
|
|
54
52
|
/**
|
|
55
53
|
* Tag language.
|
|
56
54
|
*
|
|
57
|
-
*
|
|
58
55
|
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
59
56
|
* @readonly
|
|
60
57
|
*/
|
|
@@ -90,14 +87,18 @@ export interface GetOrCreateTagResponse {
|
|
|
90
87
|
export interface CreateTagRequest {
|
|
91
88
|
/** Tag label. Unique per blog. */
|
|
92
89
|
label: string;
|
|
93
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Tag language.
|
|
92
|
+
*
|
|
93
|
+
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
94
|
+
*/
|
|
94
95
|
language?: string;
|
|
95
96
|
/** Preferred tag slug. For example, 'tag-slug'. */
|
|
96
97
|
slug?: string | null;
|
|
97
98
|
/**
|
|
98
|
-
* List of tag fields to be included if entities are present
|
|
99
|
-
* Base fieldset
|
|
100
|
-
*
|
|
99
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
100
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
101
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
101
102
|
*/
|
|
102
103
|
fieldsets?: Field[];
|
|
103
104
|
}
|
|
@@ -171,14 +172,22 @@ export interface BulkActionMetadata {
|
|
|
171
172
|
export interface GetTagByLabelRequest {
|
|
172
173
|
/** Tag label. */
|
|
173
174
|
label: string;
|
|
174
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Tag language.
|
|
177
|
+
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
178
|
+
*/
|
|
175
179
|
language?: string | null;
|
|
176
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
182
|
+
* This parameter will be removed on June 30, 2023.
|
|
183
|
+
*
|
|
184
|
+
* List of tag fields to be included in the response.
|
|
185
|
+
*/
|
|
177
186
|
fieldsToInclude?: Field[];
|
|
178
187
|
/**
|
|
179
|
-
* List of tag fields to be included if entities are present
|
|
180
|
-
* Base fieldset
|
|
181
|
-
*
|
|
188
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
189
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
190
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
182
191
|
*/
|
|
183
192
|
fieldsets?: Field[];
|
|
184
193
|
}
|
|
@@ -190,9 +199,9 @@ export interface GetTagRequest {
|
|
|
190
199
|
/** Tag ID. */
|
|
191
200
|
tagId: string;
|
|
192
201
|
/**
|
|
193
|
-
* List of tag fields to be included if entities are present
|
|
194
|
-
* Base fieldset
|
|
195
|
-
*
|
|
202
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
203
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
204
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
196
205
|
*/
|
|
197
206
|
fieldsets?: Field[];
|
|
198
207
|
}
|
|
@@ -204,9 +213,9 @@ export interface GetTagBySlugRequest {
|
|
|
204
213
|
/** Slug of the tag to retrieve. */
|
|
205
214
|
slug: string;
|
|
206
215
|
/**
|
|
207
|
-
* List of tag fields to be included if entities are present
|
|
208
|
-
* Base fieldset
|
|
209
|
-
*
|
|
216
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
217
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
218
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
210
219
|
*/
|
|
211
220
|
fieldsets?: Field[];
|
|
212
221
|
}
|
|
@@ -216,22 +225,40 @@ export interface GetTagBySlugResponse {
|
|
|
216
225
|
}
|
|
217
226
|
export interface QueryTagsRequest {
|
|
218
227
|
/**
|
|
228
|
+
* __Deprecated.__ Use `query` instead.
|
|
229
|
+
* This parameter will be removed on June 30, 2023.
|
|
230
|
+
*
|
|
219
231
|
* Filter object.
|
|
220
232
|
* For a detailed list of supported filters, see [Field Support for Filtering and Sorting](https://dev.wix.com/api/rest/community/blog/filter-and-sort).
|
|
221
233
|
*/
|
|
222
234
|
filter?: Record<string, any> | null;
|
|
223
|
-
/**
|
|
235
|
+
/**
|
|
236
|
+
* __Deprecated.__ Use `query` instead.
|
|
237
|
+
* This parameter will be removed on June 30, 2023.
|
|
238
|
+
*
|
|
239
|
+
* Sorting options. For a list of sortable fields, see [Field Support for Filtering and Sorting](https://dev.wix.com/api/rest/community/blog/filter-and-sort).
|
|
240
|
+
*/
|
|
224
241
|
sort?: Sorting[];
|
|
225
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* __Deprecated.__ Use `query` instead.
|
|
244
|
+
* This parameter will be removed on June 30, 2023.
|
|
245
|
+
*
|
|
246
|
+
* Pagination options.
|
|
247
|
+
*/
|
|
226
248
|
paging?: Paging;
|
|
227
|
-
/**
|
|
249
|
+
/**
|
|
250
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
251
|
+
* This parameter will be removed on June 30, 2023.
|
|
252
|
+
*
|
|
253
|
+
* List of tag fields to be included in the response.
|
|
254
|
+
*/
|
|
228
255
|
fieldsToInclude?: Field[];
|
|
229
256
|
/** Query options. */
|
|
230
257
|
query?: PlatformQuery;
|
|
231
258
|
/**
|
|
232
|
-
* List of tag fields to be included if entities are present
|
|
233
|
-
* Base fieldset
|
|
234
|
-
*
|
|
259
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
260
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
261
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
235
262
|
*/
|
|
236
263
|
fieldsets?: Field[];
|
|
237
264
|
}
|
|
@@ -297,7 +324,12 @@ export interface CursorPaging {
|
|
|
297
324
|
export interface QueryTagsResponse {
|
|
298
325
|
/** List of tags. */
|
|
299
326
|
tags?: Tag[];
|
|
300
|
-
/**
|
|
327
|
+
/**
|
|
328
|
+
* __Deprecated.__ Use `pagingMetadata` instead.
|
|
329
|
+
* This property will be removed on June 30, 2023.
|
|
330
|
+
*
|
|
331
|
+
* Details on the paged set of results returned.
|
|
332
|
+
*/
|
|
301
333
|
metaData?: MetaData;
|
|
302
334
|
/** Details on the paged set of results returned. */
|
|
303
335
|
pagingMetadata?: PagingMetadataV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-tag.types.js","sourceRoot":"","sources":["../../../src/blog-v3-tag.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"blog-v3-tag.types.js","sourceRoot":"","sources":["../../../src/blog-v3-tag.types.ts"],"names":[],"mappings":";;;AAgFA,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,qCAAqC;IACrC,oBAAW,CAAA;AACb,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAiND,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -13,7 +13,6 @@ export interface Tag {
|
|
|
13
13
|
/**
|
|
14
14
|
* Tag label.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
16
|
* A blog cannot have two tags with the same label.
|
|
18
17
|
*/
|
|
19
18
|
label?: string;
|
|
@@ -65,7 +64,6 @@ export interface Tag {
|
|
|
65
64
|
/**
|
|
66
65
|
* Tag language.
|
|
67
66
|
*
|
|
68
|
-
*
|
|
69
67
|
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
70
68
|
* @readonly
|
|
71
69
|
*/
|
|
@@ -95,14 +93,18 @@ export interface GetOrCreateTagResponse {
|
|
|
95
93
|
export interface CreateTagRequest {
|
|
96
94
|
/** Tag label. Unique per blog. */
|
|
97
95
|
label: string;
|
|
98
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Tag language.
|
|
98
|
+
*
|
|
99
|
+
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
100
|
+
*/
|
|
99
101
|
language?: string;
|
|
100
102
|
/** Preferred tag slug. For example, 'tag-slug'. */
|
|
101
103
|
slug?: string | null;
|
|
102
104
|
/**
|
|
103
|
-
* List of tag fields to be included if entities are present
|
|
104
|
-
* Base fieldset
|
|
105
|
-
*
|
|
105
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
106
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
107
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
106
108
|
*/
|
|
107
109
|
fieldsets?: Field[];
|
|
108
110
|
}
|
|
@@ -176,14 +178,22 @@ export interface BulkActionMetadata {
|
|
|
176
178
|
export interface GetTagByLabelRequest {
|
|
177
179
|
/** Tag label. */
|
|
178
180
|
label: string;
|
|
179
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* Tag language.
|
|
183
|
+
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
184
|
+
*/
|
|
180
185
|
language?: string | null;
|
|
181
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
188
|
+
* This parameter will be removed on June 30, 2023.
|
|
189
|
+
*
|
|
190
|
+
* List of tag fields to be included in the response.
|
|
191
|
+
*/
|
|
182
192
|
fieldsToInclude?: Field[];
|
|
183
193
|
/**
|
|
184
|
-
* List of tag fields to be included if entities are present
|
|
185
|
-
* Base fieldset
|
|
186
|
-
*
|
|
194
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
195
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
196
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
187
197
|
*/
|
|
188
198
|
fieldsets?: Field[];
|
|
189
199
|
}
|
|
@@ -195,9 +205,9 @@ export interface GetTagRequest {
|
|
|
195
205
|
/** Tag ID. */
|
|
196
206
|
tagId: string;
|
|
197
207
|
/**
|
|
198
|
-
* List of tag fields to be included if entities are present
|
|
199
|
-
* Base fieldset
|
|
200
|
-
*
|
|
208
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
209
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
210
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
201
211
|
*/
|
|
202
212
|
fieldsets?: Field[];
|
|
203
213
|
}
|
|
@@ -209,9 +219,9 @@ export interface GetTagBySlugRequest {
|
|
|
209
219
|
/** Slug of the tag to retrieve. */
|
|
210
220
|
slug: string;
|
|
211
221
|
/**
|
|
212
|
-
* List of tag fields to be included if entities are present
|
|
213
|
-
* Base fieldset
|
|
214
|
-
*
|
|
222
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
223
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
224
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
215
225
|
*/
|
|
216
226
|
fieldsets?: Field[];
|
|
217
227
|
}
|
|
@@ -221,22 +231,40 @@ export interface GetTagBySlugResponse {
|
|
|
221
231
|
}
|
|
222
232
|
export interface QueryTagsRequest {
|
|
223
233
|
/**
|
|
234
|
+
* __Deprecated.__ Use `query` instead.
|
|
235
|
+
* This parameter will be removed on June 30, 2023.
|
|
236
|
+
*
|
|
224
237
|
* Filter object.
|
|
225
238
|
* For a detailed list of supported filters, see [Field Support for Filtering and Sorting](https://dev.wix.com/api/rest/community/blog/filter-and-sort).
|
|
226
239
|
*/
|
|
227
240
|
filter?: Record<string, any> | null;
|
|
228
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* __Deprecated.__ Use `query` instead.
|
|
243
|
+
* This parameter will be removed on June 30, 2023.
|
|
244
|
+
*
|
|
245
|
+
* Sorting options. For a list of sortable fields, see [Field Support for Filtering and Sorting](https://dev.wix.com/api/rest/community/blog/filter-and-sort).
|
|
246
|
+
*/
|
|
229
247
|
sort?: Sorting[];
|
|
230
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* __Deprecated.__ Use `query` instead.
|
|
250
|
+
* This parameter will be removed on June 30, 2023.
|
|
251
|
+
*
|
|
252
|
+
* Pagination options.
|
|
253
|
+
*/
|
|
231
254
|
paging?: Paging;
|
|
232
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
257
|
+
* This parameter will be removed on June 30, 2023.
|
|
258
|
+
*
|
|
259
|
+
* List of tag fields to be included in the response.
|
|
260
|
+
*/
|
|
233
261
|
fieldsToInclude?: Field[];
|
|
234
262
|
/** Query options. */
|
|
235
263
|
query?: PlatformQuery;
|
|
236
264
|
/**
|
|
237
|
-
* List of tag fields to be included if entities are present
|
|
238
|
-
* Base fieldset
|
|
239
|
-
*
|
|
265
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
266
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
267
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
240
268
|
*/
|
|
241
269
|
fieldsets?: Field[];
|
|
242
270
|
}
|
|
@@ -302,7 +330,12 @@ export interface CursorPaging {
|
|
|
302
330
|
export interface QueryTagsResponse {
|
|
303
331
|
/** List of tags. */
|
|
304
332
|
tags?: Tag[];
|
|
305
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* __Deprecated.__ Use `pagingMetadata` instead.
|
|
335
|
+
* This property will be removed on June 30, 2023.
|
|
336
|
+
*
|
|
337
|
+
* Details on the paged set of results returned.
|
|
338
|
+
*/
|
|
306
339
|
metaData?: MetaData;
|
|
307
340
|
/** Details on the paged set of results returned. */
|
|
308
341
|
pagingMetadata?: PagingMetadataV2;
|
|
@@ -369,21 +402,25 @@ export interface DeleteTagRequest {
|
|
|
369
402
|
export interface DeleteTagResponse {
|
|
370
403
|
}
|
|
371
404
|
/**
|
|
372
|
-
* Creates a new tag with the provided label if the tag does not exist.
|
|
405
|
+
* Creates a new tag with the provided label if the tag does not already exist.
|
|
373
406
|
* @param label - Tag label. Unique per blog.
|
|
374
407
|
* @public
|
|
375
408
|
* @requiredField label
|
|
376
409
|
*/
|
|
377
410
|
export declare function createTag(label: string, options?: CreateTagOptions): Promise<CreateTagResponse>;
|
|
378
411
|
export interface CreateTagOptions {
|
|
379
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* Tag language.
|
|
414
|
+
*
|
|
415
|
+
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
416
|
+
*/
|
|
380
417
|
language?: string;
|
|
381
418
|
/** Preferred tag slug. For example, 'tag-slug'. */
|
|
382
419
|
slug?: string | null;
|
|
383
420
|
/**
|
|
384
|
-
* List of tag fields to be included if entities are present
|
|
385
|
-
* Base fieldset
|
|
386
|
-
*
|
|
421
|
+
* List of tag fields to be included in the response if the entities are present.
|
|
422
|
+
* Base default fieldset returns all core tag properties (all properties that are not a supported fieldset value).
|
|
423
|
+
* For example, when `URL` fieldset is selected, returned tag will include the set of base properties and the tag's preview url.
|
|
387
424
|
*/
|
|
388
425
|
fieldsets?: Field[];
|
|
389
426
|
}
|
|
@@ -399,7 +436,10 @@ export interface CreateTagOptions {
|
|
|
399
436
|
*/
|
|
400
437
|
export declare function getTagByLabel(label: string, options?: GetTagByLabelOptions): Promise<GetTagByLabelResponse>;
|
|
401
438
|
export interface GetTagByLabelOptions {
|
|
402
|
-
/**
|
|
439
|
+
/**
|
|
440
|
+
* Tag language.
|
|
441
|
+
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
442
|
+
*/
|
|
403
443
|
language?: string | null;
|
|
404
444
|
/** __Deprecated.__ Use GetTagByLabelOptions.fieldsets */
|
|
405
445
|
fieldsToInclude?: Field[];
|
|
@@ -73,7 +73,7 @@ const _queryTagsRequest = {};
|
|
|
73
73
|
const _queryTagsResponse = { tags: '_tag' };
|
|
74
74
|
const _tag = { url: 'wix.common.PageUrl' };
|
|
75
75
|
/**
|
|
76
|
-
* Creates a new tag with the provided label if the tag does not exist.
|
|
76
|
+
* Creates a new tag with the provided label if the tag does not already exist.
|
|
77
77
|
* @param label - Tag label. Unique per blog.
|
|
78
78
|
* @public
|
|
79
79
|
* @requiredField label
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-tag.universal.js","sourceRoot":"","sources":["../../../src/blog-v3-tag.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,2EAA6D;AAC7D,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,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AAC,EAAE,CAAC,CAAC;QAEjE,IAAI;YACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAEnD,OAAO,QAAQ,CAAC,IAAI,CAAQ,CAAC;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,OAAO;aACR,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA;AA5CD,8BA4CC"}
|
|
@@ -20,7 +20,12 @@ export interface Category {
|
|
|
20
20
|
description?: string | null;
|
|
21
21
|
/** Category title. */
|
|
22
22
|
title?: string;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* __Deprecated.__ Use `coverImage` instead.
|
|
25
|
+
* This property will be removed on June 30, 2023.
|
|
26
|
+
*
|
|
27
|
+
* Category cover image or video.
|
|
28
|
+
*/
|
|
24
29
|
coverMedia?: CoverMedia;
|
|
25
30
|
/**
|
|
26
31
|
* Reserved for internal use.
|
|
@@ -28,19 +33,25 @@ export interface Category {
|
|
|
28
33
|
*/
|
|
29
34
|
oldRank?: number;
|
|
30
35
|
/**
|
|
36
|
+
* __Deprecated.__ Use `displayPosition` instead.
|
|
37
|
+
* This property will be removed on June 30, 2023.
|
|
38
|
+
*
|
|
31
39
|
* Category position in sequence.
|
|
32
|
-
* Reserved for internal use.
|
|
33
40
|
*/
|
|
34
41
|
rank?: number | null;
|
|
35
42
|
/**
|
|
36
|
-
* Category position in sequence. Categories with lower display position are displayed first. A position of `-1`
|
|
43
|
+
* Category position in sequence. Categories with a lower display position are displayed first. A position of `-1` appears at the end of the sequence.
|
|
37
44
|
*
|
|
38
45
|
* Default: `-1`
|
|
39
46
|
*/
|
|
40
47
|
displayPosition?: number | null;
|
|
41
48
|
/** ID of the category's translations. All translations of a single category will share the same `translationId`. */
|
|
42
49
|
translationId?: string | null;
|
|
43
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Category language.
|
|
52
|
+
*
|
|
53
|
+
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
54
|
+
*/
|
|
44
55
|
language?: string;
|
|
45
56
|
/** Category slug. For example, 'category-slug'. */
|
|
46
57
|
slug?: string;
|
|
@@ -158,9 +169,9 @@ export interface CreateCategoryRequest {
|
|
|
158
169
|
/** Category info. */
|
|
159
170
|
category: Category;
|
|
160
171
|
/**
|
|
161
|
-
* List of category fields to be included if entities are present
|
|
162
|
-
* Base fieldset
|
|
163
|
-
*
|
|
172
|
+
* List of category fields to be included in the response if the entities are present.
|
|
173
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
174
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
164
175
|
*/
|
|
165
176
|
fieldsets?: Field[];
|
|
166
177
|
}
|
|
@@ -186,9 +197,9 @@ export interface BulkCreateCategoriesRequest {
|
|
|
186
197
|
/** Whether to return the full created category entities in the response. */
|
|
187
198
|
returnFullEntity?: boolean;
|
|
188
199
|
/**
|
|
189
|
-
* List of category fields to be included if entities are present
|
|
190
|
-
* Base fieldset
|
|
191
|
-
*
|
|
200
|
+
* List of category fields to be included in the response if the entities are present.
|
|
201
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
202
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
192
203
|
*/
|
|
193
204
|
fieldsets?: Field[];
|
|
194
205
|
}
|
|
@@ -233,9 +244,9 @@ export interface UpdateCategoryRequest {
|
|
|
233
244
|
/** Field mask of fields to update. */
|
|
234
245
|
fieldMask?: string[];
|
|
235
246
|
/**
|
|
236
|
-
* List of category fields to be included if entities are present
|
|
237
|
-
* Base fieldset
|
|
238
|
-
*
|
|
247
|
+
* List of category fields to be included in the response if the entities are present.
|
|
248
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
249
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
239
250
|
*/
|
|
240
251
|
fieldsets?: Field[];
|
|
241
252
|
}
|
|
@@ -247,9 +258,9 @@ export interface GetCategoryRequest {
|
|
|
247
258
|
/** Category ID. */
|
|
248
259
|
categoryId: string;
|
|
249
260
|
/**
|
|
250
|
-
* List of category fields to be included if entities are present
|
|
251
|
-
* Base fieldset
|
|
252
|
-
*
|
|
261
|
+
* List of category fields to be included in the response if the entities are present.
|
|
262
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
263
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
253
264
|
*/
|
|
254
265
|
fieldsets?: Field[];
|
|
255
266
|
}
|
|
@@ -261,9 +272,9 @@ export interface GetCategoryBySlugRequest {
|
|
|
261
272
|
/** Slug of the category to retrieve. */
|
|
262
273
|
slug: string;
|
|
263
274
|
/**
|
|
264
|
-
* List of category fields to be included if entities are present
|
|
265
|
-
* Base fieldset
|
|
266
|
-
*
|
|
275
|
+
* List of category fields to be included in the response if the entities are present.
|
|
276
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
277
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
267
278
|
*/
|
|
268
279
|
fieldsets?: Field[];
|
|
269
280
|
}
|
|
@@ -275,9 +286,9 @@ export interface ListCategoriesRequest {
|
|
|
275
286
|
/** Pagination options. */
|
|
276
287
|
paging?: BlogPaging;
|
|
277
288
|
/**
|
|
278
|
-
* List of category fields to be included if entities are present
|
|
279
|
-
* Base fieldset
|
|
280
|
-
*
|
|
289
|
+
* List of category fields to be included in the response if the entities are present.
|
|
290
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
291
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
281
292
|
*/
|
|
282
293
|
fieldsets?: Field[];
|
|
283
294
|
}
|
|
@@ -311,23 +322,35 @@ export interface MetaData {
|
|
|
311
322
|
cursor?: string | null;
|
|
312
323
|
}
|
|
313
324
|
export interface QueryCategoriesRequest {
|
|
314
|
-
/** Pagination options. */
|
|
315
|
-
paging?: BlogPaging;
|
|
316
325
|
/**
|
|
317
|
-
*
|
|
318
|
-
*
|
|
326
|
+
* __Deprecated.__ Use `query` instead.
|
|
327
|
+
* This parameter will be removed on June 30, 2023.
|
|
328
|
+
*
|
|
329
|
+
* Pagination options.
|
|
319
330
|
*/
|
|
331
|
+
paging?: BlogPaging;
|
|
332
|
+
/** For a detailed list of supported filters, see [Field Support for Filtering and Sorting](https://dev.wix.com/api/rest/wix-blog/blog/filter-and-sort). */
|
|
320
333
|
filter?: Record<string, any> | null;
|
|
321
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* __Deprecated.__ Use `query` instead.
|
|
336
|
+
* This parameter will be removed on June 3, 2023.
|
|
337
|
+
*
|
|
338
|
+
* Sorting options. For a list of sortable fields, see [Field Support for Filtering and Sorting](https://dev.wix.com/api/rest/wix-blog/blog/filter-and-sort).
|
|
339
|
+
*/
|
|
322
340
|
sort?: Sorting[];
|
|
323
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
343
|
+
* This parameter will be removed on June 30, 2023.
|
|
344
|
+
*
|
|
345
|
+
* List of category fields to be included in the response.
|
|
346
|
+
*/
|
|
324
347
|
fieldsToInclude?: Field[];
|
|
325
348
|
/** Query options. */
|
|
326
349
|
query?: PlatformQuery;
|
|
327
350
|
/**
|
|
328
|
-
* List of category fields to be included if entities are present
|
|
329
|
-
* Base fieldset
|
|
330
|
-
*
|
|
351
|
+
* List of category fields to be included in the response if the entities are present.
|
|
352
|
+
* Base default fieldset returns all core category properties (all properties that are not a supported fieldset value).
|
|
353
|
+
* For example, when `URL` fieldset is selected, returned category will include the set of base properties and the category's preview url.
|
|
331
354
|
*/
|
|
332
355
|
fieldsets?: Field[];
|
|
333
356
|
}
|
|
@@ -389,7 +412,12 @@ export interface CursorPaging {
|
|
|
389
412
|
export interface QueryCategoriesResponse {
|
|
390
413
|
/** List of categories. */
|
|
391
414
|
categories?: Category[];
|
|
392
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* __Deprecated.__ Use `pagingMetadata` instead.
|
|
417
|
+
* This property will be removed on June 30, 2023.
|
|
418
|
+
*
|
|
419
|
+
* Details on the paged set of results returned.
|
|
420
|
+
*/
|
|
393
421
|
metaData?: MetaData;
|
|
394
422
|
/** Details on the paged set of results returned. */
|
|
395
423
|
pagingMetadata?: PagingMetadataV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-category.types.js","sourceRoot":"","sources":["../../../src/blog-v3-category.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"blog-v3-category.types.js","sourceRoot":"","sources":["../../../src/blog-v3-category.types.ts"],"names":[],"mappings":"AA2LA,MAAM,CAAN,IAAY,KAWX;AAXD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,6BAA6B;IAC7B,oBAAW,CAAA;IACX;;;OAGG;IACH,oCAA2B,CAAA;IAC3B,yBAAyB;IACzB,oBAAW,CAAA;AACb,CAAC,EAXW,KAAK,KAAL,KAAK,QAWhB;AAkMD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|