mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
feat(server): add doc meta for ignored docs (#12021)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Ignored documents in workspace embedding now display additional metadata, including document title, creation and update timestamps, and the names and avatars of users who created or updated the document. - **Enhancements** - The list of ignored documents provides richer information for easier identification and management within the workspace. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -120,3 +120,15 @@ export type CopilotWorkspaceFile = CopilotWorkspaceFileMetadata & {
|
||||
fileId: string;
|
||||
createdAt: Date;
|
||||
};
|
||||
|
||||
export type IgnoredDoc = {
|
||||
docId: string;
|
||||
createdAt: Date;
|
||||
// metadata
|
||||
docCreatedAt: Date | undefined;
|
||||
docUpdatedAt: Date | undefined;
|
||||
title: string | undefined;
|
||||
createdBy: string | undefined;
|
||||
createdByAvatar: string | undefined;
|
||||
updatedBy: string | undefined;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user