(s3) Improve storage management and type safety

Closes #756
This commit is contained in:
Baptiste Arnaud
2023-09-08 15:28:11 +02:00
parent 43be38cf50
commit fbb198af9d
47 changed files with 790 additions and 128 deletions

View File

@@ -15,6 +15,7 @@ import { collaboratorsRouter } from '@/features/collaboration/api/router'
import { customDomainsRouter } from '@/features/customDomains/api/router'
import { whatsAppRouter } from '@/features/whatsapp/router'
import { openAIRouter } from '@/features/blocks/integrations/openai/api/router'
import { generateUploadUrl } from '@/features/upload/api/generateUploadUrl'
export const trpcRouter = router({
getAppVersionProcedure,
@@ -33,6 +34,7 @@ export const trpcRouter = router({
customDomains: customDomainsRouter,
whatsApp: whatsAppRouter,
openAI: openAIRouter,
generateUploadUrl,
})
export type AppRouter = typeof trpcRouter