@bigbinary/neeto-commons-frontend 2.0.116 → 2.0.118
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/constants.cjs.js +4 -4
- package/constants.cjs.js.map +1 -1
- package/constants.d.ts +2 -2
- package/constants.js +3 -3
- package/constants.js.map +1 -1
- package/package.json +1 -1
package/constants.cjs.js
CHANGED
|
@@ -7,16 +7,16 @@ var DEFAULT_PAGE_INDEX = 1;
|
|
|
7
7
|
var DEFAULT_STALE_TIME = 3600000; // 1 hour
|
|
8
8
|
|
|
9
9
|
// Constants for translation
|
|
10
|
-
var
|
|
10
|
+
var SINGULAR = {
|
|
11
11
|
count: 1
|
|
12
12
|
};
|
|
13
|
-
var
|
|
13
|
+
var PLURAL = {
|
|
14
14
|
count: 2
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
exports.BASE_API_V1_URL = BASE_API_V1_URL;
|
|
18
18
|
exports.DEFAULT_PAGE_INDEX = DEFAULT_PAGE_INDEX;
|
|
19
19
|
exports.DEFAULT_STALE_TIME = DEFAULT_STALE_TIME;
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
20
|
+
exports.PLURAL = PLURAL;
|
|
21
|
+
exports.SINGULAR = SINGULAR;
|
|
22
22
|
//# sourceMappingURL=constants.cjs.js.map
|
package/constants.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.cjs.js","sources":["src/constants/index.js"],"sourcesContent":["export const BASE_API_V1_URL = \"/api/v1\";\n\nexport const DEFAULT_PAGE_INDEX = 1;\nexport const DEFAULT_STALE_TIME = 3_600_000; // 1 hour\n\n// Constants for translation\nexport const
|
|
1
|
+
{"version":3,"file":"constants.cjs.js","sources":["src/constants/index.js"],"sourcesContent":["export const BASE_API_V1_URL = \"/api/v1\";\n\nexport const DEFAULT_PAGE_INDEX = 1;\nexport const DEFAULT_STALE_TIME = 3_600_000; // 1 hour\n\n// Constants for translation\nexport const SINGULAR = { count: 1 };\nexport const PLURAL = { count: 2 };\n"],"names":["BASE_API_V1_URL","DEFAULT_PAGE_INDEX","DEFAULT_STALE_TIME","SINGULAR","count","PLURAL"],"mappings":";;;;AAAO,IAAMA,eAAe,GAAG,UAAS;AAEjC,IAAMC,kBAAkB,GAAG,EAAC;AACtBC,IAAAA,kBAAkB,GAAG,QAAU;;AAE5C;AACO,IAAMC,QAAQ,GAAG;AAAEC,EAAAA,KAAK,EAAE,CAAA;AAAE,EAAC;AAC7B,IAAMC,MAAM,GAAG;AAAED,EAAAA,KAAK,EAAE,CAAA;AAAE;;;;;;;;"}
|
package/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const BASE_API_V1_URL: string;
|
|
2
2
|
export const DEFAULT_PAGE_INDEX: number;
|
|
3
3
|
export const DEFAULT_STALE_TIME: number;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
4
|
+
export const SINGULAR: { count: number };
|
|
5
|
+
export const PLURAL: { count: number };
|
package/constants.js
CHANGED
|
@@ -3,12 +3,12 @@ var DEFAULT_PAGE_INDEX = 1;
|
|
|
3
3
|
var DEFAULT_STALE_TIME = 3600000; // 1 hour
|
|
4
4
|
|
|
5
5
|
// Constants for translation
|
|
6
|
-
var
|
|
6
|
+
var SINGULAR = {
|
|
7
7
|
count: 1
|
|
8
8
|
};
|
|
9
|
-
var
|
|
9
|
+
var PLURAL = {
|
|
10
10
|
count: 2
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export { BASE_API_V1_URL, DEFAULT_PAGE_INDEX, DEFAULT_STALE_TIME,
|
|
13
|
+
export { BASE_API_V1_URL, DEFAULT_PAGE_INDEX, DEFAULT_STALE_TIME, PLURAL, SINGULAR };
|
|
14
14
|
//# sourceMappingURL=constants.js.map
|
package/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["src/constants/index.js"],"sourcesContent":["export const BASE_API_V1_URL = \"/api/v1\";\n\nexport const DEFAULT_PAGE_INDEX = 1;\nexport const DEFAULT_STALE_TIME = 3_600_000; // 1 hour\n\n// Constants for translation\nexport const
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["src/constants/index.js"],"sourcesContent":["export const BASE_API_V1_URL = \"/api/v1\";\n\nexport const DEFAULT_PAGE_INDEX = 1;\nexport const DEFAULT_STALE_TIME = 3_600_000; // 1 hour\n\n// Constants for translation\nexport const SINGULAR = { count: 1 };\nexport const PLURAL = { count: 2 };\n"],"names":["BASE_API_V1_URL","DEFAULT_PAGE_INDEX","DEFAULT_STALE_TIME","SINGULAR","count","PLURAL"],"mappings":"AAAO,IAAMA,eAAe,GAAG,UAAS;AAEjC,IAAMC,kBAAkB,GAAG,EAAC;AACtBC,IAAAA,kBAAkB,GAAG,QAAU;;AAE5C;AACO,IAAMC,QAAQ,GAAG;AAAEC,EAAAA,KAAK,EAAE,CAAA;AAAE,EAAC;AAC7B,IAAMC,MAAM,GAAG;AAAED,EAAAA,KAAK,EAAE,CAAA;AAAE;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.118",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|