@wix/auto_sdk_comments_comments 1.0.21 → 1.0.23
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 +56 -21
- package/build/cjs/index.js +69 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{comments-v2-comment-comments.universal-BVp9019z.d.ts → index.typings.d.ts} +656 -19
- package/build/cjs/index.typings.js +3890 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +222 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +56 -21
- package/build/es/index.mjs +62 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/{comments-v2-comment-comments.universal-BVp9019z.d.mts → index.typings.d.mts} +656 -19
- package/build/es/index.typings.mjs +3805 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +222 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +56 -21
- package/build/internal/cjs/index.js +69 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/{comments-v2-comment-comments.universal-BVp9019z.d.ts → index.typings.d.ts} +656 -19
- package/build/internal/cjs/index.typings.js +3890 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +222 -19
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +56 -21
- package/build/internal/es/index.mjs +62 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/{comments-v2-comment-comments.universal-BVp9019z.d.mts → index.typings.d.mts} +656 -19
- package/build/internal/es/index.typings.mjs +3805 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +222 -19
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -3
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { Comment, CreateCommentApplicationErrors, UpdateComment, UpdateCommentApplicationErrors, ModerateDraftContentOptions, ModerateDraftContentResponse, CommentsQueryBuilder, MarkCommentResponse, UnmarkCommentResponse, HideCommentResponse, PublishCommentResponse, CountCommentsOptions, CountCommentsResponse, CountCommentsApplicationErrors, ListCommentsByResourceOptions, ListCommentsByResourceResponse, GetCommentThreadOptions, GetCommentThreadResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, CommentContentChangedEnvelope, CommentHiddenEnvelope, CommentMarkedEnvelope, CommentMovedEnvelope, CommentPublishedEnvelope, CommentUnmarkedEnvelope, CommentCreatedEnvelope, CommentResourceCommentCountChangedEnvelope, CommentUpdatedEnvelope } from './index.typings.js';
|
|
3
|
+
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AspectRatio, Attachment, AttachmentMediaOneOf, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkDeleteCommentRequest, BulkHideCommentRequest, BulkModerateDraftContentRequest, BulkMoveCommentByFilterRequest, BulkPublishCommentRequest, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommentAuthor, CommentAuthorIdentityOneOf, CommentContent, CommentContentChanged, CommentDeleted, CommentHidden, CommentMarked, CommentModerated, CommentMoved, CommentPublished, CommentReactionSummary, CommentSort, CommentUnmarked, CommentsQueryResult, ContactDetails, ContentAuthor, ContentAuthorAuthorOneOf, CountCommentsRequest, CreateCommentRequest, CreateCommentResponse, Crop, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteByFilterOperation, DeleteByIdsOperation, DeleteCommentRequest, DeleteCommentResponse, Design, Destination, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetCommentRequest, GetCommentResponse, GetCommentThreadRequest, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, HideCommentRequest, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InternalDocument, InternalDocumentUpdateByFilterOperation, InternalDocumentUpdateOperation, InternalUpdateExistingOperation, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListCommentsByResourceCursorPaging, ListCommentsByResourceRequest, ListValue, MapData, MapSettings, MapType, MarkCommentRequest, Media, Mention, MentionData, MentionIdentityOneOf, MessageEnvelope, Metadata, ModerateDraftContentRequest, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, PDFSettings, ParagraphData, ParentComment, Permissions, Placement, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, PublishCommentRequest, QueryCommentsRequest, QueryCommentsResponse, Rel, RepliesListResponse, ReplySort, ReplySortOrder, Resizing, ResourceCommentCountChanged, RestoreInfo, RibbonStyles, RichContent, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnmarkCommentRequest, UpdateCommentRequest, UpdateCommentResponse, UpdateInternalDocumentsEvent, UpdateInternalDocumentsEventOperationOneOf, VersionedDeleteByIdsOperation, VersionedDocumentId, VersionedDocumentUpdateOperation, VersioningMode, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, VoteSummary, WebhookIdentityType, Width, WidthType } from './index.typings.js';
|
|
4
4
|
|
|
5
|
+
type CommentNonNullablePaths = `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`;
|
|
5
6
|
declare function createComment$1(httpClient: HttpClient): CreateCommentSignature;
|
|
6
7
|
interface CreateCommentSignature {
|
|
7
8
|
/**
|
|
@@ -15,7 +16,9 @@ interface CreateCommentSignature {
|
|
|
15
16
|
* @param - Comment to create.
|
|
16
17
|
* @returns Created comment.
|
|
17
18
|
*/
|
|
18
|
-
(comment: Comment): Promise<Comment
|
|
19
|
+
(comment: NonNullablePaths<Comment, `appId` | `content` | `contextId` | `resourceId`>): Promise<NonNullablePaths<Comment, CommentNonNullablePaths> & {
|
|
20
|
+
__applicationErrorsType?: CreateCommentApplicationErrors;
|
|
21
|
+
}>;
|
|
19
22
|
}
|
|
20
23
|
declare function getComment$1(httpClient: HttpClient): GetCommentSignature;
|
|
21
24
|
interface GetCommentSignature {
|
|
@@ -24,7 +27,7 @@ interface GetCommentSignature {
|
|
|
24
27
|
* @param - ID of the comment to retrieve.
|
|
25
28
|
* @returns Retrieved comment.
|
|
26
29
|
*/
|
|
27
|
-
(commentId: string): Promise<Comment
|
|
30
|
+
(commentId: string): Promise<NonNullablePaths<Comment, CommentNonNullablePaths>>;
|
|
28
31
|
}
|
|
29
32
|
declare function updateComment$1(httpClient: HttpClient): UpdateCommentSignature;
|
|
30
33
|
interface UpdateCommentSignature {
|
|
@@ -37,7 +40,9 @@ interface UpdateCommentSignature {
|
|
|
37
40
|
* @param - Comment ID.
|
|
38
41
|
* @returns Updated comment.
|
|
39
42
|
*/
|
|
40
|
-
(_id: string, comment: UpdateComment): Promise<Comment
|
|
43
|
+
(_id: string, comment: NonNullablePaths<UpdateComment, `revision`>): Promise<NonNullablePaths<Comment, CommentNonNullablePaths> & {
|
|
44
|
+
__applicationErrorsType?: UpdateCommentApplicationErrors;
|
|
45
|
+
}>;
|
|
41
46
|
}
|
|
42
47
|
declare function deleteComment$1(httpClient: HttpClient): DeleteCommentSignature;
|
|
43
48
|
interface DeleteCommentSignature {
|
|
@@ -55,13 +60,20 @@ interface ModerateDraftContentSignature {
|
|
|
55
60
|
* Moderates the draft content of a comment.
|
|
56
61
|
*
|
|
57
62
|
* - `APPROVE`: Moves `draftContent` to `content` and updates the comment `status` to `PUBLISHED`.
|
|
58
|
-
*
|
|
63
|
+
*
|
|
64
|
+
* - `REJECT`: Handles the draft content based on the current comment status:
|
|
65
|
+
* - If the comment `status` is `PUBLISHED`, clears `draftContent`.
|
|
66
|
+
* - If the comment `status` is `PENDING`, keeps `draftContent` unchanged and changes `status` to `HIDDEN`.
|
|
67
|
+
*
|
|
68
|
+
* To moderate multiple comments, call Bulk Moderate Draft Content.
|
|
59
69
|
* @param - ID of the comment to moderate.
|
|
60
70
|
* @param - Revision number, which increments by `1` each time the comment is updated.
|
|
61
71
|
*
|
|
62
72
|
* To prevent conflicting changes, the current `revision` must be passed when updating the comment.
|
|
63
73
|
*/
|
|
64
|
-
(commentId: string, revision: string, options?: ModerateDraftContentOptions
|
|
74
|
+
(commentId: string, revision: string, options?: ModerateDraftContentOptions): Promise<NonNullablePaths<ModerateDraftContentResponse, {
|
|
75
|
+
[P in CommentNonNullablePaths]: `comment.${P}`;
|
|
76
|
+
}[CommentNonNullablePaths]>>;
|
|
65
77
|
}
|
|
66
78
|
declare function queryComments$1(httpClient: HttpClient): QueryCommentsSignature;
|
|
67
79
|
interface QueryCommentsSignature {
|
|
@@ -93,7 +105,9 @@ interface MarkCommentSignature {
|
|
|
93
105
|
* See Sample Flows for an example.
|
|
94
106
|
* @param - ID of the comment to mark.
|
|
95
107
|
*/
|
|
96
|
-
(commentId: string): Promise<MarkCommentResponse
|
|
108
|
+
(commentId: string): Promise<NonNullablePaths<MarkCommentResponse, {
|
|
109
|
+
[P in CommentNonNullablePaths]: `comment.${P}`;
|
|
110
|
+
}[CommentNonNullablePaths]>>;
|
|
97
111
|
}
|
|
98
112
|
declare function unmarkComment$1(httpClient: HttpClient): UnmarkCommentSignature;
|
|
99
113
|
interface UnmarkCommentSignature {
|
|
@@ -101,7 +115,9 @@ interface UnmarkCommentSignature {
|
|
|
101
115
|
* Sets `marked` to `FALSE` to unmark a comment.
|
|
102
116
|
* @param - ID of the comment to unmark.
|
|
103
117
|
*/
|
|
104
|
-
(commentId: string): Promise<UnmarkCommentResponse
|
|
118
|
+
(commentId: string): Promise<NonNullablePaths<UnmarkCommentResponse, {
|
|
119
|
+
[P in CommentNonNullablePaths]: `comment.${P}`;
|
|
120
|
+
}[CommentNonNullablePaths]>>;
|
|
105
121
|
}
|
|
106
122
|
declare function hideComment$1(httpClient: HttpClient): HideCommentSignature;
|
|
107
123
|
interface HideCommentSignature {
|
|
@@ -109,7 +125,9 @@ interface HideCommentSignature {
|
|
|
109
125
|
* Hides a comment in a widget. The comment status becomes `HIDDEN`.
|
|
110
126
|
* @param - ID of the comment to hide.
|
|
111
127
|
*/
|
|
112
|
-
(commentId: string): Promise<HideCommentResponse
|
|
128
|
+
(commentId: string): Promise<NonNullablePaths<HideCommentResponse, {
|
|
129
|
+
[P in CommentNonNullablePaths]: `comment.${P}`;
|
|
130
|
+
}[CommentNonNullablePaths]>>;
|
|
113
131
|
}
|
|
114
132
|
declare function publishComment$1(httpClient: HttpClient): PublishCommentSignature;
|
|
115
133
|
interface PublishCommentSignature {
|
|
@@ -119,7 +137,9 @@ interface PublishCommentSignature {
|
|
|
119
137
|
* To publish a new comment, call Create Comment.
|
|
120
138
|
* @param - ID of the comment to publish.
|
|
121
139
|
*/
|
|
122
|
-
(commentId: string): Promise<PublishCommentResponse
|
|
140
|
+
(commentId: string): Promise<NonNullablePaths<PublishCommentResponse, {
|
|
141
|
+
[P in CommentNonNullablePaths]: `comment.${P}`;
|
|
142
|
+
}[CommentNonNullablePaths]>>;
|
|
123
143
|
}
|
|
124
144
|
declare function countComments$1(httpClient: HttpClient): CountCommentsSignature;
|
|
125
145
|
interface CountCommentsSignature {
|
|
@@ -127,7 +147,9 @@ interface CountCommentsSignature {
|
|
|
127
147
|
* Counts comments, given the specified filtering. Comments with the `HIDDEN` status are not included in the response.
|
|
128
148
|
* @param - App ID to count the comments of.
|
|
129
149
|
*/
|
|
130
|
-
(appId: string, options?: CountCommentsOptions
|
|
150
|
+
(appId: string, options?: CountCommentsOptions): Promise<NonNullablePaths<CountCommentsResponse, `count`> & {
|
|
151
|
+
__applicationErrorsType?: CountCommentsApplicationErrors;
|
|
152
|
+
}>;
|
|
131
153
|
}
|
|
132
154
|
declare function listCommentsByResource$1(httpClient: HttpClient): ListCommentsByResourceSignature;
|
|
133
155
|
interface ListCommentsByResourceSignature {
|
|
@@ -135,7 +157,9 @@ interface ListCommentsByResourceSignature {
|
|
|
135
157
|
* Lists published comments and replies from a specified resource, such as a blog post.
|
|
136
158
|
* @param - ID of the app from which the comments are listed.
|
|
137
159
|
*/
|
|
138
|
-
(appId: string, options?: ListCommentsByResourceOptions |
|
|
160
|
+
(appId: string, options?: NonNullablePaths<ListCommentsByResourceOptions, `contextId` | `resourceId`>): Promise<NonNullablePaths<ListCommentsByResourceResponse, {
|
|
161
|
+
[P in CommentNonNullablePaths]: `comments.${number}.${P}`;
|
|
162
|
+
}[CommentNonNullablePaths]>>;
|
|
139
163
|
}
|
|
140
164
|
declare function getCommentThread$1(httpClient: HttpClient): GetCommentThreadSignature;
|
|
141
165
|
interface GetCommentThreadSignature {
|
|
@@ -147,7 +171,9 @@ interface GetCommentThreadSignature {
|
|
|
147
171
|
* If you request a reply thread, the method returns a reply with its parent comment. With cursors (`pagingMetadata.cursors.next` or `pagingMetadata.cursors.prev`) you can load replies by calling the List Comments by Resource method.
|
|
148
172
|
* @param - Comment ID.
|
|
149
173
|
*/
|
|
150
|
-
(commentId: string, options?: GetCommentThreadOptions
|
|
174
|
+
(commentId: string, options?: GetCommentThreadOptions): Promise<NonNullablePaths<GetCommentThreadResponse, {
|
|
175
|
+
[P in CommentNonNullablePaths]: `comments.${number}.${P}`;
|
|
176
|
+
}[CommentNonNullablePaths]>>;
|
|
151
177
|
}
|
|
152
178
|
declare function bulkPublishComment$1(httpClient: HttpClient): BulkPublishCommentSignature;
|
|
153
179
|
interface BulkPublishCommentSignature {
|
|
@@ -155,7 +181,7 @@ interface BulkPublishCommentSignature {
|
|
|
155
181
|
* Publishes multiple comments with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
|
|
156
182
|
* @param - ID of the app where to publish the comment.
|
|
157
183
|
*/
|
|
158
|
-
(appId: string, options: BulkPublishCommentOptions): Promise<BulkPublishCommentResponse
|
|
184
|
+
(appId: string, options: NonNullablePaths<BulkPublishCommentOptions, `filter`>): Promise<NonNullablePaths<BulkPublishCommentResponse, `jobId`>>;
|
|
159
185
|
}
|
|
160
186
|
declare function bulkHideComment$1(httpClient: HttpClient): BulkHideCommentSignature;
|
|
161
187
|
interface BulkHideCommentSignature {
|
|
@@ -163,7 +189,7 @@ interface BulkHideCommentSignature {
|
|
|
163
189
|
* Hides multiple comments. The comment status becomes `HIDDEN`.
|
|
164
190
|
* @param - ID of the app where to hide the comments.
|
|
165
191
|
*/
|
|
166
|
-
(appId: string, options: BulkHideCommentOptions): Promise<BulkHideCommentResponse
|
|
192
|
+
(appId: string, options: NonNullablePaths<BulkHideCommentOptions, `filter`>): Promise<NonNullablePaths<BulkHideCommentResponse, `jobId`>>;
|
|
167
193
|
}
|
|
168
194
|
declare function bulkDeleteComment$1(httpClient: HttpClient): BulkDeleteCommentSignature;
|
|
169
195
|
interface BulkDeleteCommentSignature {
|
|
@@ -171,15 +197,24 @@ interface BulkDeleteCommentSignature {
|
|
|
171
197
|
* Deletes multiple comments.
|
|
172
198
|
* @param - ID of the app where to delete the comments.
|
|
173
199
|
*/
|
|
174
|
-
(appId: string, options: BulkDeleteCommentOptions): Promise<BulkDeleteCommentResponse
|
|
200
|
+
(appId: string, options: NonNullablePaths<BulkDeleteCommentOptions, `filter`>): Promise<NonNullablePaths<BulkDeleteCommentResponse, `jobId`>>;
|
|
175
201
|
}
|
|
176
202
|
declare function bulkModerateDraftContent$1(httpClient: HttpClient): BulkModerateDraftContentSignature;
|
|
177
203
|
interface BulkModerateDraftContentSignature {
|
|
178
204
|
/**
|
|
179
|
-
* Moderates the draft content of multiple comments.
|
|
205
|
+
* Moderates the draft content of multiple comments that match the specified filter.
|
|
206
|
+
*
|
|
207
|
+
* The same action, `APPROVE` or `REJECT`, applies to all comments that match the filter.
|
|
208
|
+
* - `APPROVE`: Moves `draftContent` to `content` and updates the comment `status` to `PUBLISHED`.
|
|
209
|
+
*
|
|
210
|
+
* - `REJECT`: Handles the draft content based on the current comment status:
|
|
211
|
+
* - If the comment `status` is `PUBLISHED`, clears `draftContent`.
|
|
212
|
+
* - If the comment `status` is `PENDING`, keeps `draftContent` unchanged and changes `status` to `HIDDEN`.
|
|
213
|
+
*
|
|
214
|
+
* To moderate a single comment, call Moderate Draft Content.
|
|
180
215
|
* @param - ID of the app where to moderate the comments.
|
|
181
216
|
*/
|
|
182
|
-
(appId: string, options: BulkModerateDraftContentOptions): Promise<BulkModerateDraftContentResponse
|
|
217
|
+
(appId: string, options: NonNullablePaths<BulkModerateDraftContentOptions, `draftContentAction` | `filter`>): Promise<NonNullablePaths<BulkModerateDraftContentResponse, `jobId`>>;
|
|
183
218
|
}
|
|
184
219
|
declare function bulkMoveCommentByFilter$1(httpClient: HttpClient): BulkMoveCommentByFilterSignature;
|
|
185
220
|
interface BulkMoveCommentByFilterSignature {
|
|
@@ -187,7 +222,7 @@ interface BulkMoveCommentByFilterSignature {
|
|
|
187
222
|
* Moves multiple comments to another resource.
|
|
188
223
|
* @param - ID of the app from which to move the comments.
|
|
189
224
|
*/
|
|
190
|
-
(appId: string, options?: BulkMoveCommentByFilterOptions |
|
|
225
|
+
(appId: string, options?: NonNullablePaths<BulkMoveCommentByFilterOptions, `destination.contextId` | `destination.resourceId` | `filter`>): Promise<NonNullablePaths<BulkMoveCommentByFilterResponse, `jobId`>>;
|
|
191
226
|
}
|
|
192
227
|
declare const onCommentContentChanged$1: EventDefinition<CommentContentChangedEnvelope, "wix.comments.v2.comment_comment_content_changed">;
|
|
193
228
|
declare const onCommentHidden$1: EventDefinition<CommentHiddenEnvelope, "wix.comments.v2.comment_comment_hidden">;
|
|
@@ -23,13 +23,17 @@ __export(index_exports, {
|
|
|
23
23
|
Action: () => Action,
|
|
24
24
|
Alignment: () => Alignment,
|
|
25
25
|
AppType: () => AppType,
|
|
26
|
+
AspectRatio: () => AspectRatio,
|
|
26
27
|
BackgroundType: () => BackgroundType,
|
|
28
|
+
ButtonDataType: () => ButtonDataType,
|
|
27
29
|
Crop: () => Crop,
|
|
28
30
|
DecorationType: () => DecorationType,
|
|
29
31
|
Direction: () => Direction,
|
|
32
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
30
33
|
FontType: () => FontType,
|
|
31
34
|
GIFType: () => GIFType,
|
|
32
35
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
36
|
+
Layout: () => Layout,
|
|
33
37
|
LayoutType: () => LayoutType,
|
|
34
38
|
LineStyle: () => LineStyle,
|
|
35
39
|
MapType: () => MapType,
|
|
@@ -37,14 +41,17 @@ __export(index_exports, {
|
|
|
37
41
|
NullValue: () => NullValue,
|
|
38
42
|
Order: () => Order,
|
|
39
43
|
Orientation: () => Orientation,
|
|
44
|
+
Placement: () => Placement,
|
|
40
45
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
41
46
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
42
47
|
PollLayoutType: () => PollLayoutType,
|
|
43
48
|
Position: () => Position,
|
|
44
49
|
ReplySortOrder: () => ReplySortOrder,
|
|
50
|
+
Resizing: () => Resizing,
|
|
45
51
|
SortOrder: () => SortOrder,
|
|
46
52
|
Source: () => Source,
|
|
47
53
|
Status: () => Status,
|
|
54
|
+
StylesPosition: () => StylesPosition,
|
|
48
55
|
Target: () => Target,
|
|
49
56
|
TextAlignment: () => TextAlignment,
|
|
50
57
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
@@ -2604,11 +2611,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
|
2604
2611
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
|
2605
2612
|
return PluginContainerDataAlignment2;
|
|
2606
2613
|
})(PluginContainerDataAlignment || {});
|
|
2607
|
-
var
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
return
|
|
2611
|
-
})(
|
|
2614
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
|
2615
|
+
ButtonDataType2["LINK"] = "LINK";
|
|
2616
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
|
2617
|
+
return ButtonDataType2;
|
|
2618
|
+
})(ButtonDataType || {});
|
|
2612
2619
|
var Target = /* @__PURE__ */ ((Target2) => {
|
|
2613
2620
|
Target2["SELF"] = "SELF";
|
|
2614
2621
|
Target2["BLANK"] = "BLANK";
|
|
@@ -2637,12 +2644,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
2637
2644
|
Width2["SMALL"] = "SMALL";
|
|
2638
2645
|
return Width2;
|
|
2639
2646
|
})(Width || {});
|
|
2640
|
-
var
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
return
|
|
2645
|
-
})(
|
|
2647
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
2648
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
2649
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
2650
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
2651
|
+
return DividerDataAlignment2;
|
|
2652
|
+
})(DividerDataAlignment || {});
|
|
2646
2653
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
2647
2654
|
ViewMode2["NONE"] = "NONE";
|
|
2648
2655
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -2690,13 +2697,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
2690
2697
|
Source2["ADSENSE"] = "ADSENSE";
|
|
2691
2698
|
return Source2;
|
|
2692
2699
|
})(Source || {});
|
|
2693
|
-
var
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
return
|
|
2699
|
-
})(
|
|
2700
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
2701
|
+
StylesPosition2["START"] = "START";
|
|
2702
|
+
StylesPosition2["END"] = "END";
|
|
2703
|
+
StylesPosition2["TOP"] = "TOP";
|
|
2704
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
2705
|
+
return StylesPosition2;
|
|
2706
|
+
})(StylesPosition || {});
|
|
2700
2707
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
2701
2708
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
2702
2709
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -2752,6 +2759,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
2752
2759
|
FontType2["EM"] = "EM";
|
|
2753
2760
|
return FontType2;
|
|
2754
2761
|
})(FontType || {});
|
|
2762
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
2763
|
+
Position2["START"] = "START";
|
|
2764
|
+
Position2["END"] = "END";
|
|
2765
|
+
Position2["TOP"] = "TOP";
|
|
2766
|
+
return Position2;
|
|
2767
|
+
})(Position || {});
|
|
2768
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
2769
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
2770
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
2771
|
+
return AspectRatio2;
|
|
2772
|
+
})(AspectRatio || {});
|
|
2773
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
2774
|
+
Resizing2["FILL"] = "FILL";
|
|
2775
|
+
Resizing2["FIT"] = "FIT";
|
|
2776
|
+
return Resizing2;
|
|
2777
|
+
})(Resizing || {});
|
|
2778
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
2779
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
2780
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
2781
|
+
return Placement2;
|
|
2782
|
+
})(Placement || {});
|
|
2783
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
2784
|
+
Type2["CONTAINED"] = "CONTAINED";
|
|
2785
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
|
2786
|
+
return Type2;
|
|
2787
|
+
})(Type || {});
|
|
2788
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
2789
|
+
Alignment2["START"] = "START";
|
|
2790
|
+
Alignment2["CENTER"] = "CENTER";
|
|
2791
|
+
Alignment2["END"] = "END";
|
|
2792
|
+
return Alignment2;
|
|
2793
|
+
})(Alignment || {});
|
|
2794
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
2795
|
+
Layout2["STACKED"] = "STACKED";
|
|
2796
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
2797
|
+
return Layout2;
|
|
2798
|
+
})(Layout || {});
|
|
2755
2799
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
2756
2800
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
2757
2801
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -5206,13 +5250,17 @@ var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
5206
5250
|
Action,
|
|
5207
5251
|
Alignment,
|
|
5208
5252
|
AppType,
|
|
5253
|
+
AspectRatio,
|
|
5209
5254
|
BackgroundType,
|
|
5255
|
+
ButtonDataType,
|
|
5210
5256
|
Crop,
|
|
5211
5257
|
DecorationType,
|
|
5212
5258
|
Direction,
|
|
5259
|
+
DividerDataAlignment,
|
|
5213
5260
|
FontType,
|
|
5214
5261
|
GIFType,
|
|
5215
5262
|
InitialExpandedItems,
|
|
5263
|
+
Layout,
|
|
5216
5264
|
LayoutType,
|
|
5217
5265
|
LineStyle,
|
|
5218
5266
|
MapType,
|
|
@@ -5220,14 +5268,17 @@ var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
5220
5268
|
NullValue,
|
|
5221
5269
|
Order,
|
|
5222
5270
|
Orientation,
|
|
5271
|
+
Placement,
|
|
5223
5272
|
PluginContainerDataAlignment,
|
|
5224
5273
|
PollLayoutDirection,
|
|
5225
5274
|
PollLayoutType,
|
|
5226
5275
|
Position,
|
|
5227
5276
|
ReplySortOrder,
|
|
5277
|
+
Resizing,
|
|
5228
5278
|
SortOrder,
|
|
5229
5279
|
Source,
|
|
5230
5280
|
Status,
|
|
5281
|
+
StylesPosition,
|
|
5231
5282
|
Target,
|
|
5232
5283
|
TextAlignment,
|
|
5233
5284
|
ThumbnailsAlignment,
|