@contember/create 2.1.0-rc.3 → 2.2.0-alpha.10
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/CLAUDE.md +22 -0
- package/dist/development/run.cjs +7 -7
- package/dist/development/run.cjs.map +1 -1
- package/dist/development/run.js +8 -8
- package/dist/development/run.js.map +1 -1
- package/dist/development/src/commands/WorkspaceCreateCommand.cjs +28 -14
- package/dist/development/src/commands/WorkspaceCreateCommand.cjs.map +1 -1
- package/dist/development/src/commands/WorkspaceCreateCommand.js +28 -14
- package/dist/development/src/commands/WorkspaceCreateCommand.js.map +1 -1
- package/dist/development/src/lib/FileSystem.cjs +1 -2
- package/dist/development/src/lib/FileSystem.cjs.map +1 -1
- package/dist/development/src/lib/FileSystem.js +1 -2
- package/dist/development/src/lib/FileSystem.js.map +1 -1
- package/dist/development/src/lib/TemplateInstaller.cjs +79 -67
- package/dist/development/src/lib/TemplateInstaller.cjs.map +1 -1
- package/dist/development/src/lib/TemplateInstaller.js +72 -60
- package/dist/development/src/lib/TemplateInstaller.js.map +1 -1
- package/dist/development/src/lib/packageManagerDetector.cjs +6 -6
- package/dist/development/src/lib/packageManagerDetector.cjs.map +1 -1
- package/dist/development/src/lib/version.cjs +2 -2
- package/dist/development/src/lib/version.cjs.map +1 -1
- package/dist/development/src/lib/version.js.map +1 -1
- package/dist/development/src/paths.cjs +3 -3
- package/dist/development/src/paths.cjs.map +1 -1
- package/dist/production/run.cjs +7 -7
- package/dist/production/run.cjs.map +1 -1
- package/dist/production/run.js +8 -8
- package/dist/production/run.js.map +1 -1
- package/dist/production/src/commands/WorkspaceCreateCommand.cjs +28 -14
- package/dist/production/src/commands/WorkspaceCreateCommand.cjs.map +1 -1
- package/dist/production/src/commands/WorkspaceCreateCommand.js +28 -14
- package/dist/production/src/commands/WorkspaceCreateCommand.js.map +1 -1
- package/dist/production/src/lib/FileSystem.cjs +1 -2
- package/dist/production/src/lib/FileSystem.cjs.map +1 -1
- package/dist/production/src/lib/FileSystem.js +1 -2
- package/dist/production/src/lib/FileSystem.js.map +1 -1
- package/dist/production/src/lib/TemplateInstaller.cjs +79 -67
- package/dist/production/src/lib/TemplateInstaller.cjs.map +1 -1
- package/dist/production/src/lib/TemplateInstaller.js +72 -60
- package/dist/production/src/lib/TemplateInstaller.js.map +1 -1
- package/dist/production/src/lib/packageManagerDetector.cjs +6 -6
- package/dist/production/src/lib/packageManagerDetector.cjs.map +1 -1
- package/dist/production/src/lib/version.cjs +2 -2
- package/dist/production/src/lib/version.cjs.map +1 -1
- package/dist/production/src/lib/version.js.map +1 -1
- package/dist/production/src/paths.cjs +3 -3
- package/dist/production/src/paths.cjs.map +1 -1
- package/dist/types/commands/WorkspaceCreateCommand.d.ts +16 -4
- package/dist/types/commands/WorkspaceCreateCommand.d.ts.map +1 -1
- package/dist/types/commands/index.d.ts +1 -1
- package/dist/types/commands/index.d.ts.map +1 -1
- package/dist/types/lib/FileSystem.d.ts +3 -2
- package/dist/types/lib/FileSystem.d.ts.map +1 -1
- package/dist/types/lib/TemplateInstaller.d.ts +10 -2
- package/dist/types/lib/TemplateInstaller.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -4
- package/resources/templates/default/README.md +3 -1
- package/resources/templates/default/admin/app/components/navigation.tsx +95 -8
- package/resources/templates/default/admin/app/pages/tenant.tsx +328 -77
- package/resources/templates/default/admin/entrypoint/components/login.tsx +1 -1
- package/resources/templates/default/admin/entrypoint/pages/magicLink.tsx +1 -1
- package/resources/templates/default/admin/entrypoint/pages/magicLinkSent.tsx +1 -1
- package/resources/templates/default/admin/entrypoint/pages/passwordReset.tsx +1 -1
- package/resources/templates/default/admin/entrypoint/pages/resetRequest.tsx +1 -1
- package/resources/templates/default/admin/entrypoint/pages/resetRequestSuccess.tsx +1 -1
- package/resources/templates/default/admin/lib/binding/binding.tsx +19 -4
- package/resources/templates/default/admin/lib/binding/delete.tsx +37 -3
- package/resources/templates/default/admin/lib/binding/hooks.tsx +65 -3
- package/resources/templates/default/admin/lib/binding/identity.tsx +17 -4
- package/resources/templates/default/admin/lib/binding/index.ts +5 -5
- package/resources/templates/default/admin/lib/binding/navigation-guard-dialog.tsx +15 -3
- package/resources/templates/default/admin/lib/binding/persist.tsx +27 -5
- package/resources/templates/default/admin/lib/block-repeater/block-repeater.tsx +15 -11
- package/resources/templates/default/admin/lib/block-repeater/index.ts +1 -1
- package/resources/templates/default/admin/lib/board/board.tsx +2 -2
- package/resources/templates/default/admin/lib/board/index.ts +1 -1
- package/resources/templates/default/admin/lib/buttons/back-button.tsx +22 -2
- package/resources/templates/default/admin/lib/buttons/index.ts +2 -2
- package/resources/templates/default/admin/lib/buttons/link-back-button.tsx +11 -2
- package/resources/templates/default/admin/lib/datagrid/cells.tsx +3 -3
- package/resources/templates/default/admin/lib/datagrid/column-header.tsx +4 -4
- package/resources/templates/default/admin/lib/datagrid/columns.tsx +28 -14
- package/resources/templates/default/admin/lib/datagrid/elements.tsx +2 -2
- package/resources/templates/default/admin/lib/datagrid/empty.tsx +1 -1
- package/resources/templates/default/admin/lib/datagrid/export.tsx +2 -2
- package/resources/templates/default/admin/lib/datagrid/filters/boolean.tsx +13 -13
- package/resources/templates/default/admin/lib/datagrid/filters/common.tsx +2 -2
- package/resources/templates/default/admin/lib/datagrid/filters/date.tsx +37 -16
- package/resources/templates/default/admin/lib/datagrid/filters/defined.tsx +13 -12
- package/resources/templates/default/admin/lib/datagrid/filters/enum.tsx +56 -22
- package/resources/templates/default/admin/lib/datagrid/filters/index.ts +7 -7
- package/resources/templates/default/admin/lib/datagrid/filters/mobile.tsx +18 -0
- package/resources/templates/default/admin/lib/datagrid/filters/number.tsx +10 -13
- package/resources/templates/default/admin/lib/datagrid/filters/relation.tsx +8 -8
- package/resources/templates/default/admin/lib/datagrid/filters/text.tsx +9 -9
- package/resources/templates/default/admin/lib/datagrid/grid.tsx +31 -23
- package/resources/templates/default/admin/lib/datagrid/index.ts +12 -12
- package/resources/templates/default/admin/lib/datagrid/labels.tsx +22 -4
- package/resources/templates/default/admin/lib/datagrid/layout-switcher.tsx +10 -4
- package/resources/templates/default/admin/lib/datagrid/loader.tsx +4 -4
- package/resources/templates/default/admin/lib/datagrid/pagination.tsx +16 -6
- package/resources/templates/default/admin/lib/datagrid/table.tsx +8 -6
- package/resources/templates/default/admin/lib/datagrid/tiles.tsx +6 -5
- package/resources/templates/default/admin/lib/datagrid/toolbar.tsx +15 -19
- package/resources/templates/default/admin/lib/datagrid/ui.tsx +3 -3
- package/resources/templates/default/admin/lib/dev/index.ts +2 -2
- package/resources/templates/default/admin/lib/dev/login-panel.tsx +12 -3
- package/resources/templates/default/admin/lib/dev/todo.tsx +12 -0
- package/resources/templates/default/admin/lib/dict.ts +0 -261
- package/resources/templates/default/admin/lib/dimensions/dimensions.tsx +85 -4
- package/resources/templates/default/admin/lib/dimensions/index.ts +1 -1
- package/resources/templates/default/admin/lib/editor/block-editor.tsx +72 -3
- package/resources/templates/default/admin/lib/editor/common/baseEditorPlugins.tsx +54 -11
- package/resources/templates/default/admin/lib/editor/common/buttons.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/editor-block-toolbar.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/elements/HeadingRenderer.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/elements/HorizontalRuleRenderer.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/elements/ListItemRenderer.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/elements/OrderedListRenderer.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/elements/TableElementRenderer.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/elements/UnorderedListRenderer.tsx +1 -1
- package/resources/templates/default/admin/lib/editor/common/index.ts +6 -6
- package/resources/templates/default/admin/lib/editor/editor-block.tsx +54 -3
- package/resources/templates/default/admin/lib/editor/index.ts +6 -6
- package/resources/templates/default/admin/lib/editor/plugins.tsx +46 -2
- package/resources/templates/default/admin/lib/editor/rich-text-view.tsx +44 -0
- package/resources/templates/default/admin/lib/editor/rich-text.tsx +31 -3
- package/resources/templates/default/admin/lib/editor/sortable-block.tsx +34 -2
- package/resources/templates/default/admin/lib/errors/index.ts +1 -1
- package/resources/templates/default/admin/lib/errors/use-error-formatter.ts +22 -1
- package/resources/templates/default/admin/lib/field/formatted-field.tsx +16 -1
- package/resources/templates/default/admin/lib/field/index.ts +2 -1
- package/resources/templates/default/admin/lib/field/list-field.tsx +56 -0
- package/resources/templates/default/admin/lib/form/container.tsx +33 -3
- package/resources/templates/default/admin/lib/form/index.ts +6 -5
- package/resources/templates/default/admin/lib/form/inputs.tsx +105 -6
- package/resources/templates/default/admin/lib/form/labels.tsx +1 -1
- package/resources/templates/default/admin/lib/form/select.tsx +162 -5
- package/resources/templates/default/admin/lib/form/ui.tsx +2 -2
- package/resources/templates/default/admin/lib/form/upload-repeaters.tsx +159 -5
- package/resources/templates/default/admin/lib/form/upload.tsx +116 -3
- package/resources/templates/default/admin/lib/formatting/formatting.ts +106 -1
- package/resources/templates/default/admin/lib/formatting/index.ts +1 -1
- package/resources/templates/default/admin/lib/images/formatImageResizeUrl.ts +19 -0
- package/resources/templates/default/admin/lib/images/index.ts +1 -1
- package/resources/templates/default/admin/lib/index.ts +54 -0
- package/resources/templates/default/admin/lib/labels/index.ts +2 -2
- package/resources/templates/default/admin/lib/layout/index.ts +3 -3
- package/resources/templates/default/admin/lib/layout/layout-boxed.tsx +5 -5
- package/resources/templates/default/admin/lib/layout/layout.tsx +3 -3
- package/resources/templates/default/admin/lib/outdated-application-dialog/index.ts +1 -1
- package/resources/templates/default/admin/lib/outdated-application-dialog/outdated-application-dialog.tsx +2 -2
- package/resources/templates/default/admin/lib/repeater/index.ts +1 -1
- package/resources/templates/default/admin/lib/repeater/repeater.tsx +26 -9
- package/resources/templates/default/admin/lib/select/create-new.tsx +19 -3
- package/resources/templates/default/admin/lib/select/filter.tsx +8 -2
- package/resources/templates/default/admin/lib/select/highlight.tsx +16 -0
- package/resources/templates/default/admin/lib/select/index.ts +6 -6
- package/resources/templates/default/admin/lib/select/list.tsx +30 -6
- package/resources/templates/default/admin/lib/select/multi-select.tsx +41 -4
- package/resources/templates/default/admin/lib/select/select.tsx +44 -6
- package/resources/templates/default/admin/lib/select/sortable-select.tsx +15 -6
- package/resources/templates/default/admin/lib/select/ui.tsx +100 -4
- package/resources/templates/default/admin/lib/tenant/config/auth-policy-list.tsx +86 -0
- package/resources/templates/default/admin/lib/tenant/config/common.tsx +71 -0
- package/resources/templates/default/admin/lib/tenant/config/identity-provider-list.tsx +113 -0
- package/resources/templates/default/admin/lib/tenant/config/index.ts +5 -0
- package/resources/templates/default/admin/lib/tenant/config/mail-template-list.tsx +108 -0
- package/resources/templates/default/admin/lib/tenant/config/tenant-config-view.tsx +182 -0
- package/resources/templates/default/admin/lib/tenant/dict.ts +770 -0
- package/resources/templates/default/admin/lib/tenant/errors.ts +10 -0
- package/resources/templates/default/admin/lib/tenant/forms/add-project-member.tsx +57 -0
- package/resources/templates/default/admin/lib/tenant/forms/change-my-password.tsx +4 -4
- package/resources/templates/default/admin/lib/tenant/forms/change-my-profile.tsx +40 -0
- package/resources/templates/default/admin/lib/tenant/forms/change-profile.tsx +55 -0
- package/resources/templates/default/admin/lib/tenant/forms/common.tsx +12 -5
- package/resources/templates/default/admin/lib/tenant/forms/confirm-email-change.tsx +38 -0
- package/resources/templates/default/admin/lib/tenant/forms/create-api-key.tsx +5 -5
- package/resources/templates/default/admin/lib/tenant/forms/create-global-api-key.tsx +69 -0
- package/resources/templates/default/admin/lib/tenant/forms/global-roles-control.tsx +113 -0
- package/resources/templates/default/admin/lib/tenant/forms/index.ts +23 -8
- package/resources/templates/default/admin/lib/tenant/forms/invite.tsx +46 -8
- package/resources/templates/default/admin/lib/tenant/forms/login.tsx +8 -14
- package/resources/templates/default/admin/lib/tenant/forms/memberships-control.tsx +7 -5
- package/resources/templates/default/admin/lib/tenant/forms/mfa-code-fields.tsx +81 -0
- package/resources/templates/default/admin/lib/tenant/forms/password-reset-request.tsx +4 -4
- package/resources/templates/default/admin/lib/tenant/forms/password-reset.tsx +4 -4
- package/resources/templates/default/admin/lib/tenant/forms/passwordless-signin-init.tsx +4 -4
- package/resources/templates/default/admin/lib/tenant/forms/passwordless-signin.tsx +8 -14
- package/resources/templates/default/admin/lib/tenant/forms/request-email-verification.tsx +35 -0
- package/resources/templates/default/admin/lib/tenant/forms/set-person-password.tsx +58 -0
- package/resources/templates/default/admin/lib/tenant/forms/set-project-secret.tsx +59 -0
- package/resources/templates/default/admin/lib/tenant/forms/sign-up.tsx +73 -0
- package/resources/templates/default/admin/lib/tenant/forms/update-project-member.tsx +14 -5
- package/resources/templates/default/admin/lib/tenant/forms/verify-email.tsx +38 -0
- package/resources/templates/default/admin/lib/tenant/hooks/index.ts +2 -0
- package/resources/templates/default/admin/lib/tenant/hooks/useInvite.ts +41 -0
- package/resources/templates/default/admin/lib/tenant/hooks/useInviteUser.tsx +32 -3
- package/resources/templates/default/admin/lib/tenant/idp/identity-provider-connections.tsx +124 -0
- package/resources/templates/default/admin/lib/tenant/idp/index.ts +1 -0
- package/resources/templates/default/admin/lib/tenant/index.ts +10 -3
- package/resources/templates/default/admin/lib/tenant/listing/api-key-list.tsx +161 -23
- package/resources/templates/default/admin/lib/tenant/listing/auth-log-list.tsx +179 -0
- package/resources/templates/default/admin/lib/tenant/listing/global-api-key-list.tsx +149 -0
- package/resources/templates/default/admin/lib/tenant/listing/index.ts +11 -4
- package/resources/templates/default/admin/lib/tenant/listing/member-delete-dialog.tsx +4 -4
- package/resources/templates/default/admin/lib/tenant/listing/member-list.tsx +28 -19
- package/resources/templates/default/admin/lib/tenant/listing/mfa.tsx +29 -0
- package/resources/templates/default/admin/lib/tenant/listing/person-actions.tsx +179 -0
- package/resources/templates/default/admin/lib/tenant/listing/person-detail.tsx +141 -0
- package/resources/templates/default/admin/lib/tenant/listing/person-list.tsx +17 -6
- package/resources/templates/default/admin/lib/tenant/listing/persons-list.tsx +128 -0
- package/resources/templates/default/admin/lib/tenant/listing/project-secret-list.tsx +82 -0
- package/resources/templates/default/admin/lib/tenant/otp/backup-codes.tsx +81 -0
- package/resources/templates/default/admin/lib/tenant/otp/email-otp-setup.tsx +133 -0
- package/resources/templates/default/admin/lib/tenant/otp/index.ts +3 -1
- package/resources/templates/default/admin/lib/tenant/otp/otp-setup.tsx +6 -6
- package/resources/templates/default/admin/lib/tenant/security/index.ts +2 -0
- package/resources/templates/default/admin/lib/tenant/security/passwordless-toggle.tsx +63 -0
- package/resources/templates/default/admin/lib/tenant/security/session-list.tsx +143 -0
- package/resources/templates/default/admin/lib/toast/index.ts +2 -2
- package/resources/templates/default/admin/lib/toast/toast.tsx +3 -3
- package/resources/templates/default/admin/lib/ui/alert-dialog.tsx +114 -3
- package/resources/templates/default/admin/lib/ui/avatar.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/button.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/card.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/collapsible.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/dialog.tsx +2 -2
- package/resources/templates/default/admin/lib/ui/dimension.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/divider.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/dropdown.tsx +3 -3
- package/resources/templates/default/admin/lib/ui/input.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/label.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/loader.tsx +2 -2
- package/resources/templates/default/admin/lib/ui/menu.tsx +2 -2
- package/resources/templates/default/admin/lib/ui/overlay.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/popover.tsx +2 -2
- package/resources/templates/default/admin/lib/ui/progress.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/property-list.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/scroll-area.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/select.tsx +44 -2
- package/resources/templates/default/admin/lib/ui/separator.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/sheet.tsx +2 -2
- package/resources/templates/default/admin/lib/ui/sidebar.tsx +8 -8
- package/resources/templates/default/admin/lib/ui/skeleton.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/sortable.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/switch.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/table.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/textarea.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/toggle-group.tsx +2 -2
- package/resources/templates/default/admin/lib/ui/toggle.tsx +1 -1
- package/resources/templates/default/admin/lib/ui/tooltip.tsx +2 -2
- package/resources/templates/default/admin/lib/upload/dropzone.tsx +20 -3
- package/resources/templates/default/admin/lib/upload/index.ts +3 -3
- package/resources/templates/default/admin/lib/upload/repeater.tsx +5 -1
- package/resources/templates/default/admin/lib/upload/ui.tsx +2 -2
- package/resources/templates/default/admin/lib/upload/upload-progress.tsx +6 -6
- package/resources/templates/default/admin/lib/upload/view.tsx +4 -4
- package/resources/templates/default/admin/lib/utils/cn.ts +18 -0
- package/resources/templates/default/admin/lib/utils/createComponentOpenHooks.tsx +33 -0
- package/resources/templates/default/admin/lib/utils/index.ts +2 -2
- package/resources/templates/default/admin/lib/utils/uic.tsx +59 -0
- package/resources/templates/default/admin/lib/utils/use-mobile.ts +19 -0
- package/resources/templates/default/admin/package.json +1 -0
- package/resources/templates/default/docker/object-storage/README.md +13 -0
- package/resources/templates/default/docker/object-storage/identities.json +13 -0
- package/resources/templates/default/docker-compose.yaml +29 -7
- package/resources/templates/default/scripts/assemble-ui-lib.mjs +132 -0
- package/resources/templates/default/scripts/update-ui-lib.sh +101 -185
- package/src/commands/WorkspaceCreateCommand.ts +45 -17
- package/src/commands/index.ts +1 -1
- package/src/lib/FileSystem.ts +2 -2
- package/src/lib/TemplateInstaller.ts +87 -69
- package/src/lib/version.ts +1 -1
- package/src/run.ts +11 -10
- package/tests/cases/unit/create-process.test.ts +66 -0
- package/tests/cases/unit/template-installer-cleanup.test.ts +150 -0
- package/tests/cases/unit/workspace-create.test.ts +81 -0
|
@@ -0,0 +1,770 @@
|
|
|
1
|
+
import { InviteErrorCodes } from './hooks/useInvite.js'
|
|
2
|
+
import {
|
|
3
|
+
AddProjectMemberFormErrorCode,
|
|
4
|
+
ChangeMyPasswordFormErrorCode,
|
|
5
|
+
ChangeMyProfileFormErrorCode,
|
|
6
|
+
ChangePasswordFormErrorCode,
|
|
7
|
+
ChangeProfileFormErrorCode,
|
|
8
|
+
CreateApiKeyFormErrorCode,
|
|
9
|
+
CreateGlobalApiKeyFormErrorCode,
|
|
10
|
+
SetProjectSecretFormErrorCode,
|
|
11
|
+
} from '@contember/interface'
|
|
12
|
+
import {
|
|
13
|
+
ConfirmEmailChangeFormErrorCode,
|
|
14
|
+
EmailOtpConfirmFormErrorCode,
|
|
15
|
+
InviteFormErrorCode,
|
|
16
|
+
LoginFormErrorCode,
|
|
17
|
+
OtpConfirmFormErrorCode,
|
|
18
|
+
OtpPrepareFormErrorCode,
|
|
19
|
+
PasswordlessSignInFormErrorCode,
|
|
20
|
+
PasswordlessSignInInitFormErrorCode,
|
|
21
|
+
PasswordResetFormErrorCode,
|
|
22
|
+
PasswordResetRequestFormErrorCode,
|
|
23
|
+
RequestEmailVerificationFormErrorCode,
|
|
24
|
+
SignUpFormErrorCode,
|
|
25
|
+
UpdateProjectMemberFormErrorCode,
|
|
26
|
+
VerifyEmailFormErrorCode,
|
|
27
|
+
} from '@contember/react-identity'
|
|
28
|
+
import {
|
|
29
|
+
ActivatePasswordlessOtpErrorCode,
|
|
30
|
+
AddGlobalIdentityRolesErrorCode,
|
|
31
|
+
DisconnectIDPErrorCode,
|
|
32
|
+
RemoveGlobalIdentityRolesErrorCode,
|
|
33
|
+
} from '@contember/graphql-client-tenant'
|
|
34
|
+
import { FormErrorCode } from '@contember/react-client-tenant'
|
|
35
|
+
|
|
36
|
+
export const dict = {
|
|
37
|
+
inviteErrors: {
|
|
38
|
+
ALREADY_MEMBER: 'This user is already a member of the project',
|
|
39
|
+
INVALID_EMAIL_FORMAT: 'Invalid email format',
|
|
40
|
+
INVALID_MEMBERSHIP: 'Invalid membership',
|
|
41
|
+
PROJECT_NOT_FOUND: 'Project not found',
|
|
42
|
+
ROLE_NOT_FOUND: 'Role not found',
|
|
43
|
+
VARIABLE_EMPTY: 'Variable is empty',
|
|
44
|
+
VARIABLE_NOT_FOUND: 'Variable not found',
|
|
45
|
+
fallback: 'Failed to invite user',
|
|
46
|
+
} satisfies Record<InviteErrorCodes | 'fallback', string>,
|
|
47
|
+
tenant: {
|
|
48
|
+
/** Fallback for the codes any form or action can raise; a per-form `errorMessages` entry still wins. */
|
|
49
|
+
commonErrorMessages: {
|
|
50
|
+
UNKNOWN_ERROR: 'Something went wrong. Please try again later',
|
|
51
|
+
FORBIDDEN: 'You do not have permission to do this',
|
|
52
|
+
} satisfies Record<FormErrorCode, string>,
|
|
53
|
+
memberList: {
|
|
54
|
+
failedToLoadData: 'Failed to load data',
|
|
55
|
+
noResults: 'No results',
|
|
56
|
+
previous: 'Previous',
|
|
57
|
+
next: 'Next',
|
|
58
|
+
roles: 'Roles',
|
|
59
|
+
action: 'Action',
|
|
60
|
+
},
|
|
61
|
+
apiKeyList: {
|
|
62
|
+
deleted: 'API key deleted',
|
|
63
|
+
deleteFailed: 'Failed to delete API key',
|
|
64
|
+
unnamed: 'Unnamed API key',
|
|
65
|
+
noResults: 'No API keys',
|
|
66
|
+
description: 'Description',
|
|
67
|
+
role: 'Role',
|
|
68
|
+
action: 'Action',
|
|
69
|
+
deleteConfirmation: 'Are you sure you want to delete this API key?',
|
|
70
|
+
deleteCancelAction: 'Cancel',
|
|
71
|
+
deleteConfirmAction: 'Delete',
|
|
72
|
+
type: 'Type',
|
|
73
|
+
roles: 'Roles',
|
|
74
|
+
status: 'Status',
|
|
75
|
+
created: 'Created',
|
|
76
|
+
lastUsed: 'Last used',
|
|
77
|
+
expires: 'Expires',
|
|
78
|
+
enabled: 'Enabled',
|
|
79
|
+
disabled: 'Disabled',
|
|
80
|
+
noRoles: 'None',
|
|
81
|
+
never: 'Never',
|
|
82
|
+
unknownType: 'Unknown',
|
|
83
|
+
failedToLoadData: 'Failed to load data',
|
|
84
|
+
disableConfirmation: 'Are you sure you want to disable this API key?',
|
|
85
|
+
disableSuccess: 'API key disabled',
|
|
86
|
+
disableFailed: 'Failed to disable API key',
|
|
87
|
+
cancel: 'Cancel',
|
|
88
|
+
disable: 'Disable',
|
|
89
|
+
},
|
|
90
|
+
createApiKey: {
|
|
91
|
+
description: 'Description',
|
|
92
|
+
roles: 'Roles',
|
|
93
|
+
submit: 'Create API key',
|
|
94
|
+
errorMessages: {
|
|
95
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
96
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
97
|
+
'INVALID_ROLE': 'Invalid role',
|
|
98
|
+
'INVALID_MEMBERSHIP': 'Invalid membership',
|
|
99
|
+
'PROJECT_NOT_FOUND': 'Project not found',
|
|
100
|
+
'ROLE_NOT_FOUND': 'Role not found',
|
|
101
|
+
'VARIABLE_EMPTY': 'Variable empty',
|
|
102
|
+
'VARIABLE_NOT_FOUND': 'Variable not found',
|
|
103
|
+
} satisfies Record<CreateApiKeyFormErrorCode, string>,
|
|
104
|
+
},
|
|
105
|
+
invite: {
|
|
106
|
+
email: 'Email',
|
|
107
|
+
name: 'Name',
|
|
108
|
+
roles: 'Roles',
|
|
109
|
+
submit: 'Invite',
|
|
110
|
+
submitUnmanaged: 'Create member',
|
|
111
|
+
addRole: 'Add new role',
|
|
112
|
+
unmanaged: 'Do not send an invitation e-mail',
|
|
113
|
+
unmanagedDescription: 'Creates the member directly. Leave the password empty to make them use a password reset.',
|
|
114
|
+
password: 'Password',
|
|
115
|
+
errorMessages: {
|
|
116
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
117
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
118
|
+
'ALREADY_MEMBER': 'This person is already a member',
|
|
119
|
+
'INVALID_EMAIL_FORMAT': 'Invalid email format',
|
|
120
|
+
'INVALID_MEMBERSHIP': 'Invalid membership',
|
|
121
|
+
'PROJECT_NOT_FOUND': 'Project not found',
|
|
122
|
+
'ROLE_NOT_FOUND': 'Role not found',
|
|
123
|
+
'VARIABLE_EMPTY': 'Variable empty',
|
|
124
|
+
'VARIABLE_NOT_FOUND': 'Variable not found',
|
|
125
|
+
} satisfies Record<InviteFormErrorCode, string>,
|
|
126
|
+
},
|
|
127
|
+
changePassword: {
|
|
128
|
+
currentPassword: 'Current password',
|
|
129
|
+
newPassword: 'New password',
|
|
130
|
+
confirmPassword: 'Confirm password',
|
|
131
|
+
submit: 'Change password',
|
|
132
|
+
errorMessages: {
|
|
133
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
134
|
+
'INVALID_VALUE': 'Invalid value',
|
|
135
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
136
|
+
'PASSWORD_MISMATCH': 'Passwords do not match',
|
|
137
|
+
'TOO_WEAK': 'Password is too weak',
|
|
138
|
+
'NO_PASSWORD_SET': 'Your account has no password set',
|
|
139
|
+
'INVALID_PASSWORD': 'Invalid password',
|
|
140
|
+
'NOT_A_PERSON': 'Invalid user',
|
|
141
|
+
} satisfies Record<ChangeMyPasswordFormErrorCode, string>,
|
|
142
|
+
},
|
|
143
|
+
login: {
|
|
144
|
+
email: 'Email',
|
|
145
|
+
password: 'Password',
|
|
146
|
+
mfa: {
|
|
147
|
+
otpToken: '2FA OTP token',
|
|
148
|
+
backupCode: 'Backup code',
|
|
149
|
+
useBackupCode: 'Lost your authenticator? Use a backup code.',
|
|
150
|
+
useOtpToken: 'Use your authenticator app instead.',
|
|
151
|
+
},
|
|
152
|
+
forgotPassword: 'Forgot password?',
|
|
153
|
+
login: 'Login',
|
|
154
|
+
errorMessages: {
|
|
155
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
156
|
+
'INVALID_VALUE': 'Invalid value',
|
|
157
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
158
|
+
'INVALID_PASSWORD': 'Invalid password',
|
|
159
|
+
'INVALID_OTP_TOKEN': 'Invalid OTP token',
|
|
160
|
+
'NO_PASSWORD_SET': 'No password set',
|
|
161
|
+
'PERSON_DISABLED': 'Person disabled',
|
|
162
|
+
'UNKNOWN_EMAIL': 'Unknown email',
|
|
163
|
+
'INVALID_CREDENTIALS': 'Invalid credentials',
|
|
164
|
+
'RATE_LIMIT_EXCEEDED': 'Too many failed attempts, please try again later',
|
|
165
|
+
'OTP_REQUIRED': undefined,
|
|
166
|
+
'MFA_ENROLLMENT_REQUIRED': 'Multi-factor authentication enrollment is required',
|
|
167
|
+
'EMAIL_NOT_VERIFIED': 'Your e-mail address has not been verified',
|
|
168
|
+
'IDP_REQUIRED': 'Please sign in with your identity provider',
|
|
169
|
+
} satisfies Record<LoginFormErrorCode, string | undefined>,
|
|
170
|
+
idpInitError: 'Failed to initialize IdP login:',
|
|
171
|
+
idpResponseError: 'Failed to process IdP response:',
|
|
172
|
+
title: 'Login',
|
|
173
|
+
description: 'Enter your email below to login to your account',
|
|
174
|
+
backToLogin: 'Back to login',
|
|
175
|
+
},
|
|
176
|
+
personList: {
|
|
177
|
+
email: 'Email',
|
|
178
|
+
name: 'Name',
|
|
179
|
+
deleted: 'Member deleted',
|
|
180
|
+
deleteFailed: 'Failed to delete member',
|
|
181
|
+
noEmail: 'User has no email',
|
|
182
|
+
noName: 'User has no name',
|
|
183
|
+
role: 'Role',
|
|
184
|
+
action: 'Action',
|
|
185
|
+
noResults: 'No members',
|
|
186
|
+
deleteConfirmation: 'Are you sure you want to delete this member?',
|
|
187
|
+
deleteCancelAction: 'Cancel',
|
|
188
|
+
deleteConfirmAction: 'Delete',
|
|
189
|
+
},
|
|
190
|
+
memberDelete: {
|
|
191
|
+
cancel: 'Cancel',
|
|
192
|
+
confirm: 'Confirm',
|
|
193
|
+
},
|
|
194
|
+
mfa: {
|
|
195
|
+
totp: 'TOTP',
|
|
196
|
+
email: 'Email OTP',
|
|
197
|
+
none: 'None',
|
|
198
|
+
},
|
|
199
|
+
personsList: {
|
|
200
|
+
email: 'Email',
|
|
201
|
+
name: 'Name',
|
|
202
|
+
roles: 'Roles',
|
|
203
|
+
mfa: '2FA',
|
|
204
|
+
noEmail: 'No email',
|
|
205
|
+
noName: 'No name',
|
|
206
|
+
noRoles: 'None',
|
|
207
|
+
noResults: 'No users',
|
|
208
|
+
failedToLoadData: 'Failed to load data',
|
|
209
|
+
filterEmailPlaceholder: 'Filter by email',
|
|
210
|
+
previous: 'Previous',
|
|
211
|
+
next: 'Next',
|
|
212
|
+
status: 'Status',
|
|
213
|
+
active: 'Active',
|
|
214
|
+
disabled: 'Disabled',
|
|
215
|
+
actions: 'Actions',
|
|
216
|
+
},
|
|
217
|
+
globalApiKeyList: {
|
|
218
|
+
description: 'Description',
|
|
219
|
+
type: 'Type',
|
|
220
|
+
status: 'Status',
|
|
221
|
+
roles: 'Roles',
|
|
222
|
+
created: 'Created',
|
|
223
|
+
lastUsed: 'Last used',
|
|
224
|
+
expires: 'Expires',
|
|
225
|
+
action: 'Action',
|
|
226
|
+
enabled: 'Enabled',
|
|
227
|
+
disabled: 'Disabled',
|
|
228
|
+
unnamed: 'Unnamed API key',
|
|
229
|
+
noRoles: 'None',
|
|
230
|
+
never: 'Never',
|
|
231
|
+
noResults: 'No API keys',
|
|
232
|
+
failedToLoadData: 'Failed to load data',
|
|
233
|
+
previous: 'Previous',
|
|
234
|
+
next: 'Next',
|
|
235
|
+
disableConfirmation: 'Are you sure you want to disable this API key?',
|
|
236
|
+
disableSuccess: 'API key disabled',
|
|
237
|
+
disableFailed: 'Failed to disable API key',
|
|
238
|
+
cancel: 'Cancel',
|
|
239
|
+
disable: 'Disable',
|
|
240
|
+
},
|
|
241
|
+
createGlobalApiKey: {
|
|
242
|
+
description: 'Description',
|
|
243
|
+
roles: 'Roles',
|
|
244
|
+
addRole: 'Add role',
|
|
245
|
+
removeRole: 'Remove role',
|
|
246
|
+
rolePlaceholder: 'Role name',
|
|
247
|
+
submit: 'Create API key',
|
|
248
|
+
errorMessages: {
|
|
249
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
250
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
251
|
+
'INVALID_ROLE': 'Invalid role',
|
|
252
|
+
'INVALID_MEMBERSHIP': 'Invalid membership',
|
|
253
|
+
'PROJECT_NOT_FOUND': 'Project not found',
|
|
254
|
+
'ROLE_NOT_FOUND': 'Role not found',
|
|
255
|
+
'VARIABLE_EMPTY': 'Variable empty',
|
|
256
|
+
'VARIABLE_NOT_FOUND': 'Variable not found',
|
|
257
|
+
} satisfies Record<CreateGlobalApiKeyFormErrorCode, string>,
|
|
258
|
+
},
|
|
259
|
+
projectSecretList: {
|
|
260
|
+
key: 'Key',
|
|
261
|
+
created: 'Created',
|
|
262
|
+
updated: 'Updated',
|
|
263
|
+
noResults: 'No secrets',
|
|
264
|
+
failedToLoadData: 'Failed to load data',
|
|
265
|
+
},
|
|
266
|
+
configView: {
|
|
267
|
+
failedToLoadData: 'Failed to load data',
|
|
268
|
+
forbidden: 'You do not have permission to view this.',
|
|
269
|
+
managedByCli: 'Read-only. Change this with',
|
|
270
|
+
managedByCliCommand: 'contember tenant:apply',
|
|
271
|
+
setting: 'Setting',
|
|
272
|
+
value: 'Value',
|
|
273
|
+
enabled: 'Enabled',
|
|
274
|
+
disabled: 'Disabled',
|
|
275
|
+
notSet: 'Not set',
|
|
276
|
+
/** An explicitly empty list — distinct from `notSet`, which is a value that was never configured. */
|
|
277
|
+
emptyList: 'None',
|
|
278
|
+
signup: 'Sign-up',
|
|
279
|
+
emailChange: 'E-mail change',
|
|
280
|
+
passwordless: 'Passwordless sign-in',
|
|
281
|
+
password: 'Password policy',
|
|
282
|
+
login: 'Login',
|
|
283
|
+
anomalyDetection: 'Anomaly detection',
|
|
284
|
+
captcha: 'Captcha',
|
|
285
|
+
rateLimits: 'Rate limits',
|
|
286
|
+
limit: 'Limit',
|
|
287
|
+
window: 'Window',
|
|
288
|
+
panelAccess: 'Management panel access',
|
|
289
|
+
},
|
|
290
|
+
authPolicyList: {
|
|
291
|
+
scope: 'Scope',
|
|
292
|
+
project: 'Project',
|
|
293
|
+
roles: 'Roles',
|
|
294
|
+
mfaRequired: 'MFA required',
|
|
295
|
+
tokenExpiration: 'Token expiration',
|
|
296
|
+
idleTimeout: 'Idle timeout',
|
|
297
|
+
mfaGraceDuration: 'MFA grace',
|
|
298
|
+
rememberMeAllowed: 'Remember me',
|
|
299
|
+
noResults: 'No auth policies configured — MFA enforcement is inert.',
|
|
300
|
+
failedToLoadData: 'Failed to load data',
|
|
301
|
+
forbidden: 'You do not have permission to view auth policies.',
|
|
302
|
+
aggregationNote: 'An identity is subject to every policy matching any of its roles; the strictest value wins.',
|
|
303
|
+
},
|
|
304
|
+
identityProviderList: {
|
|
305
|
+
slug: 'Slug',
|
|
306
|
+
type: 'Type',
|
|
307
|
+
status: 'Status',
|
|
308
|
+
configuration: 'Configuration',
|
|
309
|
+
showConfiguration: 'Show configuration',
|
|
310
|
+
hideConfiguration: 'Hide configuration',
|
|
311
|
+
autoSignUp: 'Auto sign-up',
|
|
312
|
+
exclusive: 'Exclusive',
|
|
313
|
+
noResults: 'No identity providers configured',
|
|
314
|
+
failedToLoadData: 'Failed to load data',
|
|
315
|
+
forbidden: 'You do not have permission to view identity providers.',
|
|
316
|
+
secretsNote: 'Secrets are stripped server-side for the built-in oidc, apple and facebook handlers.',
|
|
317
|
+
},
|
|
318
|
+
mailTemplateList: {
|
|
319
|
+
type: 'Type',
|
|
320
|
+
variant: 'Variant',
|
|
321
|
+
project: 'Project',
|
|
322
|
+
subject: 'Subject',
|
|
323
|
+
replyTo: 'Reply to',
|
|
324
|
+
useLayout: 'Layout',
|
|
325
|
+
showContent: 'Show content',
|
|
326
|
+
hideContent: 'Hide content',
|
|
327
|
+
noResults: 'No custom mail templates — the built-in defaults are in use.',
|
|
328
|
+
failedToLoadData: 'Failed to load data',
|
|
329
|
+
forbidden: 'You do not have permission to view mail templates.',
|
|
330
|
+
},
|
|
331
|
+
changeMyProfile: {
|
|
332
|
+
email: 'Email',
|
|
333
|
+
name: 'Name',
|
|
334
|
+
submit: 'Save changes',
|
|
335
|
+
errorMessages: {
|
|
336
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
337
|
+
'INVALID_VALUE': 'Invalid value',
|
|
338
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
339
|
+
'NOT_A_PERSON': 'Invalid user',
|
|
340
|
+
'INVALID_EMAIL_FORMAT': 'Invalid email format',
|
|
341
|
+
'EMAIL_ALREADY_EXISTS': 'This e-mail address is already in use',
|
|
342
|
+
'RATE_LIMIT_EXCEEDED': 'Too many requests, please try again later',
|
|
343
|
+
} satisfies Record<ChangeMyProfileFormErrorCode | 'UNKNOWN_ERROR', string>,
|
|
344
|
+
},
|
|
345
|
+
emailOtpSetup: {
|
|
346
|
+
description: 'Get a one-time code by e-mail every time you sign in — a lightweight alternative to an authenticator app.',
|
|
347
|
+
sendCode: 'Send code by e-mail',
|
|
348
|
+
codeSent: 'A code has been sent to your e-mail address.',
|
|
349
|
+
otpToken: 'E-mail code',
|
|
350
|
+
confirm: 'Confirm',
|
|
351
|
+
emailOtpConfirmFormErrorMessages: {
|
|
352
|
+
INVALID_OTP_TOKEN: 'Invalid code',
|
|
353
|
+
FIELD_REQUIRED: 'This field is required',
|
|
354
|
+
INVALID_VALUE: 'Invalid value',
|
|
355
|
+
UNKNOWN_ERROR: 'Something went wrong. Please try again later',
|
|
356
|
+
} satisfies Record<EmailOtpConfirmFormErrorCode, string>,
|
|
357
|
+
enabledSuccess: 'E-mail two-factor authentication was enabled.',
|
|
358
|
+
emailOtpEnabled: 'E-mail two-factor authentication is ENABLED.',
|
|
359
|
+
disableEmailOtp: 'Disable e-mail two-factor authentication',
|
|
360
|
+
disableEmailOtpConfirm: 'Are you sure you want to disable e-mail two-factor authentication?',
|
|
361
|
+
disable: 'Disable',
|
|
362
|
+
disabledSuccess: 'E-mail two-factor authentication was disabled.',
|
|
363
|
+
setupAgain: 'Send new code',
|
|
364
|
+
cancel: 'Cancel',
|
|
365
|
+
initFailed: 'Failed to send the code. Please try again later.',
|
|
366
|
+
disableFailed: 'Failed to disable e-mail two-factor authentication.',
|
|
367
|
+
},
|
|
368
|
+
backupCodes: {
|
|
369
|
+
description: 'Backup codes let you sign in if you lose access to your authenticator or e-mail codes.',
|
|
370
|
+
regenerate: 'Regenerate backup codes',
|
|
371
|
+
regenerateConfirm: 'Regenerating invalidates your existing backup codes. Are you sure you want to continue?',
|
|
372
|
+
regenerateSuccess: 'New backup codes were generated.',
|
|
373
|
+
regenerateFailed: 'Failed to generate new backup codes.',
|
|
374
|
+
cancel: 'Cancel',
|
|
375
|
+
noMfaActive: 'Backup codes are available once you enable two-factor authentication.',
|
|
376
|
+
writeDownNote: 'Write these down and keep them somewhere safe. Each code works once.',
|
|
377
|
+
},
|
|
378
|
+
passwordlessToggle: {
|
|
379
|
+
descriptionEnabled: 'Passwordless sign-in is ENABLED. You can sign in with a magic link sent to your e-mail, without a password.',
|
|
380
|
+
descriptionDisabled: 'Enable passwordless sign-in to sign in with a magic link sent to your e-mail, without a password.',
|
|
381
|
+
enable: 'Enable passwordless sign-in',
|
|
382
|
+
disable: 'Disable passwordless sign-in',
|
|
383
|
+
enabledSuccess: 'Passwordless sign-in was enabled.',
|
|
384
|
+
disabledSuccess: 'Passwordless sign-in was disabled.',
|
|
385
|
+
enforcedEnabled: 'Passwordless sign-in is ENABLED for everyone by a tenant-wide policy, so it cannot be turned off here.',
|
|
386
|
+
enforcedDisabled: 'Passwordless sign-in is turned off by a tenant-wide policy, so it cannot be enabled here.',
|
|
387
|
+
toggleFailed:
|
|
388
|
+
'Could not change passwordless sign-in. If this is your only sign-in method, set a password or enable two-factor authentication first.',
|
|
389
|
+
},
|
|
390
|
+
sessionList: {
|
|
391
|
+
failedToLoadData: 'Failed to load data',
|
|
392
|
+
noResults: 'No active sessions',
|
|
393
|
+
created: 'Created',
|
|
394
|
+
lastUsed: 'Last used',
|
|
395
|
+
ip: 'IP address',
|
|
396
|
+
userAgent: 'Device',
|
|
397
|
+
expires: 'Expires',
|
|
398
|
+
action: 'Action',
|
|
399
|
+
never: 'Never',
|
|
400
|
+
thisDevice: 'This device',
|
|
401
|
+
revoke: 'Revoke',
|
|
402
|
+
revokeConfirmation: 'Are you sure you want to revoke this session? The device will be signed out.',
|
|
403
|
+
revokeSuccess: 'Session revoked',
|
|
404
|
+
revokeFailed: 'Failed to revoke session',
|
|
405
|
+
cancel: 'Cancel',
|
|
406
|
+
},
|
|
407
|
+
otpSetup: {
|
|
408
|
+
prepareContinue: 'Continue',
|
|
409
|
+
otpConfirmFormErrorMessages: {
|
|
410
|
+
UNKNOWN_ERROR: 'Something went wrong. Please try again later',
|
|
411
|
+
INVALID_OTP_TOKEN: 'Invalid OTP token',
|
|
412
|
+
FIELD_REQUIRED: 'This field is required',
|
|
413
|
+
NOT_PREPARED: 'OTP setup was not initialized',
|
|
414
|
+
} satisfies Record<OtpConfirmFormErrorCode, string>,
|
|
415
|
+
otpPrepareFormErrorMessages: {
|
|
416
|
+
UNKNOWN_ERROR: 'Something went wrong. Please try again later',
|
|
417
|
+
} satisfies Record<OtpPrepareFormErrorCode, string>,
|
|
418
|
+
alreadyHaveOtp: 'You already have two-factor authentication active. By clicking "Continue", the old one will no longer work.',
|
|
419
|
+
nowScanQrCode: 'Now scan the following QR code in your application:',
|
|
420
|
+
writeDownCode: 'After registering to your application, write down a code from the application.',
|
|
421
|
+
twoFactorEnabled: 'Two factor authentication is ENABLED.',
|
|
422
|
+
disableTwoFactor: 'Disable two-factor authentication',
|
|
423
|
+
disableTwoFactorConfirm: 'Are you sure you want to disable two-factor authentication?',
|
|
424
|
+
cancel: 'Cancel',
|
|
425
|
+
disable: 'Disable',
|
|
426
|
+
disabledSuccess: 'Two-factor authentication was disabled.',
|
|
427
|
+
setupAgain: 'Setup again',
|
|
428
|
+
description:
|
|
429
|
+
'2-Step Verification provides stronger security for your account by requiring a second step of verification when you sign in. In addition to your password, you’ll also need a code generated by an application on your phone.',
|
|
430
|
+
setupTwoFactor: 'Setup two-factor authentication',
|
|
431
|
+
enabledSuccess: 'Two-factor authentication was enabled.',
|
|
432
|
+
otpToken: 'OTP token',
|
|
433
|
+
label: 'Label',
|
|
434
|
+
confirm: 'Confirm',
|
|
435
|
+
},
|
|
436
|
+
|
|
437
|
+
signUp: {
|
|
438
|
+
email: 'E-mail',
|
|
439
|
+
name: 'Name',
|
|
440
|
+
password: 'Password',
|
|
441
|
+
passwordConfirmation: 'Confirm password',
|
|
442
|
+
submit: 'Create account',
|
|
443
|
+
errorMessages: {
|
|
444
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
445
|
+
'INVALID_VALUE': 'Invalid value',
|
|
446
|
+
'PASSWORD_MISMATCH': 'Passwords do not match',
|
|
447
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
448
|
+
'EMAIL_ALREADY_EXISTS': 'An account with this e-mail already exists',
|
|
449
|
+
'INVALID_EMAIL_FORMAT': 'Invalid e-mail format',
|
|
450
|
+
'TOO_WEAK': 'Password is too weak',
|
|
451
|
+
'INVALID_CAPTCHA': 'Captcha verification failed',
|
|
452
|
+
'RATE_LIMIT_EXCEEDED': 'Too many attempts. Please try again later',
|
|
453
|
+
'INVALID_ROLE': 'Invalid role',
|
|
454
|
+
} satisfies Record<SignUpFormErrorCode, string>,
|
|
455
|
+
title: 'Create an account',
|
|
456
|
+
},
|
|
457
|
+
|
|
458
|
+
passwordReset: {
|
|
459
|
+
token: 'Reset code',
|
|
460
|
+
password: 'Password',
|
|
461
|
+
passwordConfirmation: 'Confirm password',
|
|
462
|
+
submit: 'Reset password',
|
|
463
|
+
errorMessages: {
|
|
464
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
465
|
+
'INVALID_VALUE': 'Invalid value',
|
|
466
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
467
|
+
'PASSWORD_MISMATCH': 'Passwords do not match',
|
|
468
|
+
'PASSWORD_TOO_WEAK': 'Password is too weak',
|
|
469
|
+
'TOKEN_EXPIRED': 'Token expired',
|
|
470
|
+
'TOKEN_NOT_FOUND': 'Token not found',
|
|
471
|
+
'TOKEN_USED': 'Token already used',
|
|
472
|
+
'TOKEN_INVALID': 'Invalid token',
|
|
473
|
+
} satisfies Record<PasswordResetFormErrorCode, string>,
|
|
474
|
+
title: 'Reset password',
|
|
475
|
+
description: 'Enter new password below',
|
|
476
|
+
success: 'Password has been reset',
|
|
477
|
+
},
|
|
478
|
+
passwordResetRequest: {
|
|
479
|
+
email: 'E-mail',
|
|
480
|
+
submit: 'Request reset code',
|
|
481
|
+
errorMessages: {
|
|
482
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
483
|
+
'INVALID_VALUE': 'Invalid value',
|
|
484
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
485
|
+
'PERSON_NOT_FOUND': 'Unknown email',
|
|
486
|
+
'RATE_LIMIT_EXCEEDED': 'Too many requests, please try again later',
|
|
487
|
+
'INVALID_CAPTCHA': 'Captcha verification failed',
|
|
488
|
+
} satisfies Record<PasswordResetRequestFormErrorCode, string>,
|
|
489
|
+
title: 'Reset password',
|
|
490
|
+
description: 'Enter your email below to reset your password',
|
|
491
|
+
success: 'Password reset link has been sent',
|
|
492
|
+
checkMail: 'Please check your mailbox for instructions on how to reset your password.',
|
|
493
|
+
entryCode: 'Or enter the reset code directly.',
|
|
494
|
+
},
|
|
495
|
+
verifyEmail: {
|
|
496
|
+
token: 'Verification code',
|
|
497
|
+
submit: 'Verify e-mail',
|
|
498
|
+
errorMessages: {
|
|
499
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
500
|
+
'INVALID_VALUE': 'Invalid value',
|
|
501
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
502
|
+
'TOKEN_EXPIRED': 'Token expired',
|
|
503
|
+
'TOKEN_NOT_FOUND': 'Token not found',
|
|
504
|
+
'TOKEN_USED': 'Token already used',
|
|
505
|
+
'TOKEN_INVALID': 'Invalid token',
|
|
506
|
+
} satisfies Record<VerifyEmailFormErrorCode, string>,
|
|
507
|
+
title: 'Verify e-mail',
|
|
508
|
+
description: 'Enter the verification code to confirm your e-mail address',
|
|
509
|
+
success: 'Your e-mail address has been verified',
|
|
510
|
+
},
|
|
511
|
+
confirmEmailChange: {
|
|
512
|
+
token: 'Confirmation code',
|
|
513
|
+
submit: 'Confirm e-mail change',
|
|
514
|
+
errorMessages: {
|
|
515
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
516
|
+
'INVALID_VALUE': 'Invalid value',
|
|
517
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
518
|
+
'TOKEN_EXPIRED': 'Token expired',
|
|
519
|
+
'TOKEN_NOT_FOUND': 'Token not found',
|
|
520
|
+
'TOKEN_USED': 'Token already used',
|
|
521
|
+
'TOKEN_INVALID': 'Invalid token',
|
|
522
|
+
'EMAIL_ALREADY_EXISTS': 'This e-mail address is already in use',
|
|
523
|
+
'INVALID_EMAIL_FORMAT': 'Invalid email format',
|
|
524
|
+
} satisfies Record<ConfirmEmailChangeFormErrorCode, string>,
|
|
525
|
+
title: 'Confirm e-mail change',
|
|
526
|
+
description: 'Enter the confirmation code to change your e-mail address',
|
|
527
|
+
success: 'Your e-mail address has been changed',
|
|
528
|
+
},
|
|
529
|
+
requestEmailVerification: {
|
|
530
|
+
email: 'E-mail',
|
|
531
|
+
submit: 'Send verification link',
|
|
532
|
+
errorMessages: {
|
|
533
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
534
|
+
'INVALID_VALUE': 'Invalid value',
|
|
535
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
536
|
+
'RATE_LIMIT_EXCEEDED': 'Too many requests, please try again later',
|
|
537
|
+
'INVALID_CAPTCHA': 'Captcha verification failed',
|
|
538
|
+
} satisfies Record<RequestEmailVerificationFormErrorCode, string>,
|
|
539
|
+
title: 'Verify e-mail',
|
|
540
|
+
description: 'Enter your e-mail below to receive a verification link',
|
|
541
|
+
success: 'Verification link has been sent',
|
|
542
|
+
checkMail: 'Please check your mailbox for instructions on how to verify your e-mail address.',
|
|
543
|
+
entryCode: 'Or enter the verification code directly.',
|
|
544
|
+
},
|
|
545
|
+
passwordlessSignInInit: {
|
|
546
|
+
email: 'E-mail',
|
|
547
|
+
submit: 'Send magic link',
|
|
548
|
+
errorMessages: {
|
|
549
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
550
|
+
'INVALID_VALUE': 'Invalid value',
|
|
551
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
552
|
+
'PERSON_NOT_FOUND': 'Unknown email',
|
|
553
|
+
'PASSWORDLESS_DISABLED': 'Passwordless sign-in is not available',
|
|
554
|
+
'RATE_LIMIT_EXCEEDED': 'Too many requests, please try again later',
|
|
555
|
+
'INVALID_CAPTCHA': 'Captcha verification failed',
|
|
556
|
+
'IDP_REQUIRED': 'Please sign in with your identity provider',
|
|
557
|
+
} satisfies Record<PasswordlessSignInInitFormErrorCode, string>,
|
|
558
|
+
title: 'Sign in',
|
|
559
|
+
description: 'Enter your email below to sign in to your account',
|
|
560
|
+
success: 'Magic link has been sent',
|
|
561
|
+
checkMail: 'Please check your mailbox for instructions on how to sign in.',
|
|
562
|
+
entryCode: 'Or enter the reset code directly.',
|
|
563
|
+
},
|
|
564
|
+
passwordlessSignIn: {
|
|
565
|
+
token: 'Verification code',
|
|
566
|
+
mfa: {
|
|
567
|
+
otpToken: '2FA OTP token',
|
|
568
|
+
backupCode: 'Backup code',
|
|
569
|
+
useBackupCode: 'Lost your authenticator? Use a backup code.',
|
|
570
|
+
useOtpToken: 'Use your authenticator app instead.',
|
|
571
|
+
},
|
|
572
|
+
submit: 'Sign in',
|
|
573
|
+
errorMessages: {
|
|
574
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
575
|
+
'INVALID_VALUE': 'Invalid value',
|
|
576
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
577
|
+
'INVALID_OTP_TOKEN': 'Invalid OTP token',
|
|
578
|
+
'OTP_REQUIRED': undefined,
|
|
579
|
+
'PERSON_DISABLED': 'Person disabled',
|
|
580
|
+
'TOKEN_EXPIRED': 'Token expired',
|
|
581
|
+
'TOKEN_NOT_FOUND': 'Token not found',
|
|
582
|
+
'TOKEN_USED': 'Token already used',
|
|
583
|
+
'TOKEN_INVALID': 'Invalid token',
|
|
584
|
+
'MFA_ENROLLMENT_REQUIRED': 'Multi-factor authentication enrollment is required',
|
|
585
|
+
'IDP_REQUIRED': 'Please sign in with your identity provider',
|
|
586
|
+
} satisfies Record<PasswordlessSignInFormErrorCode, string | undefined>,
|
|
587
|
+
title: 'Sign in',
|
|
588
|
+
},
|
|
589
|
+
otpActivation: {
|
|
590
|
+
errorMessages: {
|
|
591
|
+
'TOKEN_INVALID': 'This token is not valid. Please try again.',
|
|
592
|
+
'TOKEN_USED': 'Token already used',
|
|
593
|
+
'TOKEN_NOT_FOUND': 'Token not found',
|
|
594
|
+
'TOKEN_EXPIRED': 'Token expired',
|
|
595
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
596
|
+
} satisfies Record<ActivatePasswordlessOtpErrorCode | 'UNKNOWN_ERROR', string>,
|
|
597
|
+
},
|
|
598
|
+
|
|
599
|
+
updateProjectMember: {
|
|
600
|
+
updateSuccess: 'Roles updated',
|
|
601
|
+
roles: 'Roles',
|
|
602
|
+
submit: 'Update role',
|
|
603
|
+
errorMessages: {
|
|
604
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
605
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
606
|
+
'INVALID_MEMBERSHIP': 'Invalid membership',
|
|
607
|
+
'PROJECT_NOT_FOUND': 'Project not found',
|
|
608
|
+
'ROLE_NOT_FOUND': 'Role not found',
|
|
609
|
+
'VARIABLE_EMPTY': 'Variable empty',
|
|
610
|
+
'VARIABLE_NOT_FOUND': 'Variable not found',
|
|
611
|
+
'NOT_MEMBER': 'Not a member',
|
|
612
|
+
} satisfies Record<UpdateProjectMemberFormErrorCode, string>,
|
|
613
|
+
},
|
|
614
|
+
personActions: {
|
|
615
|
+
cancel: 'Cancel',
|
|
616
|
+
disable: 'Disable',
|
|
617
|
+
disableTitle: 'Disable person',
|
|
618
|
+
disableConfirmation: 'Are you sure you want to disable this person? They will not be able to sign in.',
|
|
619
|
+
disableSuccess: 'Person disabled',
|
|
620
|
+
disableFailed: 'Failed to disable the person',
|
|
621
|
+
enable: 'Enable',
|
|
622
|
+
enableTitle: 'Enable person',
|
|
623
|
+
enableConfirmation: 'Are you sure you want to enable this person? They will be able to sign in again.',
|
|
624
|
+
enableSuccess: 'Person enabled',
|
|
625
|
+
enableFailed: 'Failed to enable the person',
|
|
626
|
+
forceSignOut: 'Sign out',
|
|
627
|
+
forceSignOutTitle: 'Force sign out',
|
|
628
|
+
forceSignOutConfirmation: 'Are you sure you want to sign this person out of all their sessions?',
|
|
629
|
+
forceSignOutReason: 'Reason (optional)',
|
|
630
|
+
forceSignOutReasonPlaceholder: 'Recorded in the audit log',
|
|
631
|
+
forceSignOutSuccess: 'Person signed out of all sessions',
|
|
632
|
+
forceSignOutFailed: 'Failed to sign the person out',
|
|
633
|
+
resetMfa: 'Reset 2FA',
|
|
634
|
+
resetMfaTitle: 'Reset two-factor authentication',
|
|
635
|
+
resetMfaConfirmation:
|
|
636
|
+
'Are you sure you want to reset two-factor authentication? This clears the TOTP authenticator, e-mail OTP and all backup codes.',
|
|
637
|
+
resetMfaSuccess: 'Two-factor authentication was reset',
|
|
638
|
+
resetMfaFailed: 'Failed to reset two-factor authentication',
|
|
639
|
+
},
|
|
640
|
+
personDetail: {
|
|
641
|
+
identityId: 'Identity ID',
|
|
642
|
+
failedToLoadData: 'Failed to load data',
|
|
643
|
+
notFound: 'Person not found',
|
|
644
|
+
profile: 'Profile',
|
|
645
|
+
profileUpdated: 'Profile updated',
|
|
646
|
+
password: 'Password',
|
|
647
|
+
passwordUpdated: 'Password updated',
|
|
648
|
+
mfa: 'Two-factor authentication',
|
|
649
|
+
globalRoles: 'Global roles',
|
|
650
|
+
sessions: 'Sessions',
|
|
651
|
+
identityProviders: 'Identity providers',
|
|
652
|
+
identityProvider: 'Provider',
|
|
653
|
+
identityProviderAccount: 'External account',
|
|
654
|
+
identityProviderConnectedAt: 'Connected',
|
|
655
|
+
identityProviderStatus: 'Status',
|
|
656
|
+
identityProviderDisabled: 'Disabled',
|
|
657
|
+
noIdentityProviders: 'No connected identity providers',
|
|
658
|
+
},
|
|
659
|
+
globalRoles: {
|
|
660
|
+
noRoles: 'No global roles',
|
|
661
|
+
rolePlaceholder: 'Role name',
|
|
662
|
+
addRole: 'Add role',
|
|
663
|
+
removeRole: 'Remove role',
|
|
664
|
+
addSuccess: 'Global role added',
|
|
665
|
+
removeSuccess: 'Global role removed',
|
|
666
|
+
errorMessages: {
|
|
667
|
+
'IDENTITY_NOT_FOUND': 'This identity no longer exists',
|
|
668
|
+
'INVALID_ROLE': 'This role is not defined in the tenant configuration',
|
|
669
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
670
|
+
} satisfies Record<AddGlobalIdentityRolesErrorCode | RemoveGlobalIdentityRolesErrorCode | 'UNKNOWN_ERROR', string>,
|
|
671
|
+
},
|
|
672
|
+
changeProfile: {
|
|
673
|
+
email: 'E-mail',
|
|
674
|
+
name: 'Name',
|
|
675
|
+
submit: 'Save profile',
|
|
676
|
+
errorMessages: {
|
|
677
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
678
|
+
'INVALID_VALUE': 'Invalid value',
|
|
679
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
680
|
+
'PERSON_NOT_FOUND': 'This person no longer exists',
|
|
681
|
+
'INVALID_EMAIL_FORMAT': 'Invalid email format',
|
|
682
|
+
'EMAIL_ALREADY_EXISTS': 'This e-mail address is already in use',
|
|
683
|
+
} satisfies Record<ChangeProfileFormErrorCode, string>,
|
|
684
|
+
},
|
|
685
|
+
setPersonPassword: {
|
|
686
|
+
password: 'New password',
|
|
687
|
+
passwordConfirmation: 'Confirm password',
|
|
688
|
+
submit: 'Set password',
|
|
689
|
+
errorMessages: {
|
|
690
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
691
|
+
'INVALID_VALUE': 'Invalid value',
|
|
692
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
693
|
+
'PASSWORD_MISMATCH': 'Passwords do not match',
|
|
694
|
+
'TOO_WEAK': 'Password is too weak',
|
|
695
|
+
'PERSON_NOT_FOUND': 'This person no longer exists',
|
|
696
|
+
} satisfies Record<ChangePasswordFormErrorCode, string>,
|
|
697
|
+
},
|
|
698
|
+
setProjectSecret: {
|
|
699
|
+
key: 'Key',
|
|
700
|
+
value: 'Value',
|
|
701
|
+
submit: 'Set secret',
|
|
702
|
+
errorMessages: {
|
|
703
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
704
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
705
|
+
'PROJECT_NOT_FOUND': 'Project not found',
|
|
706
|
+
} satisfies Record<SetProjectSecretFormErrorCode, string>,
|
|
707
|
+
},
|
|
708
|
+
addProjectMember: {
|
|
709
|
+
identityId: 'Identity ID',
|
|
710
|
+
roles: 'Roles',
|
|
711
|
+
submit: 'Add member',
|
|
712
|
+
errorMessages: {
|
|
713
|
+
'FIELD_REQUIRED': 'This field is required',
|
|
714
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
715
|
+
'ALREADY_MEMBER': 'This identity is already a member of the project',
|
|
716
|
+
'IDENTITY_NOT_FOUND': 'Identity not found',
|
|
717
|
+
'INVALID_MEMBERSHIP': 'Invalid membership',
|
|
718
|
+
'PROJECT_NOT_FOUND': 'Project not found',
|
|
719
|
+
'ROLE_NOT_FOUND': 'Role not found',
|
|
720
|
+
'VARIABLE_EMPTY': 'Variable empty',
|
|
721
|
+
'VARIABLE_NOT_FOUND': 'Variable not found',
|
|
722
|
+
} satisfies Record<AddProjectMemberFormErrorCode, string>,
|
|
723
|
+
},
|
|
724
|
+
authLog: {
|
|
725
|
+
createdAt: 'Created',
|
|
726
|
+
type: 'Type',
|
|
727
|
+
success: 'Result',
|
|
728
|
+
person: 'Person',
|
|
729
|
+
ipAddress: 'IP address',
|
|
730
|
+
errorCode: 'Error',
|
|
731
|
+
action: 'Action',
|
|
732
|
+
ok: 'OK',
|
|
733
|
+
failed: 'Failed',
|
|
734
|
+
filterTypes: 'Event types',
|
|
735
|
+
filterTypesPlaceholder: 'e.g. sign_in, sign_in_error (comma separated)',
|
|
736
|
+
filterSuccess: 'Result',
|
|
737
|
+
filterSuccessAll: 'All',
|
|
738
|
+
filterSuccessOk: 'Successful only',
|
|
739
|
+
filterSuccessFailed: 'Failed only',
|
|
740
|
+
filterPerson: 'Person identifier',
|
|
741
|
+
filterPersonPlaceholder: 'E-mail or identifier used to sign in',
|
|
742
|
+
noResults: 'No entries',
|
|
743
|
+
forbidden: 'You do not have permission to view the auth log.',
|
|
744
|
+
failedToLoadData: 'Failed to load data',
|
|
745
|
+
previous: 'Previous',
|
|
746
|
+
next: 'Next',
|
|
747
|
+
},
|
|
748
|
+
identityProviderConnections: {
|
|
749
|
+
provider: 'Provider',
|
|
750
|
+
account: 'External account',
|
|
751
|
+
connectedAt: 'Connected',
|
|
752
|
+
status: 'Status',
|
|
753
|
+
disabled: 'Disabled',
|
|
754
|
+
action: 'Action',
|
|
755
|
+
disconnect: 'Disconnect',
|
|
756
|
+
disconnectConfirmation: 'Are you sure you want to disconnect this identity provider?',
|
|
757
|
+
disconnected: 'Identity provider disconnected',
|
|
758
|
+
cancel: 'Cancel',
|
|
759
|
+
noResults: 'No connected identity providers',
|
|
760
|
+
failedToLoadData: 'Failed to load data',
|
|
761
|
+
errorMessages: {
|
|
762
|
+
'NOT_FOUND': 'This identity provider connection no longer exists',
|
|
763
|
+
'NOT_A_PERSON': 'Only a signed-in person can disconnect identity providers',
|
|
764
|
+
'LAST_AUTH_METHOD': 'You cannot disconnect your last remaining sign-in method',
|
|
765
|
+
'IDP_REQUIRED': 'This identity provider is the only way you can sign in, so it cannot be disconnected',
|
|
766
|
+
'UNKNOWN_ERROR': 'Something went wrong. Please try again later',
|
|
767
|
+
} satisfies Record<DisconnectIDPErrorCode | 'UNKNOWN_ERROR', string>,
|
|
768
|
+
},
|
|
769
|
+
},
|
|
770
|
+
}
|