dataset-types 3.0.28 → 3.0.30

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.
Files changed (2) hide show
  1. package/index.d.ts +2 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -214,6 +214,7 @@ export interface IManageDataSetConfiguration {
214
214
  dataactions?: {
215
215
  [datatype: string]: IDataGridAction<any>[];
216
216
  };
217
+ cleantransform?: ICleanTransformCallback;
217
218
  createDocument?: (d: IDocument, stuff: any) => Promise<ICommandResult>;
218
219
  queryValidationData?: (datatype: string, entities: string[]) => Promise<ICommandResult>;
219
220
  queryRecords?: (documenttype: string, datatype: string, encoding: string) => Promise<ICommandResult>;
@@ -287,7 +288,7 @@ export interface ITenant extends IEntity, IName, ITimed, IContext {
287
288
  }
288
289
  export type IDatasetTable = any[];
289
290
  export type IDatasetsPackage = {
290
- [datatype: string]: any[];
291
+ [datatype: string]: IDatasetTable;
291
292
  };
292
293
  export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
293
294
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.28",
3
+ "version": "3.0.30",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",