dataset-types 3.0.34 → 3.0.36
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.
- package/index.d.ts +4 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -215,6 +215,7 @@ export interface IManageDataSetConfiguration {
|
|
|
215
215
|
[datatype: string]: IDataGridAction<any>[];
|
|
216
216
|
};
|
|
217
217
|
cleantransform?: ICleanTransformCallback;
|
|
218
|
+
getIDsforData?: IGetIdsForDataCallback;
|
|
218
219
|
getDataByID?: IGetDataByIdsCallback;
|
|
219
220
|
combineExistingAndUpdate?: ICombineExistingAndUpdateCallback;
|
|
220
221
|
filechooser?: IFileChoiceCallback;
|
|
@@ -299,7 +300,8 @@ export type IDatasetsPackage = {
|
|
|
299
300
|
[datatype: string]: IDatasetTable;
|
|
300
301
|
};
|
|
301
302
|
export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
|
|
302
|
-
export type
|
|
303
|
-
export type
|
|
303
|
+
export type IGetIdsForDataCallback = (datatype: string, data: IDatasetTable) => string[];
|
|
304
|
+
export type IGetDataByIdsCallback = (datatype: string, ids: string[]) => IDatasetTable;
|
|
305
|
+
export type ICombineExistingAndUpdateCallback = (datatype: string, updatedata: IDatasetTable, existing: IDatasetTable) => Promise<IDatasetTable>;
|
|
304
306
|
export type IFileChoiceCallback = () => IFileSelection[];
|
|
305
307
|
export {};
|