@livetiles/reach-plugin-types 0.5.0-preview.1142 → 0.5.0-preview.1143
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 +4 -5
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7781,6 +7781,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
7781
7781
|
comments?: PaginatedList<Comment>;
|
|
7782
7782
|
groupId: string;
|
|
7783
7783
|
content: string;
|
|
7784
|
+
formattedContent?: string;
|
|
7784
7785
|
permalink?: string;
|
|
7785
7786
|
author: Account;
|
|
7786
7787
|
publishingDate: string;
|
|
@@ -7806,10 +7807,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
7806
7807
|
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7807
7808
|
}
|
|
7808
7809
|
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7809
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7810
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7811
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7812
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7810
|
+
import { Account, Attachment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7813
7811
|
import { CoverInfo, Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
|
|
7814
7812
|
export function usePostsApi(): {
|
|
7815
7813
|
createPost: (post: Partial<Post>) => Promise<Post>;
|
|
@@ -7817,7 +7815,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
7817
7815
|
getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
|
|
7818
7816
|
updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
|
|
7819
7817
|
[key: string]: Keyword[];
|
|
7820
|
-
}, coverInfo?: CoverInfo) => Promise<Post>;
|
|
7818
|
+
}, coverInfo?: CoverInfo, formattedContent?: string) => Promise<Post>;
|
|
7821
7819
|
deletePost: (postId: string) => Promise<unknown>;
|
|
7822
7820
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7823
7821
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
@@ -11022,6 +11020,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11022
11020
|
comments?: PaginatedList<Comment>;
|
|
11023
11021
|
groupId: string;
|
|
11024
11022
|
content: string;
|
|
11023
|
+
formattedContent?: string;
|
|
11025
11024
|
permalink?: string;
|
|
11026
11025
|
author: import("@livetiles/reach/util/common").Account;
|
|
11027
11026
|
publishingDate: string;
|