♻️ (builder) Remove barrel export and flatten folder arch
This commit is contained in:
@ -12,12 +12,12 @@ import {
|
||||
ModalFooter,
|
||||
Flex,
|
||||
} from '@chakra-ui/react'
|
||||
import { useWorkspace } from '@/features/workspace'
|
||||
import { useWorkspace } from '@/features/workspace/WorkspaceProvider'
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
import { AlertInfo } from '@/components/AlertInfo'
|
||||
import { GoogleLogo } from '@/components/GoogleLogo'
|
||||
import { getGoogleSheetsConsentScreenUrlQuery } from '../../queries/getGoogleSheetsConsentScreenUrlQuery'
|
||||
import { getGoogleSheetsConsentScreenUrlQuery } from '../queries/getGoogleSheetsConsentScreenUrlQuery'
|
||||
|
||||
type Props = {
|
||||
isOpen: boolean
|
@ -1,6 +1,6 @@
|
||||
import { Divider, Stack, Text, useDisclosure } from '@chakra-ui/react'
|
||||
import { DropdownList } from '@/components/DropdownList'
|
||||
import { useTypebot } from '@/features/editor'
|
||||
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
|
||||
import {
|
||||
Cell,
|
||||
defaultGoogleSheetsGetOptions,
|
||||
@ -21,12 +21,12 @@ import { CellWithValueStack } from './CellWithValueStack'
|
||||
import { CellWithVariableIdStack } from './CellWithVariableIdStack'
|
||||
import { GoogleSheetConnectModal } from './GoogleSheetsConnectModal'
|
||||
import { TableListItemProps, TableList } from '@/components/TableList'
|
||||
import { CredentialsDropdown } from '@/features/credentials'
|
||||
import { useSheets } from '../../hooks/useSheets'
|
||||
import { Sheet } from '../../types'
|
||||
import { CredentialsDropdown } from '@/features/credentials/components/CredentialsDropdown'
|
||||
import { RowsFilterTableList } from './RowsFilterTableList'
|
||||
import { createId } from '@paralleldrive/cuid2'
|
||||
import { useWorkspace } from '@/features/workspace'
|
||||
import { useWorkspace } from '@/features/workspace/WorkspaceProvider'
|
||||
import { useSheets } from '../hooks/useSheets'
|
||||
import { Sheet } from '../types'
|
||||
|
||||
type Props = {
|
||||
options: GoogleSheetsOptions
|
||||
@ -34,7 +34,7 @@ type Props = {
|
||||
blockId: string
|
||||
}
|
||||
|
||||
export const GoogleSheetsSettingsBody = ({
|
||||
export const GoogleSheetsSettings = ({
|
||||
options,
|
||||
onOptionsChange,
|
||||
blockId,
|
@ -1,2 +0,0 @@
|
||||
export * from './RowsFilterComparisonItem'
|
||||
export * from './RowsFilterTableList'
|
@ -1 +0,0 @@
|
||||
export { GoogleSheetsSettingsBody } from './GoogleSheetsSettingsBody'
|
@ -1,7 +1,7 @@
|
||||
import { MoreInfoTooltip } from '@/components/MoreInfoTooltip'
|
||||
import { Select } from '@/components/inputs/Select'
|
||||
import { HStack, Input } from '@chakra-ui/react'
|
||||
import { Sheet } from '../../types'
|
||||
import { Sheet } from '../types'
|
||||
|
||||
type Props = {
|
||||
sheets: Sheet[]
|
@ -1,6 +1,6 @@
|
||||
import { Select } from '@/components/inputs/Select'
|
||||
import { Input, Tooltip } from '@chakra-ui/react'
|
||||
import { useSpreadsheets } from '../../hooks/useSpreadsheets'
|
||||
import { useSpreadsheets } from '../hooks/useSpreadsheets'
|
||||
|
||||
type Props = {
|
||||
credentialsId: string
|
@ -1,5 +1,5 @@
|
||||
import { stringify } from 'qs'
|
||||
import { fetcher } from '@/utils/helpers'
|
||||
import { fetcher } from '@/helpers/fetcher'
|
||||
import useSWR from 'swr'
|
||||
import { Sheet } from '../types'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { stringify } from 'qs'
|
||||
import { fetcher } from '@/utils/helpers'
|
||||
import { fetcher } from '@/helpers/fetcher'
|
||||
import useSWR from 'swr'
|
||||
import { Spreadsheet } from '../types'
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
export { GoogleSheetsSettingsBody } from './components/GoogleSheetsSettingsBody'
|
||||
export { GoogleSheetsNodeContent } from './components/GoogleSheetsNodeContent'
|
||||
export { GoogleSheetsLogo } from './components/GoogleSheetsLogo'
|
Reference in New Issue
Block a user