@wix/blog 1.0.700 → 1.0.702
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/_sdk-exports/context-post/runtime.d.ts +5 -0
- package/_sdk-exports/context-post/runtime.js +2 -2
- package/_sdk-exports/context-post-by-id/runtime.js +2 -2
- package/_sdk-exports/context-related-posts/runtime.d.ts +8 -0
- package/_sdk-exports/context-related-posts/runtime.js +2 -2
- package/build/cjs/context-post-by-id.js +2 -2
- package/build/cjs/context-post-by-id.js.map +1 -1
- package/build/cjs/context-post.d.ts +5 -0
- package/build/cjs/context-post.js +2 -2
- package/build/cjs/context-post.js.map +1 -1
- package/build/cjs/context-related-posts.d.ts +8 -0
- package/build/cjs/context-related-posts.js +3 -3
- package/build/cjs/context-related-posts.js.map +1 -1
- package/build/es/context-post-by-id.mjs +2 -2
- package/build/es/context-post-by-id.mjs.map +1 -1
- package/build/es/context-post.d.mts +5 -0
- package/build/es/context-post.mjs +2 -2
- package/build/es/context-post.mjs.map +1 -1
- package/build/es/context-related-posts.d.mts +8 -0
- package/build/es/context-related-posts.mjs +3 -3
- package/build/es/context-related-posts.mjs.map +1 -1
- package/build/internal/cjs/context-post.d.ts +5 -0
- package/build/internal/cjs/context-related-posts.d.ts +8 -0
- package/build/internal/es/context-post.d.mts +5 -0
- package/build/internal/es/context-related-posts.d.mts +8 -0
- package/package.json +2 -2
|
@@ -3342,6 +3342,11 @@ type PostContextType = PostDerivedData & {
|
|
|
3342
3342
|
* the like state changes, so you can use it as an effect dependency.
|
|
3343
3343
|
*/
|
|
3344
3344
|
relatedPostsSource: RelatedPostsSource;
|
|
3345
|
+
/**
|
|
3346
|
+
* Whether site visitors can comment on the post, as set in the Blog dashboard. `undefined`
|
|
3347
|
+
* while the post loads, when there's no post, and when the post doesn't say.
|
|
3348
|
+
*/
|
|
3349
|
+
commentingEnabled: boolean | undefined;
|
|
3345
3350
|
/**
|
|
3346
3351
|
* Whether the post is still loading. While it's `true`, the other properties are empty.
|
|
3347
3352
|
* Use it to show a placeholder instead of empty content.
|
|
@@ -419,6 +419,14 @@ interface RelatedPostsContextType {
|
|
|
419
419
|
* Preview, where it holds sample posts.
|
|
420
420
|
*/
|
|
421
421
|
hasError: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Whether there are related posts to show: `true` exactly when `relatedPosts` isn't empty.
|
|
424
|
+
*
|
|
425
|
+
* `false` while the posts load for the first time, when they fail to load, and when the
|
|
426
|
+
* current post has no related posts. In the editor, but not in Preview, it's `true` while
|
|
427
|
+
* `relatedPosts` holds sample posts.
|
|
428
|
+
*/
|
|
429
|
+
hasRelatedPosts: boolean;
|
|
422
430
|
}
|
|
423
431
|
/**
|
|
424
432
|
* The Related Posts context provides access to a list of blog posts related to the current
|
|
@@ -3342,6 +3342,11 @@ type PostContextType = PostDerivedData & {
|
|
|
3342
3342
|
* the like state changes, so you can use it as an effect dependency.
|
|
3343
3343
|
*/
|
|
3344
3344
|
relatedPostsSource: RelatedPostsSource;
|
|
3345
|
+
/**
|
|
3346
|
+
* Whether site visitors can comment on the post, as set in the Blog dashboard. `undefined`
|
|
3347
|
+
* while the post loads, when there's no post, and when the post doesn't say.
|
|
3348
|
+
*/
|
|
3349
|
+
commentingEnabled: boolean | undefined;
|
|
3345
3350
|
/**
|
|
3346
3351
|
* Whether the post is still loading. While it's `true`, the other properties are empty.
|
|
3347
3352
|
* Use it to show a placeholder instead of empty content.
|
|
@@ -419,6 +419,14 @@ interface RelatedPostsContextType {
|
|
|
419
419
|
* Preview, where it holds sample posts.
|
|
420
420
|
*/
|
|
421
421
|
hasError: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Whether there are related posts to show: `true` exactly when `relatedPosts` isn't empty.
|
|
424
|
+
*
|
|
425
|
+
* `false` while the posts load for the first time, when they fail to load, and when the
|
|
426
|
+
* current post has no related posts. In the editor, but not in Preview, it's `true` while
|
|
427
|
+
* `relatedPosts` holds sample posts.
|
|
428
|
+
*/
|
|
429
|
+
hasRelatedPosts: boolean;
|
|
422
430
|
}
|
|
423
431
|
/**
|
|
424
432
|
* The Related Posts context provides access to a list of blog posts related to the current
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/blog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.702",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -181,5 +181,5 @@
|
|
|
181
181
|
"optional": true
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
|
-
"falconPackageHash": "
|
|
184
|
+
"falconPackageHash": "f3427f7d7a038f5d1e240bb7e47a1cdae6a18bc730bebae2ee3a77c3"
|
|
185
185
|
}
|