UNPKG

@paroicms/server

Version:
65 lines (64 loc) 1.36 kB
import type { LoginMethod } from "@paroicms/public-anywhere-lib"; export interface DocumentRow { nodeId: string; language: string; ready: boolean; updatedAt: Date; title?: string; slug?: string; metaDescription?: string; metaKeywords?: string; overrideLanguage?: string; } export interface AccountRow { id: string; email: string; name?: string; preferences?: string; passwordHash?: string; passwordResetToken?: string; loginMethod?: LoginMethod; active: boolean; } 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; 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; updatedAt: Date; }