@engagently/types 3.1.2 → 3.1.6
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.
|
@@ -46,10 +46,20 @@ export type DiscussionAttributesComponent = {
|
|
|
46
46
|
isLive?: boolean;
|
|
47
47
|
imageUrl?: string;
|
|
48
48
|
};
|
|
49
|
-
export declare enum
|
|
49
|
+
export declare enum DiscussionMessagesSlots {
|
|
50
|
+
DISCUSSION_CLOSED = "messages_discussionClosed",
|
|
51
|
+
DISCUSSION_GLOBAL_CLOSED = "messages_discussionGlobalClosed",
|
|
52
|
+
DISCUSSION_LIVE_CLOSED = "messages_discussionLiveClosed",
|
|
53
|
+
DISCUSSION_PREAMBLE = "messages_discussionPreamble",
|
|
54
|
+
LOG_IN_TO_COMMENT = "messages_logInToComment",
|
|
55
|
+
USER_SANCTION_BLOCK = "messages_userSanctionBlock",
|
|
56
|
+
USER_SANCTION_BLOCK_UNTIL = "messages_userSanctionBlockUntil",
|
|
57
|
+
USER_SANCTION_WARN = "messages_userSanctionWarn",
|
|
58
|
+
USERNAME_CHANGE = "messages_usernameChange"
|
|
59
|
+
}
|
|
60
|
+
export declare enum DiscussionIconSlots {
|
|
50
61
|
BOOKMARK_ICON = "bookmarkIcon",
|
|
51
62
|
BOOKMARK_ICON_ACTIVE = "bookmarkIconActive",
|
|
52
|
-
CUSTOM_CALL_TO_ACTION = "customCallToAction",
|
|
53
63
|
DELETE_ICON = "deleteIcon",
|
|
54
64
|
EDIT_ICON = "editIcon",
|
|
55
65
|
LIVE_MODE_ICON = "liveModeIcon",
|
|
@@ -65,11 +75,17 @@ export declare enum DiscussionSlots {
|
|
|
65
75
|
REPORT_ICON_ACTIVE = "reportIconActive",
|
|
66
76
|
SETTINGS_ICON = "settingsIcon",
|
|
67
77
|
SHARE_ICON = "shareIcon",
|
|
68
|
-
USER_ICON = "userIcon"
|
|
78
|
+
USER_ICON = "userIcon",
|
|
79
|
+
REPLIES_TOGGLE_ICON_open = "repliesToggleIcon_open",
|
|
80
|
+
REPLIES_TOGGLE_ICON_closed = "repliesToggleIcon_closed"
|
|
81
|
+
}
|
|
82
|
+
export declare enum DiscussionSlots {
|
|
83
|
+
CUSTOM_CALL_TO_ACTION = "customCallToAction"
|
|
69
84
|
}
|
|
85
|
+
export type DiscussionSlotValues = `${DiscussionSlots}` | `${DiscussionIconSlots}` | `${DiscussionMessagesSlots}`;
|
|
70
86
|
export interface DiscussionWidget {
|
|
71
87
|
name: EgyEntities.EGY_DISCUSSION;
|
|
72
|
-
slots: Array
|
|
88
|
+
slots: Array<DiscussionSlotValues>;
|
|
73
89
|
attributes: Array<`${DiscussionAttributes}`>;
|
|
74
90
|
}
|
|
75
91
|
export declare enum DiscussionCommentaryActions {
|
package/dist/i18n/i18n.d.ts
CHANGED
|
@@ -124,10 +124,6 @@ export declare const defaultResources: {
|
|
|
124
124
|
labels: {
|
|
125
125
|
"sort-comments": string;
|
|
126
126
|
};
|
|
127
|
-
"live-controls": {
|
|
128
|
-
pause: string;
|
|
129
|
-
resume: string;
|
|
130
|
-
};
|
|
131
127
|
"new-commentary": string;
|
|
132
128
|
"new-commentary_other": string;
|
|
133
129
|
"no-more-comments": string;
|
|
@@ -257,10 +253,11 @@ export declare const defaultResources: {
|
|
|
257
253
|
messages: {
|
|
258
254
|
"discussion-closed": string;
|
|
259
255
|
"discussion-global-closed": string;
|
|
256
|
+
"discussion-live-closed": string;
|
|
260
257
|
"discussion-preamble": string;
|
|
261
258
|
"log-in-to-comment": string;
|
|
262
|
-
"user-sanction-block": string;
|
|
263
259
|
"user-sanction-block-until": string;
|
|
260
|
+
"user-sanction-block": string;
|
|
264
261
|
"user-sanction-warn": string;
|
|
265
262
|
"username-change": string;
|
|
266
263
|
};
|
|
@@ -391,10 +388,6 @@ export declare const defaultResources: {
|
|
|
391
388
|
labels: {
|
|
392
389
|
"sort-comments": string;
|
|
393
390
|
};
|
|
394
|
-
"live-controls": {
|
|
395
|
-
pause: string;
|
|
396
|
-
resume: string;
|
|
397
|
-
};
|
|
398
391
|
"new-commentary": string;
|
|
399
392
|
"new-commentary_other": string;
|
|
400
393
|
"no-more-comments": string;
|
|
@@ -523,10 +516,11 @@ export declare const defaultResources: {
|
|
|
523
516
|
messages: {
|
|
524
517
|
"discussion-closed": string;
|
|
525
518
|
"discussion-global-closed": string;
|
|
519
|
+
"discussion-live-closed": string;
|
|
526
520
|
"discussion-preamble": string;
|
|
527
521
|
"log-in-to-comment": string;
|
|
528
|
-
"user-sanction-block": string;
|
|
529
522
|
"user-sanction-block-until": string;
|
|
523
|
+
"user-sanction-block": string;
|
|
530
524
|
"user-sanction-warn": string;
|
|
531
525
|
"username-change": string;
|
|
532
526
|
};
|