nextjs-cms 0.9.5 → 0.9.6
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 +290 -290
- package/dist/api/index.d.ts +6 -6
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/lib/serverActions.d.ts +6 -6
- package/dist/api/root.d.ts +12 -12
- package/dist/api/root.d.ts.map +1 -1
- package/dist/api/routers/config.d.ts.map +1 -1
- package/dist/api/routers/hasItemsSection.d.ts +2 -2
- 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 +1 -1
- package/dist/api/routers/simpleSection.d.ts.map +1 -1
- package/dist/cli/lib/db-config.js +10 -10
- package/dist/cli/lib/db-migrate.d.ts.map +1 -1
- package/dist/cli/lib/db-migrate.js +10 -11
- package/dist/cli/lib/update-sections.d.ts.map +1 -1
- package/dist/cli/lib/update-sections.js +19 -8
- package/dist/cli/utils/exec-utils.d.ts +1 -0
- package/dist/cli/utils/exec-utils.d.ts.map +1 -1
- package/dist/cli/utils/exec-utils.js +2 -1
- package/dist/cli/utils/schema-generator.d.ts.map +1 -1
- package/dist/cli/utils/schema-generator.js +9 -0
- package/dist/core/db/table-checker/MysqlTable.js +8 -8
- package/dist/core/factories/FieldFactory.d.ts +1 -8
- package/dist/core/factories/FieldFactory.d.ts.map +1 -1
- package/dist/core/factories/FieldFactory.js +1 -21
- package/dist/core/factories/section-factory-with-esbuild.d.ts.map +1 -1
- package/dist/core/factories/section-factory-with-esbuild.js +25 -11
- package/dist/core/factories/section-factory-with-jiti.d.ts.map +1 -1
- package/dist/core/factories/section-factory-with-jiti.js +25 -11
- package/dist/core/fields/checkbox.d.ts +1 -1
- package/dist/core/fields/color.d.ts +1 -1
- package/dist/core/fields/date.d.ts +1 -1
- 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/fields/document.d.ts +1 -1
- package/dist/core/fields/field.d.ts +13 -2
- package/dist/core/fields/field.d.ts.map +1 -1
- package/dist/core/fields/field.js +13 -3
- package/dist/core/fields/index.d.ts +4 -1
- package/dist/core/fields/index.d.ts.map +1 -1
- package/dist/core/fields/index.js +1 -0
- package/dist/core/fields/map.d.ts +1 -1
- package/dist/core/fields/password.d.ts +1 -1
- package/dist/core/fields/photo.d.ts +1 -1
- package/dist/core/fields/select.d.ts +2 -2
- package/dist/core/fields/selectMultiple.d.ts +1 -1
- package/dist/core/fields/slug.d.ts +1 -1
- package/dist/core/fields/tags.d.ts +1 -1
- package/dist/core/fields/video.d.ts +1 -1
- package/dist/core/sections/category.d.ts +4 -4
- package/dist/core/sections/hasItems.d.ts +4 -4
- package/dist/core/sections/section.d.ts +3 -3
- package/dist/core/sections/simple.d.ts +4 -4
- package/dist/core/submit/submit.d.ts.map +1 -1
- package/dist/core/submit/submit.js +9 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/db/cms-system-tables.d.ts +5 -0
- package/dist/db/cms-system-tables.d.ts.map +1 -0
- package/dist/db/cms-system-tables.js +17 -0
- package/dist/db/drizzle.config.d.ts.map +1 -1
- package/dist/db/drizzle.config.js +2 -0
- package/dist/translations/client.d.ts +4 -4
- package/dist/translations/localization.d.ts +39 -1
- package/dist/translations/localization.d.ts.map +1 -1
- package/dist/translations/localization.js +48 -0
- package/dist/translations/server.d.ts +4 -4
- 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/dist/validators/index.d.ts +1 -0
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +1 -0
- package/dist/validators/video.d.ts.map +1 -1
- package/dist/validators/video.js +4 -1
- package/package.json +8 -4
- package/dist/translations/dictionaries/ar.d.ts +0 -433
- package/dist/translations/dictionaries/ar.d.ts.map +0 -1
- package/dist/translations/dictionaries/ar.js +0 -444
- package/dist/translations/dictionaries/en.d.ts +0 -433
- package/dist/translations/dictionaries/en.d.ts.map +0 -1
- package/dist/translations/dictionaries/en.js +0 -444
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit.d.ts","sourceRoot":"","sources":["../../../src/core/submit/submit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAGtC,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,KAAK,EAAE,OAAO,EAAoC,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpF,OAAO,EAAE,UAAU,EAAM,MAAM,YAAY,CAAA;AAG3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,EAAa,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAM3F,KAAK,eAAe,GAAG;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,QAAQ,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,eAAe,CAAA;CACpC,CAAA;AAED,8BAAsB,MAAM;IACxB,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,EAAE,MAAM,CAAW;IAC/C,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IAC7B,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAY;IAC1D,SAAS,CAAC,MAAM,EAAE,OAAO,CAAQ;IACjC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAK;IACpC,OAAO,CAAC,QAAQ,CAAwB;IACxC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,SAAS,EAAE,QAAQ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MAAM;IAWzD;;;;OAIG;cACa,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAUhD;;;;;OAKG;cACa,qBAAqB,CAAC,UAAU,EAAE;QAAE,OAAO,EAAE,WAAW,EAAE,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAmD3G;;;;OAIG;YACW,YAAY;IA+B1B;;OAEG;IACU,MAAM;YA+GL,aAAa;IAkF3B,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED,IAAI,OAAO,IAAI,MAAM,EAAE,GAAG,IAAI,CAE7B;IAED,OAAO,CAAC,SAAS;CAMpB"}
|
|
@@ -2,7 +2,7 @@ import { sql } from 'drizzle-orm';
|
|
|
2
2
|
import { db } from '../../db/client';
|
|
3
3
|
import { SectionFactory } from '../factories';
|
|
4
4
|
import { entityKind, is } from '../helpers';
|
|
5
|
-
import { NumberField, PhotoField, SelectField, TextField } from '../fields';
|
|
5
|
+
import { DateRangeField, NumberField, PhotoField, SelectField, TextField } from '../fields';
|
|
6
6
|
import { MysqlTableChecker } from '../db';
|
|
7
7
|
import { recordLog } from '../../logging/index.js';
|
|
8
8
|
import getString from '../../translations';
|
|
@@ -282,6 +282,10 @@ export class Submit {
|
|
|
282
282
|
*/
|
|
283
283
|
setFieldValue(field) {
|
|
284
284
|
let value;
|
|
285
|
+
if (is(field, DateRangeField)) {
|
|
286
|
+
field.setValues(this._postData);
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
285
289
|
/**
|
|
286
290
|
* Check if the field is a select field that has depth (selecting from category section with depth > 1)
|
|
287
291
|
*/
|
|
@@ -301,6 +305,10 @@ export class Submit {
|
|
|
301
305
|
}
|
|
302
306
|
}
|
|
303
307
|
updateSqlNamesAndValues(field) {
|
|
308
|
+
if (is(field, DateRangeField)) {
|
|
309
|
+
Object.assign(this.sqlNamesAndValues, field.getSqlNamesAndValues());
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
304
312
|
if (field.hasSqlNameAndValue()) {
|
|
305
313
|
this.sqlNamesAndValues[field.name] = field.getSubmitValue();
|
|
306
314
|
}
|
|
@@ -61,7 +61,7 @@ export type ErrorItem = {
|
|
|
61
61
|
code: number;
|
|
62
62
|
};
|
|
63
63
|
export type SectionTypes = 'simple' | 'has_items' | 'category';
|
|
64
|
-
export type FieldType = 'text' | 'textarea' | 'rich_text' | 'select' | 'select_multiple' | 'checkbox' | 'color' | 'date' | 'datetime' | 'timestamp' | 'number' | 'map' | 'document' | 'photo' | 'video' | 'password' | 'tags' | 'slug';
|
|
64
|
+
export type FieldType = 'text' | 'textarea' | 'rich_text' | 'select' | 'select_multiple' | 'checkbox' | 'color' | 'date' | 'datetime' | 'timestamp' | 'number' | 'map' | 'document' | 'photo' | 'video' | 'password' | 'tags' | 'slug' | 'date_range';
|
|
65
65
|
export type RuleConditions = 'equals' | 'notEquals' | 'contains' | 'notContains' | 'greaterThan' | 'lessThan' | 'greaterThanOrEquals' | 'lessThanOrEquals';
|
|
66
66
|
export type ConditionalRule = {
|
|
67
67
|
field: FieldConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,KAAK,YAAY,MAAM,cAAc,CAAA;AAE5C,MAAM,MAAM,OAAO,GAAG;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,YAAY,EAAE,MAAM,IAAI,CAAA;CAC3B,CAAA;AAED,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AAA;IACnB,IAAI,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,iBAAiB,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,gBAAgB,CAAC,EAAE;QACf,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;KAChB,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAErD,MAAM,MAAM,WAAW,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,GAAG,CAAA;CACZ,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const DRIZZLE_SCOPE_ENV_KEY = "NEXTJS_CMS_DRIZZLE_SCOPE";
|
|
2
|
+
export declare const DRIZZLE_SCOPE_SYSTEM = "system";
|
|
3
|
+
export declare const CMS_SYSTEM_TABLE_NAMES: string[];
|
|
4
|
+
export declare const isDrizzleSystemScope: (env?: NodeJS.ProcessEnv) => boolean;
|
|
5
|
+
//# sourceMappingURL=cms-system-tables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cms-system-tables.d.ts","sourceRoot":"","sources":["../../src/db/cms-system-tables.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,qBAAqB,6BAA6B,CAAA;AAC/D,eAAO,MAAM,oBAAoB,WAAW,CAAA;AAE5C,eAAO,MAAM,sBAAsB,UAGyC,CAAA;AAE5E,eAAO,MAAM,oBAAoB,GAAI,MAAK,MAAM,CAAC,UAAwB,YAClB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AccessTokensTable, AdminPrivilegesTable, AdminsTable, EditorPhotosTable, LogsTable, NextJsCmsTablesTable, } from './schema.js';
|
|
2
|
+
const DRIZZLE_TABLE_NAME_SYMBOL = Symbol.for('drizzle:Name');
|
|
3
|
+
const CMS_SYSTEM_TABLES = [
|
|
4
|
+
NextJsCmsTablesTable,
|
|
5
|
+
AdminsTable,
|
|
6
|
+
AdminPrivilegesTable,
|
|
7
|
+
AccessTokensTable,
|
|
8
|
+
EditorPhotosTable,
|
|
9
|
+
LogsTable,
|
|
10
|
+
];
|
|
11
|
+
export const DRIZZLE_SCOPE_ENV_KEY = 'NEXTJS_CMS_DRIZZLE_SCOPE';
|
|
12
|
+
export const DRIZZLE_SCOPE_SYSTEM = 'system';
|
|
13
|
+
export const CMS_SYSTEM_TABLE_NAMES = CMS_SYSTEM_TABLES.map((table) => {
|
|
14
|
+
const tableRecord = table;
|
|
15
|
+
return tableRecord[DRIZZLE_TABLE_NAME_SYMBOL];
|
|
16
|
+
}).filter((tableName) => typeof tableName === 'string');
|
|
17
|
+
export const isDrizzleSystemScope = (env = process.env) => env[DRIZZLE_SCOPE_ENV_KEY] === DRIZZLE_SCOPE_SYSTEM;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drizzle.config.d.ts","sourceRoot":"","sources":["../../src/db/drizzle.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"drizzle.config.d.ts","sourceRoot":"","sources":["../../src/db/drizzle.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAA;AAIlD,QAAA,MAAM,aAAa,EAAE,MAcpB,CAAA;;AAED,wBAA0C;AAC1C,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig } from 'drizzle-kit';
|
|
2
|
+
import { CMS_SYSTEM_TABLE_NAMES, isDrizzleSystemScope } from './cms-system-tables.js';
|
|
2
3
|
import { dbConnectionConfig } from './client.js';
|
|
3
4
|
const drizzleConfig = {
|
|
4
5
|
dialect: 'mysql',
|
|
@@ -13,6 +14,7 @@ const drizzleConfig = {
|
|
|
13
14
|
},
|
|
14
15
|
verbose: false,
|
|
15
16
|
strict: true,
|
|
17
|
+
...(isDrizzleSystemScope() ? { tablesFilter: CMS_SYSTEM_TABLE_NAMES } : {}),
|
|
16
18
|
};
|
|
17
19
|
export default defineConfig(drizzleConfig);
|
|
18
20
|
export { drizzleConfig };
|
|
@@ -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" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "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" | "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" | "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" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "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" | "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" | "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" | "admins" | "date" | "custom" | "username" | "password" | "emailAddress" | "phoneNumber" | "language" | "search" | "publisher" | "section" | "logs" | "source" | "here" | "adminDoesNotExist" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "details" | "noData" | "loginToYourAccount" | "login" | "logout" | "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" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "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" | "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" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "log" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "today" | "last7Days" | "last30Days" | "last365Days" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "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" | "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" | "admins" | "date" | "custom" | "username" | "password" | "emailAddress" | "phoneNumber" | "language" | "search" | "publisher" | "section" | "logs" | "source" | "here" | "adminDoesNotExist" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "details" | "noData" | "loginToYourAccount" | "login" | "logout" | "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" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "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" | "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" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "log" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "today" | "last7Days" | "last30Days" | "last365Days" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "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" | "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";
|
|
@@ -1410,7 +1410,7 @@ declare const useI18n: () => {
|
|
|
1410
1410
|
readonly sectionHasNoLocalizedFields: "Section \"{section}\" has no localized fields. Add localized: true to at least one field in the section definition to enable translations.";
|
|
1411
1411
|
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.";
|
|
1412
1412
|
}, undefined, Key, Value>): string;
|
|
1413
|
-
<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" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "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" | "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" | "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" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "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" | "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" | "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 ? {
|
|
1413
|
+
<Key_1 extends "clear" | "delete" | "name" | "admins" | "date" | "custom" | "username" | "password" | "emailAddress" | "phoneNumber" | "language" | "search" | "publisher" | "section" | "logs" | "source" | "here" | "adminDoesNotExist" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "details" | "noData" | "loginToYourAccount" | "login" | "logout" | "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" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "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" | "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" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "log" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "today" | "last7Days" | "last30Days" | "last365Days" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "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" | "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" | "admins" | "date" | "custom" | "username" | "password" | "emailAddress" | "phoneNumber" | "language" | "search" | "publisher" | "section" | "logs" | "source" | "here" | "adminDoesNotExist" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "details" | "noData" | "loginToYourAccount" | "login" | "logout" | "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" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "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" | "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" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "log" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "today" | "last7Days" | "last30Days" | "last365Days" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "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" | "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 ? {
|
|
1414
1414
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
1415
1415
|
readonly admins: "Admins";
|
|
1416
1416
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -3288,7 +3288,7 @@ declare const useI18n: () => {
|
|
|
3288
3288
|
readonly noLocalizedFields: "This section has no localized fields.";
|
|
3289
3289
|
readonly sectionHasNoLocalizedFields: "Section \"{section}\" has no localized fields. Add localized: true to at least one field in the section definition to enable translations.";
|
|
3290
3290
|
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.";
|
|
3291
|
-
}, Scope, "
|
|
3291
|
+
}, Scope, "clear" | "delete" | "name" | "admins" | "date" | "custom" | "username" | "password" | "emailAddress" | "phoneNumber" | "language" | "search" | "publisher" | "section" | "logs" | "source" | "here" | "adminDoesNotExist" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "details" | "noData" | "loginToYourAccount" | "login" | "logout" | "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" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "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" | "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" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "log" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "today" | "last7Days" | "last30Days" | "last365Days" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "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" | "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<{
|
|
3292
3292
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
3293
3293
|
readonly admins: "Admins";
|
|
3294
3294
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -4696,7 +4696,7 @@ declare const useI18n: () => {
|
|
|
4696
4696
|
readonly noLocalizedFields: "This section has no localized fields.";
|
|
4697
4697
|
readonly sectionHasNoLocalizedFields: "Section \"{section}\" has no localized fields. Add localized: true to at least one field in the section definition to enable translations.";
|
|
4698
4698
|
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.";
|
|
4699
|
-
}, Scope, "
|
|
4699
|
+
}, Scope, "clear" | "delete" | "name" | "admins" | "date" | "custom" | "username" | "password" | "emailAddress" | "phoneNumber" | "language" | "search" | "publisher" | "section" | "logs" | "source" | "here" | "adminDoesNotExist" | "adminPrivileges" | "createNewAdmin" | "submitNewAdmin" | "adminsList" | "deleteAdmin" | "deleteAdminText" | "editAdmin" | "editAdminText" | "admin" | "adminNotFound" | "sectionNotFound" | "noAccessToThisOperation" | "adminDeletedSuccessfully" | "masterAdminCannotBeDeleted" | "masterAdminCannotBeModified" | "action" | "details" | "noData" | "loginToYourAccount" | "login" | "logout" | "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" | "streetAddress" | "birthday" | "city" | "country" | "profilePhoto" | "profilePhotoText" | "saveChanges" | "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" | "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" | "sessionsPerUser" | "topSources" | "sources" | "mediums" | "topMediums" | "accountInformation" | "devices" | "countries" | "advancedSettings" | "advancedSettingsWarning" | "googleAnalyticsChangeText" | "googleAnalyticsChangeSubText" | "accountSettings" | "passwordChangeWarning" | "oldPassword" | "adminDetails" | "log" | "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" | "yes" | "no" | "videoDeletedSuccessfully" | "photoDeletedSuccessfully" | "photoMarkedForDeletion" | "undo" | "selectFile" | "mandatory" | "imageDimensionsMustBe" | "maxFileSize" | "imageRecommendedDimensions" | "seeAll" | "allowedExtensions" | "recursiveCategoryDelete" | "recursiveCategoryDeleteWarning" | "unset" | "success" | "today" | "last7Days" | "last30Days" | "last365Days" | "analyticsOverview" | "contentStatistics" | "recentActivity" | "latestContentUpdates" | "recentlyAddedOrModified" | "quickActions" | "systemStatus" | "databaseStatus" | "cacheStatus" | "connected" | "operational" | "view" | "cmsOverview" | "fromLastMonth" | "allConnectionsHealthy" | "cacheFunctioning" | "manageAdmins" | "viewAnalytics" | "fullAccess" | "publisherTooltip" | "customAccess" | "noAccess" | "allPermissions" | "accepts" | "firstPage" | "lastPage" | "readonly" | "mysqlDatabases" | "phpVersion" | "nodeVersion" | "documentRoot" | "version" | "remote" | "database" | "diskUsage" | "users" | "mysqlNotInstalled" | "emailAccountsList" | "theme" | "noAccessToSection" | "languageNotSupported" | "addNewCar" | "createCarListing" | "addRealEstate" | "createPropertyListing" | "viewAndManageAdmins" | "detailedAnalytics" | "totalCars" | "realEstate" | "jobs" | "services" | "addedAgo" | "hoursAgo" | "main" | "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" | "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<{
|
|
4700
4700
|
readonly adminDoesNotExist: "Admin does not exist";
|
|
4701
4701
|
readonly admins: "Admins";
|
|
4702
4702
|
readonly adminPrivileges: "Admin Privileges";
|
|
@@ -1,2 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Localization utilities for resolving localized strings.
|
|
3
|
+
* Supports Payload CMS-style translations where developers can provide
|
|
4
|
+
* translations directly in field labels and section titles.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* A localized string can be either:
|
|
8
|
+
* - A plain string (backward compatible)
|
|
9
|
+
* - An object with language codes as keys and translated strings as values
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* // Single language (backward compatible)
|
|
14
|
+
* label: 'Title'
|
|
15
|
+
*
|
|
16
|
+
* // Multiple languages
|
|
17
|
+
* label: {
|
|
18
|
+
* en: 'Title',
|
|
19
|
+
* ar: 'العنوان'
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export type LocalizedString = string | Record<string, string>;
|
|
24
|
+
/**
|
|
25
|
+
* Resolve a localized string to a specific locale.
|
|
26
|
+
* If the string is a plain string, it's returned as-is.
|
|
27
|
+
* If it's an object, the value for the given locale is returned.
|
|
28
|
+
* Falls back to the first available language or the fallback locale if the requested locale is not found.
|
|
29
|
+
*
|
|
30
|
+
* @param localized - The localized string (string or object with language codes)
|
|
31
|
+
* @param locale - The target locale code (e.g., 'en', 'ar')
|
|
32
|
+
* @param fallbackLocale - The fallback locale code if the requested locale is not found
|
|
33
|
+
* @returns The resolved string for the given locale
|
|
34
|
+
*/
|
|
35
|
+
export declare function resolveLocalizedString(localized: LocalizedString | undefined, locale: string, fallbackLocale?: string): string;
|
|
36
|
+
/**
|
|
37
|
+
* Check if a value is a localized string object (not a plain string)
|
|
38
|
+
*/
|
|
39
|
+
export declare function isLocalizedObject(value: LocalizedString | undefined): value is Record<string, string>;
|
|
2
40
|
//# sourceMappingURL=localization.d.ts.map
|