feat(server): copilot job models (#10732)

This commit is contained in:
darkskygit
2025-03-19 14:34:14 +00:00
parent dd31ef95db
commit b099546164
8 changed files with 372 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
import { AiJobStatus, AiJobType } from '@prisma/client';
import type { JsonValue } from '@prisma/client/runtime/library';
export interface CopilotJob {
id?: string;
workspaceId: string;
blobId: string;
createdBy?: string;
type: AiJobType;
status?: AiJobStatus;
payload?: JsonValue;
}