Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
Merge branch 'main' into 421-slack
Ashish Viradiya58d245929171
diff --cc package-lock.jsonindex ca0cab06,6f1b69fe..8fe2b14a--- a/package-lock.json+++ b/package-lock.json@@@ -73,9 -74,8 +74,9 @@@"clsx": "^2.1.1","cmdk": "^1.1.1","date-fns": "^3.6.0",+ "date-fns-tz": "^3.2.0","eslint": "8.57.0",- "eslint-config-next": "^14.2.30",+ "eslint-config-next": "^14.2.31","exceljs": "^4.4.0","fluent-ffmpeg": "^2.1.3","input-otp": "^1.4.2",@@@ -17502,9 -17522,9 +17532,12 @@@}},"node_modules/react-email/node_modules/@next/swc-win32-ia32-msvc": {+ "version": "14.2.30",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.30.tgz",+ "integrity": "sha512-pVZMnFok5qEX4RT59mK2hEVtJX+XFfak+/rjHpyFh7juiT52r177bfFKhnlafm0UOSldhXjj32b+LZIOdswGTg==",+ "version": "14.2.31",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.31.tgz",+ "integrity": "sha512-pk9Bu4K0015anTS1OS9d/SpS0UtRObC+xe93fwnm7Gvqbv/W1ZbzhK4nvc96RURIQOux3P/bBH316xz8wjGSsA==","cpu": ["ia32"],diff --cc package.jsonindex 209be543,6cc9023f..2078f124--- a/package.json+++ b/package.json@@@ -84,9 -85,8 +85,9 @@@"clsx": "^2.1.1","cmdk": "^1.1.1","date-fns": "^3.6.0",+ "date-fns-tz": "^3.2.0","eslint": "8.57.0",- "eslint-config-next": "^14.2.30",+ "eslint-config-next": "^14.2.31","exceljs": "^4.4.0","fluent-ffmpeg": "^2.1.3","input-otp": "^1.4.2",diff --cc prisma/schema/schema.prismaindex 2668adad,d6fb1a0b..294c2dac--- a/prisma/schema/schema.prisma+++ b/prisma/schema/schema.prisma@@@ -64,57 -64,6 +64,56 @@@ model Usermessages Message[]}+model Team {+ id String @id @default(cuid())+ name String+ users UserTeam[]+ documents Document[]+ folders Folder[]+ domains Domain[]+ invitations Invitation[]+ sentEmails SentEmail[]+ brand Brand?+ datarooms Dataroom[]+ agreements Agreement[]+ viewerGroups ViewerGroup[]+ viewers Viewer[]++ permissionGroups PermissionGroup[]++ links Link[]+ views View[]++ plan String @default("free")+ stripeId String? @unique // Stripe customer ID+ subscriptionId String? @unique // Stripe subscription ID+ startsAt DateTime? // Stripe subscription start date+ endsAt DateTime? // Stripe subscription end date++ linkPresets LinkPreset[] // Link presets for the team++ limits Json? // Plan limits // {datarooms: 1, users: 1, domains: 1, customDomainOnPro: boolean, customDomainInDataroom: boolean}++ incomingWebhooks IncomingWebhook[]+ restrictedTokens RestrictedToken[]+ webhooks Webhook[]+ slackNotifications SlackNotification[]++ conversations Conversation[]++ uploadedDocuments DocumentUpload[]+ slackIntegration SlackIntegration?++ // team settings+ enableExcelAdvancedMode Boolean @default(false) // Enable Excel advanced mode for all documents in the team++ createdAt DateTime @default(now())+ updatedAt DateTime @updatedAt+ Tag Tag[]++ ignoredDomains String[] // Domains that are ignored for the team+ globalBlockList String[]+}-model Brand {id String @id @default(cuid())logo String? // This should be a reference to where the file is stored (S3, Google Cloud Storage, etc.)