@conboai/app.db.query 0.8.29 → 0.8.31
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 +16497 -16443
- package/dist/apps/FeedStreams/FeedStreams.d.ts +1 -1
- package/dist/apps/FeedStreams/components/ImageGrid/ImageGrid.d.ts +2 -1
- package/dist/apps/FeedStreams/components/ImageGrid/ImageItem.d.ts +2 -1
- package/dist/apps/FeedStreams/types.d.ts +0 -1
- package/dist/apps/FeedStreams/utils.d.ts +17 -2
- package/dist/apps/conbo-match/components/app-content/utils.d.ts +2 -8
- package/dist/apps/conbo-match/components/app-sidebar-left/app-sidebar-left.d.ts +5 -1
- package/dist/apps/conbo-match/components/sidebar-left-filter/sidebar-left-filter.d.ts +6 -4
- package/dist/apps/conbo-match/utils.d.ts +41 -0
- package/package.json +1 -2
|
@@ -3,6 +3,7 @@ import { ImageItemType } from './ImageItem';
|
|
|
3
3
|
type ImageGridProps = {
|
|
4
4
|
imagesData: ImageItemType[];
|
|
5
5
|
loading?: boolean;
|
|
6
|
+
isFovShown?: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare const ImageGrid: ({ imagesData, loading }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const ImageGrid: ({ imagesData, loading, isFovShown }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default ImageGrid;
|
|
@@ -9,6 +9,7 @@ export type ImageItemType = {
|
|
|
9
9
|
delay: number;
|
|
10
10
|
onClick?: (value: number | string | null) => void;
|
|
11
11
|
fov?: Shape[];
|
|
12
|
+
isFovShown?: boolean;
|
|
12
13
|
};
|
|
13
|
-
declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, fov }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, fov, isFovShown }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default ImageItem;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { FeedStreamsData } from './types';
|
|
2
|
-
import { ImageItemType } from './components/ImageGrid/ImageItem';
|
|
3
2
|
|
|
4
3
|
export declare const generatePanelResult: (amount: number) => string;
|
|
5
|
-
export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds
|
|
4
|
+
export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds }: FeedStreamsData) => {
|
|
5
|
+
url: string;
|
|
6
|
+
displayName: string | undefined;
|
|
7
|
+
name: string | undefined;
|
|
8
|
+
feedId: number | undefined;
|
|
9
|
+
captureTime: string;
|
|
10
|
+
delay: number;
|
|
11
|
+
fov: {
|
|
12
|
+
id: string;
|
|
13
|
+
type: import('@conboai/storybook.components').ShapeType;
|
|
14
|
+
points: {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
}[];
|
|
18
|
+
styles: any;
|
|
19
|
+
} | null;
|
|
20
|
+
}[];
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { CustomDataGridProps } from '@conboai/storybook.components/dist/components/CustomDataGrid/CustomDataGrid';
|
|
2
|
+
import { OutputItem } from '../../utils';
|
|
2
3
|
|
|
3
4
|
export type InputProps = {
|
|
4
5
|
columns: CustomDataGridProps["columns"];
|
|
5
6
|
selectedRowId?: number;
|
|
6
|
-
rows?:
|
|
7
|
-
id: number;
|
|
8
|
-
assigned_feed_id: number | null;
|
|
9
|
-
startTime: string;
|
|
10
|
-
endTime: string;
|
|
11
|
-
conbo_key: string;
|
|
12
|
-
confidence: number | null;
|
|
13
|
-
}[];
|
|
7
|
+
rows?: OutputItem[];
|
|
14
8
|
loading?: boolean;
|
|
15
9
|
handleCellClick?: CustomDataGridProps["onCellClick"];
|
|
16
10
|
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { FormSubmitFn } from '../../../../helpers/utils/forms';
|
|
2
|
-
|
|
3
1
|
export type MatchFilterFormType = {
|
|
4
2
|
conboKey?: string;
|
|
5
3
|
keyExclusive?: boolean;
|
|
@@ -7,7 +5,11 @@ export type MatchFilterFormType = {
|
|
|
7
5
|
};
|
|
8
6
|
type SidebarLeftFilterInput = {
|
|
9
7
|
loadingFetch?: boolean;
|
|
10
|
-
onSubmit?:
|
|
8
|
+
onSubmit?: (value: {
|
|
9
|
+
conboKey: string;
|
|
10
|
+
baseUrl?: string;
|
|
11
|
+
}) => void;
|
|
12
|
+
baseUrl?: string;
|
|
11
13
|
};
|
|
12
|
-
export declare const SidebarLeftFilter: (
|
|
14
|
+
export declare const SidebarLeftFilter: ({ loadingFetch, onSubmit, baseUrl }: SidebarLeftFilterInput) => import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
type IntersectionItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
distance: number;
|
|
4
|
+
time: number;
|
|
5
|
+
source: string;
|
|
6
|
+
start: string;
|
|
7
|
+
end: string;
|
|
8
|
+
assigned_id: number;
|
|
9
|
+
};
|
|
10
|
+
type FeatureItem = {
|
|
11
|
+
id: string;
|
|
12
|
+
distance: number;
|
|
13
|
+
source: string;
|
|
14
|
+
start: string;
|
|
15
|
+
end: string;
|
|
16
|
+
assigned_id: number;
|
|
17
|
+
};
|
|
18
|
+
type InputData = {
|
|
19
|
+
intersection: IntersectionItem[];
|
|
20
|
+
feature: FeatureItem[];
|
|
21
|
+
};
|
|
22
|
+
export type OutputItem = {
|
|
23
|
+
distance: number;
|
|
24
|
+
origin: string;
|
|
25
|
+
conbo_key: string;
|
|
26
|
+
time: number;
|
|
27
|
+
source: string;
|
|
28
|
+
startTime: string;
|
|
29
|
+
endTime: string;
|
|
30
|
+
assigned_feed_id: number;
|
|
31
|
+
} | {
|
|
32
|
+
distance: number;
|
|
33
|
+
origin: string;
|
|
34
|
+
conbo_key: string;
|
|
35
|
+
source: string;
|
|
36
|
+
startTime: string;
|
|
37
|
+
endTime: string;
|
|
38
|
+
assigned_feed_id: number;
|
|
39
|
+
};
|
|
40
|
+
export declare function transformData(data: InputData): OutputItem[];
|
|
41
|
+
export {};
|
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.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/app.db.query.js",
|
|
6
6
|
"types": "dist/build/index.d.ts",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"generate-search": "openapi --input https://dev.portsight.ai/api/search/docs-yaml --output ./src/api/search",
|
|
33
33
|
"generate-query-info": "openapi --input https://dev.portsight.ai/api/info/docs-yaml --output ./src/api/queryInfo",
|
|
34
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
35
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
|
|
37
36
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
38
37
|
"format:check": "prettier \"src/**/*.{ts,tsx,json}\" --check",
|