♻️ (builder) Remove barrel export and flatten folder arch
This commit is contained in:
@@ -2,7 +2,7 @@ import { DropdownList } from '@/components/DropdownList'
|
||||
import { CodeEditor } from '@/components/inputs/CodeEditor'
|
||||
import { SwitchWithLabel } from '@/components/inputs/SwitchWithLabel'
|
||||
import { TableList, TableListItemProps } from '@/components/TableList'
|
||||
import { useTypebot } from '@/features/editor'
|
||||
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
|
||||
import { useToast } from '@/hooks/useToast'
|
||||
import {
|
||||
Stack,
|
||||
@@ -25,14 +25,11 @@ import {
|
||||
} from '@typebot.io/schemas'
|
||||
import { useState, useMemo } from 'react'
|
||||
import { executeWebhook } from '../queries/executeWebhookQuery'
|
||||
import { convertVariablesForTestToVariables } from '../utils/convertVariablesForTestToVariables'
|
||||
import { getDeepKeys } from '../utils/getDeepKeys'
|
||||
import {
|
||||
QueryParamsInputs,
|
||||
HeadersInputs,
|
||||
} from './WebhookSettings/KeyValueInputs'
|
||||
import { DataVariableInputs } from './WebhookSettings/ResponseMappingInputs'
|
||||
import { VariableForTestInputs } from './WebhookSettings/VariableForTestInputs'
|
||||
import { convertVariablesForTestToVariables } from '../helpers/convertVariablesForTestToVariables'
|
||||
import { getDeepKeys } from '../helpers/getDeepKeys'
|
||||
import { QueryParamsInputs, HeadersInputs } from './KeyValueInputs'
|
||||
import { DataVariableInputs } from './ResponseMappingInputs'
|
||||
import { VariableForTestInputs } from './VariableForTestInputs'
|
||||
|
||||
type Props = {
|
||||
blockId: string
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Stack, Text } from '@chakra-ui/react'
|
||||
import { useTypebot } from '@/features/editor'
|
||||
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
|
||||
import { WebhookBlock } from '@typebot.io/schemas'
|
||||
import { byId } from '@typebot.io/lib'
|
||||
import { SetVariableLabel } from '@/components/SetVariableLabel'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import React, { useState } from 'react'
|
||||
import { Spinner, Stack } from '@chakra-ui/react'
|
||||
import { useTypebot } from '@/features/editor'
|
||||
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
|
||||
import { WebhookOptions, Webhook, WebhookBlock } from '@typebot.io/schemas'
|
||||
import { byId } from '@typebot.io/lib'
|
||||
import { TextInput } from '@/components/inputs'
|
||||
import { WebhookAdvancedConfigForm } from '../WebhookAdvancedConfigForm'
|
||||
import { WebhookAdvancedConfigForm } from './WebhookAdvancedConfigForm'
|
||||
|
||||
type Props = {
|
||||
block: WebhookBlock
|
||||
@@ -1 +0,0 @@
|
||||
export { WebhookSettings } from './WebhookSettings'
|
||||
Reference in New Issue
Block a user