/** * Task Model Interface (auto-generated from Drizzle schema) */ interface TaskModel { id: string; orgId: string; workspaceId: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name?: string; title: string; description?: string; dueAt?: string; startAt?: string; startedAt?: string; completedAt?: string; status: string; type?: string; completed?: boolean; projectId: string; milestoneId: string; parentTaskId: string; archived: boolean; timeBudgetHours?: number; isRecurring?: boolean; recurrenceRule?: string; parentRecurrenceId?: string; recurrenceInstanceDate?: string; categoryId?: string; tagIds?: string[]; priority: number; assigneeId: string; estimatePoints?: number; sortOrder: number; version: number; mentions?: unknown[]; tenantId?: string; } declare const Collection$8: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; description: { type: string; maxLength: number; }; dueAt: { type: string; maxLength: number; format: string; }; startAt: { type: string; maxLength: number; format: string; }; startedAt: { type: string; maxLength: number; format: string; }; completedAt: { type: string; maxLength: number; format: string; }; status: { type: string; maxLength: number; default: string; }; type: { type: string; maxLength: number; }; completed: { type: string; }; projectId: { type: string; maxLength: number; }; milestoneId: { type: string; maxLength: number; }; parentTaskId: { type: string; maxLength: number; }; archived: { type: string; }; timeBudgetHours: { type: string; }; isRecurring: { type: string; }; recurrenceRule: { type: string; maxLength: number; }; parentRecurrenceId: { type: string; maxLength: number; }; recurrenceInstanceDate: { type: string; maxLength: number; format: string; }; categoryId: { type: string; maxLength: number; }; tagIds: { type: string; items: { type: string; }; }; priority: { type: string; minimum: number; maximum: number; multipleOf: number; }; assigneeId: { type: string; maxLength: number; }; estimatePoints: { type: string; minimum: number; maximum: number; multipleOf: number; }; sortOrder: { type: string; minimum: number; maximum: number; multipleOf: number; }; version: { type: string; minimum: number; maximum: number; multipleOf: number; }; mentions: { type: string; items: {}; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Approval Model Interface (auto-generated from Drizzle schema) */ interface ApprovalModel { id: string; orgId: string; workspaceId: string; userId: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; projectId: string; milestoneId: string; taskId: string; documentId: string; title: string; type: string; category: string; categoryName: string; status: string; documentType?: string; documentContent?: string; response?: string; annotations?: string; comments?: string; respondedAt?: string; approverId?: string; tenantId?: string; } declare const Collection$7: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; projectId: { type: string; maxLength: number; }; milestoneId: { type: string; maxLength: number; }; taskId: { type: string; maxLength: number; }; documentId: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; type: { type: string; maxLength: number; }; category: { type: string; maxLength: number; }; categoryName: { type: string; maxLength: number; }; status: { type: string; maxLength: number; }; documentType: { type: string; maxLength: number; }; documentContent: { type: string; maxLength: number; }; response: { type: string; maxLength: number; }; annotations: { type: string; maxLength: number; }; comments: { type: string; maxLength: number; }; respondedAt: { type: string; maxLength: number; format: string; }; approverId: { type: string; maxLength: number; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Milestone Model Interface (auto-generated from Drizzle schema) */ interface MilestoneModel { id: string; orgId: string; workspaceId: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name?: string; title: string; description?: string; completed: boolean; status?: string; sortOrder: number; projectId: string; goalId: string; startAt?: string; startedAt?: string; dueAt?: string; completedAt?: string; archived: boolean; timeBudgetHours?: number; categoryId?: string; tagIds?: string[]; version: number; mentions?: unknown[]; tenantId?: string; } declare const Collection$6: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; description: { type: string; maxLength: number; }; completed: { type: string; }; status: { type: string; maxLength: number; }; sortOrder: { type: string; minimum: number; maximum: number; multipleOf: number; }; projectId: { type: string; maxLength: number; }; goalId: { type: string; maxLength: number; }; startAt: { type: string; maxLength: number; format: string; }; startedAt: { type: string; maxLength: number; format: string; }; dueAt: { type: string; maxLength: number; format: string; }; completedAt: { type: string; maxLength: number; format: string; }; archived: { type: string; }; timeBudgetHours: { type: string; }; categoryId: { type: string; maxLength: number; }; tagIds: { type: string; items: { type: string; }; }; version: { type: string; }; mentions: { type: string; items: {}; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Project Model Interface (auto-generated from Drizzle schema) */ interface ProjectModel { id: string; orgId: string; workspaceId: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name?: string; title: string; description?: string; completed: boolean; status: string; sortOrder?: number; goalId: string; startAt?: string; startedAt?: string; dueAt?: string; completedAt?: string; archived: boolean; codebaseId?: string; sourceTemplateId?: string; timeBudgetHours?: number; categoryId?: string; tagIds?: string[]; productId: string; roadmapId: string; initiativeId: string; version: number; mentions?: unknown[]; tenantId?: string; } declare const Collection$5: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; description: { type: string; maxLength: number; }; completed: { type: string; }; status: { type: string; maxLength: number; }; sortOrder: { type: string; minimum: number; maximum: number; multipleOf: number; }; goalId: { type: string; maxLength: number; }; startAt: { type: string; maxLength: number; format: string; }; startedAt: { type: string; maxLength: number; format: string; }; dueAt: { type: string; maxLength: number; format: string; }; completedAt: { type: string; maxLength: number; format: string; }; archived: { type: string; }; codebaseId: { type: string; maxLength: number; }; sourceTemplateId: { type: string; maxLength: number; }; timeBudgetHours: { type: string; }; categoryId: { type: string; maxLength: number; }; tagIds: { type: string; items: { type: string; }; }; productId: { type: string; maxLength: number; }; roadmapId: { type: string; maxLength: number; }; initiativeId: { type: string; maxLength: number; }; version: { type: string; }; mentions: { type: string; items: {}; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Org Model Interface (auto-generated from Drizzle schema) */ interface OrgModel { id: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name: string; description?: string; archived: boolean; tenantId?: string; } declare const Collection$4: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; description: { type: string; maxLength: number; }; archived: { type: string; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Document Model Interface (auto-generated from Drizzle schema) */ interface DocumentModel { id: string; orgId: string; workspaceId: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; projectId: string; milestoneId: string; taskId: string; codebaseId: string; documentType: string; title: string; content?: string; storage?: Record; documentVersion: number; approved: boolean; approvedAt?: string; approvedBy?: string; tenantId?: string; } declare const Collection$3: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; projectId: { type: string; maxLength: number; }; milestoneId: { type: string; maxLength: number; }; taskId: { type: string; maxLength: number; }; codebaseId: { type: string; maxLength: number; }; documentType: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; content: { type: string; maxLength: number; }; storage: { type: string; }; documentVersion: { type: string; }; approved: { type: string; }; approvedAt: { type: string; maxLength: number; }; approvedBy: { type: string; maxLength: number; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Template Model Interface (auto-generated from Drizzle schema) */ interface TemplateModel { id: string; orgId: string; workspaceId: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; templateType: string; name: string; content: string; version: string; isDefault: boolean; data?: Record; tenantId?: string; } declare const Collection$2: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; templateType: { type: string; maxLength: number; }; name: { type: string; maxLength: number; }; content: { type: string; maxLength: number; }; version: { type: string; maxLength: number; }; isDefault: { type: string; }; data: { type: string; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * User Model Interface (auto-generated from Drizzle schema) */ interface UserModel { id: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name: string; email: string; authUserId: string; timezone?: string; archived: boolean; onboarded: boolean; avatarUrl?: string; role?: string; tenantId?: string; } declare const Collection$1: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; email: { type: string; maxLength: number; }; authUserId: { type: string; maxLength: number; }; timezone: { type: string; maxLength: number; }; archived: { type: string; }; onboarded: { type: string; }; avatarUrl: { type: string; maxLength: number; }; role: { type: string; maxLength: number; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * Workspace Model Interface (auto-generated from Drizzle schema) */ interface WorkspaceModel { id: string; orgId: string; workspaceId?: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name: string; title: string; description: string; tags?: string[]; status: string; archivedAt?: string; archived: boolean; icon?: string; color?: string; tenantId?: string; } declare const Collection: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; description: { type: string; maxLength: number; }; tags: { type: string; items: { type: string; }; }; status: { type: string; maxLength: number; }; archivedAt: { type: string; maxLength: number; format: string; }; archived: { type: string; }; icon: { type: string; maxLength: number; }; color: { type: string; maxLength: number; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; export { type ApprovalModel as A, Collection$7 as C, type DocumentModel as D, type MilestoneModel as M, type OrgModel as O, type ProjectModel as P, type TaskModel as T, type UserModel as U, type WorkspaceModel as W, type TemplateModel as a, Collection$6 as b, Collection$4 as c, Collection$5 as d, Collection$3 as e, Collection$8 as f, Collection$2 as g, Collection$1 as h, Collection as i };