@livetiles/reach-components-react 0.5.0-preview.1307 → 0.5.0-preview.1308
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/index.d.ts +47 -42
- package/index.esm2.js +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -136,14 +136,6 @@ interface PaginatedList<TItem> {
|
|
|
136
136
|
totalCount?: number;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
interface Channel {
|
|
140
|
-
id: string;
|
|
141
|
-
name: string;
|
|
142
|
-
translations?: {
|
|
143
|
-
[key: string]: string;
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
|
|
147
139
|
interface Resources {
|
|
148
140
|
[language: string]: Record<string, string>;
|
|
149
141
|
}
|
|
@@ -453,39 +445,6 @@ declare enum FieldMode {
|
|
|
453
445
|
Hidden = 3
|
|
454
446
|
}
|
|
455
447
|
|
|
456
|
-
interface ItemWithAttachments {
|
|
457
|
-
attachments?: Attachment[];
|
|
458
|
-
fileAccessToken?: string;
|
|
459
|
-
attachmentContainerId?: string;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
interface Comment extends ItemWithAttachments {
|
|
463
|
-
id: string;
|
|
464
|
-
parentItemId: string;
|
|
465
|
-
content: string;
|
|
466
|
-
formattedContent?: string;
|
|
467
|
-
contentLanguageCode?: string;
|
|
468
|
-
receivedDateTime: string;
|
|
469
|
-
sender: Account;
|
|
470
|
-
conversationScope: ConversationScope;
|
|
471
|
-
modified?: string;
|
|
472
|
-
statistics?: CommentStatistics;
|
|
473
|
-
isLiked?: boolean;
|
|
474
|
-
threadId?: string;
|
|
475
|
-
isUnread?: boolean;
|
|
476
|
-
hasUnreadReplies?: boolean;
|
|
477
|
-
isDemoContent?: boolean;
|
|
478
|
-
}
|
|
479
|
-
interface CommentStatistics {
|
|
480
|
-
likeCount?: number;
|
|
481
|
-
replyCount?: number;
|
|
482
|
-
}
|
|
483
|
-
declare enum ConversationScope {
|
|
484
|
-
Public = 0,
|
|
485
|
-
Editor = 1,
|
|
486
|
-
Posts = 2
|
|
487
|
-
}
|
|
488
|
-
|
|
489
448
|
interface ItemStatistics {
|
|
490
449
|
commentCount?: number;
|
|
491
450
|
likeCount?: number;
|
|
@@ -676,6 +635,41 @@ interface ChoiceTranslations {
|
|
|
676
635
|
text: string;
|
|
677
636
|
}
|
|
678
637
|
|
|
638
|
+
declare function useCurrentUser(): CurrentUser;
|
|
639
|
+
|
|
640
|
+
interface ItemWithAttachments {
|
|
641
|
+
attachments?: Attachment[];
|
|
642
|
+
fileAccessToken?: string;
|
|
643
|
+
attachmentContainerId?: string;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
interface Comment extends ItemWithAttachments {
|
|
647
|
+
id: string;
|
|
648
|
+
parentItemId: string;
|
|
649
|
+
content: string;
|
|
650
|
+
formattedContent?: string;
|
|
651
|
+
contentLanguageCode?: string;
|
|
652
|
+
receivedDateTime: string;
|
|
653
|
+
sender: Account;
|
|
654
|
+
conversationScope: ConversationScope;
|
|
655
|
+
modified?: string;
|
|
656
|
+
statistics?: CommentStatistics;
|
|
657
|
+
isLiked?: boolean;
|
|
658
|
+
threadId?: string;
|
|
659
|
+
isUnread?: boolean;
|
|
660
|
+
hasUnreadReplies?: boolean;
|
|
661
|
+
isDemoContent?: boolean;
|
|
662
|
+
}
|
|
663
|
+
interface CommentStatistics {
|
|
664
|
+
likeCount?: number;
|
|
665
|
+
replyCount?: number;
|
|
666
|
+
}
|
|
667
|
+
declare enum ConversationScope {
|
|
668
|
+
Public = 0,
|
|
669
|
+
Editor = 1,
|
|
670
|
+
Posts = 2
|
|
671
|
+
}
|
|
672
|
+
|
|
679
673
|
declare enum EventResponse {
|
|
680
674
|
NotSet = 0,
|
|
681
675
|
Registered = 1,
|
|
@@ -829,7 +823,18 @@ declare type KeywordsByGroupId = {
|
|
|
829
823
|
[key: string]: Keyword[];
|
|
830
824
|
};
|
|
831
825
|
|
|
832
|
-
|
|
826
|
+
interface Channel {
|
|
827
|
+
groups?: ChannelGroups[];
|
|
828
|
+
id: string;
|
|
829
|
+
name: string;
|
|
830
|
+
translations?: {
|
|
831
|
+
[key: string]: string;
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
interface ChannelGroups {
|
|
835
|
+
groupId: string;
|
|
836
|
+
permission: GroupRoles;
|
|
837
|
+
}
|
|
833
838
|
|
|
834
839
|
interface SubscriptionData {
|
|
835
840
|
channels?: Channel[];
|