nextjs-cms 0.9.29 → 0.9.30
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/index.d.ts +974 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +13 -0
- package/dist/api/lib/serverActions.d.ts +49 -13
- package/dist/api/lib/serverActions.d.ts.map +1 -1
- package/dist/api/lib/serverActions.js +31 -103
- package/dist/api/root.d.ts +1916 -18
- package/dist/api/root.d.ts.map +1 -1
- package/dist/api/root.js +83 -18
- package/dist/api/routers/config.d.ts.map +1 -1
- package/dist/api/routers/gallery.d.ts +0 -1
- package/dist/api/routers/gallery.d.ts.map +1 -1
- package/dist/api/routers/gallery.js +8 -36
- package/dist/api/routers/hasItemsSection.d.ts +30 -5
- 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 +15 -3
- package/dist/api/routers/simpleSection.d.ts.map +1 -1
- 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/auth/trpc.d.ts +1 -1
- package/dist/auth/trpc.d.ts.map +1 -1
- package/dist/auth/trpc.js +1 -0
- 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 +24 -29
- 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/fields/dateRange.d.ts +115 -0
- package/dist/core/fields/dateRange.d.ts.map +1 -0
- package/dist/core/fields/dateRange.js +149 -0
- 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/derive.d.ts +0 -8
- package/dist/plugins/derive.d.ts.map +1 -1
- package/dist/plugins/derive.js +0 -32
- package/dist/plugins/server.d.ts +1 -1
- package/dist/plugins/server.d.ts.map +1 -1
- package/dist/plugins/server.js +1 -1
- package/dist/translations/client.d.ts +4 -4
- package/dist/translations/locale-cookie.d.ts +24 -0
- package/dist/translations/locale-cookie.d.ts.map +1 -0
- package/dist/translations/locale-cookie.js +44 -0
- package/dist/translations/locale-utils.d.ts +8 -0
- package/dist/translations/locale-utils.d.ts.map +1 -0
- package/dist/translations/locale-utils.js +11 -0
- package/dist/translations/localization.d.ts +40 -0
- package/dist/translations/localization.d.ts.map +1 -0
- package/dist/translations/localization.js +48 -0
- package/dist/validators/dateRange.d.ts +11 -0
- package/dist/validators/dateRange.d.ts.map +1 -0
- package/dist/validators/dateRange.js +16 -0
- package/package.json +1 -1
- package/dist/api/client.d.ts +0 -30
- package/dist/api/client.d.ts.map +0 -1
- package/dist/api/client.js +0 -82
- package/dist/api/server.d.ts +0 -2748
- package/dist/api/server.d.ts.map +0 -1
- package/dist/api/server.js +0 -100
- package/dist/api/utils/async-caller-proxy.d.ts +0 -2
- package/dist/api/utils/async-caller-proxy.d.ts.map +0 -1
- package/dist/api/utils/async-caller-proxy.js +0 -36
- package/dist/api/utils/lazy-caller-proxy.d.ts +0 -2
- package/dist/api/utils/lazy-caller-proxy.d.ts.map +0 -1
- package/dist/api/utils/lazy-caller-proxy.js +0 -36
- package/dist/api/utils/router-types.d.ts +0 -7
- package/dist/api/utils/router-types.d.ts.map +0 -1
- package/dist/api/utils/router-types.js +0 -0
- package/dist/plugins/manifest.d.ts +0 -28
- package/dist/plugins/manifest.d.ts.map +0 -1
- package/dist/plugins/manifest.js +0 -83
- package/dist/plugins/registry.d.ts +0 -22
- package/dist/plugins/registry.d.ts.map +0 -1
- package/dist/plugins/registry.js +0 -25
- package/dist/utils/log.d.ts +0 -18
- package/dist/utils/log.d.ts.map +0 -1
- package/dist/utils/log.js +0 -28
package/dist/plugins/derive.d.ts
CHANGED
|
@@ -21,12 +21,4 @@ export declare function derivePluginName(pluginPackage: string): string;
|
|
|
21
21
|
* "@nextjscms/plugin-google-analytics" → "googleAnalytics"
|
|
22
22
|
*/
|
|
23
23
|
export declare function derivePluginRouterKey(pluginPackage: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* Helper for plugin routers: derive the plugin's canonical name by reading
|
|
26
|
-
* its own package.json. Pass `import.meta.url` from the plugin's router file.
|
|
27
|
-
*
|
|
28
|
-
* Walks up from the calling module's directory until it finds a package.json
|
|
29
|
-
* with a "name" field, then applies {@link derivePluginName}.
|
|
30
|
-
*/
|
|
31
|
-
export declare function extractPluginName(importMetaUrl: string): string;
|
|
32
24
|
//# sourceMappingURL=derive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive.d.ts","sourceRoot":"","sources":["../../src/plugins/derive.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"derive.d.ts","sourceRoot":"","sources":["../../src/plugins/derive.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,uBAAuB,CAAA;AAEzD;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAe9D;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAanE"}
|
package/dist/plugins/derive.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import path from 'path';
|
|
2
|
-
import fs from 'fs';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
1
|
export const PLUGIN_PACKAGE_PREFIX = '@nextjscms/plugin-';
|
|
5
2
|
/**
|
|
6
3
|
* Derive a plugin's canonical internal name from its npm package name.
|
|
@@ -46,32 +43,3 @@ export function derivePluginRouterKey(pluginPackage) {
|
|
|
46
43
|
}
|
|
47
44
|
return first + rest.map((part) => part[0]?.toUpperCase() + part.slice(1)).join('');
|
|
48
45
|
}
|
|
49
|
-
/**
|
|
50
|
-
* Helper for plugin routers: derive the plugin's canonical name by reading
|
|
51
|
-
* its own package.json. Pass `import.meta.url` from the plugin's router file.
|
|
52
|
-
*
|
|
53
|
-
* Walks up from the calling module's directory until it finds a package.json
|
|
54
|
-
* with a "name" field, then applies {@link derivePluginName}.
|
|
55
|
-
*/
|
|
56
|
-
export function extractPluginName(importMetaUrl) {
|
|
57
|
-
const startDir = path.dirname(fileURLToPath(importMetaUrl));
|
|
58
|
-
let dir = startDir;
|
|
59
|
-
while (true) {
|
|
60
|
-
const candidate = path.join(dir, 'package.json');
|
|
61
|
-
if (fs.existsSync(candidate)) {
|
|
62
|
-
try {
|
|
63
|
-
const parsed = JSON.parse(fs.readFileSync(candidate, 'utf8'));
|
|
64
|
-
if (parsed.name)
|
|
65
|
-
return derivePluginName(parsed.name);
|
|
66
|
-
}
|
|
67
|
-
catch {
|
|
68
|
-
// continue walking
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
const parent = path.dirname(dir);
|
|
72
|
-
if (parent === dir) {
|
|
73
|
-
throw new Error(`[plugins] extractPluginName: could not find package.json starting from "${startDir}".`);
|
|
74
|
-
}
|
|
75
|
-
dir = parent;
|
|
76
|
-
}
|
|
77
|
-
}
|
package/dist/plugins/server.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './loader.js';
|
|
2
|
-
export { derivePluginName, derivePluginRouterKey,
|
|
2
|
+
export { derivePluginName, derivePluginRouterKey, PLUGIN_PACKAGE_PREFIX } from './derive.js';
|
|
3
3
|
export { runApiPrefetch, runRoutePrefetches, getRoutePrefetchPaths } from './prefetch.js';
|
|
4
4
|
//# sourceMappingURL=server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/plugins/server.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/plugins/server.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAC5F,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA"}
|
package/dist/plugins/server.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './loader.js';
|
|
2
|
-
export { derivePluginName, derivePluginRouterKey,
|
|
2
|
+
export { derivePluginName, derivePluginRouterKey, PLUGIN_PACKAGE_PREFIX } from './derive.js';
|
|
3
3
|
export { runApiPrefetch, runRoutePrefetches, getRoutePrefetchPaths } from './prefetch.js';
|
|
@@ -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 "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 ? {
|
|
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 ? {
|
|
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 "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 ? {
|
|
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 ? {
|
|
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, "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" | "
|
|
3354
|
+
}, Scope, "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_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, "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" | "
|
|
4789
|
+
}, Scope, "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_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,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cookie used to persist locale on the login page (no session).
|
|
3
|
+
* Read by auth layout when unauthenticated; set by login-page locale dropdown.
|
|
4
|
+
*/
|
|
5
|
+
export declare const LOCALE_COOKIE_NAME = "nextjs-cms-locale";
|
|
6
|
+
/**
|
|
7
|
+
* Set the login-page locale cookie (client-only).
|
|
8
|
+
* Call when user changes language on the login page; auth layout reads it when no session.
|
|
9
|
+
*/
|
|
10
|
+
export declare function setLoginPageLocaleCookie(locale: string): void;
|
|
11
|
+
/**
|
|
12
|
+
* Mark that user explicitly changed locale on login page.
|
|
13
|
+
* Used to determine whether to send locale to server on login.
|
|
14
|
+
*/
|
|
15
|
+
export declare function markLocaleChangedOnLogin(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Check if user explicitly changed locale on login page.
|
|
18
|
+
*/
|
|
19
|
+
export declare function wasLocaleChangedOnLogin(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Clear the locale changed flag after login.
|
|
22
|
+
*/
|
|
23
|
+
export declare function clearLocaleChangedOnLogin(): void;
|
|
24
|
+
//# sourceMappingURL=locale-cookie.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-cookie.d.ts","sourceRoot":"","sources":["../../src/translations/locale-cookie.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,sBAAsB,CAAA;AASrD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAG7D;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAG/C;AAED;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,CAGjD;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAGhD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cookie used to persist locale on the login page (no session).
|
|
3
|
+
* Read by auth layout when unauthenticated; set by login-page locale dropdown.
|
|
4
|
+
*/
|
|
5
|
+
export const LOCALE_COOKIE_NAME = 'nextjs-cms-locale';
|
|
6
|
+
/**
|
|
7
|
+
* SessionStorage key to track if user explicitly changed locale on login page.
|
|
8
|
+
*/
|
|
9
|
+
const LOCALE_CHANGED_KEY = 'nextjs-cms-locale-changed';
|
|
10
|
+
const MAX_AGE_YEAR = 60 * 60 * 24 * 365;
|
|
11
|
+
/**
|
|
12
|
+
* Set the login-page locale cookie (client-only).
|
|
13
|
+
* Call when user changes language on the login page; auth layout reads it when no session.
|
|
14
|
+
*/
|
|
15
|
+
export function setLoginPageLocaleCookie(locale) {
|
|
16
|
+
if (typeof document === 'undefined')
|
|
17
|
+
return;
|
|
18
|
+
document.cookie = `${LOCALE_COOKIE_NAME}=${encodeURIComponent(locale)}; path=/; max-age=${MAX_AGE_YEAR}; SameSite=Lax`;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Mark that user explicitly changed locale on login page.
|
|
22
|
+
* Used to determine whether to send locale to server on login.
|
|
23
|
+
*/
|
|
24
|
+
export function markLocaleChangedOnLogin() {
|
|
25
|
+
if (typeof sessionStorage === 'undefined')
|
|
26
|
+
return;
|
|
27
|
+
sessionStorage.setItem(LOCALE_CHANGED_KEY, 'true');
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if user explicitly changed locale on login page.
|
|
31
|
+
*/
|
|
32
|
+
export function wasLocaleChangedOnLogin() {
|
|
33
|
+
if (typeof sessionStorage === 'undefined')
|
|
34
|
+
return false;
|
|
35
|
+
return sessionStorage.getItem(LOCALE_CHANGED_KEY) === 'true';
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Clear the locale changed flag after login.
|
|
39
|
+
*/
|
|
40
|
+
export function clearLocaleChangedOnLogin() {
|
|
41
|
+
if (typeof sessionStorage === 'undefined')
|
|
42
|
+
return;
|
|
43
|
+
sessionStorage.removeItem(LOCALE_CHANGED_KEY);
|
|
44
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Locale codes that use RTL layout. Used for `dir` and font selection. */
|
|
2
|
+
export declare const RTL_LOCALES: Set<string>;
|
|
3
|
+
/**
|
|
4
|
+
* Resolve the effective locale from the user's stored locale, supported list, and fallback.
|
|
5
|
+
* Used in layouts to determine `html` lang and `I18nProviderClient` locale.
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolveLocale(userLocale: string | undefined, supported: readonly string[], fallback: string): string;
|
|
8
|
+
//# sourceMappingURL=locale-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-utils.d.ts","sourceRoot":"","sources":["../../src/translations/locale-utils.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,eAAO,MAAM,WAAW,aAA0B,CAAA;AAElD;;;GAGG;AACH,wBAAgB,aAAa,CACzB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,QAAQ,EAAE,MAAM,GACjB,MAAM,CAGR"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Locale codes that use RTL layout. Used for `dir` and font selection. */
|
|
2
|
+
export const RTL_LOCALES = new Set(['ar']);
|
|
3
|
+
/**
|
|
4
|
+
* Resolve the effective locale from the user's stored locale, supported list, and fallback.
|
|
5
|
+
* Used in layouts to determine `html` lang and `I18nProviderClient` locale.
|
|
6
|
+
*/
|
|
7
|
+
export function resolveLocale(userLocale, supported, fallback) {
|
|
8
|
+
if (!userLocale)
|
|
9
|
+
return fallback;
|
|
10
|
+
return supported.includes(userLocale) ? userLocale : fallback;
|
|
11
|
+
}
|