dataset-types 3.0.29 → 3.0.31
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 +5 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -214,7 +214,9 @@ export interface IManageDataSetConfiguration {
|
|
|
214
214
|
dataactions?: {
|
|
215
215
|
[datatype: string]: IDataGridAction<any>[];
|
|
216
216
|
};
|
|
217
|
-
cleantransform
|
|
217
|
+
cleantransform?: ICleanTransformCallback;
|
|
218
|
+
getDataByID?: IGetDataByIdsCallback;
|
|
219
|
+
combineExistingAndUpdate?: ICombineExistingAndUpdateCallback;
|
|
218
220
|
createDocument?: (d: IDocument, stuff: any) => Promise<ICommandResult>;
|
|
219
221
|
queryValidationData?: (datatype: string, entities: string[]) => Promise<ICommandResult>;
|
|
220
222
|
queryRecords?: (documenttype: string, datatype: string, encoding: string) => Promise<ICommandResult>;
|
|
@@ -291,4 +293,6 @@ export type IDatasetsPackage = {
|
|
|
291
293
|
[datatype: string]: IDatasetTable;
|
|
292
294
|
};
|
|
293
295
|
export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
|
|
296
|
+
export type IGetDataByIdsCallback = (ids: string[], datatype: string) => IDatasetTable;
|
|
297
|
+
export type ICombineExistingAndUpdateCallback = (existing: IDatasetTable, updates: IDatasetTable) => IDatasetTable;
|
|
294
298
|
export {};
|