@conboai/app.db.query 0.8.8 → 0.8.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/app.db.query.js +24636 -24284
- package/dist/apps/ConboKeySearch/components/AppRightBar/hooks/useConboKeySearchRightBar.d.ts +11 -0
- package/dist/apps/EntitySearch/components/AppRightBar/hooks/useEntitySearchRightPanel.d.ts +10 -0
- package/dist/apps/ImageAnalysis/components/AppRightBar/AppRightBar.d.ts +3 -0
- package/dist/apps/ImageAnalysis/components/AppRightBar/columnsDefs.d.ts +26 -0
- package/dist/apps/ImageAnalysis/components/AppRightBar/hooks/useImageAnalysisRightBar.d.ts +11 -0
- package/dist/apps/ImageAnalysis/components/AppRightBar/index.d.ts +1 -0
- package/dist/apps/ImageAnalysis/components/AppRightBar/styles.d.ts +4 -0
- package/dist/apps/ImageAnalysis/components/AppRightBar/utils.d.ts +29 -0
- package/dist/apps/conbo-match/store.d.ts +4 -7
- package/package.json +10 -10
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const useConboKeySearchRightBar: () => {
|
|
2
|
+
fetchRightPanelData: ({ requestBody, conboKey, startTime, endTime, assignedFeedId, timeInfo }: {
|
|
3
|
+
requestBody: any;
|
|
4
|
+
conboKey: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
assignedFeedId: number;
|
|
8
|
+
timeInfo: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
setRightPanelData: () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const useEntitySearchRightPanel: () => {
|
|
2
|
+
setRightPanelData: () => void;
|
|
3
|
+
fetchEntityRightPanelData: ({ requestBody, conboKey, startTime, endTime, assignedFeedId }: {
|
|
4
|
+
requestBody: any;
|
|
5
|
+
conboKey: string;
|
|
6
|
+
startTime: string;
|
|
7
|
+
endTime: string;
|
|
8
|
+
assignedFeedId: number;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
export declare const verticalTableColumnDefs: () => {
|
|
3
|
+
topOneColumnDefs: ({
|
|
4
|
+
headerName: string;
|
|
5
|
+
field: string;
|
|
6
|
+
renderCell?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
headerName: string;
|
|
9
|
+
field: string;
|
|
10
|
+
renderCell: (value: number) => string;
|
|
11
|
+
})[];
|
|
12
|
+
frameInfoColumnDefs: {
|
|
13
|
+
headerName: string;
|
|
14
|
+
field: string;
|
|
15
|
+
renderCell: (value: number) => string;
|
|
16
|
+
}[];
|
|
17
|
+
summaryColumnDefs: ({
|
|
18
|
+
headerName: string;
|
|
19
|
+
field: string;
|
|
20
|
+
renderCell: (value: number) => string;
|
|
21
|
+
} | {
|
|
22
|
+
headerName: string;
|
|
23
|
+
field: string;
|
|
24
|
+
renderCell?: undefined;
|
|
25
|
+
})[];
|
|
26
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const useImageAnalysisRightBar: () => {
|
|
2
|
+
fetchRightPanelData: ({ requestBody, conboKey, startTime, endTime, assignedFeedId, timeInfo }: {
|
|
3
|
+
requestBody: any;
|
|
4
|
+
conboKey: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
assignedFeedId: number;
|
|
8
|
+
timeInfo: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
setRightPanelData: () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppRightBar';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type DetailsContentArgs = {
|
|
2
|
+
topOne?: {
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
}[];
|
|
5
|
+
classifiersFrameInfo?: {
|
|
6
|
+
[x: string]: unknown;
|
|
7
|
+
}[];
|
|
8
|
+
classifierSummary: {
|
|
9
|
+
[x: string]: unknown;
|
|
10
|
+
}[];
|
|
11
|
+
kitsElements?: {
|
|
12
|
+
tag_id: number;
|
|
13
|
+
name: string;
|
|
14
|
+
labels: {
|
|
15
|
+
id: number;
|
|
16
|
+
name: string;
|
|
17
|
+
}[];
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
export declare const getDetailsContent: (args: DetailsContentArgs) => {
|
|
21
|
+
value: string;
|
|
22
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
}[];
|
|
24
|
+
export declare const getDetailsTabs: () => {
|
|
25
|
+
label: string;
|
|
26
|
+
value: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
}[];
|
|
29
|
+
export {};
|
|
@@ -40,13 +40,7 @@ export type MatchTabItem = {
|
|
|
40
40
|
avgConf: number;
|
|
41
41
|
elementSerialNumber: number;
|
|
42
42
|
}[];
|
|
43
|
-
|
|
44
|
-
conbo_key: number;
|
|
45
|
-
id: string;
|
|
46
|
-
captureTime: string;
|
|
47
|
-
feedId: string;
|
|
48
|
-
type: string;
|
|
49
|
-
}[];
|
|
43
|
+
vehicleInfoImages: string[];
|
|
50
44
|
snapshotsList: {
|
|
51
45
|
id: string;
|
|
52
46
|
captureTime: string;
|
|
@@ -121,5 +115,8 @@ export type ConboMatchStore = {
|
|
|
121
115
|
onFetchConfiguration: ({ deploymentId }: {
|
|
122
116
|
deploymentId: string;
|
|
123
117
|
}) => Promise<void>;
|
|
118
|
+
onFetchVehicleInfoImages: ({ conboKey }: {
|
|
119
|
+
conboKey: string;
|
|
120
|
+
}) => Promise<string[]>;
|
|
124
121
|
};
|
|
125
122
|
export declare const useConboMatchStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ConboMatchStore>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conboai/app.db.query",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/app.db.query.js",
|
|
6
6
|
"types": "dist/build/index.d.ts",
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"prepare": "husky",
|
|
22
22
|
"storybook": "storybook dev -p 6006",
|
|
23
23
|
"build-storybook": "storybook build",
|
|
24
|
-
"generate-classifiers": "openapi --input https://dev.
|
|
25
|
-
"generate-cargo": "openapi --input https://dev.
|
|
26
|
-
"generate-snapshots": "openapi --input https://dev.
|
|
27
|
-
"generate-detections-pixels": "openapi --input https://dev.
|
|
28
|
-
"generate-detections-geo": "openapi --input https://dev.
|
|
24
|
+
"generate-classifiers": "openapi --input https://dev.portsight.ai/api/classification/docs-yaml --output ./src/api/classifiers",
|
|
25
|
+
"generate-cargo": "openapi --input https://dev.portsight.ai/api/action/docs-yaml --output ./src/api/cargo",
|
|
26
|
+
"generate-snapshots": "openapi --input https://dev.portsight.ai/api/snapshots/docs-yaml --output ./src/api/snapshot",
|
|
27
|
+
"generate-detections-pixels": "openapi --input https://dev.portsight.ai/api/detections_pixels/docs-yaml --output ./src/api/detectionPixel",
|
|
28
|
+
"generate-detections-geo": "openapi --input https://dev.portsight.ai/api/detections_geo/docs-yaml --output ./src/api/detectionGeo",
|
|
29
29
|
"generate-tag-family-labels": "openapi --input https://dev.gateway.dev.portsight.ai/api/msm/api-yaml --output ./src/api/tagFamilyLabels",
|
|
30
|
-
"generate-top-one": "openapi --input https://dev.
|
|
31
|
-
"generate-cropped": "openapi --input https://dev.test.portsight.ai/api/cropped/docs-yaml --output ./src/api/cropped",
|
|
30
|
+
"generate-top-one": "openapi --input https://dev.portsight.ai/api/top1/docs-yaml --output ./src/api/topOne",
|
|
32
31
|
"generate-poc": "openapi --input https://dev.gateway.dev.portsight.ai/api/poc/api-yaml --output ./src/api/poc",
|
|
33
32
|
"generate-search": "openapi --input https://dev.portsight.ai/api/search/docs-yaml --output ./src/api/search",
|
|
34
|
-
"generate-query-info": "openapi --input https://dev.
|
|
35
|
-
"generate-
|
|
33
|
+
"generate-query-info": "openapi --input https://dev.portsight.ai/api/info/docs-yaml --output ./src/api/queryInfo",
|
|
34
|
+
"generate-images": "openapi --input https://dev.portsight.ai/api/images/docs-yaml --output ./src/api/images",
|
|
35
|
+
"generate-api": "yarn generate-classifiers && yarn generate-cargo && yarn generate-snapshots && yarn generate-detections-pixels && yarn generate-detections-geo && yarn generate-tag-family-labels && yarn generate-top-one && yarn generate-poc && yarn generate-search && yarn generate-query-info && generate-images",
|
|
36
36
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
|
|
37
37
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
38
38
|
"format:check": "prettier \"src/**/*.{ts,tsx,json}\" --check",
|