@wix/auto_sdk_blog_posts 1.0.188 → 1.0.190
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 +3 -1
- package/build/cjs/index.js +963 -2314
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -2
- package/build/cjs/index.typings.js +648 -1367
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +615 -1337
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -1
- package/build/es/index.mjs +963 -2314
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -2
- package/build/es/index.typings.mjs +648 -1367
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +615 -1337
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -1
- package/build/internal/cjs/index.typings.d.ts +4 -2
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/index.d.mts +3 -1
- package/build/internal/es/index.typings.d.mts +4 -2
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
|
@@ -77,7 +77,9 @@ interface ViewPostSignature {
|
|
|
77
77
|
/**
|
|
78
78
|
* Increments a post's view count.
|
|
79
79
|
*
|
|
80
|
-
* Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
|
|
80
|
+
* Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
|
|
81
|
+
*
|
|
82
|
+
* This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
|
|
81
83
|
* @param - Post ID.
|
|
82
84
|
*/
|
|
83
85
|
(postId: string): Promise<NonNullablePaths<ViewPostResponse, `views`, 0>>;
|
|
@@ -4496,7 +4496,7 @@ interface ViewPostRequest {
|
|
|
4496
4496
|
postId: string;
|
|
4497
4497
|
}
|
|
4498
4498
|
interface ViewPostResponse {
|
|
4499
|
-
/**
|
|
4499
|
+
/** Updated total number of views for the post. */
|
|
4500
4500
|
views?: number;
|
|
4501
4501
|
}
|
|
4502
4502
|
interface LikePostRequest {
|
|
@@ -5413,7 +5413,9 @@ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPos
|
|
|
5413
5413
|
/**
|
|
5414
5414
|
* Increments a post's view count.
|
|
5415
5415
|
*
|
|
5416
|
-
* Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
|
|
5416
|
+
* Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
|
|
5417
|
+
*
|
|
5418
|
+
* This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
|
|
5417
5419
|
* @param postId - Post ID.
|
|
5418
5420
|
* @public
|
|
5419
5421
|
* @requiredField postId
|
|
@@ -4656,7 +4656,7 @@ interface ViewPostRequest {
|
|
|
4656
4656
|
postId: string;
|
|
4657
4657
|
}
|
|
4658
4658
|
interface ViewPostResponse {
|
|
4659
|
-
/**
|
|
4659
|
+
/** Updated total number of views for the post. */
|
|
4660
4660
|
views?: number;
|
|
4661
4661
|
}
|
|
4662
4662
|
interface LikePostRequest {
|
|
@@ -77,7 +77,9 @@ interface ViewPostSignature {
|
|
|
77
77
|
/**
|
|
78
78
|
* Increments a post's view count.
|
|
79
79
|
*
|
|
80
|
-
* Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
|
|
80
|
+
* Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
|
|
81
|
+
*
|
|
82
|
+
* This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
|
|
81
83
|
* @param - Post ID.
|
|
82
84
|
*/
|
|
83
85
|
(postId: string): Promise<NonNullablePaths<ViewPostResponse, `views`, 0>>;
|
|
@@ -4496,7 +4496,7 @@ interface ViewPostRequest {
|
|
|
4496
4496
|
postId: string;
|
|
4497
4497
|
}
|
|
4498
4498
|
interface ViewPostResponse {
|
|
4499
|
-
/**
|
|
4499
|
+
/** Updated total number of views for the post. */
|
|
4500
4500
|
views?: number;
|
|
4501
4501
|
}
|
|
4502
4502
|
interface LikePostRequest {
|
|
@@ -5413,7 +5413,9 @@ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPos
|
|
|
5413
5413
|
/**
|
|
5414
5414
|
* Increments a post's view count.
|
|
5415
5415
|
*
|
|
5416
|
-
* Call this method when a site visitor views a published post. The response returns the post's updated total number of views.
|
|
5416
|
+
* Call this method when a site visitor views a published post. The post must already be published. The response returns the post's updated total number of views.
|
|
5417
|
+
*
|
|
5418
|
+
* This method accepts up to 100 calls per minute from an IP address on the site, and up to 100 calls per minute from an IP address for a single post. Further calls are rejected.
|
|
5417
5419
|
* @param postId - Post ID.
|
|
5418
5420
|
* @public
|
|
5419
5421
|
* @requiredField postId
|
|
@@ -4656,7 +4656,7 @@ interface ViewPostRequest {
|
|
|
4656
4656
|
postId: string;
|
|
4657
4657
|
}
|
|
4658
4658
|
interface ViewPostResponse {
|
|
4659
|
-
/**
|
|
4659
|
+
/** Updated total number of views for the post. */
|
|
4660
4660
|
views?: number;
|
|
4661
4661
|
}
|
|
4662
4662
|
interface LikePostRequest {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_blog_posts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.190",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.blog.v3.post"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "956dbb4097042971e35ec03644b21b34f43e477bbb75aed79d1af28f"
|
|
54
54
|
}
|