UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

129 lines 2.81 kB
/** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { FeedPostLink } from './FeedPostLink'; import type { FeedPostMediaItem } from './FeedPostMediaItem'; /** * * @export * @interface FeedPost */ export interface FeedPost { /** * * @type {string} * @memberof FeedPost */ id: string; /** * * @type {string} * @memberof FeedPost */ tenantId: string; /** * * @type {string} * @memberof FeedPost */ title?: string; /** * * @type {string} * @memberof FeedPost */ fromUserId?: string; /** * * @type {string} * @memberof FeedPost */ fromUserDisplayName?: string | null; /** * * @type {string} * @memberof FeedPost */ fromUserAvatar?: string | null; /** * * @type {string} * @memberof FeedPost */ fromIpHash?: string; /** * * @type {Array<string>} * @memberof FeedPost */ tags?: Array<string>; /** * * @type {number} * @memberof FeedPost */ weight?: number; /** * Construct a type with a set of properties K of type T * @type {{ [key: string]: string; }} * @memberof FeedPost */ meta?: { [key: string]: string; }; /** * * @type {string} * @memberof FeedPost */ contentHTML?: string; /** * * @type {Array<FeedPostMediaItem>} * @memberof FeedPost */ media?: Array<FeedPostMediaItem>; /** * * @type {Array<FeedPostLink>} * @memberof FeedPost */ links?: Array<FeedPostLink>; /** * * @type {Date} * @memberof FeedPost */ createdAt: Date; /** * * @type {{ [key: string]: number; }} * @memberof FeedPost */ reacts?: { [key: string]: number; }; /** * * @type {number} * @memberof FeedPost */ commentCount?: number | null; } /** * Check if a given object implements the FeedPost interface. */ export declare function instanceOfFeedPost(value: object): value is FeedPost; export declare function FeedPostFromJSON(json: any): FeedPost; export declare function FeedPostFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeedPost; export declare function FeedPostToJSON(json: any): FeedPost; export declare function FeedPostToJSONTyped(value?: FeedPost | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=FeedPost.d.ts.map