feat: introduce admin app configs page (#1335)
This commit is contained in:
13
packages/web/src/graphql/mutations/create-app-config.ts
Normal file
13
packages/web/src/graphql/mutations/create-app-config.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_APP_CONFIG = gql`
|
||||
mutation CreateAppConfig($input: CreateAppConfigInput) {
|
||||
createAppConfig(input: $input) {
|
||||
id
|
||||
key
|
||||
allowCustomConnection
|
||||
shared
|
||||
disabled
|
||||
}
|
||||
}
|
||||
`;
|
13
packages/web/src/graphql/mutations/update-app-config.ts
Normal file
13
packages/web/src/graphql/mutations/update-app-config.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_APP_CONFIG = gql`
|
||||
mutation UpdateAppConfig($input: UpdateAppConfigInput) {
|
||||
updateAppConfig(input: $input) {
|
||||
id
|
||||
key
|
||||
allowCustomConnection
|
||||
shared
|
||||
disabled
|
||||
}
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user