@knovator/masters-admin
Version:
Package for integrating Masters, Submasters functionality in React projects
81 lines (80 loc) • 2.44 kB
TypeScript
declare const DEFAULT_OFFSET_PAYLOAD = 0;
declare const DEFAULT_LIMIT = 20;
declare const SORT_ASCENDING = 1;
declare const SORT_DESCENDING = -1;
declare const PAGE_LIMITS: number[];
declare const DECIMAL_REDIX = 10;
declare const DEFAULT_CURRENT_PAGE = 1;
declare const EXCLUDE_SORT_COLUMNS: string[];
declare const INTERNAL_ERROR_CODE = "INTERNAL_ERROR";
declare enum CALLBACK_CODES {
"GET_ALL" = "GET_ALL",
"GET_SINGLE" = "GET_SINGLE",
"CREATE" = "CREATE",
"UPDATE" = "UPDATE",
"DELETE" = "DELETE",
"IMAGE_UPLOAD" = "IMAGE_UPLOAD",
"IMAGE_REMOVE" = "IMAGE_REMOVE",
"SEQUENCE_UPDATE" = "SEQUENCE_UPDATE",
"INTERNAL" = "INTERNAL"
}
declare const DEFAULT_PERMISSIONS: {
list: boolean;
add: boolean;
destroy: boolean;
partialUpdate: boolean;
sequencing: boolean;
update: boolean;
};
declare const TRANSLATION_PAIRS_SUBMASTERS: {
uploadFile: string;
dragDrop: string;
allowedFormat: string;
sequence: string;
cover: string;
searchSubMasters: string;
addSubMaster: string;
updateSubMaster: string;
noDataText: string;
selectMaster: string;
};
declare const TRANSLATION_PAIRS_MASTERS: {
addMaster: string;
updateMaster: string;
searchMaster: string;
noDataText: string;
};
declare const TRANSLATION_PAIRS_COMMON: {
permanentlyDelete: string;
lossOfData: string;
pleaseType: string;
toProceedOrCancel: string;
confirm: string;
page: string;
next: string;
previous: string;
indicatesRequired: string;
confirmationRequired: string;
cancel: string;
yes: string;
delete: string;
create: string;
update: string;
show: string;
showing: string;
of: string;
typeHerePlaceholder: string;
code: string;
codePlaceholder: string;
codeRequired: string;
name: string;
namePlaceholder: string;
nameRequired: string;
webDisplay: string;
enterWebDisplay: string;
description: string;
enterDescription: string;
active: string;
actions: string;
};
export { CALLBACK_CODES, DECIMAL_REDIX, DEFAULT_CURRENT_PAGE, DEFAULT_LIMIT, DEFAULT_OFFSET_PAYLOAD, EXCLUDE_SORT_COLUMNS, INTERNAL_ERROR_CODE, PAGE_LIMITS, SORT_ASCENDING, SORT_DESCENDING, DEFAULT_PERMISSIONS, TRANSLATION_PAIRS_SUBMASTERS, TRANSLATION_PAIRS_MASTERS, TRANSLATION_PAIRS_COMMON, };