package.cjs.constants.index.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
BASE_API_V1_URL: true,
DEFAULT_PAGE_SIZE: true,
DEFAULT_PAGE_INDEX: true,
DEFAULT_STALE_TIME: true,
SINGULAR: true,
PLURAL: true
};
exports.SINGULAR = exports.PLURAL = exports.DEFAULT_STALE_TIME = exports.DEFAULT_PAGE_SIZE = exports.DEFAULT_PAGE_INDEX = exports.BASE_API_V1_URL = void 0;
var _regex = require("./regex");
Object.keys(_regex).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _regex[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _regex[key];
}
});
});
var BASE_API_V1_URL = exports.BASE_API_V1_URL = "/api/v1";
var DEFAULT_PAGE_SIZE = exports.DEFAULT_PAGE_SIZE = 30;
var DEFAULT_PAGE_INDEX = exports.DEFAULT_PAGE_INDEX = 1;
var DEFAULT_STALE_TIME = exports.DEFAULT_STALE_TIME = 3600000; // 1 hour
// Constants for translation
var SINGULAR = exports.SINGULAR = {
count: 1
};
var PLURAL = exports.PLURAL = {
count: 2
};
//# sourceMappingURL=index.js.map