mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
fix: ios client gql compatibility (#9337)
This commit is contained in:
@@ -10,7 +10,7 @@ query adminServerConfig {
|
||||
type
|
||||
initialized
|
||||
credentialsRequirement {
|
||||
...CredentialsRequirement
|
||||
...CredentialsRequirements
|
||||
}
|
||||
availableUserFeatures
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fragment CredentialsRequirement on CredentialsRequirementType {
|
||||
fragment CredentialsRequirements on CredentialsRequirementType {
|
||||
password {
|
||||
...PasswordLimits
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@ fragment PasswordLimits on PasswordLimitsType {
|
||||
minLength
|
||||
maxLength
|
||||
}`
|
||||
export const credentialsRequirementFragment = `
|
||||
fragment CredentialsRequirement on CredentialsRequirementType {
|
||||
export const credentialsRequirementsFragment = `
|
||||
fragment CredentialsRequirements on CredentialsRequirementType {
|
||||
password {
|
||||
...PasswordLimits
|
||||
}
|
||||
@@ -33,12 +33,12 @@ query adminServerConfig {
|
||||
type
|
||||
initialized
|
||||
credentialsRequirement {
|
||||
...CredentialsRequirement
|
||||
...CredentialsRequirements
|
||||
}
|
||||
availableUserFeatures
|
||||
}
|
||||
}${passwordLimitsFragment}
|
||||
${credentialsRequirementFragment}`,
|
||||
${credentialsRequirementsFragment}`,
|
||||
};
|
||||
|
||||
export const deleteBlobMutation = {
|
||||
@@ -1062,11 +1062,11 @@ query serverConfig {
|
||||
type
|
||||
initialized
|
||||
credentialsRequirement {
|
||||
...CredentialsRequirement
|
||||
...CredentialsRequirements
|
||||
}
|
||||
}
|
||||
}${passwordLimitsFragment}
|
||||
${credentialsRequirementFragment}`,
|
||||
${credentialsRequirementsFragment}`,
|
||||
};
|
||||
|
||||
export const setWorkspacePublicByIdMutation = {
|
||||
|
||||
@@ -10,7 +10,7 @@ query serverConfig {
|
||||
type
|
||||
initialized
|
||||
credentialsRequirement {
|
||||
...CredentialsRequirement
|
||||
...CredentialsRequirements
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1660,7 +1660,7 @@ export type ForkCopilotSessionMutation = {
|
||||
forkCopilotSession: string;
|
||||
};
|
||||
|
||||
export type CredentialsRequirementFragment = {
|
||||
export type CredentialsRequirementsFragment = {
|
||||
__typename?: 'CredentialsRequirementType';
|
||||
password: {
|
||||
__typename?: 'PasswordLimitsType';
|
||||
|
||||
Reference in New Issue
Block a user