♻️ Re-organize workspace folders
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Tag, Text, Wrap, WrapItem } from '@chakra-ui/react'
|
||||
import { SendEmailBlock } from 'models'
|
||||
import { SendEmailBlock } from '@typebot.io/schemas'
|
||||
|
||||
type Props = {
|
||||
block: SendEmailBlock
|
||||
|
||||
@@ -8,9 +8,9 @@ import {
|
||||
FormLabel,
|
||||
} from '@chakra-ui/react'
|
||||
import { CodeEditor } from '@/components/inputs/CodeEditor'
|
||||
import { SendEmailOptions, Variable } from 'models'
|
||||
import { SendEmailOptions, Variable } from '@typebot.io/schemas'
|
||||
import React from 'react'
|
||||
import { env, isNotEmpty } from 'utils'
|
||||
import { env, isNotEmpty } from '@typebot.io/lib'
|
||||
import { SmtpConfigModal } from './SmtpConfigModal'
|
||||
import { SwitchWithLabel } from '@/components/inputs/SwitchWithLabel'
|
||||
import { VariableSearchInput } from '@/components/inputs/VariableSearchInput'
|
||||
|
||||
@@ -2,7 +2,7 @@ import { TextInput, NumberInput } from '@/components/inputs'
|
||||
import { SwitchWithLabel } from '@/components/inputs/SwitchWithLabel'
|
||||
import { Stack } from '@chakra-ui/react'
|
||||
import { isDefined } from '@udecode/plate-common'
|
||||
import { SmtpCredentials } from 'models'
|
||||
import { SmtpCredentials } from '@typebot.io/schemas'
|
||||
import React from 'react'
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -10,12 +10,12 @@ import {
|
||||
} from '@chakra-ui/react'
|
||||
import { useUser } from '@/features/account'
|
||||
import React, { useState } from 'react'
|
||||
import { isNotDefined } from 'utils'
|
||||
import { isNotDefined } from '@typebot.io/lib'
|
||||
import { SmtpConfigForm } from './SmtpConfigForm'
|
||||
import { useWorkspace } from '@/features/workspace'
|
||||
import { useToast } from '@/hooks/useToast'
|
||||
import { testSmtpConfig } from '../../queries/testSmtpConfigQuery'
|
||||
import { SmtpCredentials } from 'models'
|
||||
import { SmtpCredentials } from '@typebot.io/schemas'
|
||||
import { trpc } from '@/lib/trpc'
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import test, { expect } from '@playwright/test'
|
||||
import { importTypebotInDatabase } from 'utils/playwright/databaseActions'
|
||||
import { importTypebotInDatabase } from '@typebot.io/lib/playwright/databaseActions'
|
||||
import { createId } from '@paralleldrive/cuid2'
|
||||
import { getTestAsset } from '@/test/utils/playwright'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { SmtpCredentials } from 'models'
|
||||
import { sendRequest } from 'utils'
|
||||
import { SmtpCredentials } from '@typebot.io/schemas'
|
||||
import { sendRequest } from '@typebot.io/lib'
|
||||
|
||||
export const testSmtpConfig = (smtpData: SmtpCredentials['data'], to: string) =>
|
||||
sendRequest({
|
||||
|
||||
Reference in New Issue
Block a user