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 GET_APP_AUTH_CLIENT = gql`
query GetAppAuthClient($id: String!) {
getAppAuthClient(id: $id) {
@@ -10,4 +9,3 @@ export const GET_APP_AUTH_CLIENT = gql`
}
}
`;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_APP_AUTH_CLIENTS = gql`
query GetAppAuthClients($appKey: String!, $active: Boolean) {
getAppAuthClients(appKey: $appKey, active: $active) {
@@ -10,4 +9,3 @@ export const GET_APP_AUTH_CLIENTS = gql`
}
}
`;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_APP_CONFIG = gql`
query GetAppConfig($key: String!) {
getAppConfig(key: $key) {
@@ -13,4 +12,3 @@ export const GET_APP_CONFIG = gql`
}
}
`;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_APP_CONNECTIONS = gql`
query GetAppConnections($key: String!) {
getApp(key: $key) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_APP = gql`
query GetApp($key: String!) {
getApp(key: $key) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_APPS = gql`
query GetApps(
$name: String

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_AUTOMATISCH_INFO = gql`
query GetAutomatischInfo {
getAutomatischInfo {
@@ -8,4 +7,3 @@ export const GET_AUTOMATISCH_INFO = gql`
}
}
`;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_BILLING_AND_USAGE = gql`
query GetBillingAndUsage {
getBillingAndUsage {
@@ -36,4 +35,3 @@ export const GET_BILLING_AND_USAGE = gql`
}
}
`;

View File

@@ -1,8 +1,6 @@
import { gql } from '@apollo/client';
export const GET_CONFIG = gql`
query GetConfig($keys: [String]) {
getConfig(keys: $keys)
}
`;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_CONNECTED_APPS = gql`
query GetConnectedApps($name: String) {
getConnectedApps(name: $name) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_CURRENT_USER = gql`
query GetCurrentUser {
getCurrentUser {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_DYNAMIC_DATA = gql`
query GetDynamicData(
$stepId: String!

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_DYNAMIC_FIELDS = gql`
query GetDynamicFields(
$stepId: String!

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_EXECUTION_STEPS = gql`
query GetExecutionSteps($executionId: String!, $limit: Int!, $offset: Int!) {
getExecutionSteps(

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_EXECUTION = gql`
query GetExecution($executionId: String!) {
getExecution(executionId: $executionId) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_EXECUTIONS = gql`
query GetExecutions($limit: Int!, $offset: Int!) {
getExecutions(limit: $limit, offset: $offset) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_FLOW = gql`
query GetFlow($id: String!) {
getFlow(id: $id) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_FLOWS = gql`
query GetFlows(
$limit: Int!

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_INVOICES = gql`
query GetInvoices {
getInvoices {
@@ -11,4 +10,3 @@ export const GET_INVOICES = gql`
}
}
`;

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_NOTIFICATIONS = gql`
query GetNotifications {
getNotifications {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_PADDLE_INFO = gql`
query GetPaddleInfo {
getPaddleInfo {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_PAYMENT_PLANS = gql`
query GetPaymentPlans {
getPaymentPlans {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_PERMISSION_CATALOG = gql`
query GetPermissionCatalog {
getPermissionCatalog {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_ROLE = gql`
query GetRole($id: String!) {
getRole(id: $id) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_ROLES = gql`
query GetRoles {
getRoles {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_SAML_AUTH_PROVIDER_ROLE_MAPPINGS = gql`
query GetSamlAuthProviderRoleMappings($id: String!) {
getSamlAuthProviderRoleMappings(id: $id) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_SAML_AUTH_PROVIDER = gql`
query GetSamlAuthProvider {
getSamlAuthProvider {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_STEP_WITH_TEST_EXECUTIONS = gql`
query GetStepWithTestExecutions($stepId: String!) {
getStepWithTestExecutions(stepId: $stepId) {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_SUBSCRIPTION_STATUS = gql`
query GetSubscriptionStatus {
getSubscriptionStatus {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_TRIAL_STATUS = gql`
query GetTrialStatus {
getTrialStatus {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const GET_USER = gql`
query GetUser($id: String!) {
getUser(id: $id) {

View File

@@ -1,14 +1,7 @@
import { gql } from '@apollo/client';
export const GET_USERS = gql`
query GetUsers(
$limit: Int!
$offset: Int!
) {
getUsers(
limit: $limit
offset: $offset
) {
query GetUsers($limit: Int!, $offset: Int!) {
getUsers(limit: $limit, offset: $offset) {
pageInfo {
currentPage
totalPages

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const HEALTHCHECK = gql`
query Healthcheck {
healthcheck {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const LIST_SAML_AUTH_PROVIDERS = gql`
query ListSamlAuthProviders {
listSamlAuthProviders {

View File

@@ -1,5 +1,4 @@
import { gql } from '@apollo/client';
export const TEST_CONNECTION = gql`
query TestConnection($id: String!) {
testConnection(id: $id) {