mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00: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:
@@ -11,6 +11,12 @@ query getWorkspaceEmbeddingIgnoredDocs($workspaceId: String!, $pagination: Pagin
|
||||
node {
|
||||
docId
|
||||
createdAt
|
||||
docCreatedAt
|
||||
docUpdatedAt
|
||||
title
|
||||
createdBy
|
||||
createdByAvatar
|
||||
updatedBy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -830,6 +830,12 @@ export const getWorkspaceEmbeddingIgnoredDocsQuery = {
|
||||
node {
|
||||
docId
|
||||
createdAt
|
||||
docCreatedAt
|
||||
docUpdatedAt
|
||||
title
|
||||
createdBy
|
||||
createdByAvatar
|
||||
updatedBy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -399,7 +399,13 @@ export interface CopilotWorkspaceFileTypeEdge {
|
||||
export interface CopilotWorkspaceIgnoredDoc {
|
||||
__typename?: 'CopilotWorkspaceIgnoredDoc';
|
||||
createdAt: Scalars['DateTime']['output'];
|
||||
createdBy: Maybe<Scalars['String']['output']>;
|
||||
createdByAvatar: Maybe<Scalars['String']['output']>;
|
||||
docCreatedAt: Maybe<Scalars['DateTime']['output']>;
|
||||
docId: Scalars['String']['output'];
|
||||
docUpdatedAt: Maybe<Scalars['DateTime']['output']>;
|
||||
title: Maybe<Scalars['String']['output']>;
|
||||
updatedBy: Maybe<Scalars['String']['output']>;
|
||||
}
|
||||
|
||||
export interface CopilotWorkspaceIgnoredDocTypeEdge {
|
||||
@@ -3374,6 +3380,12 @@ export type GetWorkspaceEmbeddingIgnoredDocsQuery = {
|
||||
__typename?: 'CopilotWorkspaceIgnoredDoc';
|
||||
docId: string;
|
||||
createdAt: string;
|
||||
docCreatedAt: string | null;
|
||||
docUpdatedAt: string | null;
|
||||
title: string | null;
|
||||
createdBy: string | null;
|
||||
createdByAvatar: string | null;
|
||||
updatedBy: string | null;
|
||||
};
|
||||
}>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user