feat(core): impl invitation link (#11181)

feat(core): add invitee to getInviteInfoQuery

feat(core): enable invitation link

refactor(core): replace AcceptInviteService to InvitationService
This commit is contained in:
JimmFly
2025-03-26 02:45:12 +00:00
parent 64b25dfd89
commit 014556b61f
19 changed files with 409 additions and 116 deletions

View File

@@ -6,7 +6,7 @@
"el-GR": 94,
"en": 100,
"es-AR": 94,
"es-CL": 96,
"es-CL": 95,
"es": 94,
"fa": 94,
"fr": 94,

View File

@@ -7203,6 +7203,18 @@ export function useAFFiNEI18N(): {
* `Please contact your workspace owner to add more seats.`
*/
["com.affine.fail-to-join-workspace.description-2"](): string;
/**
* `Request to join`
*/
["com.affine.request-to-join-workspace.button"](): string;
/**
* `Request Sent successfully`
*/
["com.affine.sent-request-to-join-workspace.title"](): string;
/**
* `Request failed to send`
*/
["com.affine.failed-to-send-request.title"](): string;
/**
* `Readwise`
*/
@@ -8445,6 +8457,28 @@ export const TypedTrans: {
["1"]: JSX.Element;
["2"]: JSX.Element;
}>>;
/**
* `You requested to join <1/> <2>{{workspaceName}}</2> with <3>{{userEmail}}</3>, the workspace owner and team admins will review your request.`
*/
["com.affine.sent-request-to-join-workspace.description"]: ComponentType<TypedTransProps<Readonly<{
workspaceName: string;
userEmail: string;
}>, {
["1"]: JSX.Element;
["2"]: JSX.Element;
["3"]: JSX.Element;
}>>;
/**
* `Unable to process your request to join <1/> <2>{{workspaceName}}</2> with <3>{{userEmail}}</3>, the workspace has reached its member limit. Please contact the workspace owner for available seats.`
*/
["com.affine.failed-to-send-request.description"]: ComponentType<TypedTransProps<Readonly<{
workspaceName: string;
userEmail: string;
}>, {
["1"]: JSX.Element;
["2"]: JSX.Element;
["3"]: JSX.Element;
}>>;
/**
* `Import your Readwise highlights to AFFiNE. Please visit Readwise, click <a>"Get Access Token"</a>, and paste the token below.`
*/

View File

@@ -1792,6 +1792,11 @@
"com.affine.fail-to-join-workspace.title": "Join Failed",
"com.affine.fail-to-join-workspace.description-1": "Unable to join <1/> <2>{{workspaceName}}</2> due to insufficient seats available.",
"com.affine.fail-to-join-workspace.description-2": "Please contact your workspace owner to add more seats.",
"com.affine.request-to-join-workspace.button": "Request to join",
"com.affine.sent-request-to-join-workspace.title": "Request Sent successfully",
"com.affine.sent-request-to-join-workspace.description": "You requested to join <1/> <2>{{workspaceName}}</2> with <3>{{userEmail}}</3>, the workspace owner and team admins will review your request.",
"com.affine.failed-to-send-request.title": "Request failed to send",
"com.affine.failed-to-send-request.description": "Unable to process your request to join <1/> <2>{{workspaceName}}</2> with <3>{{userEmail}}</3>, the workspace has reached its member limit. Please contact the workspace owner for available seats.",
"com.affine.integration.name.readwise": "Readwise",
"com.affine.integration.integrations": "Integrations",
"com.affine.integration.setting.description": "Elevate your AFFiNE experience with diverse add-ons and seamless integrations.",