mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
feat(core): migration for created by and updated by fields (#12171)
This commit is contained in:
@@ -3603,6 +3603,36 @@ export type GetCurrentUserQuery = {
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetDocCreatedByUpdatedByListQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
pagination: PaginationInput;
|
||||
}>;
|
||||
|
||||
export type GetDocCreatedByUpdatedByListQuery = {
|
||||
__typename?: 'Query';
|
||||
workspace: {
|
||||
__typename?: 'WorkspaceType';
|
||||
docs: {
|
||||
__typename?: 'PaginatedDocType';
|
||||
totalCount: number;
|
||||
pageInfo: {
|
||||
__typename?: 'PageInfo';
|
||||
endCursor: string | null;
|
||||
hasNextPage: boolean;
|
||||
};
|
||||
edges: Array<{
|
||||
__typename?: 'DocTypeEdge';
|
||||
node: {
|
||||
__typename?: 'DocType';
|
||||
id: string;
|
||||
creatorId: string | null;
|
||||
lastUpdaterId: string | null;
|
||||
};
|
||||
}>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
export type GetDocDefaultRoleQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
docId: Scalars['String']['input'];
|
||||
@@ -4736,6 +4766,11 @@ export type Queries =
|
||||
variables: GetCurrentUserQueryVariables;
|
||||
response: GetCurrentUserQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getDocCreatedByUpdatedByListQuery';
|
||||
variables: GetDocCreatedByUpdatedByListQueryVariables;
|
||||
response: GetDocCreatedByUpdatedByListQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getDocDefaultRoleQuery';
|
||||
variables: GetDocDefaultRoleQueryVariables;
|
||||
|
||||
Reference in New Issue
Block a user