@conboai/app.db.query 0.2.0 → 0.2.4

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,5 @@
1
+
2
+ declare function Cargo({ siteId }: {
3
+ siteId: number;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ export default Cargo;
@@ -0,0 +1,2 @@
1
+ declare function AppContent(): import("react/jsx-runtime").JSX.Element;
2
+ export default AppContent;
@@ -0,0 +1,10 @@
1
+
2
+ export declare const columnDefs: (timezone: string) => ({
3
+ key: string;
4
+ label: string;
5
+ renderCell?: undefined;
6
+ } | {
7
+ key: string;
8
+ label: string;
9
+ renderCell: (value: string) => string;
10
+ })[];
@@ -0,0 +1 @@
1
+ export { default as AppContent } from './AppContent.tsx';
@@ -0,0 +1,6 @@
1
+ interface IAppLeftBar {
2
+ setPanelShown: (value: boolean) => void;
3
+ isPanelShown: boolean;
4
+ }
5
+ declare function AppLeftBar({ setPanelShown, isPanelShown }: IAppLeftBar): import("react/jsx-runtime").JSX.Element;
6
+ export default AppLeftBar;
@@ -0,0 +1 @@
1
+ export { default as AppLeftBar } from './AppLeftBar.tsx';
@@ -0,0 +1,5 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const buttonContainerSx: SxProps;
4
+ export declare const buttonBurgerIconSx: SxProps;
5
+ export declare const durationGridSx: SxProps;
@@ -0,0 +1,2 @@
1
+ declare function AppRightBar(): import("react/jsx-runtime").JSX.Element;
2
+ export default AppRightBar;
@@ -0,0 +1,14 @@
1
+
2
+ export declare const verticalTableColumnDefs: (timezone: string, feeds: any[]) => ({
3
+ headerName: string;
4
+ field: string;
5
+ renderCell?: undefined;
6
+ } | {
7
+ headerName: string;
8
+ field: string;
9
+ renderCell: (value: number) => string;
10
+ } | {
11
+ headerName: string;
12
+ field: string;
13
+ renderCell: (value: string) => any;
14
+ })[];
@@ -0,0 +1,12 @@
1
+ export declare const emptyDataView: {
2
+ cargo: string;
3
+ conbo_key: string;
4
+ end: string;
5
+ event_id: string;
6
+ feed: string;
7
+ move: string;
8
+ start: string;
9
+ straddle_id: string;
10
+ zones: string;
11
+ id: string;
12
+ };
@@ -0,0 +1 @@
1
+ export { default as AppRightBar } from './AppRightBar';
@@ -0,0 +1,15 @@
1
+ interface IImageContent {
2
+ feedImages: string[];
3
+ objectImages: string[];
4
+ }
5
+ export declare const getImageContent: ({ feedImages, objectImages }: IImageContent) => {
6
+ value: string;
7
+ content: import("react/jsx-runtime").JSX.Element;
8
+ }[];
9
+ export declare const getImageTabs: (feed: string[], object: string[]) => {
10
+ label: string;
11
+ value: string;
12
+ disabled: boolean;
13
+ }[];
14
+ export declare const generateImages: (images: any[]) => string[];
15
+ export {};
@@ -0,0 +1 @@
1
+ export { default as Cargo } from './Cargo.tsx';
@@ -0,0 +1,5 @@
1
+ export declare const operations: string[];
2
+ export declare const entityTypes: {
3
+ value: string;
4
+ label: string;
5
+ }[];
@@ -0,0 +1,3 @@
1
+ import { SxProps } from '@mui/material';
2
+
3
+ export declare const boxSx: SxProps;
@@ -1 +1,2 @@
1
1
  export { Classifiers } from '../apps/Classifiers';
2
+ export { Cargo } from '../apps/Cargo';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.2.0",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",
@@ -21,10 +21,11 @@
21
21
  "prepare": "husky",
22
22
  "storybook": "storybook dev -p 6006",
23
23
  "build-storybook": "storybook build",
24
- "generate-classifiers": "openapi --input https://plt.gateway.conbo.ai/api/classification/docs-yaml --output ./src/api/classifiers"
24
+ "generate-classifiers": "openapi --input https://plt.gateway.conbo.ai/api/classification/docs-yaml --output ./src/api/classifiers",
25
+ "generate-cargo": "openapi --input https://plt.gateway.conbo.ai/api/action/docs-yaml --output ./src/api/cargo"
25
26
  },
26
27
  "dependencies": {
27
- "@conboai/storybook.components": "^0.2.61",
28
+ "@conboai/storybook.components": "^0.2.67",
28
29
  "@emotion/react": "^11.11.4",
29
30
  "@emotion/styled": "^11.11.5",
30
31
  "@mui/material": "^5.15.17",