All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.constants.index.js Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
"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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy