@livetiles/reach-plugin-types 0.4.0-preview.763 → 0.4.0-preview.766
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/lib/index.d.ts +409 -10
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10129,7 +10129,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10129
10129
|
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
10130
10130
|
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
10131
10131
|
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
10132
|
-
export function
|
|
10132
|
+
export function convertPostProperties(items: StreamItem[]): ({
|
|
10133
10133
|
groupId: string;
|
|
10134
10134
|
attachments: {
|
|
10135
10135
|
type: AttachmentType;
|
|
@@ -10179,9 +10179,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10179
10179
|
hasMoreUnreadComments?: boolean;
|
|
10180
10180
|
hasNextPage?: boolean;
|
|
10181
10181
|
};
|
|
10182
|
-
keywords: {
|
|
10183
|
-
[key: string]: Keyword[];
|
|
10184
|
-
};
|
|
10185
10182
|
type: StreamItemTypes.Post;
|
|
10186
10183
|
isUnread: boolean;
|
|
10187
10184
|
keywordsList?: Keyword[];
|
|
@@ -10196,6 +10193,11 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10196
10193
|
publishingDate: string;
|
|
10197
10194
|
modified?: string;
|
|
10198
10195
|
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10196
|
+
keywords: {
|
|
10197
|
+
[key: string]: Keyword[];
|
|
10198
|
+
} & {
|
|
10199
|
+
[p: string]: Keyword[];
|
|
10200
|
+
};
|
|
10199
10201
|
contentLanguageCode?: string;
|
|
10200
10202
|
isLiked?: boolean;
|
|
10201
10203
|
isDemoContent?: boolean;
|
|
@@ -10254,9 +10256,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10254
10256
|
hasMoreUnreadComments?: boolean;
|
|
10255
10257
|
hasNextPage?: boolean;
|
|
10256
10258
|
};
|
|
10257
|
-
keywords: {
|
|
10258
|
-
[key: string]: Keyword[];
|
|
10259
|
-
};
|
|
10260
10259
|
type: StreamItemTypes.News;
|
|
10261
10260
|
contentsList: StreamPublishableItemContents[];
|
|
10262
10261
|
channelsList: string[];
|
|
@@ -10282,6 +10281,11 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10282
10281
|
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10283
10282
|
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10284
10283
|
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10284
|
+
keywords: {
|
|
10285
|
+
[key: string]: Keyword[];
|
|
10286
|
+
} & {
|
|
10287
|
+
[p: string]: Keyword[];
|
|
10288
|
+
};
|
|
10285
10289
|
fileAccessToken?: string;
|
|
10286
10290
|
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10287
10291
|
customProperties?: {
|
|
@@ -10350,9 +10354,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10350
10354
|
hasMoreUnreadComments?: boolean;
|
|
10351
10355
|
hasNextPage?: boolean;
|
|
10352
10356
|
};
|
|
10353
|
-
keywords: {
|
|
10354
|
-
[key: string]: Keyword[];
|
|
10355
|
-
};
|
|
10356
10357
|
type: StreamItemTypes.Event;
|
|
10357
10358
|
contentsList: StreamPublishableItemContents[];
|
|
10358
10359
|
channelsList: string[];
|
|
@@ -10386,6 +10387,11 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10386
10387
|
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10387
10388
|
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10388
10389
|
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10390
|
+
keywords: {
|
|
10391
|
+
[key: string]: Keyword[];
|
|
10392
|
+
} & {
|
|
10393
|
+
[p: string]: Keyword[];
|
|
10394
|
+
};
|
|
10389
10395
|
fileAccessToken?: string;
|
|
10390
10396
|
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10391
10397
|
customProperties?: {
|
|
@@ -10454,8 +10460,388 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10454
10460
|
hasMoreUnreadComments?: boolean;
|
|
10455
10461
|
hasNextPage?: boolean;
|
|
10456
10462
|
};
|
|
10463
|
+
type: StreamItemTypes.Page;
|
|
10464
|
+
contentsList: StreamPublishableItemContents[];
|
|
10465
|
+
channelsList: string[];
|
|
10466
|
+
isUnread: boolean;
|
|
10467
|
+
keywordsList?: Keyword[];
|
|
10468
|
+
streamPageType?: string;
|
|
10469
|
+
path?: (PageNavigationNode & {
|
|
10470
|
+
parentId?: string;
|
|
10471
|
+
})[];
|
|
10472
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10473
|
+
parentId?: string;
|
|
10474
|
+
pathIds?: string[];
|
|
10475
|
+
position?: number;
|
|
10476
|
+
navigationContext?: PageNavigationContext;
|
|
10477
|
+
hasHiddenAncestor?: boolean;
|
|
10478
|
+
isUnlinked?: boolean;
|
|
10479
|
+
pageType?: PageType;
|
|
10480
|
+
firstChildId?: string;
|
|
10481
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10482
|
+
id?: string;
|
|
10483
|
+
versionId?: string;
|
|
10484
|
+
publishingDate?: string;
|
|
10485
|
+
deleted?: string;
|
|
10486
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10487
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10488
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10489
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10490
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10457
10491
|
keywords: {
|
|
10458
10492
|
[key: string]: Keyword[];
|
|
10493
|
+
} & {
|
|
10494
|
+
[p: string]: Keyword[];
|
|
10495
|
+
};
|
|
10496
|
+
fileAccessToken?: string;
|
|
10497
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10498
|
+
customProperties?: {
|
|
10499
|
+
[key: string]: any;
|
|
10500
|
+
};
|
|
10501
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10502
|
+
modified: string;
|
|
10503
|
+
created: string;
|
|
10504
|
+
publishedVersionId?: string;
|
|
10505
|
+
isCurrentPublishedVersion?: boolean;
|
|
10506
|
+
isLatestVersion?: boolean;
|
|
10507
|
+
permalink?: string;
|
|
10508
|
+
groupIds: string[];
|
|
10509
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10510
|
+
useExternalContent?: boolean;
|
|
10511
|
+
isDemoContent?: boolean;
|
|
10512
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10513
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10514
|
+
})[];
|
|
10515
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
10516
|
+
groupId: string;
|
|
10517
|
+
attachments: {
|
|
10518
|
+
type: AttachmentType;
|
|
10519
|
+
id: string;
|
|
10520
|
+
filename?: string;
|
|
10521
|
+
previewUrl?: string;
|
|
10522
|
+
url?: string;
|
|
10523
|
+
isUploadInProgress?: boolean;
|
|
10524
|
+
hasError?: boolean;
|
|
10525
|
+
width?: number;
|
|
10526
|
+
height?: number;
|
|
10527
|
+
}[];
|
|
10528
|
+
comments: {
|
|
10529
|
+
items: {
|
|
10530
|
+
conversationScope: ConversationScope;
|
|
10531
|
+
fileAccessToken: string;
|
|
10532
|
+
attachments: {
|
|
10533
|
+
type: AttachmentType;
|
|
10534
|
+
id: string;
|
|
10535
|
+
filename?: string;
|
|
10536
|
+
previewUrl?: string;
|
|
10537
|
+
url?: string;
|
|
10538
|
+
isUploadInProgress?: boolean;
|
|
10539
|
+
hasError?: boolean;
|
|
10540
|
+
width?: number;
|
|
10541
|
+
height?: number;
|
|
10542
|
+
}[];
|
|
10543
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10544
|
+
streamConversationScope?: StreamConversationScope;
|
|
10545
|
+
id: string;
|
|
10546
|
+
parentItemId: string;
|
|
10547
|
+
content: string;
|
|
10548
|
+
contentLanguageCode?: string;
|
|
10549
|
+
receivedDateTime: string;
|
|
10550
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10551
|
+
modified?: string;
|
|
10552
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10553
|
+
isLiked?: boolean;
|
|
10554
|
+
threadId?: string;
|
|
10555
|
+
isUnread?: boolean;
|
|
10556
|
+
hasUnreadReplies?: boolean;
|
|
10557
|
+
isDemoContent?: boolean;
|
|
10558
|
+
attachmentContainerId?: string;
|
|
10559
|
+
}[];
|
|
10560
|
+
paginationToken?: any;
|
|
10561
|
+
nextItem?: StreamPostComment;
|
|
10562
|
+
hasMoreUnreadComments?: boolean;
|
|
10563
|
+
hasNextPage?: boolean;
|
|
10564
|
+
};
|
|
10565
|
+
type: StreamItemTypes.Post;
|
|
10566
|
+
isUnread: boolean;
|
|
10567
|
+
keywordsList?: Keyword[];
|
|
10568
|
+
groupIds?: string[];
|
|
10569
|
+
postAttachments?: StreamAttachment[];
|
|
10570
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10571
|
+
hasMoreUnreadComments: boolean;
|
|
10572
|
+
id: string;
|
|
10573
|
+
content: string;
|
|
10574
|
+
permalink?: string;
|
|
10575
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10576
|
+
publishingDate: string;
|
|
10577
|
+
modified?: string;
|
|
10578
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10579
|
+
keywords: {
|
|
10580
|
+
[key: string]: Keyword[];
|
|
10581
|
+
} & {
|
|
10582
|
+
[p: string]: Keyword[];
|
|
10583
|
+
};
|
|
10584
|
+
contentLanguageCode?: string;
|
|
10585
|
+
isLiked?: boolean;
|
|
10586
|
+
isDemoContent?: boolean;
|
|
10587
|
+
isFollowing?: boolean;
|
|
10588
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10589
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10590
|
+
fileAccessToken?: string;
|
|
10591
|
+
attachmentContainerId?: string;
|
|
10592
|
+
} | {
|
|
10593
|
+
groupId: string;
|
|
10594
|
+
attachments: {
|
|
10595
|
+
type: AttachmentType;
|
|
10596
|
+
id: string;
|
|
10597
|
+
filename?: string;
|
|
10598
|
+
previewUrl?: string;
|
|
10599
|
+
url?: string;
|
|
10600
|
+
isUploadInProgress?: boolean;
|
|
10601
|
+
hasError?: boolean;
|
|
10602
|
+
width?: number;
|
|
10603
|
+
height?: number;
|
|
10604
|
+
}[];
|
|
10605
|
+
comments: {
|
|
10606
|
+
items: {
|
|
10607
|
+
conversationScope: ConversationScope;
|
|
10608
|
+
fileAccessToken: string;
|
|
10609
|
+
attachments: {
|
|
10610
|
+
type: AttachmentType;
|
|
10611
|
+
id: string;
|
|
10612
|
+
filename?: string;
|
|
10613
|
+
previewUrl?: string;
|
|
10614
|
+
url?: string;
|
|
10615
|
+
isUploadInProgress?: boolean;
|
|
10616
|
+
hasError?: boolean;
|
|
10617
|
+
width?: number;
|
|
10618
|
+
height?: number;
|
|
10619
|
+
}[];
|
|
10620
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10621
|
+
streamConversationScope?: StreamConversationScope;
|
|
10622
|
+
id: string;
|
|
10623
|
+
parentItemId: string;
|
|
10624
|
+
content: string;
|
|
10625
|
+
contentLanguageCode?: string;
|
|
10626
|
+
receivedDateTime: string;
|
|
10627
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10628
|
+
modified?: string;
|
|
10629
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10630
|
+
isLiked?: boolean;
|
|
10631
|
+
threadId?: string;
|
|
10632
|
+
isUnread?: boolean;
|
|
10633
|
+
hasUnreadReplies?: boolean;
|
|
10634
|
+
isDemoContent?: boolean;
|
|
10635
|
+
attachmentContainerId?: string;
|
|
10636
|
+
}[];
|
|
10637
|
+
paginationToken?: any;
|
|
10638
|
+
nextItem?: StreamPostComment;
|
|
10639
|
+
hasMoreUnreadComments?: boolean;
|
|
10640
|
+
hasNextPage?: boolean;
|
|
10641
|
+
};
|
|
10642
|
+
type: StreamItemTypes.News;
|
|
10643
|
+
contentsList: StreamPublishableItemContents[];
|
|
10644
|
+
channelsList: string[];
|
|
10645
|
+
isUnread: boolean;
|
|
10646
|
+
keywordsList?: Keyword[];
|
|
10647
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10648
|
+
source?: string;
|
|
10649
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10650
|
+
expiryDate?: string;
|
|
10651
|
+
knownState: KnownNewsState;
|
|
10652
|
+
hasNewComments?: boolean;
|
|
10653
|
+
isLiked?: boolean;
|
|
10654
|
+
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10655
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10656
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10657
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10658
|
+
id?: string;
|
|
10659
|
+
versionId?: string;
|
|
10660
|
+
publishingDate?: string;
|
|
10661
|
+
deleted?: string;
|
|
10662
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10663
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10664
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10665
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10666
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10667
|
+
keywords: {
|
|
10668
|
+
[key: string]: Keyword[];
|
|
10669
|
+
} & {
|
|
10670
|
+
[p: string]: Keyword[];
|
|
10671
|
+
};
|
|
10672
|
+
fileAccessToken?: string;
|
|
10673
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10674
|
+
customProperties?: {
|
|
10675
|
+
[key: string]: any;
|
|
10676
|
+
};
|
|
10677
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10678
|
+
modified: string;
|
|
10679
|
+
created: string;
|
|
10680
|
+
publishedVersionId?: string;
|
|
10681
|
+
isCurrentPublishedVersion?: boolean;
|
|
10682
|
+
isLatestVersion?: boolean;
|
|
10683
|
+
permalink?: string;
|
|
10684
|
+
groupIds: string[];
|
|
10685
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10686
|
+
useExternalContent?: boolean;
|
|
10687
|
+
isDemoContent?: boolean;
|
|
10688
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10689
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10690
|
+
} | {
|
|
10691
|
+
groupId: string;
|
|
10692
|
+
attachments: {
|
|
10693
|
+
type: AttachmentType;
|
|
10694
|
+
id: string;
|
|
10695
|
+
filename?: string;
|
|
10696
|
+
previewUrl?: string;
|
|
10697
|
+
url?: string;
|
|
10698
|
+
isUploadInProgress?: boolean;
|
|
10699
|
+
hasError?: boolean;
|
|
10700
|
+
width?: number;
|
|
10701
|
+
height?: number;
|
|
10702
|
+
}[];
|
|
10703
|
+
comments: {
|
|
10704
|
+
items: {
|
|
10705
|
+
conversationScope: ConversationScope;
|
|
10706
|
+
fileAccessToken: string;
|
|
10707
|
+
attachments: {
|
|
10708
|
+
type: AttachmentType;
|
|
10709
|
+
id: string;
|
|
10710
|
+
filename?: string;
|
|
10711
|
+
previewUrl?: string;
|
|
10712
|
+
url?: string;
|
|
10713
|
+
isUploadInProgress?: boolean;
|
|
10714
|
+
hasError?: boolean;
|
|
10715
|
+
width?: number;
|
|
10716
|
+
height?: number;
|
|
10717
|
+
}[];
|
|
10718
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10719
|
+
streamConversationScope?: StreamConversationScope;
|
|
10720
|
+
id: string;
|
|
10721
|
+
parentItemId: string;
|
|
10722
|
+
content: string;
|
|
10723
|
+
contentLanguageCode?: string;
|
|
10724
|
+
receivedDateTime: string;
|
|
10725
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10726
|
+
modified?: string;
|
|
10727
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10728
|
+
isLiked?: boolean;
|
|
10729
|
+
threadId?: string;
|
|
10730
|
+
isUnread?: boolean;
|
|
10731
|
+
hasUnreadReplies?: boolean;
|
|
10732
|
+
isDemoContent?: boolean;
|
|
10733
|
+
attachmentContainerId?: string;
|
|
10734
|
+
}[];
|
|
10735
|
+
paginationToken?: any;
|
|
10736
|
+
nextItem?: StreamPostComment;
|
|
10737
|
+
hasMoreUnreadComments?: boolean;
|
|
10738
|
+
hasNextPage?: boolean;
|
|
10739
|
+
};
|
|
10740
|
+
type: StreamItemTypes.Event;
|
|
10741
|
+
contentsList: StreamPublishableItemContents[];
|
|
10742
|
+
channelsList: string[];
|
|
10743
|
+
isUnread: boolean;
|
|
10744
|
+
keywordsList?: Keyword[];
|
|
10745
|
+
userResponseType?: StreamEventResponse;
|
|
10746
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10747
|
+
startDate?: string;
|
|
10748
|
+
endDate?: string;
|
|
10749
|
+
timeZone?: string;
|
|
10750
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10751
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10752
|
+
userResponse?: EventResponse;
|
|
10753
|
+
cancelInformation?: EventCancelInformation;
|
|
10754
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10755
|
+
hasNewComments?: boolean;
|
|
10756
|
+
isLiked?: boolean;
|
|
10757
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10758
|
+
recurrenceSeriesId?: string;
|
|
10759
|
+
isSeriesMaster?: string;
|
|
10760
|
+
isVirtual?: boolean;
|
|
10761
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10762
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10763
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10764
|
+
id?: string;
|
|
10765
|
+
versionId?: string;
|
|
10766
|
+
publishingDate?: string;
|
|
10767
|
+
deleted?: string;
|
|
10768
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10769
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10770
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10771
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10772
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10773
|
+
keywords: {
|
|
10774
|
+
[key: string]: Keyword[];
|
|
10775
|
+
} & {
|
|
10776
|
+
[p: string]: Keyword[];
|
|
10777
|
+
};
|
|
10778
|
+
fileAccessToken?: string;
|
|
10779
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10780
|
+
customProperties?: {
|
|
10781
|
+
[key: string]: any;
|
|
10782
|
+
};
|
|
10783
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10784
|
+
modified: string;
|
|
10785
|
+
created: string;
|
|
10786
|
+
publishedVersionId?: string;
|
|
10787
|
+
isCurrentPublishedVersion?: boolean;
|
|
10788
|
+
isLatestVersion?: boolean;
|
|
10789
|
+
permalink?: string;
|
|
10790
|
+
groupIds: string[];
|
|
10791
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10792
|
+
useExternalContent?: boolean;
|
|
10793
|
+
isDemoContent?: boolean;
|
|
10794
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10795
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10796
|
+
} | {
|
|
10797
|
+
groupId: string;
|
|
10798
|
+
attachments: {
|
|
10799
|
+
type: AttachmentType;
|
|
10800
|
+
id: string;
|
|
10801
|
+
filename?: string;
|
|
10802
|
+
previewUrl?: string;
|
|
10803
|
+
url?: string;
|
|
10804
|
+
isUploadInProgress?: boolean;
|
|
10805
|
+
hasError?: boolean;
|
|
10806
|
+
width?: number;
|
|
10807
|
+
height?: number;
|
|
10808
|
+
}[];
|
|
10809
|
+
comments: {
|
|
10810
|
+
items: {
|
|
10811
|
+
conversationScope: ConversationScope;
|
|
10812
|
+
fileAccessToken: string;
|
|
10813
|
+
attachments: {
|
|
10814
|
+
type: AttachmentType;
|
|
10815
|
+
id: string;
|
|
10816
|
+
filename?: string;
|
|
10817
|
+
previewUrl?: string;
|
|
10818
|
+
url?: string;
|
|
10819
|
+
isUploadInProgress?: boolean;
|
|
10820
|
+
hasError?: boolean;
|
|
10821
|
+
width?: number;
|
|
10822
|
+
height?: number;
|
|
10823
|
+
}[];
|
|
10824
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10825
|
+
streamConversationScope?: StreamConversationScope;
|
|
10826
|
+
id: string;
|
|
10827
|
+
parentItemId: string;
|
|
10828
|
+
content: string;
|
|
10829
|
+
contentLanguageCode?: string;
|
|
10830
|
+
receivedDateTime: string;
|
|
10831
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10832
|
+
modified?: string;
|
|
10833
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10834
|
+
isLiked?: boolean;
|
|
10835
|
+
threadId?: string;
|
|
10836
|
+
isUnread?: boolean;
|
|
10837
|
+
hasUnreadReplies?: boolean;
|
|
10838
|
+
isDemoContent?: boolean;
|
|
10839
|
+
attachmentContainerId?: string;
|
|
10840
|
+
}[];
|
|
10841
|
+
paginationToken?: any;
|
|
10842
|
+
nextItem?: StreamPostComment;
|
|
10843
|
+
hasMoreUnreadComments?: boolean;
|
|
10844
|
+
hasNextPage?: boolean;
|
|
10459
10845
|
};
|
|
10460
10846
|
type: StreamItemTypes.Page;
|
|
10461
10847
|
contentsList: StreamPublishableItemContents[];
|
|
@@ -10485,6 +10871,11 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10485
10871
|
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10486
10872
|
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10487
10873
|
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10874
|
+
keywords: {
|
|
10875
|
+
[key: string]: Keyword[];
|
|
10876
|
+
} & {
|
|
10877
|
+
[p: string]: Keyword[];
|
|
10878
|
+
};
|
|
10488
10879
|
fileAccessToken?: string;
|
|
10489
10880
|
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10490
10881
|
customProperties?: {
|
|
@@ -11360,6 +11751,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11360
11751
|
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11361
11752
|
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11362
11753
|
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11754
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11363
11755
|
}
|
|
11364
11756
|
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
11365
11757
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -11546,6 +11938,12 @@ declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader"
|
|
|
11546
11938
|
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string): ItemLoader<EventStreamItem, number>;
|
|
11547
11939
|
export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string, sortByAscending?: boolean) => import("@apollo/client").DocumentNode;
|
|
11548
11940
|
}
|
|
11941
|
+
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
11942
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11943
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11944
|
+
export function usePostsStreamDataLoader(groupId?: string): ItemLoader<PostStreamItem, number>;
|
|
11945
|
+
export const POSTS_QUERY: (includeAllItems: boolean, groupId?: string) => import("@apollo/client").DocumentNode;
|
|
11946
|
+
}
|
|
11549
11947
|
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
11550
11948
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11551
11949
|
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
@@ -11564,6 +11962,7 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11564
11962
|
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11565
11963
|
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11566
11964
|
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
11965
|
+
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
11567
11966
|
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
11568
11967
|
}
|
|
11569
11968
|
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|