refactor(web): remove typescript
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_APP_AUTH_CLIENT = gql`
|
||||
mutation CreateAppAuthClient($input: CreateAppAuthClientInput) {
|
||||
createAppAuthClient(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_APP_CONFIG = gql`
|
||||
mutation CreateAppConfig($input: CreateAppConfigInput) {
|
||||
createAppConfig(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_CONNECTION = gql`
|
||||
mutation CreateConnection($input: CreateConnectionInput) {
|
||||
createConnection(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_FLOW = gql`
|
||||
mutation CreateFlow($input: CreateFlowInput) {
|
||||
createFlow(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_ROLE = gql`
|
||||
mutation CreateRole($input: CreateRoleInput) {
|
||||
createRole(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_STEP = gql`
|
||||
mutation CreateStep($input: CreateStepInput) {
|
||||
createStep(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_USER = gql`
|
||||
mutation CreateUser($input: CreateUserInput) {
|
||||
createUser(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_CONNECTION = gql`
|
||||
mutation DeleteConnection($input: DeleteConnectionInput) {
|
||||
deleteConnection(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_CURRENT_USER = gql`
|
||||
mutation DeleteCurrentUser {
|
||||
deleteCurrentUser
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_FLOW = gql`
|
||||
mutation DeleteFlow($input: DeleteFlowInput) {
|
||||
deleteFlow(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_ROLE = gql`
|
||||
mutation DeleteRole($input: DeleteRoleInput) {
|
||||
deleteRole(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_STEP = gql`
|
||||
mutation DeleteStep($input: DeleteStepInput) {
|
||||
deleteStep(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_USER = gql`
|
||||
mutation DeleteUser($input: DeleteUserInput) {
|
||||
deleteUser(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DUPLICATE_FLOW = gql`
|
||||
mutation DuplicateFlow($input: DuplicateFlowInput) {
|
||||
duplicateFlow(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const EXECUTE_FLOW = gql`
|
||||
mutation ExecuteFlow($input: ExecuteFlowInput) {
|
||||
executeFlow(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const FORGOT_PASSWORD = gql`
|
||||
mutation ForgotPassword($input: ForgotPasswordInput) {
|
||||
forgotPassword(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const GENERATE_AUTH_URL = gql`
|
||||
mutation generateAuthUrl($input: GenerateAuthUrlInput) {
|
||||
generateAuthUrl(input: $input) {
|
@@ -4,12 +4,7 @@ import { VERIFY_CONNECTION } from './verify-connection';
|
||||
import { RESET_CONNECTION } from './reset-connection';
|
||||
import { DELETE_CONNECTION } from './delete-connection';
|
||||
import { GENERATE_AUTH_URL } from './generate-auth-url';
|
||||
|
||||
type Mutations = {
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
const mutations: Mutations = {
|
||||
const mutations = {
|
||||
createConnection: CREATE_CONNECTION,
|
||||
updateConnection: UPDATE_CONNECTION,
|
||||
verifyConnection: VERIFY_CONNECTION,
|
||||
@@ -17,5 +12,4 @@ const mutations: Mutations = {
|
||||
deleteConnection: DELETE_CONNECTION,
|
||||
generateAuthUrl: GENERATE_AUTH_URL,
|
||||
};
|
||||
|
||||
export default mutations;
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const LOGIN = gql`
|
||||
mutation Login($input: LoginInput) {
|
||||
login(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const REGISTER_USER = gql`
|
||||
mutation RegisterUser($input: RegisterUserInput) {
|
||||
registerUser(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const RESET_CONNECTION = gql`
|
||||
mutation ResetConnection($input: ResetConnectionInput) {
|
||||
resetConnection(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const RESET_PASSWORD = gql`
|
||||
mutation ResetPassword($input: ResetPasswordInput) {
|
||||
resetPassword(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_APP_AUTH_CLIENT = gql`
|
||||
mutation UpdateAppAuthClient($input: UpdateAppAuthClientInput) {
|
||||
updateAppAuthClient(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_APP_CONFIG = gql`
|
||||
mutation UpdateAppConfig($input: UpdateAppConfigInput) {
|
||||
updateAppConfig(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_CONFIG = gql`
|
||||
mutation UpdateConfig($input: JSONObject) {
|
||||
updateConfig(input: $input)
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_CONNECTION = gql`
|
||||
mutation UpdateConnection($input: UpdateConnectionInput) {
|
||||
updateConnection(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_CURRENT_USER = gql`
|
||||
mutation UpdateCurrentUser($input: UpdateCurrentUserInput) {
|
||||
updateCurrentUser(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_FLOW_STATUS = gql`
|
||||
mutation UpdateFlowStatus($input: UpdateFlowStatusInput) {
|
||||
updateFlowStatus(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_FLOW = gql`
|
||||
mutation UpdateFlow($input: UpdateFlowInput) {
|
||||
updateFlow(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_ROLE = gql`
|
||||
mutation UpdateRole($input: UpdateRoleInput) {
|
||||
updateRole(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_STEP = gql`
|
||||
mutation UpdateStep($input: UpdateStepInput) {
|
||||
updateStep(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_USER = gql`
|
||||
mutation UpdateUser($input: UpdateUserInput) {
|
||||
updateUser(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPSERT_SAML_AUTH_PROVIDER = gql`
|
||||
mutation UpsertSamlAuthProvider($input: UpsertSamlAuthProviderInput) {
|
||||
upsertSamlAuthProvider(input: $input) {
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPSERT_SAML_AUTH_PROVIDERS_ROLE_MAPPINGS = gql`
|
||||
mutation UpsertSamlAuthProvidersRoleMappings(
|
||||
$input: UpsertSamlAuthProvidersRoleMappingsInput
|
@@ -1,5 +1,4 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const VERIFY_CONNECTION = gql`
|
||||
mutation VerifyConnection($input: VerifyConnectionInput) {
|
||||
verifyConnection(input: $input) {
|
Reference in New Issue
Block a user