@sutech_jp/datatraveler-react-client 0.0.24 → 0.0.26

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.
@@ -6,7 +6,7 @@ declare type Props<D> = {
6
6
  schema: string;
7
7
  session: Session | undefined;
8
8
  googleToken?: string;
9
- onImport: (result: DataTravelerResult<D>) => void;
9
+ onImport: (result: DataTravelerResult) => void;
10
10
  onCancel?: () => void;
11
11
  importType?: ImportType;
12
12
  currentData?: D[];
@@ -1,15 +1,15 @@
1
1
  export declare type Mapper = Record<string, Record<string, any>[]>;
2
2
  export declare type Binder = Record<string, Record<string, any>>;
3
- export declare type DataTravelerResult<D> = {
4
- insert: D[];
5
- update: D[];
3
+ export declare type DataTravelerResult = {
6
4
  dataImportLogId: string;
7
5
  };
8
6
  export declare type ImportType = 'gss' | 'csv';
7
+ export declare type PdfGenerateWay = 'none' | 'sync' | 'async';
9
8
  export declare type UseReportType = {
10
9
  application: string;
11
10
  schema: string;
12
11
  layoutId?: number;
12
+ pdfGenerateWay?: PdfGenerateWay;
13
13
  reportStep?: 'report' | 'preview';
14
14
  };
15
15
  export declare type Session = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sutech_jp/datatraveler-react-client",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "description": "react client for data traveler produced by SuTech",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",