@engagently/types 4.0.1 → 4.2.0

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.
@@ -57,9 +57,11 @@ export type CommunityConfig = {
57
57
  COMMENTARY_MAX_LENGTH: number;
58
58
  COMMENTARY_PREVIEW_LENGTH: number;
59
59
  LIST_COMMENTARIES_SIZE: number;
60
+ LIST_COMMENTARIES_SIZE_ANONYMOUS: number;
60
61
  LIST_MORE_COMMENTARIES_SIZE: number;
61
62
  PREAMBLE_ENABLED: boolean;
62
63
  THREAD_COMMENTS_SIZE: number;
64
+ THREAD_COMMENTS_SIZE_ANONYMOUS: number;
63
65
  THREAD_INCLUDE_TOMBSTONES: boolean;
64
66
  THREAD_MORE_COMMENTS_SIZE: number;
65
67
  THREAD_MORE_REPLIES_SIZE: number;
@@ -1,6 +1,7 @@
1
1
  export declare enum DsmCommentariesSort {
2
2
  CreatedAtAsc = "CREATED_AT_ASC",
3
- CreatedAtDesc = "CREATED_AT_DESC"
3
+ CreatedAtDesc = "CREATED_AT_DESC",
4
+ PopularityDesc = "POPULARITY_DESC"
4
5
  }
5
6
  export declare enum DsmDiscussionEffectiveState {
6
7
  Archived = "ARCHIVED",
@@ -67,6 +68,12 @@ export declare enum PageStatus {
67
68
  Full = "FULL",
68
69
  Partial = "PARTIAL"
69
70
  }
71
+ export declare enum TieBreakerSort {
72
+ CreatedAtAsc = "CREATED_AT_ASC",
73
+ CreatedAtDesc = "CREATED_AT_DESC",
74
+ IdAsc = "ID_ASC",
75
+ IdDesc = "ID_DESC"
76
+ }
70
77
  export declare enum UserDeletionStatus {
71
78
  Completed = "COMPLETED",
72
79
  InProgress = "IN_PROGRESS",
@@ -20,6 +20,7 @@ export declare const defaultResources: {
20
20
  "go-to-discussion": string;
21
21
  na: string;
22
22
  save: string;
23
+ edit: string;
23
24
  send: string;
24
25
  "show-all-comments": string;
25
26
  view: string;
@@ -36,6 +37,7 @@ export declare const defaultResources: {
36
37
  "featured-comment": string;
37
38
  live: string;
38
39
  "load-more": string;
40
+ "load-more-comments": string;
39
41
  "load-newer-comments": string;
40
42
  "load-older-comments": string;
41
43
  "load-newer-replies": string;
@@ -111,6 +113,11 @@ export declare const defaultResources: {
111
113
  header: string;
112
114
  title: string;
113
115
  };
116
+ POPULARITY_DESC: {
117
+ description: string;
118
+ header: string;
119
+ title: string;
120
+ };
114
121
  LIST: {
115
122
  description: string;
116
123
  title: string;
@@ -123,6 +130,11 @@ export declare const defaultResources: {
123
130
  };
124
131
  labels: {
125
132
  "sort-comments": string;
133
+ "view-structure": string;
134
+ "author-badge": string;
135
+ "comment-list": string;
136
+ "discussion-link": string;
137
+ "commentary-actions": string;
126
138
  };
127
139
  "new-commentary": string;
128
140
  "new-commentary_other": string;
@@ -279,6 +291,7 @@ export declare const defaultResources: {
279
291
  "go-to-discussion": string;
280
292
  na: string;
281
293
  save: string;
294
+ edit: string;
282
295
  send: string;
283
296
  "show-all-comments": string;
284
297
  view: string;
@@ -295,6 +308,7 @@ export declare const defaultResources: {
295
308
  "featured-comment": string;
296
309
  live: string;
297
310
  "load-more": string;
311
+ "load-more-comments": string;
298
312
  "load-newer-comments": string;
299
313
  "load-older-comments": string;
300
314
  "load-newer-replies": string;
@@ -370,6 +384,11 @@ export declare const defaultResources: {
370
384
  header: string;
371
385
  title: string;
372
386
  };
387
+ POPULARITY_DESC: {
388
+ description: string;
389
+ header: string;
390
+ title: string;
391
+ };
373
392
  LIST: {
374
393
  description: string;
375
394
  title: string;
@@ -382,6 +401,11 @@ export declare const defaultResources: {
382
401
  };
383
402
  labels: {
384
403
  "sort-comments": string;
404
+ "view-structure": string;
405
+ "author-badge": string;
406
+ "comment-list": string;
407
+ "discussion-link": string;
408
+ "commentary-actions": string;
385
409
  };
386
410
  "new-commentary": string;
387
411
  "new-commentary_other": string;
@@ -1,5 +1,5 @@
1
1
  export type ThemeShape = {
2
- borderRadius: number;
2
+ borderRadius: string;
3
3
  };
4
4
  declare const shape: ThemeShape;
5
5
  export { shape };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engagently/types",
3
- "version": "4.0.1",
3
+ "version": "4.2.0",
4
4
  "main": "./index.ts",
5
5
  "types": "dist/types/engagently.d.ts",
6
6
  "files": [