feat: add approvals workflow and unified member invitation management across projects, workspaces, and videos

This commit is contained in:
Yusuf İpek
2026-02-25 16:24:45 +03:00
parent 0ae1becc1b
commit a2b07b3e19
36 changed files with 3122 additions and 982 deletions
+4
View File
@@ -29,6 +29,7 @@ export async function GET() {
onNewVersion: true,
onNewComment: true,
onNewReply: true,
onApprovalEvents: true,
timezone: 'UTC',
}
);
@@ -61,6 +62,7 @@ export async function PUT(request: NextRequest) {
onNewVersion,
onNewComment,
onNewReply,
onApprovalEvents,
timezone,
} = body;
@@ -81,6 +83,7 @@ export async function PUT(request: NextRequest) {
onNewVersion: onNewVersion ?? true,
onNewComment: onNewComment ?? true,
onNewReply: onNewReply ?? true,
onApprovalEvents: onApprovalEvents ?? true,
timezone: timezone || 'UTC',
},
update: {
@@ -92,6 +95,7 @@ export async function PUT(request: NextRequest) {
onNewVersion: onNewVersion ?? true,
onNewComment: onNewComment ?? true,
onNewReply: onNewReply ?? true,
onApprovalEvents: onApprovalEvents ?? true,
timezone: timezone || 'UTC',
},
});