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

This commit is contained in:
CatsJuice committed 2024-04-12 06:06:11 +00:00
1 parent 244e3fd71b
commit d40052c748
12 files changed
+172 -14

No files matched your search

@@ -1,4 +1,4 @@
query getCopilotQuota($workspaceId: String!, $docId: String!) {
query getCopilotQuota {
currentUser {
copilot {
quota {
@@ -281,7 +281,7 @@ export const getCopilotQuotaQuery = {
definitionName: 'currentUser',
containsFile: false,
query: `
query getCopilotQuota($workspaceId: String!, $docId: String!) {
query getCopilotQuota {
currentUser {
copilot {
quota {
+1 -4
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';