feat(server): delay subscription after invitation accepted or approved (#11992)

This commit is contained in:
liuyi
2025-04-30 14:27:47 +08:00
committed by GitHub
parent 9a721c65b5
commit 2e1bed061e
49 changed files with 1990 additions and 2694 deletions
@@ -551,6 +551,19 @@ export const USER_FRIENDLY_ERRORS = {
type: 'invalid_input',
message: 'Can not batch grant doc owner permissions.',
},
new_owner_is_not_active_member: {
type: 'bad_request',
message: 'Can not set a non-active member as owner.',
},
invalid_invitation: {
type: 'invalid_input',
message: 'Invalid invitation provided.',
},
no_more_seat: {
type: 'bad_request',
args: { spaceId: 'string' },
message: ({ spaceId }) => `No more seat available in the Space ${spaceId}.`,
},
// Subscription Errors
unsupported_subscription_plan: {