UNPKG

flowus-api-sdk

Version:

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

126 lines (125 loc) 2.67 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 { Cover } from './Cover'; import type { User } from './User'; import type { Parent } from './Parent'; import type { PropertySchema } from './PropertySchema'; import type { RichTextItem } from './RichTextItem'; import type { Icon } from './Icon'; /** * * @export * @interface Database */ export interface Database { /** * * @type {string} * @memberof Database */ object?: DatabaseObjectEnum; /** * * @type {string} * @memberof Database */ id?: string; /** * * @type {Date} * @memberof Database */ created_time?: Date; /** * * @type {User} * @memberof Database */ created_by?: User; /** * * @type {Date} * @memberof Database */ last_edited_time?: Date; /** * * @type {User} * @memberof Database */ last_edited_by?: User; /** * * @type {Array<RichTextItem>} * @memberof Database */ title?: Array<RichTextItem>; /** * * @type {Icon} * @memberof Database */ icon?: Icon; /** * * @type {Cover} * @memberof Database */ cover?: Cover; /** * * @type {{ [key: string]: PropertySchema; }} * @memberof Database */ properties?: { [key: string]: PropertySchema; }; /** * * @type {Parent} * @memberof Database */ parent?: Parent; /** * * @type {string} * @memberof Database */ url?: string; /** * * @type {boolean} * @memberof Database */ archived?: boolean; /** * * @type {boolean} * @memberof Database */ is_inline?: boolean; } /** * @export */ export declare const DatabaseObjectEnum: { readonly Database: "database"; }; export type DatabaseObjectEnum = typeof DatabaseObjectEnum[keyof typeof DatabaseObjectEnum]; /** * Check if a given object implements the Database interface. */ export declare function instanceOfDatabase(value: object): value is Database; export declare function DatabaseFromJSON(json: any): Database; export declare function DatabaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Database; export declare function DatabaseToJSON(json: any): Database; export declare function DatabaseToJSONTyped(value?: Database | null, ignoreDiscriminator?: boolean): any;