mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
feat(server): global embedding gql endpoint (#11809)
fix AI-30 fix AI-31 fix PD-2487
This commit is contained in:
@@ -112,9 +112,10 @@ export const CopilotWorkspaceFileSchema = z.object({
|
||||
size: z.number(),
|
||||
});
|
||||
|
||||
export type CopilotWorkspaceFile = z.infer<
|
||||
export type CopilotWorkspaceFileMetadata = z.infer<
|
||||
typeof CopilotWorkspaceFileSchema
|
||||
> & {
|
||||
>;
|
||||
export type CopilotWorkspaceFile = CopilotWorkspaceFileMetadata & {
|
||||
workspaceId: string;
|
||||
fileId: string;
|
||||
createdAt: Date;
|
||||
|
||||
Reference in New Issue
Block a user