UNPKG

@oap75/types

Version:

JavaScript type definitions for Subsocial blockchain.

14 lines (13 loc) 400 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("../..").IpfsCid; } | null; hidden: boolean | null; };