@livetiles/reach-plugin-types 0.5.0-preview.1010 → 0.5.0-preview.1011
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 +5 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7407,10 +7407,11 @@ declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
|
7407
7407
|
};
|
|
7408
7408
|
}
|
|
7409
7409
|
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7410
|
-
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7410
|
+
import { Account, BannerInfo, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7411
7411
|
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7412
7412
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7413
7413
|
id: string;
|
|
7414
|
+
bannerInfo?: BannerInfo;
|
|
7414
7415
|
comments?: PaginatedList<Comment>;
|
|
7415
7416
|
groupId: string;
|
|
7416
7417
|
content: string;
|
|
@@ -7439,6 +7440,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
7439
7440
|
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7440
7441
|
}
|
|
7441
7442
|
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7443
|
+
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
7442
7444
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7443
7445
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7444
7446
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -7450,7 +7452,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
7450
7452
|
getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
|
|
7451
7453
|
updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
|
|
7452
7454
|
[key: string]: Keyword[];
|
|
7453
|
-
}) => Promise<Post>;
|
|
7455
|
+
}, bannerInfo?: BannerInfo) => Promise<Post>;
|
|
7454
7456
|
deletePost: (postId: string) => Promise<unknown>;
|
|
7455
7457
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7456
7458
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
@@ -10639,6 +10641,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10639
10641
|
postComments?: PaginatedList<StreamPostComment>;
|
|
10640
10642
|
hasMoreUnreadComments: boolean;
|
|
10641
10643
|
id: string;
|
|
10644
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10642
10645
|
comments?: PaginatedList<Comment>;
|
|
10643
10646
|
groupId: string;
|
|
10644
10647
|
content: string;
|