UNPKG

@subsocial/api

Version:
14 lines (13 loc) 406 B
import { SpaceId } from '@subsocial/definitions/interfaces'; export declare type PostUpdateType = { spaceId?: SpaceId | string; content?: string; hidden?: boolean; }; export declare function PostUpdate({ spaceId, content, hidden }: PostUpdateType): { spaceId: string | SpaceId | null; content: { IPFS: import("../../types").IpfsCid; } | null; hidden: boolean | null; };