@conboai/app.db.query 0.8.74 → 0.8.76

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.
Files changed (24) hide show
  1. package/dist/app.db.query.js +36215 -35827
  2. package/dist/apps/ConboKeySearch/components/AppLeftBar/AppLeftBar.d.ts +3 -1
  3. package/dist/apps/ConboKeySearch/components/ConboKeySearchHeader/ConboKeySearchHeader.d.ts +2 -1
  4. package/dist/apps/EntitySearch/components/AppContent/AppContent.d.ts +4 -1
  5. package/dist/apps/EntitySearch/components/AppContentWrapper.d.ts +3 -1
  6. package/dist/apps/EntitySearch/components/AppLeftBar/AppLeftBar.d.ts +2 -1
  7. package/dist/apps/EntitySearch/components/EntitySearchHeader/EntitySearchHeader.d.ts +2 -1
  8. package/dist/apps/FeedStreams/components/ImageGrid/CardMediaItem.d.ts +2 -2
  9. package/dist/apps/FeedStreams/components/ImageGrid/ImageGrid.d.ts +2 -1
  10. package/dist/apps/FeedStreams/components/ImageGrid/ImageItem.d.ts +2 -3
  11. package/dist/apps/FeedStreams/hooks/useDataEffect.d.ts +1 -1
  12. package/dist/apps/FeedStreams/types.d.ts +23 -2
  13. package/dist/apps/FeedStreams/utils.d.ts +15 -5
  14. package/dist/apps/HeatMap/components/AppHeader/AppHeader.d.ts +2 -1
  15. package/dist/apps/HeatMap/components/AppLeftBar/AppLeftBar.d.ts +4 -1
  16. package/dist/apps/HeatMap/hooks/useFetchDataEffect.d.ts +1 -1
  17. package/dist/apps/ImageAnalysis/components/AppLeftBar/AppLeftBar.d.ts +2 -1
  18. package/dist/apps/ImageAnalysis/components/ImageAnalysisHeader/ImageAnalysisHeader.d.ts +2 -1
  19. package/dist/apps/SearchTool/components/AppContent/AppContent.d.ts +4 -1
  20. package/dist/apps/SearchTool/components/AppHeader/AppHeader.d.ts +2 -1
  21. package/dist/apps/SearchTool/components/AppLeftBar/AppLeftBar.d.ts +2 -1
  22. package/dist/apps/SearchTool/hooks/useKitsEffect.d.ts +2 -1
  23. package/dist/apps/SearchTool/hooks/useSearch.d.ts +1 -1
  24. package/package.json +1 -1
