chore(ios): update gql schema (#12825)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced advanced search and aggregation capabilities, including
support for new search query types, options, and pagination.
- Added new GraphQL mutations and queries for managing workspace
embedding files and ignored documents.
- Extended user and workspace management with new fields and
configuration options.
- Added support for sending test emails and validating app
configuration.

- **Improvements**
- Enhanced license management with updated fragments and additional
fields.
- Improved invitation and member management workflows, including removal
of deprecated arguments and streamlined APIs.
- Expanded support for audio transcription actions and retry
functionality.
- Added new enum values for OAuth providers, server features, and
workspace member status.

- **Removals**
- Deprecated and removed legacy queries and mutations related to user
roles and invitations.

- **Bug Fixes**
- Corrected field types and documentation comments for improved
consistency and clarity.

- **Other**
- Numerous schema and type updates to support new features and enhance
data modeling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2025-06-16 16:35:15 +08:00
committed by GitHub
parent c0c813edfd
commit e118db4387
87 changed files with 2325 additions and 322 deletions

View File

@@ -15,7 +15,7 @@ export const passwordLimitsFragment = `fragment PasswordLimits on PasswordLimits
minLength
maxLength
}`;
export const licenseFragment = `fragment license on License {
export const licenseBodyFragment = `fragment licenseBody on License {
expiredAt
installedAt
quantity
@@ -1443,10 +1443,10 @@ export const activateLicenseMutation = {
op: 'activateLicense',
query: `mutation activateLicense($workspaceId: String!, $license: String!) {
activateLicense(workspaceId: $workspaceId, license: $license) {
...license
...licenseBody
}
}
${licenseFragment}`,
${licenseBodyFragment}`,
};
export const deactivateLicenseMutation = {
@@ -1463,11 +1463,11 @@ export const getLicenseQuery = {
query: `query getLicense($workspaceId: String!) {
workspace(id: $workspaceId) {
license {
...license
...licenseBody
}
}
}
${licenseFragment}`,
${licenseBodyFragment}`,
};
export const installLicenseMutation = {
@@ -1475,10 +1475,10 @@ export const installLicenseMutation = {
op: 'installLicense',
query: `mutation installLicense($workspaceId: String!, $license: Upload!) {
installLicense(workspaceId: $workspaceId, license: $license) {
...license
...licenseBody
}
}
${licenseFragment}`,
${licenseBodyFragment}`,
file: true,
};

View File

@@ -1,7 +1,7 @@
#import './license.gql'
#import './license-body.gql'
mutation activateLicense($workspaceId: String!, $license: String!) {
activateLicense(workspaceId: $workspaceId, license: $license) {
...license
...licenseBody
}
}

View File

@@ -1,9 +1,9 @@
#import './license.gql'
#import './license-body.gql'
query getLicense($workspaceId: String!) {
workspace(id: $workspaceId) {
license {
...license
...licenseBody
}
}
}

View File

@@ -1,7 +1,7 @@
#import './license.gql'
#import './license-body.gql'
mutation installLicense($workspaceId: String!, $license: Upload!) {
installLicense(workspaceId: $workspaceId, license: $license) {
...license
...licenseBody
}
}

View File

@@ -1,4 +1,4 @@
fragment license on License {
fragment licenseBody on License {
expiredAt
installedAt
quantity

View File

@@ -4401,7 +4401,7 @@ export type InstallLicenseMutation = {
};
};
export type LicenseFragment = {
export type LicenseBodyFragment = {
__typename?: 'License';
expiredAt: string | null;
installedAt: string;