@conboai/app.db.query 0.9.55 → 0.9.57
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.
|
@@ -24,7 +24,7 @@ export type FeedStreamsData = {
|
|
|
24
24
|
regions: RegionType[];
|
|
25
25
|
};
|
|
26
26
|
export type ModifyShapesType = {
|
|
27
|
-
fov
|
|
27
|
+
fov?: Shape;
|
|
28
28
|
regions: Shape[];
|
|
29
29
|
crosses: Shape[];
|
|
30
30
|
fovCondition?: boolean;
|
|
@@ -42,7 +42,7 @@ export type ImageGridItemType = {
|
|
|
42
42
|
onClick?: (value: number | string | null) => void;
|
|
43
43
|
innerLoading?: boolean;
|
|
44
44
|
isError?: boolean;
|
|
45
|
-
fov?: Shape
|
|
45
|
+
fov?: Shape;
|
|
46
46
|
regions?: Shape[];
|
|
47
47
|
crosses?: Shape[];
|
|
48
48
|
unit: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FeedStreamsData, ModifyShapesType } from './types';
|
|
2
|
+
import { Shape } from '@conboai/storybook.components';
|
|
2
3
|
|
|
3
4
|
export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds, regions }: FeedStreamsData) => {
|
|
4
5
|
url: string;
|
|
@@ -54,4 +55,4 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
|
|
|
54
55
|
};
|
|
55
56
|
}[] | null;
|
|
56
57
|
}[];
|
|
57
|
-
export declare const modifyShapes: ({ fov, regions, crosses, fovCondition, regionsCondition, crossesCondition }: ModifyShapesType) =>
|
|
58
|
+
export declare const modifyShapes: ({ fov, regions, crosses, fovCondition, regionsCondition, crossesCondition }: ModifyShapesType) => Shape[];
|
|
@@ -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 {};
|
|
@@ -18,6 +18,7 @@ declare const useDataEffect: (isImageAnalysis?: boolean) => {
|
|
|
18
18
|
shapesCoordinates: GeneratedShape[];
|
|
19
19
|
trailShapes: GeneratedShape[];
|
|
20
20
|
fovShapes: GeneratedShape[];
|
|
21
|
+
crossLineShapes: GeneratedShape[];
|
|
21
22
|
checkboxes: import('../../../store/types/types').CheckboxType[];
|
|
22
23
|
columns: ({
|
|
23
24
|
field: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conboai/app.db.query",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.57",
|
|
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
|
|
38
|
-
"format
|
|
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": {
|