@wix/blog 1.0.237 → 1.0.239
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/context.d.ts +4 -4
- package/build/cjs/context.js +4 -4
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +4 -4
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -4
- package/build/cjs/meta.js +4 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +4 -4
- package/build/es/context.js +4 -4
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +4 -4
- package/build/es/index.js +4 -4
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +4 -4
- package/build/es/meta.js +4 -4
- package/build/es/meta.js.map +1 -1
- package/package.json +14 -9
- package/build/cjs/index.typings.d.ts +0 -4
- package/build/cjs/index.typings.js +0 -31
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/blog-v3-category.context.d.ts +0 -6
- package/build/cjs/src/blog-v3-category.context.js +0 -53
- package/build/cjs/src/blog-v3-category.context.js.map +0 -1
- package/build/cjs/src/blog-v3-category.http.d.ts +0 -43
- package/build/cjs/src/blog-v3-category.http.js +0 -355
- package/build/cjs/src/blog-v3-category.http.js.map +0 -1
- package/build/cjs/src/blog-v3-category.meta.d.ts +0 -20
- package/build/cjs/src/blog-v3-category.meta.js +0 -104
- package/build/cjs/src/blog-v3-category.meta.js.map +0 -1
- package/build/cjs/src/blog-v3-category.public.d.ts +0 -43
- package/build/cjs/src/blog-v3-category.public.js +0 -37
- package/build/cjs/src/blog-v3-category.public.js.map +0 -1
- package/build/cjs/src/blog-v3-category.types.d.ts +0 -910
- package/build/cjs/src/blog-v3-category.types.js +0 -24
- package/build/cjs/src/blog-v3-category.types.js.map +0 -1
- package/build/cjs/src/blog-v3-category.universal.d.ts +0 -956
- package/build/cjs/src/blog-v3-category.universal.js +0 -383
- package/build/cjs/src/blog-v3-category.universal.js.map +0 -1
- package/build/cjs/src/blog-v3-draft.context.d.ts +0 -16
- package/build/cjs/src/blog-v3-draft.context.js +0 -173
- package/build/cjs/src/blog-v3-draft.context.js.map +0 -1
- package/build/cjs/src/blog-v3-draft.http.d.ts +0 -79
- package/build/cjs/src/blog-v3-draft.http.js +0 -1498
- package/build/cjs/src/blog-v3-draft.http.js.map +0 -1
- package/build/cjs/src/blog-v3-draft.meta.d.ts +0 -40
- package/build/cjs/src/blog-v3-draft.meta.js +0 -294
- package/build/cjs/src/blog-v3-draft.meta.js.map +0 -1
- package/build/cjs/src/blog-v3-draft.public.d.ts +0 -22
- package/build/cjs/src/blog-v3-draft.public.js +0 -133
- package/build/cjs/src/blog-v3-draft.public.js.map +0 -1
- package/build/cjs/src/blog-v3-draft.types.d.ts +0 -9171
- package/build/cjs/src/blog-v3-draft.types.js +0 -456
- package/build/cjs/src/blog-v3-draft.types.js.map +0 -1
- package/build/cjs/src/blog-v3-draft.universal.d.ts +0 -8816
- package/build/cjs/src/blog-v3-draft.universal.js +0 -1585
- package/build/cjs/src/blog-v3-draft.universal.js.map +0 -1
- package/build/cjs/src/blog-v3-post.context.d.ts +0 -9
- package/build/cjs/src/blog-v3-post.context.js +0 -89
- package/build/cjs/src/blog-v3-post.context.js.map +0 -1
- package/build/cjs/src/blog-v3-post.http.d.ts +0 -80
- package/build/cjs/src/blog-v3-post.http.js +0 -893
- package/build/cjs/src/blog-v3-post.http.js.map +0 -1
- package/build/cjs/src/blog-v3-post.meta.d.ts +0 -25
- package/build/cjs/src/blog-v3-post.meta.js +0 -161
- package/build/cjs/src/blog-v3-post.meta.js.map +0 -1
- package/build/cjs/src/blog-v3-post.public.d.ts +0 -548
- package/build/cjs/src/blog-v3-post.public.js +0 -94
- package/build/cjs/src/blog-v3-post.public.js.map +0 -1
- package/build/cjs/src/blog-v3-post.types.d.ts +0 -5238
- package/build/cjs/src/blog-v3-post.types.js +0 -478
- package/build/cjs/src/blog-v3-post.types.js.map +0 -1
- package/build/cjs/src/blog-v3-post.universal.d.ts +0 -5216
- package/build/cjs/src/blog-v3-post.universal.js +0 -1112
- package/build/cjs/src/blog-v3-post.universal.js.map +0 -1
- package/build/cjs/src/blog-v3-tag.context.d.ts +0 -6
- package/build/cjs/src/blog-v3-tag.context.js +0 -53
- package/build/cjs/src/blog-v3-tag.context.js.map +0 -1
- package/build/cjs/src/blog-v3-tag.http.d.ts +0 -40
- package/build/cjs/src/blog-v3-tag.http.js +0 -348
- package/build/cjs/src/blog-v3-tag.http.js.map +0 -1
- package/build/cjs/src/blog-v3-tag.meta.d.ts +0 -22
- package/build/cjs/src/blog-v3-tag.meta.js +0 -104
- package/build/cjs/src/blog-v3-tag.meta.js.map +0 -1
- package/build/cjs/src/blog-v3-tag.public.d.ts +0 -20
- package/build/cjs/src/blog-v3-tag.public.js +0 -37
- package/build/cjs/src/blog-v3-tag.public.js.map +0 -1
- package/build/cjs/src/blog-v3-tag.types.d.ts +0 -663
- package/build/cjs/src/blog-v3-tag.types.js +0 -17
- package/build/cjs/src/blog-v3-tag.types.js.map +0 -1
- package/build/cjs/src/blog-v3-tag.universal.d.ts +0 -807
- package/build/cjs/src/blog-v3-tag.universal.js +0 -364
- package/build/cjs/src/blog-v3-tag.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -4
- package/build/es/index.typings.js +0 -5
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/blog-v3-category.context.d.ts +0 -6
- package/build/es/src/blog-v3-category.context.js +0 -46
- package/build/es/src/blog-v3-category.context.js.map +0 -1
- package/build/es/src/blog-v3-category.http.d.ts +0 -43
- package/build/es/src/blog-v3-category.http.js +0 -348
- package/build/es/src/blog-v3-category.http.js.map +0 -1
- package/build/es/src/blog-v3-category.meta.d.ts +0 -20
- package/build/es/src/blog-v3-category.meta.js +0 -74
- package/build/es/src/blog-v3-category.meta.js.map +0 -1
- package/build/es/src/blog-v3-category.public.d.ts +0 -43
- package/build/es/src/blog-v3-category.public.js +0 -25
- package/build/es/src/blog-v3-category.public.js.map +0 -1
- package/build/es/src/blog-v3-category.types.d.ts +0 -910
- package/build/es/src/blog-v3-category.types.js +0 -21
- package/build/es/src/blog-v3-category.types.js.map +0 -1
- package/build/es/src/blog-v3-category.universal.d.ts +0 -956
- package/build/es/src/blog-v3-category.universal.js +0 -353
- package/build/es/src/blog-v3-category.universal.js.map +0 -1
- package/build/es/src/blog-v3-draft.context.d.ts +0 -16
- package/build/es/src/blog-v3-draft.context.js +0 -156
- package/build/es/src/blog-v3-draft.context.js.map +0 -1
- package/build/es/src/blog-v3-draft.http.d.ts +0 -79
- package/build/es/src/blog-v3-draft.http.js +0 -1481
- package/build/es/src/blog-v3-draft.http.js.map +0 -1
- package/build/es/src/blog-v3-draft.meta.d.ts +0 -40
- package/build/es/src/blog-v3-draft.meta.js +0 -254
- package/build/es/src/blog-v3-draft.meta.js.map +0 -1
- package/build/es/src/blog-v3-draft.public.d.ts +0 -22
- package/build/es/src/blog-v3-draft.public.js +0 -75
- package/build/es/src/blog-v3-draft.public.js.map +0 -1
- package/build/es/src/blog-v3-draft.types.d.ts +0 -9171
- package/build/es/src/blog-v3-draft.types.js +0 -453
- package/build/es/src/blog-v3-draft.types.js.map +0 -1
- package/build/es/src/blog-v3-draft.universal.d.ts +0 -8816
- package/build/es/src/blog-v3-draft.universal.js +0 -1544
- package/build/es/src/blog-v3-draft.universal.js.map +0 -1
- package/build/es/src/blog-v3-post.context.d.ts +0 -9
- package/build/es/src/blog-v3-post.context.js +0 -79
- package/build/es/src/blog-v3-post.context.js.map +0 -1
- package/build/es/src/blog-v3-post.http.d.ts +0 -80
- package/build/es/src/blog-v3-post.http.js +0 -883
- package/build/es/src/blog-v3-post.http.js.map +0 -1
- package/build/es/src/blog-v3-post.meta.d.ts +0 -25
- package/build/es/src/blog-v3-post.meta.js +0 -128
- package/build/es/src/blog-v3-post.meta.js.map +0 -1
- package/build/es/src/blog-v3-post.public.d.ts +0 -548
- package/build/es/src/blog-v3-post.public.js +0 -40
- package/build/es/src/blog-v3-post.public.js.map +0 -1
- package/build/es/src/blog-v3-post.types.d.ts +0 -5238
- package/build/es/src/blog-v3-post.types.js +0 -475
- package/build/es/src/blog-v3-post.types.js.map +0 -1
- package/build/es/src/blog-v3-post.universal.d.ts +0 -5216
- package/build/es/src/blog-v3-post.universal.js +0 -1079
- package/build/es/src/blog-v3-post.universal.js.map +0 -1
- package/build/es/src/blog-v3-tag.context.d.ts +0 -6
- package/build/es/src/blog-v3-tag.context.js +0 -46
- package/build/es/src/blog-v3-tag.context.js.map +0 -1
- package/build/es/src/blog-v3-tag.http.d.ts +0 -40
- package/build/es/src/blog-v3-tag.http.js +0 -341
- package/build/es/src/blog-v3-tag.http.js.map +0 -1
- package/build/es/src/blog-v3-tag.meta.d.ts +0 -22
- package/build/es/src/blog-v3-tag.meta.js +0 -74
- package/build/es/src/blog-v3-tag.meta.js.map +0 -1
- package/build/es/src/blog-v3-tag.public.d.ts +0 -20
- package/build/es/src/blog-v3-tag.public.js +0 -25
- package/build/es/src/blog-v3-tag.public.js.map +0 -1
- package/build/es/src/blog-v3-tag.types.d.ts +0 -663
- package/build/es/src/blog-v3-tag.types.js +0 -14
- package/build/es/src/blog-v3-tag.types.js.map +0 -1
- package/build/es/src/blog-v3-tag.universal.d.ts +0 -807
- package/build/es/src/blog-v3-tag.universal.js +0 -334
- package/build/es/src/blog-v3-tag.universal.js.map +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { getTagByLabel as universalGetTagByLabel, getTag as universalGetTag, getTagBySlug as universalGetTagBySlug, queryTags as universalQueryTags, } from './blog-v3-tag.universal';
|
|
2
|
-
export const __metadata = { PACKAGE_NAME: '@wix/blog' };
|
|
3
|
-
export function getTagByLabel(httpClient) {
|
|
4
|
-
return (label, options) => universalGetTagByLabel(label, options,
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
{ httpClient });
|
|
7
|
-
}
|
|
8
|
-
export function getTag(httpClient) {
|
|
9
|
-
return (tagId, options) => universalGetTag(tagId, options,
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
{ httpClient });
|
|
12
|
-
}
|
|
13
|
-
export function getTagBySlug(httpClient) {
|
|
14
|
-
return (slug, options) => universalGetTagBySlug(slug, options,
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
{ httpClient });
|
|
17
|
-
}
|
|
18
|
-
export function queryTags(httpClient) {
|
|
19
|
-
return (options) => universalQueryTags(options,
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
{ httpClient });
|
|
22
|
-
}
|
|
23
|
-
export { Field, SortOrder } from './blog-v3-tag.universal';
|
|
24
|
-
export { onTagCreated, onTagUpdated, onTagDeleted, } from './blog-v3-tag.universal';
|
|
25
|
-
//# sourceMappingURL=blog-v3-tag.public.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-tag.public.js","sourceRoot":"","sources":["../../../src/blog-v3-tag.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,IAAI,sBAAsB,EACvC,MAAM,IAAI,eAAe,EACzB,YAAY,IAAI,qBAAqB,EACrC,SAAS,IAAI,kBAAkB,GAKhC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,KAAa,EAAE,OAA8B,EAAE,EAAE,CACvD,sBAAsB,CACpB,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,KAAa,EAAE,OAAuB,EAAE,EAAE,CAChD,eAAe,CACb,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,IAAY,EAAE,OAA6B,EAAE,EAAE,CACrD,qBAAqB,CACnB,IAAI,EACJ,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,UAAsB;IAC9C,OAAO,CAAC,OAA0B,EAAE,EAAE,CACpC,kBAAkB,CAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAiE3D,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,YAAY,GACb,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,663 +0,0 @@
|
|
|
1
|
-
export interface Tag {
|
|
2
|
-
/**
|
|
3
|
-
* Tag ID.
|
|
4
|
-
* @readonly
|
|
5
|
-
*/
|
|
6
|
-
id?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Tag label.
|
|
9
|
-
*
|
|
10
|
-
* A blog can't have two tags with the same label.
|
|
11
|
-
*/
|
|
12
|
-
label?: string;
|
|
13
|
-
/** Tag slug. For example, `'tag-slug'`. */
|
|
14
|
-
slug?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Date the tag was created.
|
|
17
|
-
* @readonly
|
|
18
|
-
*/
|
|
19
|
-
createdDate?: Date;
|
|
20
|
-
/**
|
|
21
|
-
* Date the tag was last updated.
|
|
22
|
-
* @readonly
|
|
23
|
-
*/
|
|
24
|
-
updatedDate?: Date;
|
|
25
|
-
/**
|
|
26
|
-
* Reserved for internal use.
|
|
27
|
-
* @readonly
|
|
28
|
-
*/
|
|
29
|
-
publicationCount?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Number of posts with this tag, including unpublished draft posts.
|
|
32
|
-
* @readonly
|
|
33
|
-
*/
|
|
34
|
-
postCount?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Tag URL.
|
|
37
|
-
* @readonly
|
|
38
|
-
*/
|
|
39
|
-
url?: PageUrl;
|
|
40
|
-
/**
|
|
41
|
-
* Number of published posts with this tag.
|
|
42
|
-
* @readonly
|
|
43
|
-
*/
|
|
44
|
-
publishedPostCount?: number;
|
|
45
|
-
/**
|
|
46
|
-
* ID of the tag translations.
|
|
47
|
-
*
|
|
48
|
-
* All translations of a single tag share the same `translationId`.
|
|
49
|
-
* @readonly
|
|
50
|
-
*/
|
|
51
|
-
translationId?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
* Tag language.
|
|
54
|
-
*
|
|
55
|
-
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
56
|
-
*/
|
|
57
|
-
language?: string | null;
|
|
58
|
-
}
|
|
59
|
-
export interface PageUrl {
|
|
60
|
-
/** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */
|
|
61
|
-
base?: string;
|
|
62
|
-
/** The relative path for the page within the site. For example, `/product-page/a-product`. */
|
|
63
|
-
path?: string;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
|
|
67
|
-
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
68
|
-
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
69
|
-
*/
|
|
70
|
-
export interface SeoSchema {
|
|
71
|
-
/** SEO tag information. */
|
|
72
|
-
tags?: SeoSchemaTag[];
|
|
73
|
-
/** SEO general settings. */
|
|
74
|
-
settings?: Settings;
|
|
75
|
-
}
|
|
76
|
-
export interface Keyword {
|
|
77
|
-
/** Keyword value. */
|
|
78
|
-
term?: string;
|
|
79
|
-
/** Whether the keyword is the main focus keyword. */
|
|
80
|
-
isMain?: boolean;
|
|
81
|
-
}
|
|
82
|
-
export interface SeoSchemaTag {
|
|
83
|
-
/**
|
|
84
|
-
* SEO tag type.
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* Supported values: `title`, `meta`, `script`, `link`.
|
|
88
|
-
*/
|
|
89
|
-
type?: string;
|
|
90
|
-
/**
|
|
91
|
-
* A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
92
|
-
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
93
|
-
*/
|
|
94
|
-
props?: Record<string, any> | null;
|
|
95
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
96
|
-
meta?: Record<string, any> | null;
|
|
97
|
-
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
98
|
-
children?: string;
|
|
99
|
-
/** Whether the tag is a custom tag. */
|
|
100
|
-
custom?: boolean;
|
|
101
|
-
/** Whether the tag is disabled. */
|
|
102
|
-
disabled?: boolean;
|
|
103
|
-
}
|
|
104
|
-
export interface Settings {
|
|
105
|
-
/**
|
|
106
|
-
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* Default: `false` (Auto Redirect is enabled.)
|
|
110
|
-
*/
|
|
111
|
-
preventAutoRedirect?: boolean;
|
|
112
|
-
/** User-selected keyword terms for a specific page. */
|
|
113
|
-
keywords?: Keyword[];
|
|
114
|
-
}
|
|
115
|
-
export interface InitialTagsCopied {
|
|
116
|
-
/** Number of tags copied. */
|
|
117
|
-
count?: number;
|
|
118
|
-
}
|
|
119
|
-
export interface GetOrCreateTagRequest {
|
|
120
|
-
/** Tag name. Unique per blog. */
|
|
121
|
-
label?: string;
|
|
122
|
-
/** Tag language. */
|
|
123
|
-
language?: string | null;
|
|
124
|
-
/**
|
|
125
|
-
* List of tag fields to be included if entities are present in the response.
|
|
126
|
-
* Base fieldset, which is default, will return all core tag properties.
|
|
127
|
-
* Example: When URL fieldset is selected, returned tag will have a set of base properties and tag url.
|
|
128
|
-
*/
|
|
129
|
-
fieldsets?: Field[];
|
|
130
|
-
}
|
|
131
|
-
export declare enum Field {
|
|
132
|
-
UNKNOWN = "UNKNOWN",
|
|
133
|
-
/** Includes Tag URL when present. */
|
|
134
|
-
URL = "URL",
|
|
135
|
-
/** Includes SEO data. */
|
|
136
|
-
SEO = "SEO"
|
|
137
|
-
}
|
|
138
|
-
export interface GetOrCreateTagResponse {
|
|
139
|
-
/** Tag info. */
|
|
140
|
-
tag?: Tag;
|
|
141
|
-
}
|
|
142
|
-
export interface CreateTagRequest {
|
|
143
|
-
/** Tag label. The label for each tag in a blog must be unique. */
|
|
144
|
-
label?: string;
|
|
145
|
-
/**
|
|
146
|
-
* Tag language.
|
|
147
|
-
*
|
|
148
|
-
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
149
|
-
*/
|
|
150
|
-
language?: string | null;
|
|
151
|
-
/** Preferred tag slug. For example, `'tag-slug'`. */
|
|
152
|
-
slug?: string | null;
|
|
153
|
-
/**
|
|
154
|
-
* List of additional tag fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
155
|
-
* the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
156
|
-
* only the tag's base fields are returned.
|
|
157
|
-
*/
|
|
158
|
-
fieldsets?: Field[];
|
|
159
|
-
}
|
|
160
|
-
export interface CreateTagResponse {
|
|
161
|
-
/** Tag info. */
|
|
162
|
-
tag?: Tag;
|
|
163
|
-
}
|
|
164
|
-
export interface UpdateTagRequest {
|
|
165
|
-
/** Tag info. */
|
|
166
|
-
tag?: Tag;
|
|
167
|
-
/**
|
|
168
|
-
* List of tag fields to be included if entities are present in the response.
|
|
169
|
-
* Base fieldset, which is default, will return all core tag properties.
|
|
170
|
-
* Example: When URL fieldset is selected, returned tag will have a set of base properties and tag url.
|
|
171
|
-
*/
|
|
172
|
-
fieldsets?: Field[];
|
|
173
|
-
}
|
|
174
|
-
export interface UpdateTagResponse {
|
|
175
|
-
/** Tag info. */
|
|
176
|
-
tag?: Tag;
|
|
177
|
-
}
|
|
178
|
-
export interface BulkCreateTagsRequest {
|
|
179
|
-
/** Tags to create. */
|
|
180
|
-
tags?: Tag[];
|
|
181
|
-
/** Whether to return the full created tag entities in the response. */
|
|
182
|
-
returnFullEntity?: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* List of tag fields to be included if entities are present in the response.
|
|
185
|
-
* Base fieldset, which is default, will return all core tag properties.
|
|
186
|
-
* Example: When URL fieldset is selected, returned tag will have a set of base properties and tag url.
|
|
187
|
-
*/
|
|
188
|
-
fieldsets?: Field[];
|
|
189
|
-
}
|
|
190
|
-
export interface BulkCreateTagsResponse {
|
|
191
|
-
/** Tags created by bulk action. */
|
|
192
|
-
results?: BulkTagResult[];
|
|
193
|
-
/** Bulk action metadata. */
|
|
194
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
195
|
-
}
|
|
196
|
-
export interface BulkTagResult {
|
|
197
|
-
/** Bulk actions metadata for tag. */
|
|
198
|
-
itemMetadata?: ItemMetadata;
|
|
199
|
-
/** Optional created tag. */
|
|
200
|
-
item?: Tag;
|
|
201
|
-
}
|
|
202
|
-
export interface ItemMetadata {
|
|
203
|
-
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
204
|
-
id?: string | null;
|
|
205
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
206
|
-
originalIndex?: number;
|
|
207
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
208
|
-
success?: boolean;
|
|
209
|
-
/** Details about the error in case of failure. */
|
|
210
|
-
error?: ApplicationError;
|
|
211
|
-
}
|
|
212
|
-
export interface ApplicationError {
|
|
213
|
-
/** Error code. */
|
|
214
|
-
code?: string;
|
|
215
|
-
/** Description of the error. */
|
|
216
|
-
description?: string;
|
|
217
|
-
/** Data related to the error. */
|
|
218
|
-
data?: Record<string, any> | null;
|
|
219
|
-
}
|
|
220
|
-
export interface BulkActionMetadata {
|
|
221
|
-
/** Number of items that were successfully processed. */
|
|
222
|
-
totalSuccesses?: number;
|
|
223
|
-
/** Number of items that couldn't be processed. */
|
|
224
|
-
totalFailures?: number;
|
|
225
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
226
|
-
undetailedFailures?: number;
|
|
227
|
-
}
|
|
228
|
-
export interface GetTagByLabelRequest {
|
|
229
|
-
/** Tag label. */
|
|
230
|
-
label: string;
|
|
231
|
-
/**
|
|
232
|
-
* Tag language.
|
|
233
|
-
*
|
|
234
|
-
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
235
|
-
* If omitted, tags in all languages are returned.
|
|
236
|
-
*/
|
|
237
|
-
language?: string | null;
|
|
238
|
-
/**
|
|
239
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
240
|
-
* This parameter will be removed on June 30, 2023.
|
|
241
|
-
*
|
|
242
|
-
* List of tag fields to be included in the response.
|
|
243
|
-
*/
|
|
244
|
-
fieldsToInclude?: Field[];
|
|
245
|
-
/**
|
|
246
|
-
* List of additional tag fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
247
|
-
* the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
248
|
-
* only the tag's base fields are returned.
|
|
249
|
-
*/
|
|
250
|
-
fieldsets?: Field[];
|
|
251
|
-
}
|
|
252
|
-
export interface GetTagByLabelResponse {
|
|
253
|
-
/** Tag info. */
|
|
254
|
-
tag?: Tag;
|
|
255
|
-
}
|
|
256
|
-
export interface GetTagRequest {
|
|
257
|
-
/** Tag ID. */
|
|
258
|
-
tagId: string;
|
|
259
|
-
/**
|
|
260
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
261
|
-
* This parameter will be removed on June 30, 2023.
|
|
262
|
-
*
|
|
263
|
-
* List of tag fields to be included in the response.
|
|
264
|
-
*/
|
|
265
|
-
fieldsToInclude?: Field[];
|
|
266
|
-
/**
|
|
267
|
-
* List of additional tag fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
268
|
-
* the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
269
|
-
* only the tag's base fields are returned.
|
|
270
|
-
*/
|
|
271
|
-
fieldsets?: Field[];
|
|
272
|
-
}
|
|
273
|
-
export interface GetTagResponse {
|
|
274
|
-
/** Tag info. */
|
|
275
|
-
tag?: Tag;
|
|
276
|
-
}
|
|
277
|
-
export interface GetTagBySlugRequest {
|
|
278
|
-
/** Slug of the tag to retrieve. */
|
|
279
|
-
slug: string;
|
|
280
|
-
/**
|
|
281
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
282
|
-
* This parameter will be removed on June 30, 2023.
|
|
283
|
-
*
|
|
284
|
-
* List of tag fields to be included in the response.
|
|
285
|
-
*/
|
|
286
|
-
fieldsToInclude?: Field[];
|
|
287
|
-
/**
|
|
288
|
-
* List of additional tag fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
289
|
-
* the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
290
|
-
* only the tag's base fields are returned.
|
|
291
|
-
*/
|
|
292
|
-
fieldsets?: Field[];
|
|
293
|
-
}
|
|
294
|
-
export interface GetTagBySlugResponse {
|
|
295
|
-
/** Tag info. */
|
|
296
|
-
tag?: Tag;
|
|
297
|
-
}
|
|
298
|
-
export interface QueryTagsRequest {
|
|
299
|
-
/**
|
|
300
|
-
* __Deprecated.__ Use `query` instead.
|
|
301
|
-
* This parameter will be removed on June 30, 2023.
|
|
302
|
-
*
|
|
303
|
-
* Filter object.
|
|
304
|
-
* 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).
|
|
305
|
-
*/
|
|
306
|
-
filter?: Record<string, any> | null;
|
|
307
|
-
/**
|
|
308
|
-
* __Deprecated.__ Use `query` instead.
|
|
309
|
-
* This parameter will be removed on June 30, 2023.
|
|
310
|
-
*
|
|
311
|
-
* 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).
|
|
312
|
-
*/
|
|
313
|
-
sort?: Sorting[];
|
|
314
|
-
/**
|
|
315
|
-
* __Deprecated.__ Use `query` instead.
|
|
316
|
-
* This parameter will be removed on June 30, 2023.
|
|
317
|
-
*
|
|
318
|
-
* Pagination options.
|
|
319
|
-
*/
|
|
320
|
-
paging?: Paging;
|
|
321
|
-
/**
|
|
322
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
323
|
-
* This parameter will be removed on June 30, 2023.
|
|
324
|
-
*
|
|
325
|
-
* List of tag fields to be included in the response.
|
|
326
|
-
*/
|
|
327
|
-
fieldsToInclude?: Field[];
|
|
328
|
-
/** Query options. */
|
|
329
|
-
query?: PlatformQuery;
|
|
330
|
-
/**
|
|
331
|
-
* List of additional tag fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
332
|
-
* the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
333
|
-
* only the tag's base fields are returned.
|
|
334
|
-
*/
|
|
335
|
-
fieldsets?: Field[];
|
|
336
|
-
}
|
|
337
|
-
export interface Sorting {
|
|
338
|
-
/** Name of the field to sort by. */
|
|
339
|
-
fieldName?: string;
|
|
340
|
-
/** Sort order. */
|
|
341
|
-
order?: SortOrder;
|
|
342
|
-
}
|
|
343
|
-
export declare enum SortOrder {
|
|
344
|
-
ASC = "ASC",
|
|
345
|
-
DESC = "DESC"
|
|
346
|
-
}
|
|
347
|
-
export interface Paging {
|
|
348
|
-
/** Number of items to load. */
|
|
349
|
-
limit?: number | null;
|
|
350
|
-
/** Number of items to skip in the current sort order. */
|
|
351
|
-
offset?: number | null;
|
|
352
|
-
}
|
|
353
|
-
export interface TagsFieldSet {
|
|
354
|
-
/** Includes tag URL when TRUE. Defaults to FALSE. */
|
|
355
|
-
includeUrl?: boolean;
|
|
356
|
-
}
|
|
357
|
-
export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
358
|
-
/** Paging options to limit and skip the number of items. */
|
|
359
|
-
paging?: Paging;
|
|
360
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
361
|
-
cursorPaging?: CursorPaging;
|
|
362
|
-
/**
|
|
363
|
-
* Filter object in the following format:
|
|
364
|
-
* `"filter" : {
|
|
365
|
-
* "fieldName1": "value1",
|
|
366
|
-
* "fieldName2":{"$operator":"value2"}
|
|
367
|
-
* }`
|
|
368
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
369
|
-
*/
|
|
370
|
-
filter?: Record<string, any> | null;
|
|
371
|
-
/**
|
|
372
|
-
* Sort object in the following format:
|
|
373
|
-
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
374
|
-
*/
|
|
375
|
-
sort?: Sorting[];
|
|
376
|
-
}
|
|
377
|
-
/** @oneof */
|
|
378
|
-
export interface PlatformQueryPagingMethodOneOf {
|
|
379
|
-
/** Paging options to limit and skip the number of items. */
|
|
380
|
-
paging?: Paging;
|
|
381
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
382
|
-
cursorPaging?: CursorPaging;
|
|
383
|
-
}
|
|
384
|
-
export interface CursorPaging {
|
|
385
|
-
/** Number of items to load. */
|
|
386
|
-
limit?: number | null;
|
|
387
|
-
/**
|
|
388
|
-
* Pointer to the next or previous page in the list of results.
|
|
389
|
-
*
|
|
390
|
-
* You can get the relevant cursor token
|
|
391
|
-
* from the `pagingMetadata` object in the previous call's response.
|
|
392
|
-
* Not relevant for the first request.
|
|
393
|
-
*/
|
|
394
|
-
cursor?: string | null;
|
|
395
|
-
}
|
|
396
|
-
export interface QueryTagsResponse {
|
|
397
|
-
/** List of tags. */
|
|
398
|
-
tags?: Tag[];
|
|
399
|
-
/**
|
|
400
|
-
* __Deprecated.__ Use `pagingMetadata` instead.
|
|
401
|
-
* This property will be removed on June 30, 2023.
|
|
402
|
-
*
|
|
403
|
-
* Details on the paged set of results returned.
|
|
404
|
-
*/
|
|
405
|
-
metaData?: MetaData;
|
|
406
|
-
/** Details on the paged set of results returned. */
|
|
407
|
-
pagingMetadata?: PagingMetadataV2;
|
|
408
|
-
}
|
|
409
|
-
export interface MetaData {
|
|
410
|
-
/** Number of items returned in this response. */
|
|
411
|
-
count?: number;
|
|
412
|
-
/** Requested offset. */
|
|
413
|
-
offset?: number;
|
|
414
|
-
/** Total number of items that match the query. */
|
|
415
|
-
total?: number;
|
|
416
|
-
/** Pointer to the next or previous page in the list of results. */
|
|
417
|
-
cursor?: string | null;
|
|
418
|
-
}
|
|
419
|
-
export interface PagingMetadataV2 {
|
|
420
|
-
/** Number of items returned in the response. */
|
|
421
|
-
count?: number | null;
|
|
422
|
-
/** Offset that was requested. */
|
|
423
|
-
offset?: number | null;
|
|
424
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
425
|
-
total?: number | null;
|
|
426
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
427
|
-
tooManyToCount?: boolean | null;
|
|
428
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
429
|
-
cursors?: Cursors;
|
|
430
|
-
}
|
|
431
|
-
export interface Cursors {
|
|
432
|
-
/** Cursor pointing to next page in the list of results. */
|
|
433
|
-
next?: string | null;
|
|
434
|
-
/** Cursor pointing to previous page in the list of results. */
|
|
435
|
-
prev?: string | null;
|
|
436
|
-
}
|
|
437
|
-
export interface ListTagsRequest extends ListTagsRequestPagingMethodOneOf {
|
|
438
|
-
/** Paging options to limit and skip the number of items. */
|
|
439
|
-
paging?: Paging;
|
|
440
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `sort`. */
|
|
441
|
-
cursorPaging?: CursorPaging;
|
|
442
|
-
/** 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). */
|
|
443
|
-
sort?: Sorting[];
|
|
444
|
-
/**
|
|
445
|
-
* List of tag fields to be included if entities are present in the response.
|
|
446
|
-
* Base fieldset, which is default, will return all core tag properties.
|
|
447
|
-
* Example: When URL fieldset is selected, returned tag will have a set of base properties and tag url.
|
|
448
|
-
*/
|
|
449
|
-
fieldsets?: Field[];
|
|
450
|
-
}
|
|
451
|
-
/** @oneof */
|
|
452
|
-
export interface ListTagsRequestPagingMethodOneOf {
|
|
453
|
-
/** Paging options to limit and skip the number of items. */
|
|
454
|
-
paging?: Paging;
|
|
455
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `sort`. */
|
|
456
|
-
cursorPaging?: CursorPaging;
|
|
457
|
-
}
|
|
458
|
-
export interface ListTagsResponse {
|
|
459
|
-
/** List of tags. */
|
|
460
|
-
tags?: Tag[];
|
|
461
|
-
/** Details on the paged set of results returned. */
|
|
462
|
-
metaData?: MetaData;
|
|
463
|
-
}
|
|
464
|
-
export interface BulkDeleteTagRequest {
|
|
465
|
-
/** Tag IDs. */
|
|
466
|
-
tagIds?: string[];
|
|
467
|
-
}
|
|
468
|
-
export interface BulkDeleteTagResponse {
|
|
469
|
-
}
|
|
470
|
-
export interface DeleteTagRequest {
|
|
471
|
-
/** Tag ID. */
|
|
472
|
-
tagId?: string;
|
|
473
|
-
}
|
|
474
|
-
export interface DeleteTagResponse {
|
|
475
|
-
}
|
|
476
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
477
|
-
createdEvent?: EntityCreatedEvent;
|
|
478
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
479
|
-
deletedEvent?: EntityDeletedEvent;
|
|
480
|
-
actionEvent?: ActionEvent;
|
|
481
|
-
/**
|
|
482
|
-
* Unique event ID.
|
|
483
|
-
* Allows clients to ignore duplicate webhooks.
|
|
484
|
-
*/
|
|
485
|
-
id?: string;
|
|
486
|
-
/**
|
|
487
|
-
* Assumes actions are also always typed to an entity_type
|
|
488
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
489
|
-
*/
|
|
490
|
-
entityFqdn?: string;
|
|
491
|
-
/**
|
|
492
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
493
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
494
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
495
|
-
*/
|
|
496
|
-
slug?: string;
|
|
497
|
-
/** ID of the entity associated with the event. */
|
|
498
|
-
entityId?: string;
|
|
499
|
-
/** Event timestamp. */
|
|
500
|
-
eventTime?: Date;
|
|
501
|
-
/**
|
|
502
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
503
|
-
* (for example, GDPR).
|
|
504
|
-
*/
|
|
505
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
506
|
-
/** If present, indicates the action that triggered the event. */
|
|
507
|
-
originatedFrom?: string | null;
|
|
508
|
-
/**
|
|
509
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
510
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
511
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
512
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
513
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
514
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
515
|
-
*/
|
|
516
|
-
entityEventSequence?: string | null;
|
|
517
|
-
}
|
|
518
|
-
/** @oneof */
|
|
519
|
-
export interface DomainEventBodyOneOf {
|
|
520
|
-
createdEvent?: EntityCreatedEvent;
|
|
521
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
522
|
-
deletedEvent?: EntityDeletedEvent;
|
|
523
|
-
actionEvent?: ActionEvent;
|
|
524
|
-
}
|
|
525
|
-
export interface EntityCreatedEvent {
|
|
526
|
-
entityAsJson?: string;
|
|
527
|
-
}
|
|
528
|
-
export interface EntityUpdatedEvent {
|
|
529
|
-
/**
|
|
530
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
531
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
532
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
533
|
-
*/
|
|
534
|
-
currentEntityAsJson?: string;
|
|
535
|
-
}
|
|
536
|
-
export interface EntityDeletedEvent {
|
|
537
|
-
/** Entity that was deleted */
|
|
538
|
-
deletedEntityAsJson?: string | null;
|
|
539
|
-
}
|
|
540
|
-
export interface ActionEvent {
|
|
541
|
-
bodyAsJson?: string;
|
|
542
|
-
}
|
|
543
|
-
export interface GetTagByLabelResponseNonNullableFields {
|
|
544
|
-
tag?: {
|
|
545
|
-
id: string;
|
|
546
|
-
label: string;
|
|
547
|
-
slug: string;
|
|
548
|
-
publicationCount: number;
|
|
549
|
-
postCount: number;
|
|
550
|
-
url?: {
|
|
551
|
-
base: string;
|
|
552
|
-
path: string;
|
|
553
|
-
};
|
|
554
|
-
publishedPostCount: number;
|
|
555
|
-
seoData?: {
|
|
556
|
-
tags: {
|
|
557
|
-
type: string;
|
|
558
|
-
children: string;
|
|
559
|
-
custom: boolean;
|
|
560
|
-
disabled: boolean;
|
|
561
|
-
}[];
|
|
562
|
-
settings?: {
|
|
563
|
-
preventAutoRedirect: boolean;
|
|
564
|
-
keywords: {
|
|
565
|
-
term: string;
|
|
566
|
-
isMain: boolean;
|
|
567
|
-
}[];
|
|
568
|
-
};
|
|
569
|
-
};
|
|
570
|
-
};
|
|
571
|
-
}
|
|
572
|
-
export interface GetTagResponseNonNullableFields {
|
|
573
|
-
tag?: {
|
|
574
|
-
id: string;
|
|
575
|
-
label: string;
|
|
576
|
-
slug: string;
|
|
577
|
-
publicationCount: number;
|
|
578
|
-
postCount: number;
|
|
579
|
-
url?: {
|
|
580
|
-
base: string;
|
|
581
|
-
path: string;
|
|
582
|
-
};
|
|
583
|
-
publishedPostCount: number;
|
|
584
|
-
seoData?: {
|
|
585
|
-
tags: {
|
|
586
|
-
type: string;
|
|
587
|
-
children: string;
|
|
588
|
-
custom: boolean;
|
|
589
|
-
disabled: boolean;
|
|
590
|
-
}[];
|
|
591
|
-
settings?: {
|
|
592
|
-
preventAutoRedirect: boolean;
|
|
593
|
-
keywords: {
|
|
594
|
-
term: string;
|
|
595
|
-
isMain: boolean;
|
|
596
|
-
}[];
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
}
|
|
601
|
-
export interface GetTagBySlugResponseNonNullableFields {
|
|
602
|
-
tag?: {
|
|
603
|
-
id: string;
|
|
604
|
-
label: string;
|
|
605
|
-
slug: string;
|
|
606
|
-
publicationCount: number;
|
|
607
|
-
postCount: number;
|
|
608
|
-
url?: {
|
|
609
|
-
base: string;
|
|
610
|
-
path: string;
|
|
611
|
-
};
|
|
612
|
-
publishedPostCount: number;
|
|
613
|
-
seoData?: {
|
|
614
|
-
tags: {
|
|
615
|
-
type: string;
|
|
616
|
-
children: string;
|
|
617
|
-
custom: boolean;
|
|
618
|
-
disabled: boolean;
|
|
619
|
-
}[];
|
|
620
|
-
settings?: {
|
|
621
|
-
preventAutoRedirect: boolean;
|
|
622
|
-
keywords: {
|
|
623
|
-
term: string;
|
|
624
|
-
isMain: boolean;
|
|
625
|
-
}[];
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
export interface QueryTagsResponseNonNullableFields {
|
|
631
|
-
tags: {
|
|
632
|
-
id: string;
|
|
633
|
-
label: string;
|
|
634
|
-
slug: string;
|
|
635
|
-
publicationCount: number;
|
|
636
|
-
postCount: number;
|
|
637
|
-
url?: {
|
|
638
|
-
base: string;
|
|
639
|
-
path: string;
|
|
640
|
-
};
|
|
641
|
-
publishedPostCount: number;
|
|
642
|
-
seoData?: {
|
|
643
|
-
tags: {
|
|
644
|
-
type: string;
|
|
645
|
-
children: string;
|
|
646
|
-
custom: boolean;
|
|
647
|
-
disabled: boolean;
|
|
648
|
-
}[];
|
|
649
|
-
settings?: {
|
|
650
|
-
preventAutoRedirect: boolean;
|
|
651
|
-
keywords: {
|
|
652
|
-
term: string;
|
|
653
|
-
isMain: boolean;
|
|
654
|
-
}[];
|
|
655
|
-
};
|
|
656
|
-
};
|
|
657
|
-
}[];
|
|
658
|
-
metaData?: {
|
|
659
|
-
count: number;
|
|
660
|
-
offset: number;
|
|
661
|
-
total: number;
|
|
662
|
-
};
|
|
663
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export var Field;
|
|
2
|
-
(function (Field) {
|
|
3
|
-
Field["UNKNOWN"] = "UNKNOWN";
|
|
4
|
-
/** Includes Tag URL when present. */
|
|
5
|
-
Field["URL"] = "URL";
|
|
6
|
-
/** Includes SEO data. */
|
|
7
|
-
Field["SEO"] = "SEO";
|
|
8
|
-
})(Field || (Field = {}));
|
|
9
|
-
export var SortOrder;
|
|
10
|
-
(function (SortOrder) {
|
|
11
|
-
SortOrder["ASC"] = "ASC";
|
|
12
|
-
SortOrder["DESC"] = "DESC";
|
|
13
|
-
})(SortOrder || (SortOrder = {}));
|
|
14
|
-
//# sourceMappingURL=blog-v3-tag.types.js.map
|