test(infra): add check job to verify committed changes (#10829)

This commit is contained in:
fengmk2
2025-03-14 02:58:27 +00:00
parent e086fd2a43
commit 8880cef20b
7 changed files with 38 additions and 13 deletions

View File

@@ -639,9 +639,7 @@ export const getCurrentUserQuery = {
}
}
}`,
deprecations: [
"'token' is deprecated: use [/api/auth/sign-in?native=true] instead",
],
deprecations: ["'token' is deprecated: use [/api/auth/sign-in?native=true] instead"],
};
export const getDocDefaultRoleQuery = {
@@ -893,10 +891,7 @@ export const getWorkspaceInfoQuery = {
team
}
}`,
deprecations: [
"'isAdmin' is deprecated: use WorkspaceType[role] instead",
"'isOwner' is deprecated: use WorkspaceType[role] instead",
],
deprecations: ["'isAdmin' is deprecated: use WorkspaceType[role] instead","'isOwner' is deprecated: use WorkspaceType[role] instead"],
};
export const getWorkspacePageByIdQuery = {
@@ -1195,9 +1190,7 @@ export const quotaQuery = {
}
}
}`,
deprecations: [
"'storageQuota' is deprecated: use `UserQuotaType['usedStorageQuota']` instead",
],
deprecations: ["'storageQuota' is deprecated: use `UserQuotaType['usedStorageQuota']` instead"],
};
export const readNotificationMutation = {
@@ -1644,9 +1637,7 @@ export const getWorkspaceRolePermissionsQuery = {
}
}
}`,
deprecations: [
"'workspaceRolePermissions' is deprecated: use WorkspaceType[permissions] instead",
],
deprecations: ["'workspaceRolePermissions' is deprecated: use WorkspaceType[permissions] instead"],
};
export const approveWorkspaceTeamMemberMutation = {

View File

@@ -155,6 +155,7 @@ export interface CopilotContext {
export interface CopilotContextMatchContextArgs {
content: Scalars['String']['input'];
limit?: InputMaybe<Scalars['SafeInt']['input']>;
threshold?: InputMaybe<Scalars['Float']['input']>;
}
export interface CopilotContextMatchWorkspaceContextArgs {

View File

@@ -7577,6 +7577,10 @@ export function useAFFiNEI18N(): {
contextId: string;
message: string;
}>): string;
/**
* `Embedding feature not available, you may need to install pgvector extension to your database`
*/
["error.COPILOT_EMBEDDING_UNAVAILABLE"](): string;
/**
* `You have exceeded your blob storage quota.`
*/

View File

@@ -1863,6 +1863,7 @@
"error.COPILOT_CONTEXT_FILE_NOT_SUPPORTED": "File {{fileName}} is not supported to use as context: {{message}}",
"error.COPILOT_FAILED_TO_MODIFY_CONTEXT": "Failed to modify context {{contextId}}: {{message}}",
"error.COPILOT_FAILED_TO_MATCH_CONTEXT": "Failed to match context {{contextId}} with \"%7B%7Bcontent%7D%7D\": {{message}}",
"error.COPILOT_EMBEDDING_UNAVAILABLE": "Embedding feature not available, you may need to install pgvector extension to your database",
"error.BLOB_QUOTA_EXCEEDED": "You have exceeded your blob storage quota.",
"error.MEMBER_QUOTA_EXCEEDED": "You have exceeded your workspace member quota.",
"error.COPILOT_QUOTA_EXCEEDED": "You have reached the limit of actions in this workspace, please upgrade your plan.",