@better-auth-ui/core 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/auth-config.d.ts +4 -2
- package/dist/lib/localization.d.ts +12 -0
- package/dist/lib/localization.js +12 -0
- package/package.json +6 -1
- package/src/config/auth-config.ts +4 -2
- package/src/lib/localization.ts +18 -0
- package/dist/base-paths.d.ts +0 -21
- package/dist/base-paths.js +0 -5
- package/dist/config/settings-config.d.ts +0 -17
- package/dist/config/settings-config.js +0 -1
- package/dist/config/toast-config.d.ts +0 -58
- package/dist/config/toast-config.js +0 -16
- package/dist/lib/auth-callback-options.d.ts +0 -8
- package/dist/lib/auth-callback-options.js +0 -1
- package/dist/lib/auth-config.d.ts +0 -198
- package/dist/lib/auth-config.js +0 -36
- package/dist/lib/auth-error.d.ts +0 -9
- package/dist/lib/auth-error.js +0 -1
- package/dist/lib/auth-hook-options.d.ts +0 -8
- package/dist/lib/auth-hook-options.js +0 -1
- package/dist/lib/auth-toast.d.ts +0 -24
- package/dist/lib/auth-toast.js +0 -10
- package/dist/lib/config/appearance-config.d.ts +0 -23
- package/dist/lib/config/appearance-config.js +0 -1
- package/dist/lib/config/auth-config.d.ts +0 -70
- package/dist/lib/config/auth-config.js +0 -36
- package/dist/lib/config/avatar-config.d.ts +0 -35
- package/dist/lib/config/avatar-config.js +0 -1
- package/dist/lib/config/email-and-password-config.d.ts +0 -37
- package/dist/lib/config/email-and-password-config.js +0 -1
- package/dist/lib/config/index.d.ts +0 -6
- package/dist/lib/config/index.js +0 -6
- package/dist/lib/config/settings-config.d.ts +0 -22
- package/dist/lib/config/settings-config.js +0 -1
- package/dist/lib/config/toast-config.d.ts +0 -24
- package/dist/lib/config/toast-config.js +0 -10
- package/dist/lib/toast-config.d.ts +0 -24
- package/dist/lib/toast-config.js +0 -10
- package/dist/localization/index.d.ts +0 -35
- package/dist/localization/index.js +0 -34
- package/dist/localization/localization.d.ts +0 -35
- package/dist/localization/localization.js +0 -34
- package/dist/localization.d.ts +0 -159
- package/dist/localization.js +0 -156
- package/dist/provider-names.d.ts +0 -12
- package/dist/provider-names.js +0 -50
- package/dist/src/index.d.ts +0 -7
- package/dist/src/index.js +0 -7
- package/dist/src/lib/auth-config.d.ts +0 -148
- package/dist/src/lib/auth-config.js +0 -28
- package/dist/src/lib/auth-toast.d.ts +0 -24
- package/dist/src/lib/auth-toast.js +0 -10
- package/dist/src/lib/base-paths.d.ts +0 -9
- package/dist/src/lib/base-paths.js +0 -9
- package/dist/src/lib/localization.d.ts +0 -145
- package/dist/src/lib/localization.js +0 -142
- package/dist/src/lib/provider-names.d.ts +0 -12
- package/dist/src/lib/provider-names.js +0 -49
- package/dist/src/lib/utils.d.ts +0 -1
- package/dist/src/lib/utils.js +0 -30
- package/dist/src/lib/view-paths.d.ts +0 -30
- package/dist/src/lib/view-paths.js +0 -17
- package/dist/utils.d.ts +0 -3
- package/dist/utils.js +0 -80
- package/dist/view-paths.d.ts +0 -30
- package/dist/view-paths.js +0 -17
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { defaultToast } from "./toast-config";
|
|
2
|
-
import { basePaths } from "../base-paths";
|
|
3
|
-
import { localization } from "../localization";
|
|
4
|
-
import { resizeAvatar } from "../utils";
|
|
5
|
-
import { viewPaths } from "../view-paths";
|
|
6
|
-
export const defaultConfig = {
|
|
7
|
-
basePaths,
|
|
8
|
-
baseURL: "",
|
|
9
|
-
emailAndPassword: {
|
|
10
|
-
enabled: true,
|
|
11
|
-
forgotPassword: true,
|
|
12
|
-
rememberMe: false,
|
|
13
|
-
minPasswordLength: 8,
|
|
14
|
-
maxPasswordLength: 128
|
|
15
|
-
},
|
|
16
|
-
redirectTo: "/",
|
|
17
|
-
settings: {
|
|
18
|
-
appearance: {
|
|
19
|
-
themes: ["system", "light", "dark"]
|
|
20
|
-
},
|
|
21
|
-
avatar: {
|
|
22
|
-
enabled: true,
|
|
23
|
-
resize: resizeAvatar,
|
|
24
|
-
size: 256
|
|
25
|
-
},
|
|
26
|
-
enabled: true
|
|
27
|
-
},
|
|
28
|
-
viewPaths,
|
|
29
|
-
localization,
|
|
30
|
-
navigate: () => { },
|
|
31
|
-
toast: {
|
|
32
|
-
error: defaultToast,
|
|
33
|
-
success: defaultToast,
|
|
34
|
-
info: defaultToast
|
|
35
|
-
}
|
|
36
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for avatar handling.
|
|
3
|
-
*/
|
|
4
|
-
export type AvatarConfig = {
|
|
5
|
-
/**
|
|
6
|
-
* Delete the current avatar (e.g. remove from storage).
|
|
7
|
-
* When undefined, avatar deletion is disabled.
|
|
8
|
-
*/
|
|
9
|
-
delete?: (url: string) => Promise<void>;
|
|
10
|
-
/**
|
|
11
|
-
* Whether avatar changing is enabled.
|
|
12
|
-
* @default true
|
|
13
|
-
*/
|
|
14
|
-
enabled?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Output image format.
|
|
17
|
-
* @default "png"
|
|
18
|
-
*/
|
|
19
|
-
extension?: "png" | "jpg" | "webp" | "inherit";
|
|
20
|
-
/**
|
|
21
|
-
* Resize an image file before upload.
|
|
22
|
-
* @default Resizes to max size, square-cropped, output as configured extension.
|
|
23
|
-
*/
|
|
24
|
-
resize?: (file: File, size?: number, extension?: "png" | "jpg" | "webp" | "inherit") => Promise<File>;
|
|
25
|
-
/**
|
|
26
|
-
* Max dimension in pixels for the optimized avatar.
|
|
27
|
-
* @default 256
|
|
28
|
-
*/
|
|
29
|
-
size?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Upload a file and return the URL where it was stored.
|
|
32
|
-
* When undefined, the image is base64-encoded and saved directly to `user.image`.
|
|
33
|
-
*/
|
|
34
|
-
upload?: (file: File) => Promise<string>;
|
|
35
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for email and password authentication.
|
|
3
|
-
*/
|
|
4
|
-
export type EmailAndPasswordConfig = {
|
|
5
|
-
/**
|
|
6
|
-
* Whether email/password authentication is enabled
|
|
7
|
-
* @default true
|
|
8
|
-
*/
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to show a confirm password field on sign-up forms
|
|
12
|
-
*/
|
|
13
|
-
confirmPassword?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Whether users can reset forgotten passwords
|
|
16
|
-
* @default true
|
|
17
|
-
*/
|
|
18
|
-
forgotPassword: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Maximum password length
|
|
21
|
-
* @default 128
|
|
22
|
-
*/
|
|
23
|
-
maxPasswordLength?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Minimum password length
|
|
26
|
-
* @default 8
|
|
27
|
-
*/
|
|
28
|
-
minPasswordLength?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Maximum password length
|
|
31
|
-
* @default 128
|
|
32
|
-
*/
|
|
33
|
-
/** Whether to show a "Remember me" checkbox on sign-in forms */
|
|
34
|
-
rememberMe?: boolean;
|
|
35
|
-
/** Whether email verification is required before account activation */
|
|
36
|
-
requireEmailVerification?: boolean;
|
|
37
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/lib/config/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { AppearanceConfig } from "./appearance-config";
|
|
2
|
-
import type { AvatarConfig } from "./avatar-config";
|
|
3
|
-
/**
|
|
4
|
-
* Configuration options for user settings.
|
|
5
|
-
*/
|
|
6
|
-
export type SettingsConfig = {
|
|
7
|
-
/**
|
|
8
|
-
* Appearance/theme configuration
|
|
9
|
-
* @default { themes: ["system", "light", "dark"] }
|
|
10
|
-
*/
|
|
11
|
-
appearance: AppearanceConfig;
|
|
12
|
-
/**
|
|
13
|
-
* Avatar upload, optimization, and deletion configuration.
|
|
14
|
-
* @default { enabled: true, optimize: optimizeAvatar, size: 256 }
|
|
15
|
-
*/
|
|
16
|
-
avatar: AvatarConfig;
|
|
17
|
-
/**
|
|
18
|
-
* Whether the settings section is enabled
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
enabled?: boolean;
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type RenderToast = (message?: string, options?: {
|
|
2
|
-
action?: {
|
|
3
|
-
label: string;
|
|
4
|
-
onClick: () => Promise<void> | void;
|
|
5
|
-
};
|
|
6
|
-
actionProps?: {
|
|
7
|
-
children: string;
|
|
8
|
-
onClick: () => Promise<void> | void;
|
|
9
|
-
};
|
|
10
|
-
}) => string | number | unknown;
|
|
11
|
-
export type DismissToast = (id?: number | string | unknown | any) => string | number | unknown;
|
|
12
|
-
export declare const defaultToast: RenderToast;
|
|
13
|
-
export type ToastConfig = {
|
|
14
|
-
/** Display an error toast notification */
|
|
15
|
-
error: RenderToast;
|
|
16
|
-
/** Display a danger toast notification */
|
|
17
|
-
danger?: RenderToast;
|
|
18
|
-
/** Display a success toast notification */
|
|
19
|
-
success: RenderToast;
|
|
20
|
-
/** Display an info toast notification */
|
|
21
|
-
info: RenderToast;
|
|
22
|
-
/** Optional function to dismiss a toast notification by its ID */
|
|
23
|
-
dismiss?: DismissToast;
|
|
24
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type RenderToast = (message?: string, options?: {
|
|
2
|
-
action?: {
|
|
3
|
-
label: string;
|
|
4
|
-
onClick: () => Promise<void> | void;
|
|
5
|
-
};
|
|
6
|
-
actionProps?: {
|
|
7
|
-
children: string;
|
|
8
|
-
onClick: () => Promise<void> | void;
|
|
9
|
-
};
|
|
10
|
-
}) => string | number | unknown;
|
|
11
|
-
export type DismissToast = (id?: number | string | unknown | any) => string | number | unknown;
|
|
12
|
-
export declare const defaultToast: RenderToast;
|
|
13
|
-
export type ToastConfig = {
|
|
14
|
-
/** Display an error toast notification */
|
|
15
|
-
error: RenderToast;
|
|
16
|
-
/** Display a danger toast notification */
|
|
17
|
-
danger?: RenderToast;
|
|
18
|
-
/** Display a success toast notification */
|
|
19
|
-
success: RenderToast;
|
|
20
|
-
/** Display an info toast notification */
|
|
21
|
-
info: RenderToast;
|
|
22
|
-
/** Optional function to dismiss a toast notification by its ID */
|
|
23
|
-
dismiss?: DismissToast;
|
|
24
|
-
};
|
package/dist/lib/toast-config.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const localization: {
|
|
2
|
-
auth: {
|
|
3
|
-
alreadyHaveAnAccount: string;
|
|
4
|
-
continueWith: string;
|
|
5
|
-
email: string;
|
|
6
|
-
emailPlaceholder: string;
|
|
7
|
-
forgotPassword: string;
|
|
8
|
-
invalidResetPasswordToken: string;
|
|
9
|
-
magicLink: string;
|
|
10
|
-
magicLinkSent: string;
|
|
11
|
-
name: string;
|
|
12
|
-
namePlaceholder: string;
|
|
13
|
-
newPassword: string;
|
|
14
|
-
newPasswordPlaceholder: string;
|
|
15
|
-
password: string;
|
|
16
|
-
passwordPlaceholder: string;
|
|
17
|
-
passwordResetEmailSent: string;
|
|
18
|
-
passwordResetSuccess: string;
|
|
19
|
-
needToCreateAnAccount: string;
|
|
20
|
-
or: string;
|
|
21
|
-
rememberYourPassword: string;
|
|
22
|
-
rememberMe: string;
|
|
23
|
-
resend: string;
|
|
24
|
-
resetPassword: string;
|
|
25
|
-
sendMagicLink: string;
|
|
26
|
-
sendResetLink: string;
|
|
27
|
-
/** @default "Sign In" */
|
|
28
|
-
signIn: string;
|
|
29
|
-
/** @default "Sign Up" */
|
|
30
|
-
signUp: string;
|
|
31
|
-
verificationEmailSent: string;
|
|
32
|
-
verifyYourEmail: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export type Localization = typeof localization;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export const localization = {
|
|
2
|
-
auth: {
|
|
3
|
-
alreadyHaveAnAccount: "Already have an account?",
|
|
4
|
-
continueWith: "Continue with {{provider}}",
|
|
5
|
-
email: "Email",
|
|
6
|
-
emailPlaceholder: "Enter your email",
|
|
7
|
-
forgotPassword: "Forgot password?",
|
|
8
|
-
invalidResetPasswordToken: "Invalid reset password token",
|
|
9
|
-
magicLink: "Magic link",
|
|
10
|
-
magicLinkSent: "Magic link sent to your email",
|
|
11
|
-
name: "Name",
|
|
12
|
-
namePlaceholder: "Enter your name",
|
|
13
|
-
newPassword: "New password",
|
|
14
|
-
newPasswordPlaceholder: "Enter your new password",
|
|
15
|
-
password: "Password",
|
|
16
|
-
passwordPlaceholder: "Enter your password",
|
|
17
|
-
passwordResetEmailSent: "Password reset email sent",
|
|
18
|
-
passwordResetSuccess: "Password reset successfully",
|
|
19
|
-
needToCreateAnAccount: "Need to create an account?",
|
|
20
|
-
or: "OR",
|
|
21
|
-
rememberYourPassword: "Remember your password?",
|
|
22
|
-
rememberMe: "Remember me",
|
|
23
|
-
resend: "Resend",
|
|
24
|
-
resetPassword: "Reset Password",
|
|
25
|
-
sendMagicLink: "Send Magic Link",
|
|
26
|
-
sendResetLink: "Send Reset Link",
|
|
27
|
-
/** @default "Sign In" */
|
|
28
|
-
signIn: "Sign In",
|
|
29
|
-
/** @default "Sign Up" */
|
|
30
|
-
signUp: "Sign Up",
|
|
31
|
-
verificationEmailSent: "Verification email sent!",
|
|
32
|
-
verifyYourEmail: "Verify your email"
|
|
33
|
-
}
|
|
34
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const localization: {
|
|
2
|
-
auth: {
|
|
3
|
-
alreadyHaveAnAccount: string;
|
|
4
|
-
continueWith: string;
|
|
5
|
-
email: string;
|
|
6
|
-
emailPlaceholder: string;
|
|
7
|
-
forgotPassword: string;
|
|
8
|
-
invalidResetPasswordToken: string;
|
|
9
|
-
magicLink: string;
|
|
10
|
-
magicLinkSent: string;
|
|
11
|
-
name: string;
|
|
12
|
-
namePlaceholder: string;
|
|
13
|
-
newPassword: string;
|
|
14
|
-
newPasswordPlaceholder: string;
|
|
15
|
-
password: string;
|
|
16
|
-
passwordPlaceholder: string;
|
|
17
|
-
passwordResetEmailSent: string;
|
|
18
|
-
passwordResetSuccess: string;
|
|
19
|
-
needToCreateAnAccount: string;
|
|
20
|
-
or: string;
|
|
21
|
-
rememberYourPassword: string;
|
|
22
|
-
rememberMe: string;
|
|
23
|
-
resend: string;
|
|
24
|
-
resetPassword: string;
|
|
25
|
-
sendMagicLink: string;
|
|
26
|
-
sendResetLink: string;
|
|
27
|
-
/** @default "Sign In" */
|
|
28
|
-
signIn: string;
|
|
29
|
-
/** @default "Sign Up" */
|
|
30
|
-
signUp: string;
|
|
31
|
-
verificationEmailSent: string;
|
|
32
|
-
verifyYourEmail: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export type Localization = typeof localization;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export const localization = {
|
|
2
|
-
auth: {
|
|
3
|
-
alreadyHaveAnAccount: "Already have an account?",
|
|
4
|
-
continueWith: "Continue with {{provider}}",
|
|
5
|
-
email: "Email",
|
|
6
|
-
emailPlaceholder: "Enter your email",
|
|
7
|
-
forgotPassword: "Forgot password?",
|
|
8
|
-
invalidResetPasswordToken: "Invalid reset password token",
|
|
9
|
-
magicLink: "Magic link",
|
|
10
|
-
magicLinkSent: "Magic link sent to your email",
|
|
11
|
-
name: "Name",
|
|
12
|
-
namePlaceholder: "Enter your name",
|
|
13
|
-
newPassword: "New password",
|
|
14
|
-
newPasswordPlaceholder: "Enter your new password",
|
|
15
|
-
password: "Password",
|
|
16
|
-
passwordPlaceholder: "Enter your password",
|
|
17
|
-
passwordResetEmailSent: "Password reset email sent",
|
|
18
|
-
passwordResetSuccess: "Password reset successfully",
|
|
19
|
-
needToCreateAnAccount: "Need to create an account?",
|
|
20
|
-
or: "OR",
|
|
21
|
-
rememberYourPassword: "Remember your password?",
|
|
22
|
-
rememberMe: "Remember me",
|
|
23
|
-
resend: "Resend",
|
|
24
|
-
resetPassword: "Reset Password",
|
|
25
|
-
sendMagicLink: "Send Magic Link",
|
|
26
|
-
sendResetLink: "Send Reset Link",
|
|
27
|
-
/** @default "Sign In" */
|
|
28
|
-
signIn: "Sign In",
|
|
29
|
-
/** @default "Sign Up" */
|
|
30
|
-
signUp: "Sign Up",
|
|
31
|
-
verificationEmailSent: "Verification email sent!",
|
|
32
|
-
verifyYourEmail: "Verify your email"
|
|
33
|
-
}
|
|
34
|
-
};
|
package/dist/localization.d.ts
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
export declare const localization: {
|
|
2
|
-
auth: {
|
|
3
|
-
/** @remarks `"Account"` */
|
|
4
|
-
account: string;
|
|
5
|
-
/** @remarks `"Add Account"` */
|
|
6
|
-
addAccount: string;
|
|
7
|
-
/** @remarks `"Already have an account?"` */
|
|
8
|
-
alreadyHaveAnAccount: string;
|
|
9
|
-
/** @remarks `"Confirm Password"` */
|
|
10
|
-
confirmPassword: string;
|
|
11
|
-
/** @remarks `"Confirm your password"` */
|
|
12
|
-
confirmPasswordPlaceholder: string;
|
|
13
|
-
/** @remarks `"Continue with {{provider}}"` */
|
|
14
|
-
continueWith: string;
|
|
15
|
-
/** @remarks `"Email"` */
|
|
16
|
-
email: string;
|
|
17
|
-
/** @remarks `"Enter your email"` */
|
|
18
|
-
emailPlaceholder: string;
|
|
19
|
-
/** @remarks `"Forgot Password"` */
|
|
20
|
-
forgotPassword: string;
|
|
21
|
-
/** @remarks `"Forgot password?"` */
|
|
22
|
-
forgotPasswordLink: string;
|
|
23
|
-
/** @remarks `"Hide password"` */
|
|
24
|
-
hidePassword: string;
|
|
25
|
-
/** @remarks `"Invalid reset password token"` */
|
|
26
|
-
invalidResetPasswordToken: string;
|
|
27
|
-
/** @remarks `"Magic Link"` */
|
|
28
|
-
magicLink: string;
|
|
29
|
-
/** @remarks `"Magic link sent to your email"` */
|
|
30
|
-
magicLinkSent: string;
|
|
31
|
-
/** @remarks `"Name"` */
|
|
32
|
-
name: string;
|
|
33
|
-
/** @remarks `"Enter your name"` */
|
|
34
|
-
namePlaceholder: string;
|
|
35
|
-
/** @remarks `"Need to create an account?"` */
|
|
36
|
-
needToCreateAnAccount: string;
|
|
37
|
-
/** @remarks `"New Password"` */
|
|
38
|
-
newPassword: string;
|
|
39
|
-
/** @remarks `"Enter your new password"` */
|
|
40
|
-
newPasswordPlaceholder: string;
|
|
41
|
-
/** @remarks `"OR"` */
|
|
42
|
-
or: string;
|
|
43
|
-
/** @remarks `"Password"` */
|
|
44
|
-
password: string;
|
|
45
|
-
/** @remarks `"Enter your password"` */
|
|
46
|
-
passwordPlaceholder: string;
|
|
47
|
-
/** @remarks `"Password reset email sent"` */
|
|
48
|
-
passwordResetEmailSent: string;
|
|
49
|
-
/** @remarks `"Password reset successfully"` */
|
|
50
|
-
passwordResetSuccess: string;
|
|
51
|
-
/** @remarks `"Passwords do not match"` */
|
|
52
|
-
passwordsDoNotMatch: string;
|
|
53
|
-
/** @remarks `"Remember me"` */
|
|
54
|
-
rememberMe: string;
|
|
55
|
-
/** @remarks `"Remember your password?"` */
|
|
56
|
-
rememberYourPassword: string;
|
|
57
|
-
/** @remarks `"Resend"` */
|
|
58
|
-
resend: string;
|
|
59
|
-
/** @remarks `"Reset Password"` */
|
|
60
|
-
resetPassword: string;
|
|
61
|
-
/** @remarks `"Send Magic Link"` */
|
|
62
|
-
sendMagicLink: string;
|
|
63
|
-
/** @remarks `"Send Reset Link"` */
|
|
64
|
-
sendResetLink: string;
|
|
65
|
-
/** @remarks `"Show password"` */
|
|
66
|
-
showPassword: string;
|
|
67
|
-
/** @remarks `"Sign In"` */
|
|
68
|
-
signIn: string;
|
|
69
|
-
/** @remarks `"Sign Out"` */
|
|
70
|
-
signOut: string;
|
|
71
|
-
/** @remarks `"Sign Up"` */
|
|
72
|
-
signUp: string;
|
|
73
|
-
/** @remarks `"Switch Account"` */
|
|
74
|
-
switchAccount: string;
|
|
75
|
-
/** @remarks `"Verification email sent!"` */
|
|
76
|
-
verificationEmailSent: string;
|
|
77
|
-
/** @remarks `"Verify your email"` */
|
|
78
|
-
verifyYourEmail: string;
|
|
79
|
-
};
|
|
80
|
-
settings: {
|
|
81
|
-
/** @remarks `"Account"` */
|
|
82
|
-
account: string;
|
|
83
|
-
/** @remarks `"Account unlinked"` */
|
|
84
|
-
accountUnlinked: string;
|
|
85
|
-
/** @remarks `"Active"` */
|
|
86
|
-
active: string;
|
|
87
|
-
/** @remarks `"Active sessions"` */
|
|
88
|
-
activeSessions: string;
|
|
89
|
-
/** @remarks `"Avatar"` */
|
|
90
|
-
avatar: string;
|
|
91
|
-
/** @remarks `"Current Session"` */
|
|
92
|
-
currentSession: string;
|
|
93
|
-
/** @remarks `"Avatar changed successfully"` */
|
|
94
|
-
avatarChangedSuccess: string;
|
|
95
|
-
/** @remarks `"Avatar deleted successfully"` */
|
|
96
|
-
avatarDeletedSuccess: string;
|
|
97
|
-
/** @remarks `"Change avatar"` */
|
|
98
|
-
changeAvatar: string;
|
|
99
|
-
/** @remarks `"Delete avatar"` */
|
|
100
|
-
deleteAvatar: string;
|
|
101
|
-
/** @remarks `"Link"` */
|
|
102
|
-
link: string;
|
|
103
|
-
/** @remarks `"Linked accounts"` */
|
|
104
|
-
linkedAccounts: string;
|
|
105
|
-
/** @remarks `"Link your {{provider}} account"` */
|
|
106
|
-
linkProvider: string;
|
|
107
|
-
/** @remarks `"Appearance"` */
|
|
108
|
-
appearance: string;
|
|
109
|
-
/** @remarks `"Change email"` */
|
|
110
|
-
changeEmail: string;
|
|
111
|
-
/** @remarks `"Check your email to confirm the change"` */
|
|
112
|
-
changeEmailSuccess: string;
|
|
113
|
-
/** @remarks `"Change password"` */
|
|
114
|
-
changePassword: string;
|
|
115
|
-
/** @remarks `"Password changed successfully"` */
|
|
116
|
-
changePasswordSuccess: string;
|
|
117
|
-
/** @remarks `"Current Password"` */
|
|
118
|
-
currentPassword: string;
|
|
119
|
-
/** @remarks `"Enter your current password"` */
|
|
120
|
-
currentPasswordPlaceholder: string;
|
|
121
|
-
/** @remarks `"Dark"` */
|
|
122
|
-
dark: string;
|
|
123
|
-
/** @remarks `"Light"` */
|
|
124
|
-
light: string;
|
|
125
|
-
/** @remarks `"Manage accounts"` */
|
|
126
|
-
manageAccounts: string;
|
|
127
|
-
/** @remarks `"Profile"` */
|
|
128
|
-
profile: string;
|
|
129
|
-
/** @remarks `"Profile updated successfully"` */
|
|
130
|
-
profileUpdatedSuccess: string;
|
|
131
|
-
/** @remarks `"Revoke"` */
|
|
132
|
-
revoke: string;
|
|
133
|
-
/** @remarks `"Revoke Session"` */
|
|
134
|
-
revokeSession: string;
|
|
135
|
-
/** @remarks `"Session revoked successfully"` */
|
|
136
|
-
revokeSessionSuccess: string;
|
|
137
|
-
/** @remarks `"Save changes"` */
|
|
138
|
-
saveChanges: string;
|
|
139
|
-
/** @remarks `"Security"` */
|
|
140
|
-
security: string;
|
|
141
|
-
/** @remarks `"Settings"` */
|
|
142
|
-
settings: string;
|
|
143
|
-
/** @remarks `"System"` */
|
|
144
|
-
system: string;
|
|
145
|
-
/** @remarks `"Theme"` */
|
|
146
|
-
theme: string;
|
|
147
|
-
/** @remarks `"Unlink {{provider}}"` */
|
|
148
|
-
unlinkProvider: string;
|
|
149
|
-
/** @remarks `"Update email"` */
|
|
150
|
-
updateEmail: string;
|
|
151
|
-
/** @remarks `"Update password"` */
|
|
152
|
-
updatePassword: string;
|
|
153
|
-
/** @remarks `"Upload avatar"` */
|
|
154
|
-
uploadAvatar: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
export type Localization = typeof localization;
|
|
158
|
-
export type AuthLocalization = Localization["auth"];
|
|
159
|
-
export type SettingsLocalization = Localization["settings"];
|