nextjs-cms 0.9.30 → 0.9.31
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 +21 -21
- package/README.md +279 -279
- package/dist/api/actions/pages.d.ts +3 -3
- package/dist/api/client.d.ts +30 -0
- package/dist/api/client.d.ts.map +1 -0
- package/dist/api/client.js +82 -0
- package/dist/api/index.d.ts +1 -974
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +0 -13
- package/dist/api/lib/serverActions.d.ts +13 -49
- package/dist/api/lib/serverActions.d.ts.map +1 -1
- package/dist/api/lib/serverActions.js +103 -31
- package/dist/api/root.d.ts +18 -1916
- package/dist/api/root.d.ts.map +1 -1
- package/dist/api/root.js +18 -83
- package/dist/api/routers/config.d.ts.map +1 -1
- package/dist/api/routers/gallery.d.ts +1 -0
- package/dist/api/routers/gallery.d.ts.map +1 -1
- package/dist/api/routers/gallery.js +36 -8
- package/dist/api/routers/hasItemsSection.d.ts +5 -30
- package/dist/api/routers/hasItemsSection.d.ts.map +1 -1
- package/dist/api/routers/navigation.d.ts +3 -3
- package/dist/api/routers/simpleSection.d.ts +3 -15
- package/dist/api/routers/simpleSection.d.ts.map +1 -1
- package/dist/api/server.d.ts +2748 -0
- package/dist/api/server.d.ts.map +1 -0
- package/dist/api/server.js +100 -0
- package/dist/api/trpc/error-logging.d.ts +14 -0
- package/dist/api/trpc/error-logging.d.ts.map +1 -0
- package/dist/api/trpc/error-logging.js +75 -0
- package/dist/api/trpc/root.d.ts +3 -3
- package/dist/api/trpc/root.d.ts.map +1 -1
- package/dist/api/trpc/routers/config.d.ts.map +1 -1
- package/dist/api/trpc/routers/hasItemsSection.d.ts.map +1 -1
- package/dist/api/trpc/routers/navigation.d.ts +3 -3
- package/dist/api/trpc/routers/simpleSection.d.ts.map +1 -1
- package/dist/api/trpc/server.d.ts +9 -9
- package/dist/api/trpc/server.d.ts.map +1 -1
- package/dist/api/utils/async-caller-proxy.d.ts +2 -0
- package/dist/api/utils/async-caller-proxy.d.ts.map +1 -0
- package/dist/api/utils/async-caller-proxy.js +36 -0
- package/dist/api/utils/lazy-caller-proxy.d.ts +2 -0
- package/dist/api/utils/lazy-caller-proxy.d.ts.map +1 -0
- package/dist/api/utils/lazy-caller-proxy.js +36 -0
- package/dist/api/utils/router-types.d.ts +7 -0
- package/dist/api/utils/router-types.d.ts.map +1 -0
- package/dist/api/utils/router-types.js +0 -0
- package/dist/auth/trpc.d.ts +1 -1
- package/dist/auth/trpc.d.ts.map +1 -1
- package/dist/auth/trpc.js +0 -1
- package/dist/cli/lib/db-config.js +10 -10
- package/dist/cli/lib/update-sections.d.ts.map +1 -1
- package/dist/cli/lib/update-sections.js +29 -24
- package/dist/core/db/table-checker/MysqlTable.js +10 -10
- package/dist/core/factories/section-factory-with-esbuild.js +9 -9
- package/dist/core/factories/section-factory-with-jiti.js +9 -9
- package/dist/core/sections/category.d.ts +42 -42
- package/dist/core/sections/hasItems.d.ts +42 -42
- package/dist/core/sections/section.d.ts +22 -22
- package/dist/core/sections/simple.d.ts +8 -8
- package/dist/plugins/loader.d.ts +3 -1
- package/dist/plugins/loader.d.ts.map +1 -1
- package/dist/plugins/loader.js +28 -6
- package/dist/plugins/manifest.d.ts +28 -0
- package/dist/plugins/manifest.d.ts.map +1 -0
- package/dist/plugins/manifest.js +83 -0
- package/dist/plugins/registry.d.ts +22 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +25 -0
- package/dist/translations/client.d.ts +4 -4
- package/dist/utils/log.d.ts +18 -0
- package/dist/utils/log.d.ts.map +1 -0
- package/dist/utils/log.js +28 -0
- package/package.json +3 -3
- package/dist/core/fields/dateRange.d.ts +0 -115
- package/dist/core/fields/dateRange.d.ts.map +0 -1
- package/dist/core/fields/dateRange.js +0 -149
- package/dist/translations/locale-cookie.d.ts +0 -24
- package/dist/translations/locale-cookie.d.ts.map +0 -1
- package/dist/translations/locale-cookie.js +0 -44
- package/dist/translations/locale-utils.d.ts +0 -8
- package/dist/translations/locale-utils.d.ts.map +0 -1
- package/dist/translations/locale-utils.js +0 -11
- package/dist/translations/localization.d.ts +0 -40
- package/dist/translations/localization.d.ts.map +0 -1
- package/dist/translations/localization.js +0 -48
- package/dist/validators/dateRange.d.ts +0 -11
- package/dist/validators/dateRange.d.ts.map +0 -1
- package/dist/validators/dateRange.js +0 -16
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
import type { TranslationDictionary } from './types.js';
|
|
4
4
|
declare const useI18n: () => {
|
|
5
|
-
<Key extends "clear" | "delete" | "name" | "version" | "add" | "error" | "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint", Value extends import("international-types").LocaleValue = ((`${Key}#zero` | `${Key}#one` | `${Key}#two` | `${Key}#few` | `${Key}#many` | `${Key}#other`) & ("clear" | "delete" | "name" | "version" | "add" | "error" | "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint") extends never ? false : true) extends true ? {
|
|
5
|
+
<Key extends "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "delete" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "error" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "add" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "name" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "clear" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint", Value extends import("international-types").LocaleValue = ((`${Key}#zero` | `${Key}#one` | `${Key}#two` | `${Key}#few` | `${Key}#many` | `${Key}#other`) & ("here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "delete" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "error" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "add" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "name" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "clear" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint") extends never ? false : true) extends true ? {
|
|
6
6
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
7
7
|
readonly admins: "Admins";
|
|
8
8
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -1437,7 +1437,7 @@ declare const useI18n: () => {
|
|
|
1437
1437
|
readonly sectionHasNoLocalizedFields: "Section \"{section}\" has no localized fields. Add localized: true to at least one field in the section definition to enable translations.";
|
|
1438
1438
|
readonly noLocalizedFieldsHint: "To enable translations for \"{section}\", update the section definition in \"{file}\" inside the sections folder and add localized: true to the fields you want to translate.";
|
|
1439
1439
|
}, undefined, Key, Value>): string;
|
|
1440
|
-
<Key_1 extends "clear" | "delete" | "name" | "version" | "add" | "error" | "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint", Value_1 extends import("international-types").LocaleValue = ((`${Key_1}#zero` | `${Key_1}#one` | `${Key_1}#two` | `${Key_1}#few` | `${Key_1}#many` | `${Key_1}#other`) & ("clear" | "delete" | "name" | "version" | "add" | "error" | "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint") extends never ? false : true) extends true ? {
|
|
1440
|
+
<Key_1 extends "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "delete" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "error" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "add" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "name" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "clear" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint", Value_1 extends import("international-types").LocaleValue = ((`${Key_1}#zero` | `${Key_1}#one` | `${Key_1}#two` | `${Key_1}#few` | `${Key_1}#many` | `${Key_1}#other`) & ("here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "delete" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "error" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "add" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "name" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "clear" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint") extends never ? false : true) extends true ? {
|
|
1441
1441
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
1442
1442
|
readonly admins: "Admins";
|
|
1443
1443
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -3351,7 +3351,7 @@ declare const useI18n: () => {
|
|
|
3351
3351
|
readonly noLocalizedFields: "This section has no localized fields.";
|
|
3352
3352
|
readonly sectionHasNoLocalizedFields: "Section \"{section}\" has no localized fields. Add localized: true to at least one field in the section definition to enable translations.";
|
|
3353
3353
|
readonly noLocalizedFieldsHint: "To enable translations for \"{section}\", update the section definition in \"{file}\" inside the sections folder and add localized: true to the fields you want to translate.";
|
|
3354
|
-
}, Scope, "
|
|
3354
|
+
}, Scope, "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "delete" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "error" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "add" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "name" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "clear" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint">, Value_2 extends import("international-types").LocaleValue = import("international-types").ScopedValue<{
|
|
3355
3355
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
3356
3356
|
readonly admins: "Admins";
|
|
3357
3357
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -4786,7 +4786,7 @@ declare const useI18n: () => {
|
|
|
4786
4786
|
readonly noLocalizedFields: "This section has no localized fields.";
|
|
4787
4787
|
readonly sectionHasNoLocalizedFields: "Section \"{section}\" has no localized fields. Add localized: true to at least one field in the section definition to enable translations.";
|
|
4788
4788
|
readonly noLocalizedFieldsHint: "To enable translations for \"{section}\", update the section definition in \"{file}\" inside the sections folder and add localized: true to the fields you want to translate.";
|
|
4789
|
-
}, Scope, "
|
|
4789
|
+
}, Scope, "here" | "adminDoesNotExist" | "admins" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "date" | "details" | "section" | "noData" | "loginToYourAccount" | "login" | "logout" | "username" | "password" | "rememberMe" | "haveAccount" | "dontHaveAnAccount" | "register" | "registerNow" | "registerNewAccount" | "forgotPassword" | "resetPassword" | "forgotPasswordText" | "email" | "sendResetLink" | "complyWithTerms" | "termsAndConditions" | "thankYouForRegistering" | "thankYouForRegisteringText" | "usernameRequired" | "passwordRequired" | "usernamePasswordRequired" | "adminAlreadyExists" | "selectAtLeastOnePrivilege" | "emailRequired" | "dashboard" | "myCourses" | "myReviews" | "myBookmarks" | "myBooks" | "orders" | "youDontHaveOrders" | "youDontHaveBookmarks" | "ordersSubtitle" | "reviewsSubtitle" | "bookmarksSubtitle" | "billingInfo" | "editProfile" | "security" | "socialProfiles" | "notifications" | "privacy" | "deleteProfile" | "firstName" | "lastName" | "phoneNumber" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "delete" | "upload" | "editPhoto" | "personalDetails" | "personalDetailsText" | "loading" | "profilePhotoChanged" | "profilePhotoChangedError" | "error" | "about" | "aboutText" | "profile" | "profileSettings" | "contact" | "contactText" | "message" | "sendMessage" | "courses" | "books" | "home" | "searchCourses" | "courseDescription" | "bookDescription" | "otherCourses" | "whatsIncluded" | "unlimitedAccess" | "unlimitedAccessToItems" | "expertiseAndInsights" | "learnFromExperts" | "coursesAndBooks" | "coursesAndBooksText" | "learnOnYourSchedule" | "getThisCourse" | "videoCount" | "video" | "youPurchasedCourse" | "watchCourse" | "youCanAccessCourse" | "videos" | "courseVideos" | "rate" | "youCanRateItemText" | "submit" | "edit" | "leaveFeedback" | "description" | "content" | "reviews" | "subscribers" | "nowPlaying" | "addToBookmarks" | "removeFromBookmarks" | "price" | "coursePrice" | "bookPrice" | "drSalamCourses" | "drSalamBooks" | "save" | "trendingCourses" | "trendingBooks" | "otherBooks" | "youPurchasedBook" | "youCanAccessBook" | "youCanAccessBookAfterPayment" | "downloadBook" | "getThisBook" | "sales" | "review" | "resetPasswordEmailSent" | "emailNotValid" | "emailNotFound" | "somethingWentWrong" | "securitySettings" | "changePassword" | "changePasswordText" | "yourCurrentEmailIs" | "newEmailAddress" | "changeEmailAddress" | "update" | "currentPassword" | "newPassword" | "confirmNewPassword" | "passwordStrengthTooltip" | "passwordStrength" | "passwordsDoNotMatch" | "veryWeak" | "weak" | "fair" | "strong" | "good" | "serverError" | "diskSpace" | "totalDiskSpace" | "totalSpace" | "usedSpace" | "usedDiskSpace" | "thisMothBandwidth" | "totalBandwidth" | "usedBandwidth" | "emailAccounts" | "totalEmails" | "usedEmails" | "approved" | "pendingApproval" | "by" | "browse" | "noFileSelected" | "startTyping" | "startTypingForSuggestions" | "addNew" | "new" | "approve" | "add" | "addNewItem" | "catDeleteTextLight" | "catDeleteWarningLight" | "catDeleteText" | "catDeleteWarning" | "catDeleteWarningSubtitle" | "cancel" | "unsavedChangesConfirm" | "deleteLocaleTranslation" | "deleteLocaleTranslationText" | "localesHeading" | "baseLocaleBadge" | "editingContentTranslation" | "localizationNotEnabledForSection" | "localeSwitcherDevOnly" | "invalidLocale" | "cannotDeleteBaseLocaleTranslation" | "localesTableDoesNotExist" | "deleteLocaleTranslationFailed" | "unknownErrorOccurred" | "localeTranslationDeleted" | "itemCreatedSuccessfully" | "itemUpdatedSuccessfully" | "sectionUpdatedSuccessfully" | "itemDeletedSuccessfully" | "createNewEmailAccount" | "emailQuota" | "unlimited" | "quota" | "updateQuota" | "create" | "lastLoginIp" | "passengerApplications" | "totalDatabases" | "usedDatabases" | "deleteEmailAccount" | "totalPageViews" | "totalSessions" | "totalUniqueUsers" | "bounceRate" | "monthlyPageViews" | "topDevices" | "topCountries" | "liveUsers" | "analytics" | "countriesDevices" | "page" | "device" | "liveUsersAreViewing" | "noLiveUsers" | "liveUsersSubtitle" | "source" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "name" | "emailAddress" | "log" | "logs" | "select" | "selectOptions" | "settings" | "deleteItemText" | "deleteEmailText" | "dropzoneText" | "noItems" | "removeMarker" | "restoreMarker" | "restoreMarkerTooltip" | "gallery" | "uploadPhotosToGallery" | "deleteGalleryPhoto" | "deleteGalleryPhotoText" | "galleryPhotoDeleted" | "errorsInSubmit" | "newVariant" | "checkAll" | "removeAll" | "cpanelCredentialsNotSet" | "logoutError" | "deletePhoto" | "deletePhotoText" | "deleteVideo" | "deleteVideoText" | "deleteDocument" | "deleteDocumentText" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "videoMarkedForDeletion" | "documentMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "search" | "today" | "last7Days" | "last30Days" | "last365Days" | "custom" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisher" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "language" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "plugins" | "categorySections" | "sectionsWithItems" | "simpleSections" | "cpanelPluginMisconfigured" | "loadingCpanelData" | "unableToLoadCpanelData" | "usedLabel" | "totalLabel" | "databases" | "pnpmVersion" | "npmVersion" | "bunVersion" | "cPanelDashboard" | "noTokenProvided" | "invalidCredentials" | "failedToCreateTokens" | "failedToSaveTokens" | "oldPasswordIncorrect" | "usernameAndPasswordRequired" | "invalidFilePath" | "invalidRequest" | "fileNotFound" | "invalidFileType" | "sectionTableIdentifierNotFound" | "checkboxRequired" | "requiredField" | "invalidColorFormat" | "invalidImageExtension" | "invalidFileExtension" | "fileSizeExceeded" | "invalidImageType" | "invalidVideoType" | "invalidDocumentType" | "imageDimensionMismatch" | "couldNotVerifyImageDimensions" | "atLeastOneValueRequired" | "invalidSlugFormat" | "invalidColorPleaseProvideValidHex" | "invalidMapFormat" | "minLength" | "maxLength" | "numberMinLength" | "numberMaxLength" | "numberMinValue" | "numberMaxValue" | "fieldIsRequired" | "unableToLoadImage" | "unableToReadFile" | "errorReadingFile" | "publish" | "level" | "parentId" | "selectFieldConfigError" | "tableIdentifierLabelRequired" | "i18nMustHaveAtLeastOneLanguage" | "fieldMinValueError" | "fieldMaxValueError" | "fieldMinMaxMismatch" | "fieldLengthMismatch" | "fieldDateMinValueError" | "fieldDateMaxValueError" | "fieldDateBoundsMismatch" | "invalidDatePleaseProvideValid" | "fileCorrupted" | "fileWriteError" | "fileDeleteError" | "folderNotSet" | "imageNotSet" | "bufferNotSet" | "invalidFileTypeOrExtension" | "fileSizeExceedsMax" | "imageDimensionMismatchDetailed" | "photoFieldBuildRequired" | "documentWriteError" | "documentDeleteError" | "invalidDocumentFileType" | "videoFolderNotSet" | "videoBufferNotSet" | "videoWriteError" | "recordWithFieldExists" | "recordWithCombinationExists" | "sqlQueryNotDefined" | "galleryTableNotSetUp" | "useVideoApiRoute" | "searchDots" | "noItemFound" | "searchOptionsDots" | "availableOptions" | "searchThroughOptions" | "filterOptionsHint" | "openMainMenu" | "openUserMenu" | "profileImage" | "logo" | "newImage" | "autoGeneratedFromLinkedField" | "clear" | "close" | "clearAllSelectedOptions" | "galleryPhoto" | "parentItemNotFound" | "preSubmitHookFailed" | "failedToBuildLocaleSqlQuery" | "noLocalizedFields" | "sectionHasNoLocalizedFields" | "noLocalizedFieldsHint">, Value_3 extends import("international-types").LocaleValue = import("international-types").ScopedValue<{
|
|
4790
4790
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
4791
4791
|
readonly admins: "Admins";
|
|
4792
4792
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unified console output for runtime warnings, errors, and info messages
|
|
3
|
+
* outside of CLI commands.
|
|
4
|
+
*
|
|
5
|
+
* Format: `<glyph> [<scope>] <message>` — color-coded so misconfiguration and
|
|
6
|
+
* runtime hiccups stand out in dev server output.
|
|
7
|
+
*
|
|
8
|
+
* - `logWarn` — yellow ⚠, non-fatal misconfiguration the dev should address.
|
|
9
|
+
* - `logError` — red ✗, recoverable runtime error or skipped operation.
|
|
10
|
+
* - `logInfo` — gray ℹ, hint or non-actionable note.
|
|
11
|
+
*
|
|
12
|
+
* For CLI commands use clack/`p.log.*` with chalk directly — they have their
|
|
13
|
+
* own UX conventions.
|
|
14
|
+
*/
|
|
15
|
+
export declare const logWarn: (scope: string, message: string) => void;
|
|
16
|
+
export declare const logError: (scope: string, message: string, cause?: unknown) => void;
|
|
17
|
+
export declare const logInfo: (scope: string, message: string) => void;
|
|
18
|
+
//# sourceMappingURL=log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/utils/log.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,KAAG,IAExD,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,EAAE,QAAQ,OAAO,KAAG,IAM1E,CAAA;AAED,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,KAAG,IAExD,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
/**
|
|
3
|
+
* Unified console output for runtime warnings, errors, and info messages
|
|
4
|
+
* outside of CLI commands.
|
|
5
|
+
*
|
|
6
|
+
* Format: `<glyph> [<scope>] <message>` — color-coded so misconfiguration and
|
|
7
|
+
* runtime hiccups stand out in dev server output.
|
|
8
|
+
*
|
|
9
|
+
* - `logWarn` — yellow ⚠, non-fatal misconfiguration the dev should address.
|
|
10
|
+
* - `logError` — red ✗, recoverable runtime error or skipped operation.
|
|
11
|
+
* - `logInfo` — gray ℹ, hint or non-actionable note.
|
|
12
|
+
*
|
|
13
|
+
* For CLI commands use clack/`p.log.*` with chalk directly — they have their
|
|
14
|
+
* own UX conventions.
|
|
15
|
+
*/
|
|
16
|
+
export const logWarn = (scope, message) => {
|
|
17
|
+
console.warn(chalk.yellow(`⚠ [${scope}] ${message}`));
|
|
18
|
+
};
|
|
19
|
+
export const logError = (scope, message, cause) => {
|
|
20
|
+
if (cause === undefined) {
|
|
21
|
+
console.error(chalk.red(`✗ [${scope}] ${message}`));
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
console.error(chalk.red(`✗ [${scope}] ${message}`), cause);
|
|
25
|
+
};
|
|
26
|
+
export const logInfo = (scope, message) => {
|
|
27
|
+
console.info(chalk.gray(`ℹ [${scope}] ${message}`));
|
|
28
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextjs-cms",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.31",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -220,8 +220,8 @@
|
|
|
220
220
|
"tsx": "^4.20.6",
|
|
221
221
|
"typescript": "^5.9.2",
|
|
222
222
|
"@lzcms/eslint-config": "0.3.0",
|
|
223
|
-
"@lzcms/
|
|
224
|
-
"@lzcms/
|
|
223
|
+
"@lzcms/prettier-config": "0.1.0",
|
|
224
|
+
"@lzcms/tsconfig": "0.1.0"
|
|
225
225
|
},
|
|
226
226
|
"license": "MIT",
|
|
227
227
|
"keywords": [
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import type { BaseFieldConfig } from './field.js';
|
|
2
|
-
import { Field } from './field.js';
|
|
3
|
-
import { entityKind } from '../helpers/index.js';
|
|
4
|
-
import * as z from 'zod';
|
|
5
|
-
declare const configSchema: z.ZodObject<{
|
|
6
|
-
startName: z.ZodString;
|
|
7
|
-
endName: z.ZodString;
|
|
8
|
-
format: z.ZodOptional<z.ZodEnum<{
|
|
9
|
-
date: "date";
|
|
10
|
-
datetime: "datetime";
|
|
11
|
-
}>>;
|
|
12
|
-
defaultStartValue: z.ZodOptional<z.ZodCustom<Date, Date>>;
|
|
13
|
-
defaultEndValue: z.ZodOptional<z.ZodCustom<Date, Date>>;
|
|
14
|
-
}, z.core.$strict>;
|
|
15
|
-
type Config = z.infer<typeof configSchema>;
|
|
16
|
-
/**
|
|
17
|
-
* DateRangeField stores two DB columns: startName and endName.
|
|
18
|
-
*
|
|
19
|
-
* Because Field expects a single `name`, we pass `startName` as `name` to the
|
|
20
|
-
* super constructor (used for label generation / identity only).
|
|
21
|
-
* The field opts out of the normal single-column SQL path via hasSqlNameAndValue()=false
|
|
22
|
-
* and instead exposes setValues() / getSqlNamesAndValues() which submit.ts calls
|
|
23
|
-
* via an is(field, DateRangeField) guard — the same pattern used for SelectField.
|
|
24
|
-
*/
|
|
25
|
-
export declare class DateRangeField extends Field<'date_range', Config> {
|
|
26
|
-
static readonly [entityKind]: string;
|
|
27
|
-
readonly startName: string;
|
|
28
|
-
readonly endName: string;
|
|
29
|
-
readonly format: 'date' | 'datetime';
|
|
30
|
-
private startValue;
|
|
31
|
-
private endValue;
|
|
32
|
-
constructor(config: Omit<BaseFieldConfig<Config>, 'name'> & Config);
|
|
33
|
-
hasSqlNameAndValue(): boolean;
|
|
34
|
-
setValues(postData: FormData): void;
|
|
35
|
-
getSqlNamesAndValues(): Record<string, string | null>;
|
|
36
|
-
getValue(): {
|
|
37
|
-
from: string | null;
|
|
38
|
-
to: string | null;
|
|
39
|
-
};
|
|
40
|
-
exportForClient(): {
|
|
41
|
-
startName: string;
|
|
42
|
-
endName: string;
|
|
43
|
-
format: "date" | "datetime";
|
|
44
|
-
startValue: any;
|
|
45
|
-
endValue: any;
|
|
46
|
-
type: "date_range";
|
|
47
|
-
name: string;
|
|
48
|
-
label: string;
|
|
49
|
-
required: boolean;
|
|
50
|
-
localized?: boolean;
|
|
51
|
-
conditionalFields: import("../types/index.js").ConditionalField[];
|
|
52
|
-
readonly: boolean;
|
|
53
|
-
defaultValue: any;
|
|
54
|
-
value: any;
|
|
55
|
-
};
|
|
56
|
-
checkRequired(): void;
|
|
57
|
-
prepareForSubmission(): Promise<void>;
|
|
58
|
-
private parseDate;
|
|
59
|
-
private formatDate;
|
|
60
|
-
}
|
|
61
|
-
export type DateRangeFieldClientConfig = ReturnType<DateRangeField['exportForClient']>;
|
|
62
|
-
declare const optionsSchema: z.ZodObject<{
|
|
63
|
-
startName: z.ZodString;
|
|
64
|
-
endName: z.ZodString;
|
|
65
|
-
format: z.ZodOptional<z.ZodEnum<{
|
|
66
|
-
date: "date";
|
|
67
|
-
datetime: "datetime";
|
|
68
|
-
}>>;
|
|
69
|
-
defaultStartValue: z.ZodOptional<z.ZodCustom<Date, Date>>;
|
|
70
|
-
defaultEndValue: z.ZodOptional<z.ZodCustom<Date, Date>>;
|
|
71
|
-
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
72
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
-
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
74
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
75
|
-
conditionalRules: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types/index.js").ConditionalRule, import("../types/index.js").ConditionalRule>>>;
|
|
76
|
-
adminGenerated: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<false>, z.ZodLiteral<"readonly">]>>;
|
|
77
|
-
localized: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
-
}, z.core.$strict>;
|
|
79
|
-
declare const dateRangeFieldConfigSchema: z.ZodObject<{
|
|
80
|
-
/**
|
|
81
|
-
* Auto-computed as `${startName}|${endName}`.
|
|
82
|
-
* Satisfies the `FieldConfig` union constraint that every config has a `name` property.
|
|
83
|
-
* Never set manually — use `startName` and `endName` instead.
|
|
84
|
-
*/
|
|
85
|
-
name: z.ZodString;
|
|
86
|
-
type: z.ZodLiteral<"date_range">;
|
|
87
|
-
build: z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodCustom<DateRangeField, DateRangeField>>;
|
|
88
|
-
startName: z.ZodString;
|
|
89
|
-
endName: z.ZodString;
|
|
90
|
-
format: z.ZodOptional<z.ZodEnum<{
|
|
91
|
-
date: "date";
|
|
92
|
-
datetime: "datetime";
|
|
93
|
-
}>>;
|
|
94
|
-
defaultStartValue: z.ZodOptional<z.ZodCustom<Date, Date>>;
|
|
95
|
-
defaultEndValue: z.ZodOptional<z.ZodCustom<Date, Date>>;
|
|
96
|
-
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
97
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
-
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
99
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
100
|
-
conditionalRules: z.ZodOptional<z.ZodArray<z.ZodCustom<import("../types/index.js").ConditionalRule, import("../types/index.js").ConditionalRule>>>;
|
|
101
|
-
adminGenerated: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<false>, z.ZodLiteral<"readonly">]>>;
|
|
102
|
-
localized: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
-
}, z.core.$strict>;
|
|
104
|
-
export type DateRangeFieldConfig = z.infer<typeof dateRangeFieldConfigSchema>;
|
|
105
|
-
/**
|
|
106
|
-
* Helper to create a date range field configuration.
|
|
107
|
-
* Uses `startName` and `endName` instead of the usual `name`.
|
|
108
|
-
* The `name` property is auto-computed as `${startName}|${endName}`.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* dateRangeField({ startName: 'event_start', endName: 'event_end', label: 'Event Dates' })
|
|
112
|
-
*/
|
|
113
|
-
export declare function dateRangeField(field: z.infer<typeof optionsSchema>): DateRangeFieldConfig;
|
|
114
|
-
export {};
|
|
115
|
-
//# sourceMappingURL=dateRange.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dateRange.d.ts","sourceRoot":"","sources":["../../../src/core/fields/dateRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,KAAK,EAAyB,MAAM,YAAY,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAIxB,QAAA,MAAM,YAAY;;;;;;;;;kBAMhB,CAAA;AAEF,KAAK,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC;IAC3D,gBAAyB,CAAC,UAAU,CAAC,EAAE,MAAM,CAAmB;IAEhE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAA;IAEpC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,QAAQ,CAAK;gBAET,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM;IAYzD,kBAAkB,IAAI,OAAO;IAMtC,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;IASnC,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IASrD,QAAQ,IAAI;QAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;IAO7C,eAAe;;;;;;;;;;;;;;;;IAWxB,aAAa,IAAI,IAAI;IASf,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAgB3C,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,UAAU;CAOrB;AAED,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAItF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;kBAGjB,CAAA;AAEF,QAAA,MAAM,0BAA0B;IAE5B;;;;OAIG;;;;;;;;;;;;;;;;;;;kBAOL,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE7E;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,GAAG,oBAAoB,CAczF"}
|