dataset-types 3.0.35 → 3.0.37
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 +2 -1
- 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;
|
|
@@ -300,7 +301,7 @@ export type IDatasetsPackage = {
|
|
|
300
301
|
};
|
|
301
302
|
export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
|
|
302
303
|
export type IGetIdsForDataCallback = (datatype: string, data: IDatasetTable) => string[];
|
|
303
|
-
export type IGetDataByIdsCallback = (datatype: string, ids: string[]) => IDatasetTable
|
|
304
|
+
export type IGetDataByIdsCallback = (datatype: string, ids: string[]) => Promise<IDatasetTable>;
|
|
304
305
|
export type ICombineExistingAndUpdateCallback = (datatype: string, updatedata: IDatasetTable, existing: IDatasetTable) => Promise<IDatasetTable>;
|
|
305
306
|
export type IFileChoiceCallback = () => IFileSelection[];
|
|
306
307
|
export {};
|