climb-onyx-gui 0.12.16 → 0.12.17

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.
@@ -12,7 +12,6 @@ interface TableProps extends DataProps {
12
12
  flexOnly?: string[];
13
13
  footer?: string;
14
14
  cellRenderers?: Map<string, (params: CustomCellRendererProps) => JSX.Element>;
15
- handleRecordModalShow?: (climbID: string) => void;
16
15
  }
17
16
  interface ServerPaginatedTableProps extends TableProps {
18
17
  searchParameters: string;
@@ -2,8 +2,8 @@ import { ProjectField, ExportStatus } from './types';
2
2
 
3
3
  interface OnyxProps {
4
4
  httpPathHandler: (path: string) => Promise<Response>;
5
- s3PathHandler?: (path: string) => void;
6
- fileWriter?: (path: string, content: string) => void;
5
+ s3PathHandler: (path: string) => Promise<void>;
6
+ fileWriter: (path: string, content: string) => Promise<void>;
7
7
  extVersion?: string;
8
8
  }
9
9
  interface DataProps extends OnyxProps {
@@ -24,7 +24,8 @@ interface ExportHandlerProps {
24
24
  statusToken: {
25
25
  status: ExportStatus;
26
26
  };
27
- setExportProgress: (exportProgress: number) => void;
28
27
  setExportStatus: (exportStatus: ExportStatus) => void;
28
+ setExportProgress: (exportProgress: number) => void;
29
+ setExportError: (error: Error) => void;
29
30
  }
30
31
  export type { OnyxProps, DataProps, StatsProps, ExportHandlerProps };