@conboai/app.db.query 0.8.76 → 0.8.77

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.
@@ -2,11 +2,11 @@ import { Shape } from '@conboai/storybook.components';
2
2
 
3
3
  type CardMediaItemProps = {
4
4
  showPolygons?: boolean;
5
- fov: Shape[];
5
+ shapeCoordinates: Shape[];
6
6
  imageUrl?: string;
7
7
  alt?: string;
8
8
  delay: number;
9
9
  isError?: boolean;
10
10
  };
11
- declare const CardMediaItem: ({ showPolygons, fov, imageUrl, alt, delay, isError }: CardMediaItemProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const CardMediaItem: ({ showPolygons, shapeCoordinates, imageUrl, alt, delay, isError }: CardMediaItemProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export default CardMediaItem;
@@ -18,7 +18,7 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
18
18
  delay: number | undefined;
19
19
  innerLoading: boolean | undefined;
20
20
  isError: boolean | undefined;
21
- regions: {
21
+ regions: ({
22
22
  id: string;
23
23
  type: import('@conboai/storybook.components').ShapeType;
24
24
  points: {
@@ -26,6 +26,6 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
26
26
  y: number;
27
27
  }[];
28
28
  styles: any;
29
- } | null;
29
+ } | null)[] | undefined;
30
30
  }[];
31
- export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => import('@conboai/storybook.components').Shape[][];
31
+ export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => (import('@conboai/storybook.components').Shape | import('@conboai/storybook.components').Shape[])[];
@@ -1,3 +1,5 @@
1
+ import { DetectionInfoType } from '../../store/services/detectionsStore';
2
+
1
3
  type IntersectionItem = {
2
4
  id: string;
3
5
  distance: number;
@@ -38,5 +40,5 @@ export type OutputItem = {
38
40
  assigned_feed_id: number;
39
41
  };
40
42
  export declare function transformData(data: InputData): OutputItem[];
41
- export declare const mergeData: (array: any[], obj: any) => any[];
43
+ export declare const mergeData: (array: OutputItem[] | undefined, obj: DetectionInfoType | null) => any[];
42
44
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.76",
3
+ "version": "0.8.77",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",