UNPKG

@paroicms/connector

Version:

An API to help build management tools for ParoiCMS instances

60 lines (59 loc) 1.22 kB
export interface DocumentRow { nodeId: string; language: string; title?: string; slug?: string; metaDescription?: string; metaKeywords?: string; } export interface AccountRow { id: string; email: string; name?: string; preferences?: string; passwordHash?: string | null; passwordResetToken?: string | null; special?: "dev" | "platformAdmin"; } export interface PaFieldTextRow { nodeId: string; field: string; language: string; dataType: string; val?: string; excerpt?: string; } export interface PaFieldVarcharRow { nodeId: string; field: string; language: string; dataType: string; val?: string; } export interface LabelingRow { termId: string; labeledId: string; lead: boolean; } export interface NodeRow { id: string; typeName: string; parentId?: string; relativeId: string; depth: number; publishDate?: Date; } export interface OrderedNodeRow { nodeId: string; orderNum?: number; } export interface PartNodeRow { nodeId: string; documentNodeId: string; listName: string; } export interface LNodeRow { nodeId: string; language: string; ready: boolean; }