feat(canvas): add shared workspace access and controls
This commit is contained in:
@@ -18,7 +18,9 @@ export const USER_MESSAGE_KEYS = {
|
||||
authInvalidRegion: "messages.auth.invalid_region",
|
||||
authProviderNotReady: "messages.auth.provider_not_ready",
|
||||
authHumanVerificationRequired: "messages.auth.human_verification_required",
|
||||
authHumanVerificationFailed: "messages.auth.human_verification_failed"
|
||||
authHumanVerificationFailed: "messages.auth.human_verification_failed",
|
||||
shareSelfInvite: "messages.share.self_invite",
|
||||
shareMemberExists: "messages.share.member_exists"
|
||||
} as const;
|
||||
|
||||
const HTTP_STATUS_MESSAGE_KEYS: Record<number, string> = {
|
||||
@@ -40,7 +42,9 @@ const BACKEND_STATUS_MESSAGE_KEYS: Record<string, string> = {
|
||||
"auth.invalid_region": USER_MESSAGE_KEYS.authInvalidRegion,
|
||||
"auth.provider_not_ready": USER_MESSAGE_KEYS.authProviderNotReady,
|
||||
"auth.human_verification_required": USER_MESSAGE_KEYS.authHumanVerificationRequired,
|
||||
"auth.human_verification_failed": USER_MESSAGE_KEYS.authHumanVerificationFailed
|
||||
"auth.human_verification_failed": USER_MESSAGE_KEYS.authHumanVerificationFailed,
|
||||
"share.self_invite": USER_MESSAGE_KEYS.shareSelfInvite,
|
||||
"share.member_exists": USER_MESSAGE_KEYS.shareMemberExists
|
||||
};
|
||||
|
||||
const RAW_STATUS_MESSAGE_KEYS: Array<{ pattern: RegExp; key: string }> = [
|
||||
|
||||
Reference in New Issue
Block a user