@conboai/app.db.query 0.9.56 → 0.9.58

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.
@@ -97,4 +97,27 @@ export declare const getContentTabs: () => {
97
97
  disabled: boolean;
98
98
  }[];
99
99
  export declare const formatData: (fov?: boolean, data?: any) => any;
100
+ export declare const generateGeoObject: (shapes?: any[]) => ({
101
+ id: any;
102
+ type: EntityTypes;
103
+ coordinates: import('@conboai/storybook.components').CoordinatePoint[];
104
+ styles: {
105
+ clickable: boolean;
106
+ strokeColor: string;
107
+ fillColor: string;
108
+ fillOpacity: number;
109
+ };
110
+ color: any;
111
+ } | {
112
+ id: any;
113
+ type: EntityTypes;
114
+ coordinates: import('@conboai/storybook.components').CoordinatePoint[];
115
+ styles: {
116
+ clickable: boolean;
117
+ strokeColor: string;
118
+ fillColor: string;
119
+ fillOpacity: number;
120
+ };
121
+ color?: undefined;
122
+ })[];
100
123
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.56",
3
+ "version": "0.9.58",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -34,8 +34,8 @@
34
34
  "generate-images": "openapi --input https://dev.portsight.ai/api/images/docs-yaml --output ./src/api/images",
35
35
  "generate-floor-plan": "openapi --input https://portsight.ai/api/floorplan/docs-yaml --output ./src/api/floorPlan",
36
36
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
37
- "lint:fix": "eslint . --ext ts,tsx --fix",
38
- "format:check": "prettier \"src/**/*.{ts,tsx,json}\" --check",
37
+ "lint-fix": "eslint . --ext ts,tsx --fix",
38
+ "format-check": "prettier \"src/**/*.{ts,tsx,json}\" --check",
39
39
  "format": "prettier --write \"src/**/*.{ts,tsx,json}\" --color"
40
40
  },
41
41
  "dependencies": {
@@ -54,12 +54,11 @@
54
54
  "await-to-js": "^3.0.0",
55
55
  "dayjs": "^1.11.13",
56
56
  "lodash": "^4.17.21",
57
+ "lodash.debounce": "^4.0.8",
57
58
  "react": "^18.2.0",
58
59
  "react-dom": "^18.2.0",
59
60
  "react-hook-form": "^7.53.2",
60
61
  "uuid": "^9.0.1",
61
- "vite-plugin-css-injected-by-js": "^3.5.2",
62
- "vite-plugin-svgr": "^4.3.0",
63
62
  "zod": "^3.23.8",
64
63
  "zustand": "^4.5.2"
65
64
  },
@@ -87,14 +86,15 @@
87
86
  "eslint-plugin-react-refresh": "^0.4.6",
88
87
  "eslint-plugin-storybook": "^0.8.0",
89
88
  "husky": "^9.0.11",
90
- "lodash.debounce": "^4.0.8",
91
89
  "openapi-typescript-codegen": "^0.29.0",
92
90
  "prettier": "^3.3.3",
93
91
  "storybook": "^8.4.5",
94
92
  "typescript": "^5.2.2",
95
93
  "validate-branch-name": "^1.3.0",
96
94
  "vite": "^4.4.0",
97
- "vite-plugin-dts": "^3.9.1"
95
+ "vite-plugin-css-injected-by-js": "^3.5.2",
96
+ "vite-plugin-dts": "^3.9.1",
97
+ "vite-plugin-svgr": "^4.3.0"
98
98
  },
99
99
  "engines": {
100
100
  "npm": "please-use-yarn",