@sutech_jp/datatraveler-react-client 0.0.24 → 0.0.25
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
|
|
9
|
+
onImport: (result: DataTravelerResult) => void;
|
|
10
10
|
onCancel?: () => void;
|
|
11
11
|
importType?: ImportType;
|
|
12
12
|
currentData?: D[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
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
|
|
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';
|