♻️ Re-organize workspace folders
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import prisma from '@/lib/prisma'
|
||||
import { authenticatedProcedure } from '@/utils/server/trpc'
|
||||
import { TRPCError } from '@trpc/server'
|
||||
import { stripeCredentialsSchema } from 'models/features/blocks/inputs/payment/schemas'
|
||||
import { googleSheetsCredentialsSchema } from 'models/features/blocks/integrations/googleSheets/schemas'
|
||||
import { openAICredentialsSchema } from 'models/features/blocks/integrations/openai'
|
||||
import { smtpCredentialsSchema } from 'models/features/blocks/integrations/sendEmail'
|
||||
import { encrypt } from 'utils/api/encryption'
|
||||
import { stripeCredentialsSchema } from '@typebot.io/schemas/features/blocks/inputs/payment/schemas'
|
||||
import { googleSheetsCredentialsSchema } from '@typebot.io/schemas/features/blocks/integrations/googleSheets/schemas'
|
||||
import { openAICredentialsSchema } from '@typebot.io/schemas/features/blocks/integrations/openai'
|
||||
import { smtpCredentialsSchema } from '@typebot.io/schemas/features/blocks/integrations/sendEmail'
|
||||
import { encrypt } from '@typebot.io/lib/api/encryption'
|
||||
import { z } from 'zod'
|
||||
|
||||
const inputShape = {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import prisma from '@/lib/prisma'
|
||||
import { authenticatedProcedure } from '@/utils/server/trpc'
|
||||
import { TRPCError } from '@trpc/server'
|
||||
import { stripeCredentialsSchema } from 'models/features/blocks/inputs/payment/schemas'
|
||||
import { googleSheetsCredentialsSchema } from 'models/features/blocks/integrations/googleSheets/schemas'
|
||||
import { openAICredentialsSchema } from 'models/features/blocks/integrations/openai'
|
||||
import { smtpCredentialsSchema } from 'models/features/blocks/integrations/sendEmail'
|
||||
import { stripeCredentialsSchema } from '@typebot.io/schemas/features/blocks/inputs/payment/schemas'
|
||||
import { googleSheetsCredentialsSchema } from '@typebot.io/schemas/features/blocks/integrations/googleSheets/schemas'
|
||||
import { openAICredentialsSchema } from '@typebot.io/schemas/features/blocks/integrations/openai'
|
||||
import { smtpCredentialsSchema } from '@typebot.io/schemas/features/blocks/integrations/sendEmail'
|
||||
import { z } from 'zod'
|
||||
|
||||
export const listCredentials = authenticatedProcedure
|
||||
|
||||
@@ -13,7 +13,7 @@ import { ChevronLeftIcon, PlusIcon, TrashIcon } from '@/components/icons'
|
||||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useToast } from '../../../hooks/useToast'
|
||||
import { Credentials } from 'models'
|
||||
import { Credentials } from '@typebot.io/schemas'
|
||||
import { trpc } from '@/lib/trpc'
|
||||
|
||||
type Props = Omit<MenuButtonProps, 'type'> & {
|
||||
|
||||
Reference in New Issue
Block a user