nucleus-core-ts 0.8.0
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/LICENSE +48 -0
- package/README.md +177 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/dist/index-0yyw12k6.d.ts +8 -0
- package/dist/dist/index-tv67j5qd.d.ts +488 -0
- package/dist/dist/index.d.ts +40 -0
- package/dist/fe/components/AbstractAnimatedBackground/index.d.ts +7 -0
- package/dist/fe/components/AuthorizationPage/components/AuthorizationPage.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/components/ClaimList.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/components/RoleClaimEditor.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/components/RoleList.d.ts +3 -0
- package/dist/fe/components/AuthorizationPage/index.d.ts +9 -0
- package/dist/fe/components/AuthorizationPage/store/index.d.ts +47 -0
- package/dist/fe/components/AuthorizationPage/theme/index.d.ts +82 -0
- package/dist/fe/components/AuthorizationPage/types/index.d.ts +64 -0
- package/dist/fe/components/Button/components/Button.d.ts +3 -0
- package/dist/fe/components/Button/components/ButtonSpinner.d.ts +3 -0
- package/dist/fe/components/Button/index.d.ts +6 -0
- package/dist/fe/components/Button/theme/index.d.ts +183 -0
- package/dist/fe/components/Button/types/index.d.ts +24 -0
- package/dist/fe/components/Button/utils/cn.d.ts +3 -0
- package/dist/fe/components/Captcha/components/Captcha.d.ts +4 -0
- package/dist/fe/components/Captcha/index.d.ts +4 -0
- package/dist/fe/components/Captcha/theme.d.ts +53 -0
- package/dist/fe/components/Captcha/types.d.ts +60 -0
- package/dist/fe/components/ChangePasswordPage/components/ChangePasswordForm.d.ts +4 -0
- package/dist/fe/components/ChangePasswordPage/components/ChangePasswordHeader.d.ts +4 -0
- package/dist/fe/components/ChangePasswordPage/components/ChangePasswordPage.d.ts +4 -0
- package/dist/fe/components/ChangePasswordPage/index.d.ts +7 -0
- package/dist/fe/components/ChangePasswordPage/store/index.d.ts +16 -0
- package/dist/fe/components/ChangePasswordPage/theme/index.d.ts +48 -0
- package/dist/fe/components/ChangePasswordPage/types/index.d.ts +56 -0
- package/dist/fe/components/Checkbox/components/Checkbox.d.ts +3 -0
- package/dist/fe/components/Checkbox/components/CheckboxIcon.d.ts +3 -0
- package/dist/fe/components/Checkbox/components/SwitchTrack.d.ts +3 -0
- package/dist/fe/components/Checkbox/index.d.ts +7 -0
- package/dist/fe/components/Checkbox/theme/index.d.ts +218 -0
- package/dist/fe/components/Checkbox/types/index.d.ts +39 -0
- package/dist/fe/components/Checkbox/utils/cn.d.ts +3 -0
- package/dist/fe/components/DataTable/DataTable.d.ts +3 -0
- package/dist/fe/components/DataTable/components/ActionCell.d.ts +10 -0
- package/dist/fe/components/DataTable/components/DataCell.d.ts +18 -0
- package/dist/fe/components/DataTable/components/EditableCell.d.ts +14 -0
- package/dist/fe/components/DataTable/components/EmptyState.d.ts +8 -0
- package/dist/fe/components/DataTable/components/HeaderCell.d.ts +16 -0
- package/dist/fe/components/DataTable/components/InfiniteScrollTrigger.d.ts +11 -0
- package/dist/fe/components/DataTable/components/LoadingSpinner.d.ts +7 -0
- package/dist/fe/components/DataTable/components/ResizeHandle.d.ts +9 -0
- package/dist/fe/components/DataTable/components/SelectionCell.d.ts +9 -0
- package/dist/fe/components/DataTable/components/SkeletonRow.d.ts +9 -0
- package/dist/fe/components/DataTable/components/SkeletonTable.d.ts +10 -0
- package/dist/fe/components/DataTable/components/SortIcon.d.ts +9 -0
- package/dist/fe/components/DataTable/components/TableHeader.d.ts +20 -0
- package/dist/fe/components/DataTable/components/TableRow.d.ts +20 -0
- package/dist/fe/components/DataTable/components/index.d.ts +15 -0
- package/dist/fe/components/DataTable/hooks/index.d.ts +3 -0
- package/dist/fe/components/DataTable/hooks/useAutoFitColumn.d.ts +8 -0
- package/dist/fe/components/DataTable/hooks/useResizeColumn.d.ts +12 -0
- package/dist/fe/components/DataTable/index.d.ts +6 -0
- package/dist/fe/components/DataTable/store/index.d.ts +52 -0
- package/dist/fe/components/DataTable/theme/index.d.ts +131 -0
- package/dist/fe/components/DataTable/types/index.d.ts +151 -0
- package/dist/fe/components/DataTable/utils/cn.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/CalendarGrid.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/CalendarHeader.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/DatePicker.d.ts +3 -0
- package/dist/fe/components/DatePicker/components/MonthYearSelector.d.ts +10 -0
- package/dist/fe/components/DatePicker/index.d.ts +10 -0
- package/dist/fe/components/DatePicker/locales/index.d.ts +5 -0
- package/dist/fe/components/DatePicker/theme/index.d.ts +312 -0
- package/dist/fe/components/DatePicker/types/index.d.ts +88 -0
- package/dist/fe/components/DatePicker/utils/cn.d.ts +3 -0
- package/dist/fe/components/DatePicker/utils/date.d.ts +21 -0
- package/dist/fe/components/DevicesPage/components/DeviceCard.d.ts +4 -0
- package/dist/fe/components/DevicesPage/components/DevicesHeader.d.ts +4 -0
- package/dist/fe/components/DevicesPage/components/DevicesPage.d.ts +4 -0
- package/dist/fe/components/DevicesPage/index.d.ts +8 -0
- package/dist/fe/components/DevicesPage/store/index.d.ts +20 -0
- package/dist/fe/components/DevicesPage/theme/index.d.ts +92 -0
- package/dist/fe/components/DevicesPage/types/index.d.ts +147 -0
- package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordForm.d.ts +4 -0
- package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordHeader.d.ts +4 -0
- package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordPage.d.ts +4 -0
- package/dist/fe/components/ForgotPasswordPage/index.d.ts +7 -0
- package/dist/fe/components/ForgotPasswordPage/store/index.d.ts +14 -0
- package/dist/fe/components/ForgotPasswordPage/theme/index.d.ts +48 -0
- package/dist/fe/components/ForgotPasswordPage/types/index.d.ts +48 -0
- package/dist/fe/components/FormBuilder/components/FormBuilder.d.ts +3 -0
- package/dist/fe/components/FormBuilder/components/FormField.d.ts +3 -0
- package/dist/fe/components/FormBuilder/hooks/useFormBuilder.d.ts +3 -0
- package/dist/fe/components/FormBuilder/index.d.ts +6 -0
- package/dist/fe/components/FormBuilder/theme/index.d.ts +136 -0
- package/dist/fe/components/FormBuilder/types/index.d.ts +150 -0
- package/dist/fe/components/FormBuilder/utils/cn.d.ts +3 -0
- package/dist/fe/components/FormBuilder/utils/fieldMapping.d.ts +12 -0
- package/dist/fe/components/FormBuilder/utils/validation.d.ts +11 -0
- package/dist/fe/components/LoginPage/components/LoginForm.d.ts +4 -0
- package/dist/fe/components/LoginPage/components/LoginHeader.d.ts +4 -0
- package/dist/fe/components/LoginPage/components/LoginPage.d.ts +4 -0
- package/dist/fe/components/LoginPage/index.d.ts +8 -0
- package/dist/fe/components/LoginPage/store/index.d.ts +22 -0
- package/dist/fe/components/LoginPage/theme/index.d.ts +55 -0
- package/dist/fe/components/LoginPage/types/index.d.ts +129 -0
- package/dist/fe/components/MagicLinkVerifyPage/components/MagicLinkVerifyPage.d.ts +4 -0
- package/dist/fe/components/MagicLinkVerifyPage/index.d.ts +5 -0
- package/dist/fe/components/MagicLinkVerifyPage/store.d.ts +15 -0
- package/dist/fe/components/MagicLinkVerifyPage/theme.d.ts +37 -0
- package/dist/fe/components/MagicLinkVerifyPage/types.d.ts +35 -0
- package/dist/fe/components/NucleusEntityShowcase.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/components/FloatingLabel.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/components/InputIcons.d.ts +15 -0
- package/dist/fe/components/NucleusTextInput/components/NucleusTextInput.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/components/PasswordStrengthIndicator.d.ts +15 -0
- package/dist/fe/components/NucleusTextInput/components/TypewriterText.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/index.d.ts +11 -0
- package/dist/fe/components/NucleusTextInput/theme/index.d.ts +108 -0
- package/dist/fe/components/NucleusTextInput/types/index.d.ts +65 -0
- package/dist/fe/components/NucleusTextInput/utils/cn.d.ts +3 -0
- package/dist/fe/components/NucleusTextInput/utils/format.d.ts +8 -0
- package/dist/fe/components/NucleusTextInput/utils/validation.d.ts +23 -0
- package/dist/fe/components/ProfilePage/components/AddressCard.d.ts +4 -0
- package/dist/fe/components/ProfilePage/components/PhoneCard.d.ts +4 -0
- package/dist/fe/components/ProfilePage/components/ProfileHeader.d.ts +4 -0
- package/dist/fe/components/ProfilePage/components/ProfilePage.d.ts +4 -0
- package/dist/fe/components/ProfilePage/index.d.ts +10 -0
- package/dist/fe/components/ProfilePage/store/index.d.ts +37 -0
- package/dist/fe/components/ProfilePage/theme/index.d.ts +101 -0
- package/dist/fe/components/ProfilePage/types/index.d.ts +150 -0
- package/dist/fe/components/RangePicker/components/RangePicker.d.ts +3 -0
- package/dist/fe/components/RangePicker/components/RangeThumb.d.ts +3 -0
- package/dist/fe/components/RangePicker/components/RangeTooltip.d.ts +3 -0
- package/dist/fe/components/RangePicker/components/RangeTrack.d.ts +3 -0
- package/dist/fe/components/RangePicker/index.d.ts +8 -0
- package/dist/fe/components/RangePicker/theme/index.d.ts +90 -0
- package/dist/fe/components/RangePicker/types/index.d.ts +66 -0
- package/dist/fe/components/RangePicker/utils/cn.d.ts +3 -0
- package/dist/fe/components/RegisterPage/components/PasswordStrengthIndicator.d.ts +14 -0
- package/dist/fe/components/RegisterPage/components/RegisterForm.d.ts +4 -0
- package/dist/fe/components/RegisterPage/components/RegisterHeader.d.ts +4 -0
- package/dist/fe/components/RegisterPage/components/RegisterPage.d.ts +4 -0
- package/dist/fe/components/RegisterPage/index.d.ts +9 -0
- package/dist/fe/components/RegisterPage/store/index.d.ts +19 -0
- package/dist/fe/components/RegisterPage/theme/index.d.ts +81 -0
- package/dist/fe/components/RegisterPage/types/index.d.ts +141 -0
- package/dist/fe/components/ResetPasswordPage/components/ResetPasswordForm.d.ts +4 -0
- package/dist/fe/components/ResetPasswordPage/components/ResetPasswordHeader.d.ts +4 -0
- package/dist/fe/components/ResetPasswordPage/components/ResetPasswordPage.d.ts +4 -0
- package/dist/fe/components/ResetPasswordPage/index.d.ts +7 -0
- package/dist/fe/components/ResetPasswordPage/store/index.d.ts +15 -0
- package/dist/fe/components/ResetPasswordPage/theme/index.d.ts +56 -0
- package/dist/fe/components/ResetPasswordPage/types/index.d.ts +50 -0
- package/dist/fe/components/SearchBox/components/SearchBox.d.ts +3 -0
- package/dist/fe/components/SearchBox/components/SearchBoxDropdown.d.ts +3 -0
- package/dist/fe/components/SearchBox/index.d.ts +8 -0
- package/dist/fe/components/SearchBox/theme/index.d.ts +141 -0
- package/dist/fe/components/SearchBox/types/index.d.ts +47 -0
- package/dist/fe/components/SearchBox/utils/cn.d.ts +3 -0
- package/dist/fe/components/SearchBox/utils/debounce.d.ts +5 -0
- package/dist/fe/components/SearchBox/utils/sanitize.d.ts +9 -0
- package/dist/fe/components/SelectBox/components/SelectBox.d.ts +3 -0
- package/dist/fe/components/SelectBox/components/SelectDropdown.d.ts +6 -0
- package/dist/fe/components/SelectBox/components/SelectOptionItem.d.ts +3 -0
- package/dist/fe/components/SelectBox/components/SelectTrigger.d.ts +5 -0
- package/dist/fe/components/SelectBox/index.d.ts +8 -0
- package/dist/fe/components/SelectBox/theme/index.d.ts +100 -0
- package/dist/fe/components/SelectBox/types/index.d.ts +66 -0
- package/dist/fe/components/SelectBox/utils/cn.d.ts +3 -0
- package/dist/fe/components/SetPasswordPage/components/PasswordStrengthIndicator.d.ts +14 -0
- package/dist/fe/components/SetPasswordPage/components/SetPasswordForm.d.ts +4 -0
- package/dist/fe/components/SetPasswordPage/components/SetPasswordHeader.d.ts +4 -0
- package/dist/fe/components/SetPasswordPage/components/SetPasswordPage.d.ts +4 -0
- package/dist/fe/components/SetPasswordPage/index.d.ts +9 -0
- package/dist/fe/components/SetPasswordPage/store/index.d.ts +16 -0
- package/dist/fe/components/SetPasswordPage/theme/index.d.ts +95 -0
- package/dist/fe/components/SetPasswordPage/types/index.d.ts +137 -0
- package/dist/fe/components/UsersPage/components/InviteUserModal.d.ts +10 -0
- package/dist/fe/components/UsersPage/components/Pagination.d.ts +13 -0
- package/dist/fe/components/UsersPage/components/RoleAssignmentModal.d.ts +12 -0
- package/dist/fe/components/UsersPage/components/StatsCards.d.ts +10 -0
- package/dist/fe/components/UsersPage/components/UserDetailDrawer.d.ts +24 -0
- package/dist/fe/components/UsersPage/components/UserFilters.d.ts +18 -0
- package/dist/fe/components/UsersPage/components/UserListItem.d.ts +11 -0
- package/dist/fe/components/UsersPage/components/UserListSkeleton.d.ts +7 -0
- package/dist/fe/components/UsersPage/components/UsersPage.d.ts +8 -0
- package/dist/fe/components/UsersPage/index.d.ts +13 -0
- package/dist/fe/components/UsersPage/store/index.d.ts +51 -0
- package/dist/fe/components/UsersPage/theme/index.d.ts +180 -0
- package/dist/fe/components/UsersPage/types/index.d.ts +73 -0
- package/dist/fe/components/VerifyEmailPage/components/VerifyEmailPage.d.ts +4 -0
- package/dist/fe/components/VerifyEmailPage/index.d.ts +5 -0
- package/dist/fe/components/VerifyEmailPage/store/index.d.ts +18 -0
- package/dist/fe/components/VerifyEmailPage/theme/index.d.ts +49 -0
- package/dist/fe/components/VerifyEmailPage/types/index.d.ts +84 -0
- package/dist/fe/hooks/useNucleusEntity.d.ts +3 -0
- package/dist/fe/index.d.ts +42 -0
- package/dist/fe/index.js +1 -0
- package/dist/fe/types/index.d.ts +233 -0
- package/dist/fe/utils/cn.d.ts +3 -0
- package/dist/fe/utils/columnUtils.d.ts +63 -0
- package/dist/fe/utils/endpointKeys.d.ts +9 -0
- package/dist/index-0yyw12k6.js +1 -0
- package/dist/index-tv67j5qd.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -0
- package/dist/nucleus.config.d.ts +95 -0
- package/dist/public/components/CTA.d.ts +2 -0
- package/dist/public/components/Capabilities.d.ts +9 -0
- package/dist/public/components/Features.d.ts +9 -0
- package/dist/public/components/Footer.d.ts +2 -0
- package/dist/public/components/Hero.d.ts +2 -0
- package/dist/public/components/Managers.d.ts +7 -0
- package/dist/public/components/Nav.d.ts +2 -0
- package/dist/public/components/Stack.d.ts +7 -0
- package/dist/public/components/docs/Docs.d.ts +2 -0
- package/dist/public/components/docs/DocsContent.d.ts +19 -0
- package/dist/public/components/docs/DocsRightSidebar.d.ts +9 -0
- package/dist/public/components/docs/DocsSidebar.d.ts +8 -0
- package/dist/public/components/docs/content/authentication.d.ts +3 -0
- package/dist/public/components/docs/content/gettingStarted.d.ts +3 -0
- package/dist/public/components/docs/docsData.d.ts +18 -0
- package/dist/public/components/docs/index.d.ts +7 -0
- package/dist/public/components/index.d.ts +10 -0
- package/dist/public/index.d.ts +3 -0
- package/dist/public/store.d.ts +20 -0
- package/dist/scripts/build.d.ts +7 -0
- package/dist/scripts/generate-schema.d.ts +3 -0
- package/dist/scripts/generate-system-tables-types.d.ts +2 -0
- package/dist/scripts/generate-types-schema.d.ts +7 -0
- package/dist/scripts/publish.d.ts +7 -0
- package/dist/scripts/version.d.ts +7 -0
- package/dist/src/Client/ApiCaller/client.d.ts +5 -0
- package/dist/src/Client/ApiCaller/examples/usage.example.d.ts +8 -0
- package/dist/src/Client/ApiCaller/generator.d.ts +10 -0
- package/dist/src/Client/ApiCaller/index.d.ts +7 -0
- package/dist/src/Client/ApiCaller/server.d.ts +4 -0
- package/dist/src/Client/ApiCaller/system-tables.d.ts +1215 -0
- package/dist/src/Client/ApiCaller/types.d.ts +907 -0
- package/dist/src/Client/Proxy/httpProxy.d.ts +5 -0
- package/dist/src/Client/Proxy/index.d.ts +6 -0
- package/dist/src/Client/Proxy/index.js +1 -0
- package/dist/src/Client/Proxy/server.d.ts +5 -0
- package/dist/src/Client/Proxy/types.d.ts +69 -0
- package/dist/src/Client/Proxy/utils.d.ts +12 -0
- package/dist/src/Client/Proxy/wsProxy.d.ts +20 -0
- package/dist/src/Client/ServerFetch/index.d.ts +19 -0
- package/dist/src/Client/ServerFetch/types.d.ts +34 -0
- package/dist/src/Client/index.d.ts +4 -0
- package/dist/src/ElysiaPlugin/index.d.ts +12 -0
- package/dist/src/ElysiaPlugin/publicRoutes.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/auth/captcha/index.d.ts +46 -0
- package/dist/src/ElysiaPlugin/routes/auth/emailVerification/index.d.ts +38 -0
- package/dist/src/ElysiaPlugin/routes/auth/index.d.ts +68 -0
- package/dist/src/ElysiaPlugin/routes/auth/invite/index.d.ts +43 -0
- package/dist/src/ElysiaPlugin/routes/auth/login/index.d.ts +68 -0
- package/dist/src/ElysiaPlugin/routes/auth/login/types.d.ts +22 -0
- package/dist/src/ElysiaPlugin/routes/auth/login/utils.d.ts +19 -0
- package/dist/src/ElysiaPlugin/routes/auth/logout/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/logout/types.d.ts +6 -0
- package/dist/src/ElysiaPlugin/routes/auth/logout/utils.d.ts +2 -0
- package/dist/src/ElysiaPlugin/routes/auth/magicLink/index.d.ts +41 -0
- package/dist/src/ElysiaPlugin/routes/auth/magicLink/types.d.ts +23 -0
- package/dist/src/ElysiaPlugin/routes/auth/magicLink/utils.d.ts +4 -0
- package/dist/src/ElysiaPlugin/routes/auth/me/index.d.ts +40 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordChange/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordChange/types.d.ts +12 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordChange/utils.d.ts +2 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordReset/index.d.ts +36 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordReset/types.d.ts +16 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordReset/utils.d.ts +3 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordSet/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/passwordSet/types.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/index.d.ts +39 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/types.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/utils.d.ts +2 -0
- package/dist/src/ElysiaPlugin/routes/auth/register/index.d.ts +47 -0
- package/dist/src/ElysiaPlugin/routes/auth/register/types.d.ts +18 -0
- package/dist/src/ElysiaPlugin/routes/auth/register/utils.d.ts +8 -0
- package/dist/src/ElysiaPlugin/routes/auth/sessions/index.d.ts +33 -0
- package/dist/src/ElysiaPlugin/routes/auth/sessions/types.d.ts +67 -0
- package/dist/src/ElysiaPlugin/routes/auth/sessions/utils.d.ts +36 -0
- package/dist/src/ElysiaPlugin/routes/auth/types.d.ts +153 -0
- package/dist/src/ElysiaPlugin/routes/entity/index.d.ts +5 -0
- package/dist/src/ElysiaPlugin/routes/entity/types.d.ts +50 -0
- package/dist/src/ElysiaPlugin/routes/entity/utils.d.ts +11 -0
- package/dist/src/ElysiaPlugin/routes/index.d.ts +5 -0
- package/dist/src/ElysiaPlugin/routes/monitoring/index.d.ts +58 -0
- package/dist/src/ElysiaPlugin/routes/storage/cdn.d.ts +51 -0
- package/dist/src/ElysiaPlugin/routes/storage/helpers.d.ts +53 -0
- package/dist/src/ElysiaPlugin/routes/storage/index.d.ts +3 -0
- package/dist/src/ElysiaPlugin/routes/verification/index.d.ts +39 -0
- package/dist/src/ElysiaPlugin/swagger.d.ts +28 -0
- package/dist/src/ElysiaPlugin/utils.d.ts +70 -0
- package/dist/src/Managers/Dapr/clients/binding-client.d.ts +15 -0
- package/dist/src/Managers/Dapr/clients/config-client.d.ts +27 -0
- package/dist/src/Managers/Dapr/clients/crypto-client.d.ts +27 -0
- package/dist/src/Managers/Dapr/clients/invoke-client.d.ts +32 -0
- package/dist/src/Managers/Dapr/clients/lock-client.d.ts +23 -0
- package/dist/src/Managers/Dapr/clients/pubsub-client.d.ts +23 -0
- package/dist/src/Managers/Dapr/clients/secret-client.d.ts +19 -0
- package/dist/src/Managers/Dapr/clients/state-client.d.ts +55 -0
- package/dist/src/Managers/Dapr/clients/workflow-client.d.ts +39 -0
- package/dist/src/Managers/Dapr/connection-manager.d.ts +51 -0
- package/dist/src/Managers/Dapr/constants.d.ts +49 -0
- package/dist/src/Managers/Dapr/dapr-manager.d.ts +160 -0
- package/dist/src/Managers/Dapr/error-handling.d.ts +29 -0
- package/dist/src/Managers/Dapr/index.d.ts +102 -0
- package/dist/src/Managers/Dapr/types.d.ts +121 -0
- package/dist/src/Managers/Dapr/utils.d.ts +44 -0
- package/dist/src/Managers/File/atomic.d.ts +64 -0
- package/dist/src/Managers/File/core.d.ts +188 -0
- package/dist/src/Managers/File/index.d.ts +18 -0
- package/dist/src/Managers/File/permissions.d.ts +72 -0
- package/dist/src/Managers/File/streaming.d.ts +30 -0
- package/dist/src/Managers/File/types.d.ts +146 -0
- package/dist/src/Managers/File/utils.d.ts +112 -0
- package/dist/src/Managers/Postgre/index.d.ts +25 -0
- package/dist/src/Managers/Redis/index.d.ts +33 -0
- package/dist/src/Managers/index.d.ts +5 -0
- package/dist/src/Services/Auth/Fingerprint/Generate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Fingerprint/Validate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Fingerprint/index.d.ts +5 -0
- package/dist/src/Services/Auth/Fingerprint/types.d.ts +20 -0
- package/dist/src/Services/Auth/Fingerprint/utils.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/Decode/index.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/Sign/index.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/Verify/index.d.ts +3 -0
- package/dist/src/Services/Auth/JWT/index.d.ts +5 -0
- package/dist/src/Services/Auth/JWT/types.d.ts +38 -0
- package/dist/src/Services/Auth/JWT/utils.d.ts +10 -0
- package/dist/src/Services/Auth/Password/Generate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Password/Validate/index.d.ts +3 -0
- package/dist/src/Services/Auth/Password/index.d.ts +2 -0
- package/dist/src/Services/Auth/Password/types.d.ts +16 -0
- package/dist/src/Services/Auth/RefreshToken/Delete/index.d.ts +3 -0
- package/dist/src/Services/Auth/RefreshToken/Generate/index.d.ts +11 -0
- package/dist/src/Services/Auth/RefreshToken/Read/index.d.ts +11 -0
- package/dist/src/Services/Auth/RefreshToken/Validate/index.d.ts +11 -0
- package/dist/src/Services/Auth/RefreshToken/index.d.ts +5 -0
- package/dist/src/Services/Auth/RefreshToken/types.d.ts +27 -0
- package/dist/src/Services/Auth/RefreshToken/utils.d.ts +6 -0
- package/dist/src/Services/Auth/Session/Issue/index.d.ts +9 -0
- package/dist/src/Services/Auth/Session/index.d.ts +2 -0
- package/dist/src/Services/Auth/Session/types.d.ts +13 -0
- package/dist/src/Services/Auth/SessionStore/Delete/index.d.ts +3 -0
- package/dist/src/Services/Auth/SessionStore/Generate/index.d.ts +11 -0
- package/dist/src/Services/Auth/SessionStore/Read/index.d.ts +3 -0
- package/dist/src/Services/Auth/SessionStore/Update/index.d.ts +24 -0
- package/dist/src/Services/Auth/SessionStore/Validate/index.d.ts +3 -0
- package/dist/src/Services/Auth/SessionStore/index.d.ts +7 -0
- package/dist/src/Services/Auth/SessionStore/types.d.ts +59 -0
- package/dist/src/Services/Auth/SessionStore/utils.d.ts +6 -0
- package/dist/src/Services/Auth/index.d.ts +7 -0
- package/dist/src/Services/Authorization/ClaimSeeder/index.d.ts +6 -0
- package/dist/src/Services/Authorization/GodminSetup/index.d.ts +10 -0
- package/dist/src/Services/Authorization/Middleware/index.d.ts +21 -0
- package/dist/src/Services/Authorization/index.d.ts +5 -0
- package/dist/src/Services/Authorization/types.d.ts +68 -0
- package/dist/src/Services/Captcha/index.d.ts +15 -0
- package/dist/src/Services/Captcha/types.d.ts +69 -0
- package/dist/src/Services/Gmail/index.d.ts +62 -0
- package/dist/src/Services/Logger/Logger.d.ts +77 -0
- package/dist/src/Services/Logger/index.d.ts +5 -0
- package/dist/src/Services/Logger/transports.d.ts +54 -0
- package/dist/src/Services/Logger/types.d.ts +88 -0
- package/dist/src/Services/Logger/utils.d.ts +8 -0
- package/dist/src/Services/Monitoring/AlertService.d.ts +29 -0
- package/dist/src/Services/Monitoring/collectors/ApplicationCollector.d.ts +30 -0
- package/dist/src/Services/Monitoring/collectors/SystemCollector.d.ts +13 -0
- package/dist/src/Services/Monitoring/collectors/index.d.ts +3 -0
- package/dist/src/Services/Monitoring/index.d.ts +109 -0
- package/dist/src/Services/Monitoring/types.d.ts +163 -0
- package/dist/src/Services/Notification/index.d.ts +31 -0
- package/dist/src/Services/Notification/types.d.ts +59 -0
- package/dist/src/Services/RateLimiter/index.d.ts +99 -0
- package/dist/src/Services/Verification/index.d.ts +23 -0
- package/dist/src/Services/Verification/types.d.ts +135 -0
- package/dist/src/Services/index.d.ts +10 -0
- package/dist/src/types.d.ts +588 -0
- package/package.json +99 -0
- package/public/components/CTA.tsx +25 -0
- package/public/components/Capabilities.tsx +69 -0
- package/public/components/Features.tsx +107 -0
- package/public/components/Footer.tsx +60 -0
- package/public/components/Hero.tsx +53 -0
- package/public/components/Managers.tsx +60 -0
- package/public/components/Nav.tsx +107 -0
- package/public/components/Stack.tsx +36 -0
- package/public/components/docs/Docs.tsx +62 -0
- package/public/components/docs/DocsContent.tsx +203 -0
- package/public/components/docs/DocsRightSidebar.tsx +53 -0
- package/public/components/docs/DocsSidebar.tsx +62 -0
- package/public/components/docs/content/authentication.ts +1670 -0
- package/public/components/docs/content/gettingStarted.ts +627 -0
- package/public/components/docs/docsData.ts +36 -0
- package/public/components/docs/index.ts +6 -0
- package/public/components/index.ts +9 -0
- package/public/docs.css +633 -0
- package/public/index.html +81 -0
- package/public/index.tsx +52 -0
- package/public/store.ts +79 -0
- package/public/styles.css +877 -0
- package/schemas/bckp/config.nucleus.json +1488 -0
- package/schemas/bckp/nucleus.tables.schema.json +24 -0
- package/schemas/bckp/table.schema.json +472 -0
- package/schemas/config.nucleus.json +1010 -0
- package/schemas/nucleus.tables.schema.json +19 -0
- package/schemas/table.schema.json +498 -0
- package/scripts/build.ts +197 -0
- package/scripts/generate-schema.ts +556 -0
- package/scripts/generate-system-tables-types.ts +18 -0
- package/scripts/generate-types-schema.ts +962 -0
- package/scripts/publish.ts +210 -0
- package/scripts/version.ts +125 -0
- package/src/system.tables.json +1590 -0
|
@@ -0,0 +1,1488 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Nucleus Config",
|
|
3
|
+
"description": "Nucleus Plugin Configuration Schema",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"author": "Hidayet Can Özcan",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"$schema": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "JSON Schema reference"
|
|
12
|
+
},
|
|
13
|
+
"redis": {
|
|
14
|
+
"url": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Redis URL (defaults to REDIS_URL env)"
|
|
17
|
+
},
|
|
18
|
+
"host": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Redis host (defaults to REDIS_HOST env)"
|
|
21
|
+
},
|
|
22
|
+
"port": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"description": "Redis port (defaults to REDIS_PORT env)"
|
|
25
|
+
},
|
|
26
|
+
"withDapr": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "Use Dapr for Redis (defaults to REDIS_WITH_DAPR env)"
|
|
29
|
+
},
|
|
30
|
+
"stateStoreName": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "State store name (defaults to REDIS_STATE_STORE_NAME env)"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"appId": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Your application ID (default: NUCLEUS_APP_ID env or '*')",
|
|
38
|
+
"minLength": 1
|
|
39
|
+
},
|
|
40
|
+
"database": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"description": "Database configuration",
|
|
43
|
+
"properties": {
|
|
44
|
+
"url": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Database URL (defaults to DATABASE_URL env)"
|
|
47
|
+
},
|
|
48
|
+
"isMultiTenant": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether multi-tenant mode is enabled",
|
|
51
|
+
"default": false
|
|
52
|
+
},
|
|
53
|
+
"allowDataLoss": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Apply changes even if there's potential data loss",
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
"type": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Database type (defaults to DATABASE_TYPE env)",
|
|
61
|
+
"default": "postgres"
|
|
62
|
+
},
|
|
63
|
+
"schemas": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"description": "Database schemas (defaults to DATABASE_SCHEMAS env)",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"default": ["main"]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"authorization": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"description": "Authorization configuration",
|
|
76
|
+
"properties": {
|
|
77
|
+
"enabled": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Enable authorization",
|
|
80
|
+
"default": false
|
|
81
|
+
},
|
|
82
|
+
"autoSeedClaims": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "Auto-seed claims for all entities on startup",
|
|
85
|
+
"default": true
|
|
86
|
+
},
|
|
87
|
+
"skipTables": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"description": "Tables to skip from claim generation",
|
|
90
|
+
"items": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
"default": ["audit_logs"]
|
|
94
|
+
},
|
|
95
|
+
"skipColumns": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"description": "Columns to skip from field-level claims",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"default": [
|
|
102
|
+
"id",
|
|
103
|
+
"created_at",
|
|
104
|
+
"updated_at",
|
|
105
|
+
"is_active",
|
|
106
|
+
"password",
|
|
107
|
+
"version"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"excludedPaths": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"description": "Paths excluded from authorization checks",
|
|
113
|
+
"items": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"default": ["/health", "/swagger"]
|
|
117
|
+
},
|
|
118
|
+
"publicPaths": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"description": "Public paths that don't require authentication",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"default": ["/auth/login", "/auth/register"]
|
|
125
|
+
},
|
|
126
|
+
"godminEmail": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "Email for the godmin user (bypasses all authorization)"
|
|
129
|
+
},
|
|
130
|
+
"godminPassword": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "Password for the godmin user"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"audit": {
|
|
137
|
+
"type": "object",
|
|
138
|
+
"description": "Audit logging configuration",
|
|
139
|
+
"properties": {
|
|
140
|
+
"enabled": {
|
|
141
|
+
"type": "boolean",
|
|
142
|
+
"description": "Enable audit logging globally",
|
|
143
|
+
"default": true
|
|
144
|
+
},
|
|
145
|
+
"actions": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"description": "Enable/disable audit per action type",
|
|
148
|
+
"properties": {
|
|
149
|
+
"GET": {
|
|
150
|
+
"type": "boolean",
|
|
151
|
+
"default": false
|
|
152
|
+
},
|
|
153
|
+
"INSERT": {
|
|
154
|
+
"type": "boolean",
|
|
155
|
+
"default": true
|
|
156
|
+
},
|
|
157
|
+
"UPDATE": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"default": true
|
|
160
|
+
},
|
|
161
|
+
"DELETE": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"default": true
|
|
164
|
+
},
|
|
165
|
+
"TOGGLE": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"default": true
|
|
168
|
+
},
|
|
169
|
+
"VERIFICATION": {
|
|
170
|
+
"type": "boolean",
|
|
171
|
+
"default": true
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"entities": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"include": {
|
|
179
|
+
"type": "array",
|
|
180
|
+
"items": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"exclude": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"items": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"auth": {
|
|
193
|
+
"type": "object",
|
|
194
|
+
"properties": {
|
|
195
|
+
"LOGIN": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"default": true
|
|
198
|
+
},
|
|
199
|
+
"LOGOUT": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"default": true
|
|
202
|
+
},
|
|
203
|
+
"REGISTER": {
|
|
204
|
+
"type": "boolean",
|
|
205
|
+
"default": true
|
|
206
|
+
},
|
|
207
|
+
"PASSWORD_RESET": {
|
|
208
|
+
"type": "boolean",
|
|
209
|
+
"default": true
|
|
210
|
+
},
|
|
211
|
+
"TOKEN_REFRESH": {
|
|
212
|
+
"type": "boolean",
|
|
213
|
+
"default": false
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"logConfigUpdates": {
|
|
218
|
+
"type": "boolean",
|
|
219
|
+
"default": false
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"authentication": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"description": "Authentication configuration",
|
|
226
|
+
"properties": {
|
|
227
|
+
"enabled": {
|
|
228
|
+
"type": "boolean",
|
|
229
|
+
"default": true
|
|
230
|
+
},
|
|
231
|
+
"routePrefix": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"default": "/authentication"
|
|
234
|
+
},
|
|
235
|
+
"skipSecretValidation": {
|
|
236
|
+
"type": "boolean",
|
|
237
|
+
"default": false
|
|
238
|
+
},
|
|
239
|
+
"accessToken": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"secret": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
},
|
|
245
|
+
"expiresIn": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"default": "15m"
|
|
248
|
+
},
|
|
249
|
+
"algorithm": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"default": "HS256"
|
|
252
|
+
},
|
|
253
|
+
"issuer": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"audience": {
|
|
257
|
+
"type": "string"
|
|
258
|
+
},
|
|
259
|
+
"name": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"default": "access_token"
|
|
262
|
+
},
|
|
263
|
+
"setHeadersEnabled": {
|
|
264
|
+
"type": "boolean",
|
|
265
|
+
"default": false
|
|
266
|
+
},
|
|
267
|
+
"returnJson": {
|
|
268
|
+
"type": "boolean",
|
|
269
|
+
"default": true
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"refreshToken": {
|
|
274
|
+
"type": "object",
|
|
275
|
+
"properties": {
|
|
276
|
+
"secret": {
|
|
277
|
+
"type": "string"
|
|
278
|
+
},
|
|
279
|
+
"expiresIn": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"default": "30d"
|
|
282
|
+
},
|
|
283
|
+
"algorithm": {
|
|
284
|
+
"type": "string",
|
|
285
|
+
"default": "HS256"
|
|
286
|
+
},
|
|
287
|
+
"issuer": {
|
|
288
|
+
"type": "string"
|
|
289
|
+
},
|
|
290
|
+
"audience": {
|
|
291
|
+
"type": "string"
|
|
292
|
+
},
|
|
293
|
+
"name": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"default": "refresh_token"
|
|
296
|
+
},
|
|
297
|
+
"setHeadersEnabled": {
|
|
298
|
+
"type": "boolean",
|
|
299
|
+
"default": false
|
|
300
|
+
},
|
|
301
|
+
"returnJson": {
|
|
302
|
+
"type": "boolean",
|
|
303
|
+
"default": true
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"sessionToken": {
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"secret": {
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
"expiresIn": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"default": "7d"
|
|
316
|
+
},
|
|
317
|
+
"algorithm": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"default": "HS256"
|
|
320
|
+
},
|
|
321
|
+
"issuer": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
"audience": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"name": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"default": "session_token"
|
|
330
|
+
},
|
|
331
|
+
"setHeadersEnabled": {
|
|
332
|
+
"type": "boolean",
|
|
333
|
+
"default": false
|
|
334
|
+
},
|
|
335
|
+
"returnJson": {
|
|
336
|
+
"type": "boolean",
|
|
337
|
+
"default": true
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"login": {
|
|
342
|
+
"type": "object",
|
|
343
|
+
"properties": {
|
|
344
|
+
"route": {
|
|
345
|
+
"type": "string",
|
|
346
|
+
"default": "/login"
|
|
347
|
+
},
|
|
348
|
+
"rememberMe": {
|
|
349
|
+
"type": "boolean",
|
|
350
|
+
"default": false
|
|
351
|
+
},
|
|
352
|
+
"isPublic": {
|
|
353
|
+
"type": "boolean",
|
|
354
|
+
"default": true
|
|
355
|
+
},
|
|
356
|
+
"enabled": {
|
|
357
|
+
"type": "boolean",
|
|
358
|
+
"default": true
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"register": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"route": {
|
|
366
|
+
"type": "string",
|
|
367
|
+
"default": "/register"
|
|
368
|
+
},
|
|
369
|
+
"isPublic": {
|
|
370
|
+
"type": "boolean",
|
|
371
|
+
"default": true
|
|
372
|
+
},
|
|
373
|
+
"enabled": {
|
|
374
|
+
"type": "boolean",
|
|
375
|
+
"default": true
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"logout": {
|
|
380
|
+
"type": "object",
|
|
381
|
+
"properties": {
|
|
382
|
+
"route": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"default": "/logout"
|
|
385
|
+
},
|
|
386
|
+
"isPublic": {
|
|
387
|
+
"type": "boolean",
|
|
388
|
+
"default": false
|
|
389
|
+
},
|
|
390
|
+
"enabled": {
|
|
391
|
+
"type": "boolean",
|
|
392
|
+
"default": true
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"refresh": {
|
|
397
|
+
"type": "object",
|
|
398
|
+
"properties": {
|
|
399
|
+
"route": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"default": "/refresh"
|
|
402
|
+
},
|
|
403
|
+
"isPublic": {
|
|
404
|
+
"type": "boolean",
|
|
405
|
+
"default": false
|
|
406
|
+
},
|
|
407
|
+
"enabled": {
|
|
408
|
+
"type": "boolean",
|
|
409
|
+
"default": true
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"passwordReset": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"route": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"default": "/password-reset"
|
|
419
|
+
},
|
|
420
|
+
"isPublic": {
|
|
421
|
+
"type": "boolean",
|
|
422
|
+
"default": true
|
|
423
|
+
},
|
|
424
|
+
"enabled": {
|
|
425
|
+
"type": "boolean",
|
|
426
|
+
"default": true
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"passwordChange": {
|
|
431
|
+
"type": "object",
|
|
432
|
+
"properties": {
|
|
433
|
+
"route": {
|
|
434
|
+
"type": "string",
|
|
435
|
+
"default": "/password-change"
|
|
436
|
+
},
|
|
437
|
+
"isPublic": {
|
|
438
|
+
"type": "boolean",
|
|
439
|
+
"default": false
|
|
440
|
+
},
|
|
441
|
+
"enabled": {
|
|
442
|
+
"type": "boolean",
|
|
443
|
+
"default": true
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"sessions": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"properties": {
|
|
450
|
+
"route": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"default": "/sessions"
|
|
453
|
+
},
|
|
454
|
+
"isPublic": {
|
|
455
|
+
"type": "boolean",
|
|
456
|
+
"default": false
|
|
457
|
+
},
|
|
458
|
+
"enabled": {
|
|
459
|
+
"type": "boolean",
|
|
460
|
+
"default": true
|
|
461
|
+
},
|
|
462
|
+
"maxActiveSessions": {
|
|
463
|
+
"type": "integer",
|
|
464
|
+
"default": 10
|
|
465
|
+
},
|
|
466
|
+
"inactivityTimeout": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"default": "30d"
|
|
469
|
+
},
|
|
470
|
+
"allowMultipleDevices": {
|
|
471
|
+
"type": "boolean",
|
|
472
|
+
"default": true
|
|
473
|
+
},
|
|
474
|
+
"trustNewDevices": {
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"default": false
|
|
477
|
+
},
|
|
478
|
+
"notifyOnNewDevice": {
|
|
479
|
+
"type": "boolean",
|
|
480
|
+
"default": true
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"magicLink": {
|
|
485
|
+
"type": "object",
|
|
486
|
+
"properties": {
|
|
487
|
+
"route": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"default": "/magic-link"
|
|
490
|
+
},
|
|
491
|
+
"verifyRoute": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"default": "/magic-link/verify"
|
|
494
|
+
},
|
|
495
|
+
"isPublic": {
|
|
496
|
+
"type": "boolean",
|
|
497
|
+
"default": true
|
|
498
|
+
},
|
|
499
|
+
"enabled": {
|
|
500
|
+
"type": "boolean",
|
|
501
|
+
"default": false
|
|
502
|
+
},
|
|
503
|
+
"expiresIn": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"default": "15m"
|
|
506
|
+
},
|
|
507
|
+
"redirectUrl": {
|
|
508
|
+
"type": "string"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"me": {
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {
|
|
515
|
+
"route": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"default": "/auth/me"
|
|
518
|
+
},
|
|
519
|
+
"isPublic": {
|
|
520
|
+
"type": "boolean",
|
|
521
|
+
"default": false
|
|
522
|
+
},
|
|
523
|
+
"enabled": {
|
|
524
|
+
"type": "boolean",
|
|
525
|
+
"default": true
|
|
526
|
+
},
|
|
527
|
+
"includeProfile": {
|
|
528
|
+
"type": "boolean",
|
|
529
|
+
"default": true
|
|
530
|
+
},
|
|
531
|
+
"includeAddresses": {
|
|
532
|
+
"type": "boolean",
|
|
533
|
+
"default": true
|
|
534
|
+
},
|
|
535
|
+
"includePhones": {
|
|
536
|
+
"type": "boolean",
|
|
537
|
+
"default": true
|
|
538
|
+
},
|
|
539
|
+
"includeFiles": {
|
|
540
|
+
"type": "boolean",
|
|
541
|
+
"default": true
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"password": {
|
|
546
|
+
"type": "object",
|
|
547
|
+
"properties": {
|
|
548
|
+
"hashAlgorithm": {
|
|
549
|
+
"type": "string",
|
|
550
|
+
"enum": ["bcrypt", "argon2"],
|
|
551
|
+
"default": "bcrypt"
|
|
552
|
+
},
|
|
553
|
+
"bcryptRounds": {
|
|
554
|
+
"type": "integer",
|
|
555
|
+
"minimum": 10,
|
|
556
|
+
"default": 12
|
|
557
|
+
},
|
|
558
|
+
"argon2Options": {
|
|
559
|
+
"type": "object",
|
|
560
|
+
"properties": {
|
|
561
|
+
"memoryCost": {
|
|
562
|
+
"type": "integer",
|
|
563
|
+
"default": 65536
|
|
564
|
+
},
|
|
565
|
+
"timeCost": {
|
|
566
|
+
"type": "integer",
|
|
567
|
+
"default": 3
|
|
568
|
+
},
|
|
569
|
+
"parallelism": {
|
|
570
|
+
"type": "integer",
|
|
571
|
+
"default": 4
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"minLength": {
|
|
576
|
+
"type": "integer",
|
|
577
|
+
"minimum": 1,
|
|
578
|
+
"default": 8
|
|
579
|
+
},
|
|
580
|
+
"maxLength": {
|
|
581
|
+
"type": "integer",
|
|
582
|
+
"default": 128
|
|
583
|
+
},
|
|
584
|
+
"requireUppercase": {
|
|
585
|
+
"type": "boolean",
|
|
586
|
+
"default": true
|
|
587
|
+
},
|
|
588
|
+
"requireLowercase": {
|
|
589
|
+
"type": "boolean",
|
|
590
|
+
"default": true
|
|
591
|
+
},
|
|
592
|
+
"requireNumbers": {
|
|
593
|
+
"type": "boolean",
|
|
594
|
+
"default": true
|
|
595
|
+
},
|
|
596
|
+
"requireSpecialChars": {
|
|
597
|
+
"type": "boolean",
|
|
598
|
+
"default": false
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"session": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {
|
|
605
|
+
"ttlSeconds": {
|
|
606
|
+
"type": "integer",
|
|
607
|
+
"default": 2592000
|
|
608
|
+
},
|
|
609
|
+
"maxSessionsPerUser": {
|
|
610
|
+
"type": "integer",
|
|
611
|
+
"default": 10
|
|
612
|
+
},
|
|
613
|
+
"extendOnActivity": {
|
|
614
|
+
"type": "boolean",
|
|
615
|
+
"default": true
|
|
616
|
+
},
|
|
617
|
+
"storeName": {
|
|
618
|
+
"type": "string",
|
|
619
|
+
"default": "statestore-redis"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"cookie": {
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"accessTokenCookieName": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"default": "access_token"
|
|
629
|
+
},
|
|
630
|
+
"refreshTokenCookieName": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"default": "refresh_token"
|
|
633
|
+
},
|
|
634
|
+
"sessionIdCookieName": {
|
|
635
|
+
"type": "string",
|
|
636
|
+
"default": "session_id"
|
|
637
|
+
},
|
|
638
|
+
"domain": {
|
|
639
|
+
"type": "string"
|
|
640
|
+
},
|
|
641
|
+
"path": {
|
|
642
|
+
"type": "string",
|
|
643
|
+
"default": "/"
|
|
644
|
+
},
|
|
645
|
+
"secure": {
|
|
646
|
+
"type": "boolean",
|
|
647
|
+
"default": true
|
|
648
|
+
},
|
|
649
|
+
"httpOnly": {
|
|
650
|
+
"type": "boolean",
|
|
651
|
+
"default": true
|
|
652
|
+
},
|
|
653
|
+
"sameSite": {
|
|
654
|
+
"type": "string",
|
|
655
|
+
"enum": ["strict", "lax", "none"],
|
|
656
|
+
"default": "strict"
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"rateLimit": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"properties": {
|
|
663
|
+
"login": {
|
|
664
|
+
"type": "object",
|
|
665
|
+
"properties": {
|
|
666
|
+
"maxAttempts": {
|
|
667
|
+
"type": "integer",
|
|
668
|
+
"default": 5
|
|
669
|
+
},
|
|
670
|
+
"windowSeconds": {
|
|
671
|
+
"type": "integer",
|
|
672
|
+
"default": 60
|
|
673
|
+
},
|
|
674
|
+
"blockDurationSeconds": {
|
|
675
|
+
"type": "integer",
|
|
676
|
+
"default": 300
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"register": {
|
|
681
|
+
"type": "object",
|
|
682
|
+
"properties": {
|
|
683
|
+
"maxAttempts": {
|
|
684
|
+
"type": "integer",
|
|
685
|
+
"default": 3
|
|
686
|
+
},
|
|
687
|
+
"windowSeconds": {
|
|
688
|
+
"type": "integer",
|
|
689
|
+
"default": 3600
|
|
690
|
+
},
|
|
691
|
+
"blockDurationSeconds": {
|
|
692
|
+
"type": "integer",
|
|
693
|
+
"default": 3600
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
"passwordReset": {
|
|
698
|
+
"type": "object",
|
|
699
|
+
"properties": {
|
|
700
|
+
"maxAttempts": {
|
|
701
|
+
"type": "integer",
|
|
702
|
+
"default": 3
|
|
703
|
+
},
|
|
704
|
+
"windowSeconds": {
|
|
705
|
+
"type": "integer",
|
|
706
|
+
"default": 3600
|
|
707
|
+
},
|
|
708
|
+
"blockDurationSeconds": {
|
|
709
|
+
"type": "integer",
|
|
710
|
+
"default": 3600
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
"accountLockout": {
|
|
717
|
+
"type": "object",
|
|
718
|
+
"properties": {
|
|
719
|
+
"enabled": {
|
|
720
|
+
"type": "boolean",
|
|
721
|
+
"default": true
|
|
722
|
+
},
|
|
723
|
+
"maxFailedAttempts": {
|
|
724
|
+
"type": "integer",
|
|
725
|
+
"default": 10
|
|
726
|
+
},
|
|
727
|
+
"lockoutDurationSeconds": {
|
|
728
|
+
"type": "integer",
|
|
729
|
+
"default": 1800
|
|
730
|
+
},
|
|
731
|
+
"resetOnSuccess": {
|
|
732
|
+
"type": "boolean",
|
|
733
|
+
"default": true
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"proactiveRefresh": {
|
|
738
|
+
"type": "object",
|
|
739
|
+
"properties": {
|
|
740
|
+
"enabled": {
|
|
741
|
+
"type": "boolean",
|
|
742
|
+
"default": false
|
|
743
|
+
},
|
|
744
|
+
"wsPath": {
|
|
745
|
+
"type": "string",
|
|
746
|
+
"default": "/ws/auth"
|
|
747
|
+
},
|
|
748
|
+
"skipWsTokenValidation": {
|
|
749
|
+
"type": "boolean",
|
|
750
|
+
"default": false
|
|
751
|
+
},
|
|
752
|
+
"refreshIntervalSeconds": {
|
|
753
|
+
"type": "integer",
|
|
754
|
+
"default": 60
|
|
755
|
+
},
|
|
756
|
+
"verifyUserBeforeRefresh": {
|
|
757
|
+
"type": "boolean",
|
|
758
|
+
"default": true
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"email": {
|
|
763
|
+
"type": "object",
|
|
764
|
+
"properties": {
|
|
765
|
+
"enabled": {
|
|
766
|
+
"type": "boolean",
|
|
767
|
+
"default": false
|
|
768
|
+
},
|
|
769
|
+
"fromName": {
|
|
770
|
+
"type": "string",
|
|
771
|
+
"default": "Nucleus"
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"emailVerification": {
|
|
776
|
+
"type": "object",
|
|
777
|
+
"properties": {
|
|
778
|
+
"required": {
|
|
779
|
+
"type": "boolean",
|
|
780
|
+
"default": false
|
|
781
|
+
},
|
|
782
|
+
"tokenExpiresInSeconds": {
|
|
783
|
+
"type": "integer",
|
|
784
|
+
"default": 86400
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"enableAudit": {
|
|
789
|
+
"type": "boolean",
|
|
790
|
+
"default": true
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"rateLimit": {
|
|
795
|
+
"type": "object",
|
|
796
|
+
"description": "Rate limiting configuration",
|
|
797
|
+
"properties": {
|
|
798
|
+
"enabled": {
|
|
799
|
+
"type": "boolean",
|
|
800
|
+
"default": true
|
|
801
|
+
},
|
|
802
|
+
"strategy": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"enum": ["sliding-window", "fixed-window", "token-bucket"],
|
|
805
|
+
"default": "sliding-window"
|
|
806
|
+
},
|
|
807
|
+
"keyPrefix": {
|
|
808
|
+
"type": "string",
|
|
809
|
+
"default": "rl:"
|
|
810
|
+
},
|
|
811
|
+
"authRoutes": {
|
|
812
|
+
"type": "object",
|
|
813
|
+
"properties": {
|
|
814
|
+
"window": {
|
|
815
|
+
"type": "string",
|
|
816
|
+
"default": "1m"
|
|
817
|
+
},
|
|
818
|
+
"max": {
|
|
819
|
+
"type": "integer",
|
|
820
|
+
"default": 10
|
|
821
|
+
},
|
|
822
|
+
"login": {
|
|
823
|
+
"type": "object",
|
|
824
|
+
"properties": {
|
|
825
|
+
"window": {
|
|
826
|
+
"type": "string",
|
|
827
|
+
"default": "15m"
|
|
828
|
+
},
|
|
829
|
+
"max": {
|
|
830
|
+
"type": "integer",
|
|
831
|
+
"default": 5
|
|
832
|
+
},
|
|
833
|
+
"blockDuration": {
|
|
834
|
+
"type": "string",
|
|
835
|
+
"default": "30m"
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"register": {
|
|
840
|
+
"type": "object",
|
|
841
|
+
"properties": {
|
|
842
|
+
"window": {
|
|
843
|
+
"type": "string",
|
|
844
|
+
"default": "1h"
|
|
845
|
+
},
|
|
846
|
+
"max": {
|
|
847
|
+
"type": "integer",
|
|
848
|
+
"default": 3
|
|
849
|
+
},
|
|
850
|
+
"blockDuration": {
|
|
851
|
+
"type": "string",
|
|
852
|
+
"default": "1h"
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"passwordReset": {
|
|
857
|
+
"type": "object",
|
|
858
|
+
"properties": {
|
|
859
|
+
"window": {
|
|
860
|
+
"type": "string",
|
|
861
|
+
"default": "1h"
|
|
862
|
+
},
|
|
863
|
+
"max": {
|
|
864
|
+
"type": "integer",
|
|
865
|
+
"default": 3
|
|
866
|
+
},
|
|
867
|
+
"blockDuration": {
|
|
868
|
+
"type": "string",
|
|
869
|
+
"default": "1h"
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"magicLink": {
|
|
874
|
+
"type": "object",
|
|
875
|
+
"properties": {
|
|
876
|
+
"window": {
|
|
877
|
+
"type": "string",
|
|
878
|
+
"default": "1h"
|
|
879
|
+
},
|
|
880
|
+
"max": {
|
|
881
|
+
"type": "integer",
|
|
882
|
+
"default": 5
|
|
883
|
+
},
|
|
884
|
+
"blockDuration": {
|
|
885
|
+
"type": "string",
|
|
886
|
+
"default": "1h"
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
"publicRoutes": {
|
|
893
|
+
"type": "object",
|
|
894
|
+
"properties": {
|
|
895
|
+
"window": {
|
|
896
|
+
"type": "string",
|
|
897
|
+
"default": "1m"
|
|
898
|
+
},
|
|
899
|
+
"max": {
|
|
900
|
+
"type": "integer",
|
|
901
|
+
"default": 100
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"privateRoutes": {
|
|
906
|
+
"type": "object",
|
|
907
|
+
"properties": {
|
|
908
|
+
"window": {
|
|
909
|
+
"type": "string",
|
|
910
|
+
"default": "1m"
|
|
911
|
+
},
|
|
912
|
+
"max": {
|
|
913
|
+
"type": "integer",
|
|
914
|
+
"default": 60
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"byIp": {
|
|
919
|
+
"type": "boolean",
|
|
920
|
+
"default": true
|
|
921
|
+
},
|
|
922
|
+
"byUserId": {
|
|
923
|
+
"type": "boolean",
|
|
924
|
+
"default": true
|
|
925
|
+
},
|
|
926
|
+
"byEndpoint": {
|
|
927
|
+
"type": "boolean",
|
|
928
|
+
"default": false
|
|
929
|
+
},
|
|
930
|
+
"skipSuccessfulRequests": {
|
|
931
|
+
"type": "boolean",
|
|
932
|
+
"default": false
|
|
933
|
+
},
|
|
934
|
+
"headers": {
|
|
935
|
+
"type": "object",
|
|
936
|
+
"properties": {
|
|
937
|
+
"remaining": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"default": "X-RateLimit-Remaining"
|
|
940
|
+
},
|
|
941
|
+
"reset": {
|
|
942
|
+
"type": "string",
|
|
943
|
+
"default": "X-RateLimit-Reset"
|
|
944
|
+
},
|
|
945
|
+
"limit": {
|
|
946
|
+
"type": "string",
|
|
947
|
+
"default": "X-RateLimit-Limit"
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"whitelist": {
|
|
952
|
+
"type": "array",
|
|
953
|
+
"items": {
|
|
954
|
+
"type": "string"
|
|
955
|
+
},
|
|
956
|
+
"default": []
|
|
957
|
+
},
|
|
958
|
+
"blacklist": {
|
|
959
|
+
"type": "array",
|
|
960
|
+
"items": {
|
|
961
|
+
"type": "string"
|
|
962
|
+
},
|
|
963
|
+
"default": []
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"monitoring": {
|
|
968
|
+
"type": "object",
|
|
969
|
+
"properties": {
|
|
970
|
+
"enabled": {
|
|
971
|
+
"type": "boolean",
|
|
972
|
+
"default": false
|
|
973
|
+
},
|
|
974
|
+
"system": {
|
|
975
|
+
"type": "object",
|
|
976
|
+
"properties": {
|
|
977
|
+
"enabled": {
|
|
978
|
+
"type": "boolean",
|
|
979
|
+
"default": true
|
|
980
|
+
},
|
|
981
|
+
"collectInterval": {
|
|
982
|
+
"type": "string",
|
|
983
|
+
"default": "10s"
|
|
984
|
+
},
|
|
985
|
+
"metrics": {
|
|
986
|
+
"type": "object",
|
|
987
|
+
"properties": {
|
|
988
|
+
"cpu": {
|
|
989
|
+
"type": "boolean",
|
|
990
|
+
"default": true
|
|
991
|
+
},
|
|
992
|
+
"memory": {
|
|
993
|
+
"type": "boolean",
|
|
994
|
+
"default": true
|
|
995
|
+
},
|
|
996
|
+
"disk": {
|
|
997
|
+
"type": "boolean",
|
|
998
|
+
"default": true
|
|
999
|
+
},
|
|
1000
|
+
"network": {
|
|
1001
|
+
"type": "boolean",
|
|
1002
|
+
"default": false
|
|
1003
|
+
},
|
|
1004
|
+
"process": {
|
|
1005
|
+
"type": "boolean",
|
|
1006
|
+
"default": true
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
"application": {
|
|
1013
|
+
"type": "object",
|
|
1014
|
+
"properties": {
|
|
1015
|
+
"enabled": {
|
|
1016
|
+
"type": "boolean",
|
|
1017
|
+
"default": true
|
|
1018
|
+
},
|
|
1019
|
+
"metrics": {
|
|
1020
|
+
"type": "object",
|
|
1021
|
+
"properties": {
|
|
1022
|
+
"requests": {
|
|
1023
|
+
"type": "boolean",
|
|
1024
|
+
"default": true
|
|
1025
|
+
},
|
|
1026
|
+
"responseTime": {
|
|
1027
|
+
"type": "boolean",
|
|
1028
|
+
"default": true
|
|
1029
|
+
},
|
|
1030
|
+
"errors": {
|
|
1031
|
+
"type": "boolean",
|
|
1032
|
+
"default": true
|
|
1033
|
+
},
|
|
1034
|
+
"rateLimits": {
|
|
1035
|
+
"type": "boolean",
|
|
1036
|
+
"default": true
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"database": {
|
|
1043
|
+
"type": "object",
|
|
1044
|
+
"properties": {
|
|
1045
|
+
"enabled": {
|
|
1046
|
+
"type": "boolean",
|
|
1047
|
+
"default": false
|
|
1048
|
+
},
|
|
1049
|
+
"metrics": {
|
|
1050
|
+
"type": "object",
|
|
1051
|
+
"properties": {
|
|
1052
|
+
"connections": {
|
|
1053
|
+
"type": "boolean",
|
|
1054
|
+
"default": true
|
|
1055
|
+
},
|
|
1056
|
+
"queryTime": {
|
|
1057
|
+
"type": "boolean",
|
|
1058
|
+
"default": true
|
|
1059
|
+
},
|
|
1060
|
+
"slowQueryThreshold": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"default": "100ms"
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"redis": {
|
|
1069
|
+
"type": "object",
|
|
1070
|
+
"properties": {
|
|
1071
|
+
"enabled": {
|
|
1072
|
+
"type": "boolean",
|
|
1073
|
+
"default": false
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
"persistence": {
|
|
1078
|
+
"type": "object",
|
|
1079
|
+
"properties": {
|
|
1080
|
+
"enabled": {
|
|
1081
|
+
"type": "boolean",
|
|
1082
|
+
"default": true
|
|
1083
|
+
},
|
|
1084
|
+
"flushInterval": {
|
|
1085
|
+
"type": "string",
|
|
1086
|
+
"default": "1m"
|
|
1087
|
+
},
|
|
1088
|
+
"retentionDays": {
|
|
1089
|
+
"type": "integer",
|
|
1090
|
+
"default": 30
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
"alerts": {
|
|
1095
|
+
"type": "object",
|
|
1096
|
+
"properties": {
|
|
1097
|
+
"enabled": {
|
|
1098
|
+
"type": "boolean",
|
|
1099
|
+
"default": false
|
|
1100
|
+
},
|
|
1101
|
+
"email": {
|
|
1102
|
+
"type": "object",
|
|
1103
|
+
"properties": {
|
|
1104
|
+
"enabled": {
|
|
1105
|
+
"type": "boolean",
|
|
1106
|
+
"default": false
|
|
1107
|
+
},
|
|
1108
|
+
"recipients": {
|
|
1109
|
+
"type": "array",
|
|
1110
|
+
"items": {
|
|
1111
|
+
"type": "string",
|
|
1112
|
+
"format": "email"
|
|
1113
|
+
},
|
|
1114
|
+
"default": []
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
"thresholds": {
|
|
1119
|
+
"type": "object",
|
|
1120
|
+
"properties": {
|
|
1121
|
+
"cpuPercent": {
|
|
1122
|
+
"type": "number",
|
|
1123
|
+
"default": 80
|
|
1124
|
+
},
|
|
1125
|
+
"memoryPercent": {
|
|
1126
|
+
"type": "number",
|
|
1127
|
+
"default": 85
|
|
1128
|
+
},
|
|
1129
|
+
"diskPercent": {
|
|
1130
|
+
"type": "number",
|
|
1131
|
+
"default": 90
|
|
1132
|
+
},
|
|
1133
|
+
"errorRatePercent": {
|
|
1134
|
+
"type": "number",
|
|
1135
|
+
"default": 5
|
|
1136
|
+
},
|
|
1137
|
+
"responseTimeMs": {
|
|
1138
|
+
"type": "number",
|
|
1139
|
+
"default": 1000
|
|
1140
|
+
},
|
|
1141
|
+
"rateLimitBlocksPerMinute": {
|
|
1142
|
+
"type": "number",
|
|
1143
|
+
"default": 100
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"cooldown": {
|
|
1148
|
+
"type": "string",
|
|
1149
|
+
"default": "5m"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
"endpoints": {
|
|
1154
|
+
"type": "object",
|
|
1155
|
+
"properties": {
|
|
1156
|
+
"enabled": {
|
|
1157
|
+
"type": "boolean",
|
|
1158
|
+
"default": false
|
|
1159
|
+
},
|
|
1160
|
+
"basePath": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"default": "/monitoring"
|
|
1163
|
+
},
|
|
1164
|
+
"stream": {
|
|
1165
|
+
"type": "object",
|
|
1166
|
+
"properties": {
|
|
1167
|
+
"enabled": {
|
|
1168
|
+
"type": "boolean",
|
|
1169
|
+
"default": true
|
|
1170
|
+
},
|
|
1171
|
+
"path": {
|
|
1172
|
+
"type": "string",
|
|
1173
|
+
"default": "/stream"
|
|
1174
|
+
},
|
|
1175
|
+
"interval": {
|
|
1176
|
+
"type": "string",
|
|
1177
|
+
"default": "5s"
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"snapshot": {
|
|
1182
|
+
"type": "object",
|
|
1183
|
+
"properties": {
|
|
1184
|
+
"enabled": {
|
|
1185
|
+
"type": "boolean",
|
|
1186
|
+
"default": true
|
|
1187
|
+
},
|
|
1188
|
+
"path": {
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"default": "/snapshot"
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"history": {
|
|
1195
|
+
"type": "object",
|
|
1196
|
+
"properties": {
|
|
1197
|
+
"enabled": {
|
|
1198
|
+
"type": "boolean",
|
|
1199
|
+
"default": true
|
|
1200
|
+
},
|
|
1201
|
+
"path": {
|
|
1202
|
+
"type": "string",
|
|
1203
|
+
"default": "/history"
|
|
1204
|
+
},
|
|
1205
|
+
"maxMinutes": {
|
|
1206
|
+
"type": "integer",
|
|
1207
|
+
"default": 60
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
"alerts": {
|
|
1212
|
+
"type": "object",
|
|
1213
|
+
"properties": {
|
|
1214
|
+
"enabled": {
|
|
1215
|
+
"type": "boolean",
|
|
1216
|
+
"default": true
|
|
1217
|
+
},
|
|
1218
|
+
"path": {
|
|
1219
|
+
"type": "string",
|
|
1220
|
+
"default": "/alerts"
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"fileUpload": {
|
|
1229
|
+
"type": "object",
|
|
1230
|
+
"properties": {
|
|
1231
|
+
"enabled": {
|
|
1232
|
+
"type": "boolean",
|
|
1233
|
+
"default": true
|
|
1234
|
+
},
|
|
1235
|
+
"maxFileSizeBytes": {
|
|
1236
|
+
"type": "integer",
|
|
1237
|
+
"default": 10485760
|
|
1238
|
+
},
|
|
1239
|
+
"allowedMimeTypes": {
|
|
1240
|
+
"type": "array",
|
|
1241
|
+
"items": {
|
|
1242
|
+
"type": "string"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"blockedMimeTypes": {
|
|
1246
|
+
"type": "array",
|
|
1247
|
+
"items": {
|
|
1248
|
+
"type": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"default": [
|
|
1251
|
+
"application/x-executable",
|
|
1252
|
+
"application/x-msdos-program",
|
|
1253
|
+
"application/x-msdownload"
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1256
|
+
"uploadBasePath": {
|
|
1257
|
+
"type": "string"
|
|
1258
|
+
},
|
|
1259
|
+
"generateUniqueNames": {
|
|
1260
|
+
"type": "boolean",
|
|
1261
|
+
"default": true
|
|
1262
|
+
},
|
|
1263
|
+
"cacheMaxAge": {
|
|
1264
|
+
"type": "integer",
|
|
1265
|
+
"default": 86400
|
|
1266
|
+
},
|
|
1267
|
+
"enableRangeRequests": {
|
|
1268
|
+
"type": "boolean",
|
|
1269
|
+
"default": true
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
"storage": {
|
|
1274
|
+
"type": "object",
|
|
1275
|
+
"properties": {
|
|
1276
|
+
"enabled": {
|
|
1277
|
+
"type": "boolean",
|
|
1278
|
+
"default": false
|
|
1279
|
+
},
|
|
1280
|
+
"basePath": {
|
|
1281
|
+
"type": "string",
|
|
1282
|
+
"default": "./uploads"
|
|
1283
|
+
},
|
|
1284
|
+
"maxFileSizeBytes": {
|
|
1285
|
+
"type": "integer",
|
|
1286
|
+
"default": 104857600
|
|
1287
|
+
},
|
|
1288
|
+
"allowedMimeTypes": {
|
|
1289
|
+
"type": "array",
|
|
1290
|
+
"items": {
|
|
1291
|
+
"type": "string"
|
|
1292
|
+
},
|
|
1293
|
+
"default": []
|
|
1294
|
+
},
|
|
1295
|
+
"blockedMimeTypes": {
|
|
1296
|
+
"type": "array",
|
|
1297
|
+
"items": {
|
|
1298
|
+
"type": "string"
|
|
1299
|
+
},
|
|
1300
|
+
"default": ["application/x-executable", "application/x-msdos-program"]
|
|
1301
|
+
},
|
|
1302
|
+
"cdn": {
|
|
1303
|
+
"type": "object",
|
|
1304
|
+
"properties": {
|
|
1305
|
+
"enabled": {
|
|
1306
|
+
"type": "boolean",
|
|
1307
|
+
"default": true
|
|
1308
|
+
},
|
|
1309
|
+
"basePath": {
|
|
1310
|
+
"type": "string",
|
|
1311
|
+
"default": "/cdn"
|
|
1312
|
+
},
|
|
1313
|
+
"cacheMaxAge": {
|
|
1314
|
+
"type": "integer",
|
|
1315
|
+
"default": 86400
|
|
1316
|
+
},
|
|
1317
|
+
"enableRangeRequests": {
|
|
1318
|
+
"type": "boolean",
|
|
1319
|
+
"default": true
|
|
1320
|
+
},
|
|
1321
|
+
"enableEtag": {
|
|
1322
|
+
"type": "boolean",
|
|
1323
|
+
"default": true
|
|
1324
|
+
},
|
|
1325
|
+
"corsOrigins": {
|
|
1326
|
+
"type": "array",
|
|
1327
|
+
"items": {
|
|
1328
|
+
"type": "string"
|
|
1329
|
+
},
|
|
1330
|
+
"default": ["*"]
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"formData": {
|
|
1335
|
+
"type": "object",
|
|
1336
|
+
"properties": {
|
|
1337
|
+
"filesField": {
|
|
1338
|
+
"type": "string",
|
|
1339
|
+
"default": "files"
|
|
1340
|
+
},
|
|
1341
|
+
"dataField": {
|
|
1342
|
+
"type": "string",
|
|
1343
|
+
"default": "data"
|
|
1344
|
+
},
|
|
1345
|
+
"maxFiles": {
|
|
1346
|
+
"type": "integer",
|
|
1347
|
+
"default": 10
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
},
|
|
1353
|
+
"logging": {
|
|
1354
|
+
"type": "object",
|
|
1355
|
+
"properties": {
|
|
1356
|
+
"debug": {
|
|
1357
|
+
"type": "boolean",
|
|
1358
|
+
"default": false
|
|
1359
|
+
},
|
|
1360
|
+
"info": {
|
|
1361
|
+
"type": "boolean",
|
|
1362
|
+
"default": true
|
|
1363
|
+
},
|
|
1364
|
+
"warn": {
|
|
1365
|
+
"type": "boolean",
|
|
1366
|
+
"default": true
|
|
1367
|
+
},
|
|
1368
|
+
"error": {
|
|
1369
|
+
"type": "boolean",
|
|
1370
|
+
"default": true
|
|
1371
|
+
},
|
|
1372
|
+
"prefix": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"default": "[Nucleus]"
|
|
1375
|
+
},
|
|
1376
|
+
"includeTimestamp": {
|
|
1377
|
+
"type": "boolean",
|
|
1378
|
+
"default": true
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
},
|
|
1382
|
+
"entities": {
|
|
1383
|
+
"type": "array",
|
|
1384
|
+
"description": "List of database entities",
|
|
1385
|
+
"items": {
|
|
1386
|
+
"$ref": "table.schema.json"
|
|
1387
|
+
},
|
|
1388
|
+
"minItems": 1
|
|
1389
|
+
},
|
|
1390
|
+
"databaseUrl": {
|
|
1391
|
+
"type": "string",
|
|
1392
|
+
"description": "Database URL"
|
|
1393
|
+
},
|
|
1394
|
+
"mode": {
|
|
1395
|
+
"type": "string",
|
|
1396
|
+
"enum": ["development", "production"],
|
|
1397
|
+
"default": "development"
|
|
1398
|
+
},
|
|
1399
|
+
"email": {
|
|
1400
|
+
"type": "object",
|
|
1401
|
+
"properties": {
|
|
1402
|
+
"gmail": {
|
|
1403
|
+
"type": "object",
|
|
1404
|
+
"properties": {
|
|
1405
|
+
"enabled": {
|
|
1406
|
+
"type": "boolean",
|
|
1407
|
+
"default": false
|
|
1408
|
+
},
|
|
1409
|
+
"json_file_path": {
|
|
1410
|
+
"type": "string"
|
|
1411
|
+
},
|
|
1412
|
+
"from_email": {
|
|
1413
|
+
"type": "string"
|
|
1414
|
+
},
|
|
1415
|
+
"from_name": {
|
|
1416
|
+
"type": "string",
|
|
1417
|
+
"default": "Nucleus"
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
"verification": {
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"properties": {
|
|
1426
|
+
"enabled": {
|
|
1427
|
+
"type": "boolean",
|
|
1428
|
+
"default": false
|
|
1429
|
+
},
|
|
1430
|
+
"autoResetOnRejection": {
|
|
1431
|
+
"type": "boolean",
|
|
1432
|
+
"default": true
|
|
1433
|
+
},
|
|
1434
|
+
"requireSignatureByDefault": {
|
|
1435
|
+
"type": "boolean",
|
|
1436
|
+
"default": false
|
|
1437
|
+
},
|
|
1438
|
+
"diffTrackingEnabled": {
|
|
1439
|
+
"type": "boolean",
|
|
1440
|
+
"default": true
|
|
1441
|
+
},
|
|
1442
|
+
"endpoints": {
|
|
1443
|
+
"type": "object",
|
|
1444
|
+
"properties": {
|
|
1445
|
+
"enabled": {
|
|
1446
|
+
"type": "boolean",
|
|
1447
|
+
"default": true
|
|
1448
|
+
},
|
|
1449
|
+
"basePath": {
|
|
1450
|
+
"type": "string",
|
|
1451
|
+
"default": "/verifications"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
"notification": {
|
|
1458
|
+
"type": "object",
|
|
1459
|
+
"properties": {
|
|
1460
|
+
"enabled": {
|
|
1461
|
+
"type": "boolean",
|
|
1462
|
+
"default": false
|
|
1463
|
+
},
|
|
1464
|
+
"portalEnabled": {
|
|
1465
|
+
"type": "boolean",
|
|
1466
|
+
"default": true
|
|
1467
|
+
},
|
|
1468
|
+
"emailEnabled": {
|
|
1469
|
+
"type": "boolean",
|
|
1470
|
+
"default": false
|
|
1471
|
+
},
|
|
1472
|
+
"defaultChannel": {
|
|
1473
|
+
"type": "string",
|
|
1474
|
+
"enum": ["portal", "email", "both"],
|
|
1475
|
+
"default": "portal"
|
|
1476
|
+
},
|
|
1477
|
+
"templateVariables": {
|
|
1478
|
+
"type": "object",
|
|
1479
|
+
"additionalProperties": {
|
|
1480
|
+
"type": "string"
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
"required": ["appId", "entities"],
|
|
1487
|
+
"additionalProperties": false
|
|
1488
|
+
}
|