UNPKG

flowus-api-sdk

Version:

Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks

82 lines (81 loc) 2.19 kB
/** * FlowUs API * FlowUs Developer API * * The version of the OpenAPI document: 1.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 { RichTextItemAnnotations } from './RichTextItemAnnotations'; import type { RichTextItemEquation } from './RichTextItemEquation'; import type { RichTextItemText } from './RichTextItemText'; import type { RichTextItemMention } from './RichTextItemMention'; /** * * @export * @interface RichTextItem */ export interface RichTextItem { /** * * @type {string} * @memberof RichTextItem */ type?: RichTextItemTypeEnum; /** * * @type {RichTextItemText} * @memberof RichTextItem */ text?: RichTextItemText; /** * * @type {RichTextItemMention} * @memberof RichTextItem */ mention?: RichTextItemMention; /** * * @type {RichTextItemEquation} * @memberof RichTextItem */ equation?: RichTextItemEquation; /** * * @type {RichTextItemAnnotations} * @memberof RichTextItem */ annotations?: RichTextItemAnnotations; /** * * @type {string} * @memberof RichTextItem */ plain_text?: string; /** * * @type {string} * @memberof RichTextItem */ href?: string; } /** * @export */ export declare const RichTextItemTypeEnum: { readonly Text: "text"; readonly Mention: "mention"; readonly Equation: "equation"; }; export type RichTextItemTypeEnum = typeof RichTextItemTypeEnum[keyof typeof RichTextItemTypeEnum]; /** * Check if a given object implements the RichTextItem interface. */ export declare function instanceOfRichTextItem(value: object): value is RichTextItem; export declare function RichTextItemFromJSON(json: any): RichTextItem; export declare function RichTextItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): RichTextItem; export declare function RichTextItemToJSON(json: any): RichTextItem; export declare function RichTextItemToJSONTyped(value?: RichTextItem | null, ignoreDiscriminator?: boolean): any;