feat(core): add ai usage in account-setting (#6516)

This commit is contained in:
CatsJuice
2024-04-12 06:06:11 +00:00
parent 244e3fd71b
commit d40052c748
12 changed files with 172 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
query getCopilotQuota($workspaceId: String!, $docId: String!) {
query getCopilotQuota {
currentUser {
copilot {
quota {

View File

@@ -281,7 +281,7 @@ export const getCopilotQuotaQuery = {
definitionName: 'currentUser',
containsFile: false,
query: `
query getCopilotQuota($workspaceId: String!, $docId: String!) {
query getCopilotQuota {
currentUser {
copilot {
quota {

View File

@@ -369,10 +369,7 @@ export type GetCopilotHistoriesQuery = {
} | null;
};
export type GetCopilotQuotaQueryVariables = Exact<{
workspaceId: Scalars['String']['input'];
docId: Scalars['String']['input'];
}>;
export type GetCopilotQuotaQueryVariables = Exact<{ [key: string]: never }>;
export type GetCopilotQuotaQuery = {
__typename?: 'Query';