mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(server): copilot job models (#10732)
This commit is contained in:
12
packages/backend/server/src/models/common/copilot.ts
Normal file
12
packages/backend/server/src/models/common/copilot.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user