@uniteverses/shared 1.0.9 → 1.0.10

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/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from "./politicians/community/residents/explore/types";
2
+ export * from "./politicians/community/residents/explore/constants";
package/dist/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./politicians/community/residents/explore/types"), exports);
18
+ __exportStar(require("./politicians/community/residents/explore/constants"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const POSTS_PAGE_SIZE = 20;
2
+ export declare const FOOD_GROUP_NESTING_DEPTH = 3;
3
+ export declare const COMMENT_MAX_REPLY_DEPTH = 2;
4
+ export declare const COMMENT_INDENT_PX = 16;
5
+ export declare const COMMENT_MAX_INDENT_PX = 48;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COMMENT_MAX_INDENT_PX = exports.COMMENT_INDENT_PX = exports.COMMENT_MAX_REPLY_DEPTH = exports.FOOD_GROUP_NESTING_DEPTH = exports.POSTS_PAGE_SIZE = void 0;
4
+ // Pagination
5
+ exports.POSTS_PAGE_SIZE = 20;
6
+ // Food group recursive query depth
7
+ exports.FOOD_GROUP_NESTING_DEPTH = 3;
8
+ // Comment reply nesting
9
+ exports.COMMENT_MAX_REPLY_DEPTH = 2;
10
+ exports.COMMENT_INDENT_PX = 16;
11
+ exports.COMMENT_MAX_INDENT_PX = 48;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [