refactor(web): remove typescript

This commit is contained in:
Ali BARIN
2024-02-27 15:23:23 +00:00
parent 636870a075
commit b3ae2d2748
337 changed files with 2067 additions and 4997 deletions

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_APP_AUTH_CLIENT = gql`
mutation CreateAppAuthClient($input: CreateAppAuthClientInput) {
createAppAuthClient(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_APP_CONFIG = gql`
mutation CreateAppConfig($input: CreateAppConfigInput) {
createAppConfig(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_CONNECTION = gql`
mutation CreateConnection($input: CreateConnectionInput) {
createConnection(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_FLOW = gql`
mutation CreateFlow($input: CreateFlowInput) {
createFlow(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_ROLE = gql`
mutation CreateRole($input: CreateRoleInput) {
createRole(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_STEP = gql`
mutation CreateStep($input: CreateStepInput) {
createStep(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const CREATE_USER = gql`
mutation CreateUser($input: CreateUserInput) {
createUser(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DELETE_CONNECTION = gql`
mutation DeleteConnection($input: DeleteConnectionInput) {
deleteConnection(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DELETE_CURRENT_USER = gql`
mutation DeleteCurrentUser {
deleteCurrentUser

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DELETE_FLOW = gql`
mutation DeleteFlow($input: DeleteFlowInput) {
deleteFlow(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DELETE_ROLE = gql`
mutation DeleteRole($input: DeleteRoleInput) {
deleteRole(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DELETE_STEP = gql`
mutation DeleteStep($input: DeleteStepInput) {
deleteStep(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DELETE_USER = gql`
mutation DeleteUser($input: DeleteUserInput) {
deleteUser(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const DUPLICATE_FLOW = gql`
mutation DuplicateFlow($input: DuplicateFlowInput) {
duplicateFlow(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const EXECUTE_FLOW = gql`
mutation ExecuteFlow($input: ExecuteFlowInput) {
executeFlow(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const FORGOT_PASSWORD = gql`
mutation ForgotPassword($input: ForgotPasswordInput) {
forgotPassword(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GENERATE_AUTH_URL = gql`
mutation generateAuthUrl($input: GenerateAuthUrlInput) {
generateAuthUrl(input: $input) {

View File

@@ -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;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const LOGIN = gql`
mutation Login($input: LoginInput) {
login(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const REGISTER_USER = gql`
mutation RegisterUser($input: RegisterUserInput) {
registerUser(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const RESET_CONNECTION = gql`
mutation ResetConnection($input: ResetConnectionInput) {
resetConnection(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const RESET_PASSWORD = gql`
mutation ResetPassword($input: ResetPasswordInput) {
resetPassword(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_APP_AUTH_CLIENT = gql`
mutation UpdateAppAuthClient($input: UpdateAppAuthClientInput) {
updateAppAuthClient(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_APP_CONFIG = gql`
mutation UpdateAppConfig($input: UpdateAppConfigInput) {
updateAppConfig(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_CONFIG = gql`
mutation UpdateConfig($input: JSONObject) {
updateConfig(input: $input)

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_CONNECTION = gql`
mutation UpdateConnection($input: UpdateConnectionInput) {
updateConnection(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_CURRENT_USER = gql`
mutation UpdateCurrentUser($input: UpdateCurrentUserInput) {
updateCurrentUser(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_FLOW_STATUS = gql`
mutation UpdateFlowStatus($input: UpdateFlowStatusInput) {
updateFlowStatus(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_FLOW = gql`
mutation UpdateFlow($input: UpdateFlowInput) {
updateFlow(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_ROLE = gql`
mutation UpdateRole($input: UpdateRoleInput) {
updateRole(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_STEP = gql`
mutation UpdateStep($input: UpdateStepInput) {
updateStep(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPDATE_USER = gql`
mutation UpdateUser($input: UpdateUserInput) {
updateUser(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPSERT_SAML_AUTH_PROVIDER = gql`
mutation UpsertSamlAuthProvider($input: UpsertSamlAuthProviderInput) {
upsertSamlAuthProvider(input: $input) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const UPSERT_SAML_AUTH_PROVIDERS_ROLE_MAPPINGS = gql`
mutation UpsertSamlAuthProvidersRoleMappings(
$input: UpsertSamlAuthProvidersRoleMappingsInput

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const VERIFY_CONNECTION = gql`
mutation VerifyConnection($input: VerifyConnectionInput) {
verifyConnection(input: $input) {