Skip to content

Commit c64f919

Browse files
committed
chore: review comments addressed
1 parent 2d455bf commit c64f919

3 files changed

Lines changed: 111 additions & 0 deletions

File tree

packages/core/src/i18n/custom-messages/my-organization/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
export * from './idp-management';
88
export * from './organization-management';
99
export * from './domain-management';
10+
export * from './member-management/invitation-tab-types';
11+
export * from './member-management/member-management-types';
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/**
2+
* Custom message type definitions for invitation tab.
3+
* @module invitation-tab-types
4+
* @internal
5+
*/
6+
7+
export interface OrganizationInvitationTabMessages {
8+
table?: {
9+
columns?: {
10+
email?: string;
11+
status?: string;
12+
inviter?: string;
13+
created_at?: string;
14+
expires_at?: string;
15+
roles?: string;
16+
};
17+
empty_message?: string;
18+
search_placeholder?: string;
19+
filter_by_role?: string;
20+
all_roles?: string;
21+
reset_filter?: string;
22+
showing_results?: string;
23+
status_pending?: string;
24+
status_expired?: string;
25+
};
26+
actions?: {
27+
menu_label?: string;
28+
view_details?: string;
29+
copy_url?: string;
30+
revoke_and_resend?: string;
31+
revoke?: string;
32+
};
33+
create?: {
34+
title?: string;
35+
description?: string;
36+
email_label?: string;
37+
email_placeholder?: string;
38+
email_helper?: string;
39+
email_limit_error?: string;
40+
email_invalid_error?: string;
41+
email_duplicate_error?: string;
42+
email_required_error?: string;
43+
roles_label?: string;
44+
roles_placeholder?: string;
45+
provider_label?: string;
46+
provider_placeholder?: string;
47+
submit_button?: string;
48+
creating?: string;
49+
cancel_button?: string;
50+
};
51+
details?: {
52+
title?: string;
53+
email_label?: string;
54+
status_label?: string;
55+
roles_label?: string;
56+
provider_label?: string;
57+
created_at_label?: string;
58+
expires_at_label?: string;
59+
invited_by_label?: string;
60+
invitation_url_label?: string;
61+
copy_url_button?: string;
62+
close_button?: string;
63+
revoke_button?: string;
64+
resend_button?: string;
65+
};
66+
revoke?: {
67+
title?: string;
68+
description?: string;
69+
confirm_button?: string;
70+
cancel_button?: string;
71+
};
72+
revoke_resend?: {
73+
title?: string;
74+
description?: string;
75+
confirm_button?: string;
76+
cancel_button?: string;
77+
};
78+
success?: {
79+
url_copied?: string;
80+
invitation_resent?: string;
81+
};
82+
error?: {
83+
fetch_failed?: string;
84+
create_failed?: string;
85+
revoke_failed?: string;
86+
resend_failed?: string;
87+
revoke_resend_failed?: string;
88+
copy_url_failed?: string;
89+
};
90+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Custom message type definitions for member management.
3+
* @module member-management-types
4+
* @internal
5+
*/
6+
7+
import type { OrganizationInvitationTabMessages } from './invitation-tab-types';
8+
9+
export interface OrganizationMemberManagementMessages {
10+
header?: {
11+
title?: string;
12+
description?: string;
13+
};
14+
tabs?: {
15+
members?: string;
16+
invitations?: string;
17+
};
18+
invitation?: OrganizationInvitationTabMessages;
19+
}

0 commit comments

Comments
 (0)