@conboai/app.db.query 0.9.14 → 0.9.15

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.
@@ -0,0 +1,4 @@
1
+ declare const useSearch: (startTime: Date, endTime: Date, timezone: string, checked?: boolean, baseUrl?: string) => {
2
+ handleSearch: () => void;
3
+ };
4
+ export default useSearch;
@@ -1,15 +1,9 @@
1
1
  import { TrailsItemDto as TrailsItemDtoGeo } from '../../api/detectionGeo';
2
2
  import { EntityTypes, ShapeType } from '@conboai/storybook.components';
3
3
  import { TrailInfoPixelData } from '../../store/services/detectionsStore';
4
+ import { EntitySearchData } from '../../store/types/interfaces';
4
5
 
5
- interface Data {
6
- conbo_key: string;
7
- start_time: string;
8
- end_time: string;
9
- assigned_feed: number;
10
- kit_id: number;
11
- }
12
- export declare const getMinAndMaxTimes: (data?: Data[]) => {
6
+ export declare const getMinAndMaxTimes: (data?: EntitySearchData[]) => {
13
7
  minStartTime: string;
14
8
  maxEndTime: string;
15
9
  } | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.14",
3
+ "version": "0.9.15",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",