♻️ Re-organize workspace folders
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Metadata } from 'models'
|
||||
import { Metadata } from '@typebot.io/schemas'
|
||||
import {
|
||||
FormLabel,
|
||||
Popover,
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user