@knovator/pagecreator-admin
Version:
<a name="readme-top"></a>
123 lines (122 loc) • 3.52 kB
TypeScript
declare const DEFAULT_OFFSET_PAYLOAD = 0;
declare const DECIMAL_REDIX = 10;
declare const DEFAULT_CURRENT_PAGE = 1;
declare const INTERNAL_ERROR_CODE = "INTERNAL_ERROR";
declare const DEFAULT_LIMIT = 10;
declare const PAGE_LIMITS: number[];
declare enum CALLBACK_CODES {
'GET_ALL' = "GET_ALL",
'GET_SINGLE' = "GET_SINGLE",
'CREATE' = "CREATE",
'UPDATE' = "UPDATE",
'PARTIAL_UPDATE' = "PARTIAL_UPDATE",
'DELETE' = "DELETE",
'IMAGE_UPLOAD' = "IMAGE_UPLOAD",
'IMAGE_REMOVE' = "IMAGE_REMOVE",
'INTERNAL' = "INTERNAL"
}
declare const CONSTANTS: {
EMPTY_REGEX: RegExp;
SLUG_REGEX: RegExp;
SLUG_REPLACE_REGEX: RegExp;
};
declare const DEFAULT_PERMISSIONS: {
list: boolean;
add: boolean;
delete: boolean;
partialUpdate: boolean;
update: boolean;
};
declare const TRANSLATION_PAIRS_COMMON: {
confirmationRequired: string;
permanentlyDelete: string;
lossOfData: string;
pleaseType: string;
toProceedOrCancel: string;
confirm: string;
next: string;
previous: string;
page: string;
indicatesRequired: string;
cancel: string;
yes: string;
delete: string;
create: string;
update: string;
showing: string;
add: string;
of: string;
typeHerePlaceholder: string;
code: string;
codePlaceholder: string;
codeRequired: string;
name: string;
namePlaceholder: string;
nameRequired: string;
title: string;
titlePlaceholder: string;
titleRequired: string;
active: string;
actions: string;
};
declare const TRANSLATION_PAIRS_WIDGET: {
itemsType: string;
itemsTypePlaceholder: string;
widgetType: string;
widgetTypeRequired: string;
color: string;
webPerRow: string;
webPerRowPlaceholder: string;
mobilePerRow: string;
mobilePerRowPlaceholder: string;
tabletPerRow: string;
tabletPerRowPlaceholder: string;
mobileItems: string;
webItems: string;
searchPlaceholder: string;
autoPlay: string;
addWidgetTitle: string;
updateWidgetTitle: string;
webPerRowRequired: string;
tabletPerRowRequired: string;
mobilePerRowRequired: string;
tabDeleteTitle: string;
widgetTitleInfo: string;
minPerRow: string;
tabNameRequired: string;
subtitle: string;
subTitlePlaceholder: string;
altText: string;
altTextPlaceholder: string;
link: string;
linkPlaceholder: string;
image: string;
uploadFile: string;
dragDrop: string;
allowedFormat: string;
srcset: string;
screenSizeRequired: string;
widthRequired: string;
heightRequired: string;
minScreenSize: string;
minWidth: string;
minHeight: string;
deleteTitle: string;
htmlContent: string;
htmlContentPlaceholder: string;
htmlContentRequired: string;
textContent: string;
textContentRequired: string;
textContentInfo: string;
textContentPlaceholder: string;
};
declare const TRANSLATION_PAIRS_PAGE: {
widgets: string;
slug: string;
slugPlaceholder: string;
slugRequired: string;
addPage: string;
updatePage: string;
searchPages: string;
};
export { CONSTANTS, CALLBACK_CODES, DECIMAL_REDIX, DEFAULT_CURRENT_PAGE, DEFAULT_OFFSET_PAYLOAD, INTERNAL_ERROR_CODE, DEFAULT_PERMISSIONS, TRANSLATION_PAIRS_COMMON, DEFAULT_LIMIT, PAGE_LIMITS, TRANSLATION_PAIRS_WIDGET, TRANSLATION_PAIRS_PAGE, };