mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
## Description Add support for teams which will allow users to collaborate on documents. Teams features allows users to: - Create, manage and transfer teams - Manage team members - Manage team emails - Manage a shared team inbox and documents These changes do NOT include the following, which are planned for a future release: - Team templates - Team API - Search menu integration ## Testing Performed - Added E2E tests for general team management - Added E2E tests to validate document counts ## Checklist - [X] I have tested these changes locally and they work as expected. - [X] I have added/updated tests that prove the effectiveness of these changes. - [ ] I have updated the documentation to reflect these changes, if applicable. - [X] I have followed the project's coding style guidelines.
17 lines
744 B
TypeScript
17 lines
744 B
TypeScript
export const IS_APP_MARKETING = process.env.NEXT_PUBLIC_PROJECT === 'marketing';
|
|
export const IS_APP_WEB = process.env.NEXT_PUBLIC_PROJECT === 'web';
|
|
export const IS_BILLING_ENABLED = process.env.NEXT_PUBLIC_FEATURE_BILLING_ENABLED === 'true';
|
|
|
|
export const APP_DOCUMENT_UPLOAD_SIZE_LIMIT =
|
|
Number(process.env.NEXT_PUBLIC_DOCUMENT_SIZE_UPLOAD_LIMIT) || 50;
|
|
|
|
export const APP_FOLDER = IS_APP_MARKETING ? 'marketing' : 'web';
|
|
|
|
export const APP_BASE_URL = IS_APP_WEB
|
|
? process.env.NEXT_PUBLIC_WEBAPP_URL
|
|
: process.env.NEXT_PUBLIC_MARKETING_URL;
|
|
|
|
export const WEBAPP_BASE_URL = process.env.NEXT_PUBLIC_WEBAPP_URL ?? 'http://localhost:3000';
|
|
|
|
export const MARKETING_BASE_URL = process.env.NEXT_PUBLIC_MARKETING_URL ?? 'http://localhost:3001';
|