♻️ Re-organize workspace folders

This commit is contained in:
Baptiste Arnaud
2023-03-15 08:35:16 +01:00
parent 25c367901f
commit cbc8194f19
987 changed files with 2716 additions and 2770 deletions

View File

@@ -1,9 +1,9 @@
import { Flex, FormLabel, Stack, Switch, useDisclosure } from '@chakra-ui/react'
import { useWorkspace } from '@/features/workspace'
import { Plan } from 'db'
import { GeneralSettings } from 'models'
import { Plan } from '@typebot.io/prisma'
import { GeneralSettings } from '@typebot.io/schemas'
import React from 'react'
import { isDefined } from 'utils'
import { isDefined } from '@typebot.io/lib'
import { ChangePlanModal, isFreePlan, LimitReached } from '@/features/billing'
import { SwitchWithLabel } from '@/components/inputs/SwitchWithLabel'
import { LockTag } from '@/features/billing'

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { Metadata } from 'models'
import { Metadata } from '@typebot.io/schemas'
import {
FormLabel,
Popover,

View File

@@ -2,7 +2,7 @@ import { Seo } from '@/components/Seo'
import { TypebotHeader, useTypebot } from '@/features/editor'
import { Flex } from '@chakra-ui/react'
import { Standard } from '@typebot.io/react'
import { getViewerUrl } from 'utils'
import { getViewerUrl } from '@typebot.io/lib'
import { SettingsSideMenu } from './SettingsSideMenu'
export const SettingsPage = () => {

View File

@@ -9,7 +9,7 @@ import {
Stack,
} from '@chakra-ui/react'
import { ChatIcon, CodeIcon, MoreVerticalIcon } from '@/components/icons'
import { GeneralSettings, Metadata, TypingEmulation } from 'models'
import { GeneralSettings, Metadata, TypingEmulation } from '@typebot.io/schemas'
import React from 'react'
import { GeneralSettingsForm } from './GeneralSettingsForm'
import { MetadataForm } from './MetadataForm'

View File

@@ -1,7 +1,7 @@
import { Flex, FormLabel, Stack, Switch } from '@chakra-ui/react'
import { TypingEmulation } from 'models'
import { TypingEmulation } from '@typebot.io/schemas'
import React from 'react'
import { isDefined } from 'utils'
import { isDefined } from '@typebot.io/lib'
import { NumberInput } from '@/components/inputs'
type Props = {