UNPKG

@selldone/sdk-storefront

Version:

A TypeScript SDK to connect to your shop and build a fully functional storefront and website by simply developing a frontend web application. All backend operations are seamlessly managed by the serverless Selldone solution.

31 lines (30 loc) 1.07 kB
export interface CommunityComment { /** Unique identifier for the comment. */ id: number; /** Identifier for the associated community. */ community_id: number; /** Identifier for the associated post. */ post_id: number; /** Identifier for the user who created the comment. */ user_id: number; /** The main content of the comment. */ body: string; /** URL or path to the associated image. */ image: string; /** Identifier for the parent comment, if this is a reply. */ parent_id: number; /** Count of replies to this comment. */ replies: number; /** Count of agrees on the comment. */ agrees: number; /** Count of disagreements on the comment. */ disagrees: number; /** Count of reports on the comment. */ reports: number; /** Flag indicating if the comment is marked as offensive. */ offensive: boolean; /** Timestamp indicating when the post was created. */ created_at: string; /** Timestamp indicating the last update to the post. */ updated_at: string; }