mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
@@ -0,0 +1,11 @@
|
||||
query getServerRuntimeConfig {
|
||||
serverRuntimeConfig {
|
||||
id
|
||||
module
|
||||
key
|
||||
description
|
||||
value
|
||||
type
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
@@ -385,6 +385,25 @@ query oauthProviders {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getServerRuntimeConfigQuery = {
|
||||
id: 'getServerRuntimeConfigQuery' as const,
|
||||
operationName: 'getServerRuntimeConfig',
|
||||
definitionName: 'serverRuntimeConfig',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getServerRuntimeConfig {
|
||||
serverRuntimeConfig {
|
||||
id
|
||||
module
|
||||
key
|
||||
description
|
||||
value
|
||||
type
|
||||
updatedAt
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getUserFeaturesQuery = {
|
||||
id: 'getUserFeaturesQuery' as const,
|
||||
operationName: 'getUserFeatures',
|
||||
@@ -818,6 +837,20 @@ query subscription {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updateServerRuntimeConfigsMutation = {
|
||||
id: 'updateServerRuntimeConfigsMutation' as const,
|
||||
operationName: 'updateServerRuntimeConfigs',
|
||||
definitionName: 'updateRuntimeConfigs',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation updateServerRuntimeConfigs($updates: JSONObject!) {
|
||||
updateRuntimeConfigs(updates: $updates) {
|
||||
key
|
||||
value
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updateSubscriptionMutation = {
|
||||
id: 'updateSubscriptionMutation' as const,
|
||||
operationName: 'updateSubscription',
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
mutation updateServerRuntimeConfigs($updates: JSONObject!) {
|
||||
updateRuntimeConfigs(updates: $updates) {
|
||||
key
|
||||
value
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user