@@ -1,2 +1,4 @@
1
- declare function AppLeftBar(): import("react/jsx-runtime").JSX.Element;
1
+ declare function AppLeftBar({ baseUrl }: {
2
+ baseUrl?: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
2
4
  export default AppLeftBar;
@@ -3,6 +3,7 @@ type InputType = {
3
3
  showSiteName?: boolean;
4
4
  titleWidth?: string;
5
5
  onHomeClick?: () => void;
6
+ isLoading?: boolean;
6
7
  };
7
- export declare const ConboKeySearchHeader: (props: InputType) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const ConboKeySearchHeader: ({ showSiteName, title, onHomeClick, titleWidth, isLoading }: InputType) => import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -1,2 +1,5 @@
1
- declare function AppContent(): import("react/jsx-runtime").JSX.Element;
1
+ type AppContentProps = {
2
+ baseUrl?: string;
3
+ };
4
+ declare function AppContent({ baseUrl }: AppContentProps): import("react/jsx-runtime").JSX.Element;
2
5
  export default AppContent;
@@ -1,2 +1,4 @@
1
- declare const AppContentWrapper: () => import("react/jsx-runtime").JSX.Element;
1
+ declare const AppContentWrapper: ({ baseUrl }: {
2
+ baseUrl?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
2
4
  export default AppContentWrapper;
@@ -1,4 +1,5 @@
1
- declare function AppLeftBar({ isAdmin }: {
1
+ declare function AppLeftBar({ isAdmin, baseUrl }: {
2
2
  isAdmin?: boolean;
3
+ baseUrl?: string;
3
4
  }): import("react/jsx-runtime").JSX.Element;
4
5
  export default AppLeftBar;
@@ -2,6 +2,7 @@ type InputType = {
2
2
  title?: string;
3
3
  showSiteName?: boolean;
4
4
  onHomeClick?: () => void;
5
+ isLoading?: boolean;
5
6
  };
6
- export declare const EntitySearchHeader: (props: InputType) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const EntitySearchHeader: ({ showSiteName, title, onHomeClick, isLoading }: InputType) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -1,12 +1,12 @@
1
1
  import { Shape } from '@conboai/storybook.components';
2
2
 
3
3
  type CardMediaItemProps = {
4
- showFov?: boolean;
4
+ showPolygons?: boolean;
5
5
  fov: Shape[];
6
6
  imageUrl?: string;
7
7
  alt?: string;
8
8
  delay: number;
9
9
  isError?: boolean;
10
10
  };
11
- declare const CardMediaItem: ({ showFov, fov, imageUrl, alt, delay, isError }: CardMediaItemProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const CardMediaItem: ({ showPolygons, fov, imageUrl, alt, delay, isError }: CardMediaItemProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export default CardMediaItem;
@@ -3,6 +3,7 @@ import { ImageItemType } from './ImageItem';
3
3
  type ImageGridProps = {
4
4
  imagesData: ImageItemType[];
5
5
  isFovShown?: boolean;
6
+ isRegionsShown?: boolean;
6
7
  };
7
- declare const ImageGrid: ({ imagesData, isFovShown }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
8
+ declare const ImageGrid: ({ imagesData, isFovShown, isRegionsShown }: ImageGridProps) => import("react/jsx-runtime").JSX.Element;
8
9
  export default ImageGrid;
@@ -8,10 +8,9 @@ export type ImageItemType = {
8
8
  captureTime: string;
9
9
  delay: number;
10
10
  onClick?: (value: number | string | null) => void;
11
- fov?: Shape[];
12
- isFovShown?: boolean;
11
+ shapeCoordinates?: Shape[];
13
12
  innerLoading?: boolean;
14
13
  isError?: boolean;
15
14
  };
16
- declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, fov, isFovShown, innerLoading, isError }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
15
+ declare const ImageItem: ({ url, displayName, name, feedId, captureTime, delay, onClick, shapeCoordinates, innerLoading, isError }: ImageItemType) => import("react/jsx-runtime").JSX.Element;
17
16
  export default ImageItem;
@@ -1,2 +1,2 @@
1
- declare const useDataEffect: (trigger?: boolean) => void;
1
+ declare const useDataEffect: (trigger?: boolean, baseUrl?: string, deploymentId?: string) => void;
2
2
  export default useDataEffect;
@@ -1,5 +1,6 @@
1
- import { Snapshot } from '../../store/services/snapshotsStore.ts';
2
- import { FovTypeDto } from '../../store/services/queryInfoStore.ts';
1
+ import { Snapshot } from '../../store/services/snapshotsStore';
2
+ import { FovTypeDto, RegionType } from '../../store/services/queryInfoStore';
3
+ import { Shape } from '@conboai/storybook.components';
3
4
 
4
5
  export type FeedType = {
5
6
  abbreviation: string;
@@ -18,4 +19,24 @@ export type FeedStreamsData = {
18
19
  fovInfos: FovTypeDto[];
19
20
  baseUrl?: string;
20
21
  feeds: FeedType[];
22
+ regions: RegionType[];
23
+ };
24
+ export type ModifyShapesType = {
25
+ fov: Shape[];
26
+ regions: Shape[];
27
+ fovCondition?: boolean;
28
+ regionsCondition?: boolean;
29
+ };
30
+ export type ImageGridItemType = {
31
+ url: string;
32
+ displayName: string;
33
+ name: string;
34
+ feedId: number;
35
+ captureTime: string;
36
+ delay: number;
37
+ onClick?: (value: number | string | null) => void;
38
+ innerLoading?: boolean;
39
+ isError?: boolean;
40
+ fov?: Shape[];
41
+ regions?: Shape[];
21
42
  };
@@ -1,13 +1,24 @@
1
- import { FeedStreamsData } from './types';
1
+ import { FeedStreamsData, ModifyShapesType } from './types';
2
2
 
3
- export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds }: FeedStreamsData) => {
3
+ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, baseUrl, feeds, regions }: FeedStreamsData) => {
4
4
  url: string;
5
+ fov: {
6
+ id: string;
7
+ type: import('@conboai/storybook.components').ShapeType;
8
+ points: {
9
+ x: number;
10
+ y: number;
11
+ }[];
12
+ styles: any;
13
+ } | null;
5
14
  displayName: string | undefined;
6
15
  name: string | undefined;
7
16
  feedId: number | undefined;
8
17
  captureTime: string | undefined;
9
18
  delay: number | undefined;
10
- fov: {
19
+ innerLoading: boolean | undefined;
20
+ isError: boolean | undefined;
21
+ regions: {
11
22
  id: string;
12
23
  type: import('@conboai/storybook.components').ShapeType;
13
24
  points: {
@@ -16,6 +27,5 @@ export declare const generateFeedStreamsData: ({ latestSnapshots, fovInfos, base
16
27
  }[];
17
28
  styles: any;
18
29
  } | null;
19
- innerLoading: boolean | undefined;
20
- isError: boolean | undefined;
21
30
  }[];
31
+ export declare const modifyShapes: ({ fov, regions, fovCondition, regionsCondition }: ModifyShapesType) => import('@conboai/storybook.components').Shape[][];
@@ -1,6 +1,7 @@
1
1
  type AppHeaderProps = {
2
2
  title?: string;
3
3
  onHomeClick?: () => void;
4
+ isLoading?: boolean;
4
5
  };
5
- declare const AppHeader: ({ title, onHomeClick }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const AppHeader: ({ title, onHomeClick, isLoading }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
7
  export default AppHeader;
@@ -1,2 +1,5 @@
1
- declare const AppLeftBar: () => import("react/jsx-runtime").JSX.Element;
1
+ type AppLeftBarProps = {
2
+ baseUrl?: string;
3
+ };
4
+ declare const AppLeftBar: ({ baseUrl }: AppLeftBarProps) => import("react/jsx-runtime").JSX.Element;
2
5
  export default AppLeftBar;
@@ -1,2 +1,2 @@
1
- declare const useFetchDataEffect: () => void;
1
+ declare const useFetchDataEffect: (baseUrl?: string) => void;
2
2
  export default useFetchDataEffect;
@@ -1,4 +1,5 @@
1
- declare function AppLeftBar({ isAdmin }: {
1
+ declare function AppLeftBar({ isAdmin, baseUrl }: {
2
2
  isAdmin?: boolean;
3
+ baseUrl?: string;
3
4
  }): import("react/jsx-runtime").JSX.Element;
4
5
  export default AppLeftBar;
@@ -1,6 +1,7 @@
1
1
  type InputType = {
2
2
  title?: string;
3
3
  onHomeClick?: () => void;
4
+ isLoading?: boolean;
4
5
  };
5
- export declare const ImageAnalysisHeader: (props: InputType) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const ImageAnalysisHeader: ({ title, onHomeClick, isLoading }: InputType) => import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -1,2 +1,5 @@
1
- declare const AppContent: () => import("react/jsx-runtime").JSX.Element;
1
+ type AppContentProps = {
2
+ baseUrl?: string;
3
+ };
4
+ declare const AppContent: ({ baseUrl }: AppContentProps) => import("react/jsx-runtime").JSX.Element;
2
5
  export default AppContent;
@@ -1,6 +1,7 @@
1
1
  type AppHeaderProps = {
2
2
  title?: string;
3
3
  onHomeClick?: () => void;
4
+ isLoading?: boolean;
4
5
  };
5
- export declare const AppHeader: ({ title, onHomeClick }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const AppHeader: ({ title, onHomeClick, isLoading }: AppHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -1,4 +1,5 @@
1
- declare function AppLeftBar({ isAdmin }: {
1
+ declare function AppLeftBar({ isAdmin, baseUrl }: {
2
2
  isAdmin?: boolean;
3
+ baseUrl?: string;
3
4
  }): import("react/jsx-runtime").JSX.Element;
4
5
  export default AppLeftBar;
@@ -1,6 +1,7 @@
1
1
  type Props = {
2
2
  tabIndex: string;
3
3
  frameDetailsConboKeys: string[];
4
+ baseUrl?: string;
4
5
  };
5
- declare const useKitsEffect: ({ tabIndex, frameDetailsConboKeys }: Props) => void;
6
+ declare const useKitsEffect: ({ tabIndex, frameDetailsConboKeys, baseUrl }: Props) => void;
6
7
  export default useKitsEffect;
@@ -1,4 +1,4 @@
1
- declare const useSearch: () => {
1
+ declare const useSearch: (baseUrl?: string) => {
2
2
  handleSearch: (details?: {
3
3
  skip: number;
4
4
  take: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.74",
3
+ "version": "0.8.76",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",