dataset-types 3.0.32 → 3.0.34
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
|
@@ -217,6 +217,7 @@ export interface IManageDataSetConfiguration {
|
|
|
217
217
|
cleantransform?: ICleanTransformCallback;
|
|
218
218
|
getDataByID?: IGetDataByIdsCallback;
|
|
219
219
|
combineExistingAndUpdate?: ICombineExistingAndUpdateCallback;
|
|
220
|
+
filechooser?: IFileChoiceCallback;
|
|
220
221
|
createDocument?: (d: IDocument, stuff: any) => Promise<ICommandResult>;
|
|
221
222
|
queryValidationData?: (datatype: string, entities: string[]) => Promise<ICommandResult>;
|
|
222
223
|
queryRecords?: (documenttype: string, datatype: string, encoding: string) => Promise<ICommandResult>;
|
|
@@ -299,6 +300,6 @@ export type IDatasetsPackage = {
|
|
|
299
300
|
};
|
|
300
301
|
export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
|
|
301
302
|
export type IGetDataByIdsCallback = (ids: string[], datatype: string) => IDatasetTable;
|
|
302
|
-
export type ICombineExistingAndUpdateCallback = (
|
|
303
|
+
export type ICombineExistingAndUpdateCallback = (pkg: IDatasetsPackage) => Promise<IDatasetsPackage>;
|
|
303
304
|
export type IFileChoiceCallback = () => IFileSelection[];
|
|
304
305
|
export {};
|