@wix/auto_sdk_comments_comments 1.0.50 → 1.0.52
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.js +3 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +9 -3
- package/build/cjs/index.typings.js +3 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +3 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +9 -3
- package/build/es/index.typings.mjs +3 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +3 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +9 -3
- package/build/internal/cjs/index.typings.js +3 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +3 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +9 -3
- package/build/internal/es/index.typings.mjs +3 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -58,6 +58,8 @@ interface Comment {
|
|
|
58
58
|
resourceId?: string | null;
|
|
59
59
|
/** Published comment content. */
|
|
60
60
|
content?: CommentContent;
|
|
61
|
+
/** Unpublished comment content. */
|
|
62
|
+
draftContent?: CommentContent;
|
|
61
63
|
/**
|
|
62
64
|
* Comment's author.
|
|
63
65
|
* @immutable
|
|
@@ -3611,6 +3613,8 @@ interface UpdateComment {
|
|
|
3611
3613
|
resourceId?: string | null;
|
|
3612
3614
|
/** Published comment content. */
|
|
3613
3615
|
content?: CommentContent;
|
|
3616
|
+
/** Unpublished comment content. */
|
|
3617
|
+
draftContent?: CommentContent;
|
|
3614
3618
|
/**
|
|
3615
3619
|
* Comment's author.
|
|
3616
3620
|
* @immutable
|
|
@@ -3909,9 +3913,11 @@ type CommentQuery = {
|
|
|
3909
3913
|
}[];
|
|
3910
3914
|
};
|
|
3911
3915
|
declare const utils: {
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3916
|
+
query: {
|
|
3917
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Comment, CommentQuerySpec, CommentQuery>;
|
|
3918
|
+
Filter: _wix_sdk_types.FilterFactory<Comment, CommentQuerySpec>; /** Ribbon placed on the product information */
|
|
3919
|
+
Sort: _wix_sdk_types.SortFactory<CommentQuerySpec>;
|
|
3920
|
+
};
|
|
3915
3921
|
};
|
|
3916
3922
|
/**
|
|
3917
3923
|
* Sets `marked` to `TRUE` to mark a comment.
|
|
@@ -3693,7 +3693,9 @@ async function typedQueryComments(query, options) {
|
|
|
3693
3693
|
}
|
|
3694
3694
|
}
|
|
3695
3695
|
var utils = {
|
|
3696
|
-
|
|
3696
|
+
query: {
|
|
3697
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
3698
|
+
}
|
|
3697
3699
|
};
|
|
3698
3700
|
async function markComment2(commentId) {
|
|
3699
3701
|
const { httpClient, sideEffects } = arguments[1];
|