@wix/blog 1.0.163 → 1.0.165
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/index.d.ts +1 -1
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/blog-v3-category.types.d.ts +7 -7
- package/build/cjs/src/blog-v3-category.universal.d.ts +18 -18
- package/build/cjs/src/blog-v3-post.public.d.ts +1 -1
- package/build/cjs/src/blog-v3-post.types.d.ts +19 -7
- package/build/cjs/src/blog-v3-post.types.js.map +1 -1
- package/build/cjs/src/blog-v3-post.universal.d.ts +32 -20
- package/build/cjs/src/blog-v3-post.universal.js.map +1 -1
- package/build/cjs/src/blog-v3-tag.types.d.ts +7 -7
- package/build/cjs/src/blog-v3-tag.universal.d.ts +19 -19
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/src/blog-v3-category.types.d.ts +7 -7
- package/build/es/src/blog-v3-category.universal.d.ts +18 -18
- package/build/es/src/blog-v3-post.public.d.ts +1 -1
- package/build/es/src/blog-v3-post.types.d.ts +19 -7
- package/build/es/src/blog-v3-post.types.js.map +1 -1
- package/build/es/src/blog-v3-post.universal.d.ts +32 -20
- package/build/es/src/blog-v3-post.universal.js.map +1 -1
- package/build/es/src/blog-v3-tag.types.d.ts +7 -7
- package/build/es/src/blog-v3-tag.universal.d.ts +19 -19
- package/package.json +2 -2
|
@@ -68,15 +68,15 @@ export interface PageUrl {
|
|
|
68
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
69
|
*/
|
|
70
70
|
export interface SeoSchema {
|
|
71
|
-
/** SEO
|
|
71
|
+
/** SEO tag information. */
|
|
72
72
|
tags?: SeoSchemaTag[];
|
|
73
73
|
/** SEO general settings. */
|
|
74
74
|
settings?: Settings;
|
|
75
75
|
}
|
|
76
76
|
export interface Keyword {
|
|
77
|
-
/** Keyword value */
|
|
77
|
+
/** Keyword value. */
|
|
78
78
|
term?: string;
|
|
79
|
-
/** Whether the keyword is the main
|
|
79
|
+
/** Whether the keyword is the main focus keyword. */
|
|
80
80
|
isMain?: boolean;
|
|
81
81
|
}
|
|
82
82
|
export interface SeoSchemaTag {
|
|
@@ -88,7 +88,7 @@ export interface SeoSchemaTag {
|
|
|
88
88
|
*/
|
|
89
89
|
type?: string;
|
|
90
90
|
/**
|
|
91
|
-
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
91
|
+
* A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
92
92
|
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
93
93
|
*/
|
|
94
94
|
props?: Record<string, any> | null;
|
|
@@ -103,13 +103,13 @@ export interface SeoSchemaTag {
|
|
|
103
103
|
}
|
|
104
104
|
export interface Settings {
|
|
105
105
|
/**
|
|
106
|
-
* Whether the
|
|
106
|
+
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
107
107
|
*
|
|
108
108
|
*
|
|
109
|
-
* Default: enabled
|
|
109
|
+
* Default: `false` (Auto Redirect is enabled.)
|
|
110
110
|
*/
|
|
111
111
|
preventAutoRedirect?: boolean;
|
|
112
|
-
/** User-selected keyword terms for a specific page */
|
|
112
|
+
/** User-selected keyword terms for a specific page. */
|
|
113
113
|
keywords?: Keyword[];
|
|
114
114
|
}
|
|
115
115
|
export interface InitialTagsCopied {
|
|
@@ -74,15 +74,15 @@ export interface Tag {
|
|
|
74
74
|
* 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.
|
|
75
75
|
*/
|
|
76
76
|
export interface SeoSchema {
|
|
77
|
-
/** SEO
|
|
77
|
+
/** SEO tag information. */
|
|
78
78
|
tags?: SeoSchemaTag[];
|
|
79
79
|
/** SEO general settings. */
|
|
80
80
|
settings?: Settings;
|
|
81
81
|
}
|
|
82
82
|
export interface Keyword {
|
|
83
|
-
/** Keyword value */
|
|
83
|
+
/** Keyword value. */
|
|
84
84
|
term?: string;
|
|
85
|
-
/** Whether the keyword is the main
|
|
85
|
+
/** Whether the keyword is the main focus keyword. */
|
|
86
86
|
isMain?: boolean;
|
|
87
87
|
}
|
|
88
88
|
export interface SeoSchemaTag {
|
|
@@ -94,7 +94,7 @@ export interface SeoSchemaTag {
|
|
|
94
94
|
*/
|
|
95
95
|
type?: string;
|
|
96
96
|
/**
|
|
97
|
-
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
97
|
+
* A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
98
98
|
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
99
99
|
*/
|
|
100
100
|
props?: Record<string, any> | null;
|
|
@@ -109,13 +109,13 @@ export interface SeoSchemaTag {
|
|
|
109
109
|
}
|
|
110
110
|
export interface Settings {
|
|
111
111
|
/**
|
|
112
|
-
* Whether the
|
|
112
|
+
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
113
113
|
*
|
|
114
114
|
*
|
|
115
|
-
* Default: enabled
|
|
115
|
+
* Default: `false` (Auto Redirect is enabled.)
|
|
116
116
|
*/
|
|
117
117
|
preventAutoRedirect?: boolean;
|
|
118
|
-
/** User-selected keyword terms for a specific page */
|
|
118
|
+
/** User-selected keyword terms for a specific page. */
|
|
119
119
|
keywords?: Keyword[];
|
|
120
120
|
}
|
|
121
121
|
export interface InitialTagsCopied {
|
|
@@ -605,41 +605,41 @@ export interface TagsQueryBuilder {
|
|
|
605
605
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
606
606
|
* @param value - Value to compare against.
|
|
607
607
|
*/
|
|
608
|
-
eq: (propertyName:
|
|
608
|
+
eq: (propertyName: '_id' | 'label' | 'slug' | 'publicationCount' | 'postCount' | 'translationId' | 'language', value: any) => TagsQueryBuilder;
|
|
609
609
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
610
610
|
* @param value - Value to compare against.
|
|
611
611
|
*/
|
|
612
|
-
ne: (propertyName:
|
|
612
|
+
ne: (propertyName: '_id' | 'label' | 'slug' | 'publicationCount' | 'postCount' | 'translationId' | 'language', value: any) => TagsQueryBuilder;
|
|
613
613
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
614
614
|
* @param value - Value to compare against.
|
|
615
615
|
*/
|
|
616
|
-
ge: (propertyName:
|
|
616
|
+
ge: (propertyName: 'publicationCount' | 'postCount', value: any) => TagsQueryBuilder;
|
|
617
617
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
618
618
|
* @param value - Value to compare against.
|
|
619
619
|
*/
|
|
620
|
-
gt: (propertyName:
|
|
620
|
+
gt: (propertyName: 'publicationCount' | 'postCount', value: any) => TagsQueryBuilder;
|
|
621
621
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
622
622
|
* @param value - Value to compare against.
|
|
623
623
|
*/
|
|
624
|
-
le: (propertyName:
|
|
624
|
+
le: (propertyName: 'publicationCount' | 'postCount', value: any) => TagsQueryBuilder;
|
|
625
625
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
626
626
|
* @param value - Value to compare against.
|
|
627
627
|
*/
|
|
628
|
-
lt: (propertyName:
|
|
628
|
+
lt: (propertyName: 'publicationCount' | 'postCount', value: any) => TagsQueryBuilder;
|
|
629
629
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
630
630
|
* @param string - String to compare against. Case-insensitive.
|
|
631
631
|
*/
|
|
632
|
-
startsWith: (propertyName:
|
|
632
|
+
startsWith: (propertyName: 'label' | 'slug', value: string) => TagsQueryBuilder;
|
|
633
633
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
634
634
|
* @param values - List of values to compare against.
|
|
635
635
|
*/
|
|
636
|
-
hasSome: (propertyName:
|
|
637
|
-
in: (propertyName:
|
|
638
|
-
exists: (propertyName:
|
|
636
|
+
hasSome: (propertyName: '_id' | 'label' | 'slug', value: any[]) => TagsQueryBuilder;
|
|
637
|
+
in: (propertyName: 'label' | 'slug' | 'publicationCount' | 'postCount' | 'translationId' | 'language', value: any) => TagsQueryBuilder;
|
|
638
|
+
exists: (propertyName: 'label' | 'slug' | 'translationId' | 'language', value: boolean) => TagsQueryBuilder;
|
|
639
639
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
640
|
-
ascending: (...propertyNames:
|
|
640
|
+
ascending: (...propertyNames: Array<'label' | 'slug' | 'publicationCount' | 'postCount' | 'language'>) => TagsQueryBuilder;
|
|
641
641
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
642
|
-
descending: (...propertyNames:
|
|
642
|
+
descending: (...propertyNames: Array<'label' | 'slug' | 'publicationCount' | 'postCount' | 'language'>) => TagsQueryBuilder;
|
|
643
643
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
644
644
|
limit: (limit: number) => TagsQueryBuilder;
|
|
645
645
|
/** @param skip - Number of items to skip in the query results before returning the results. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/blog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.165",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "1eec866d0e5b02aef92c9c5cce0dfc82ad7959cbe834ded04716b479"
|
|
37
37
|
}
|