dataset-types 3.0.27 → 3.0.29

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 (3) hide show
  1. package/index.d.ts +6 -0
  2. package/index.js +0 -0
  3. 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>;
@@ -285,4 +286,9 @@ export interface ITenant extends IEntity, IName, ITimed, IContext {
285
286
  underlay: string;
286
287
  epsg: string;
287
288
  }
289
+ export type IDatasetTable = any[];
290
+ export type IDatasetsPackage = {
291
+ [datatype: string]: IDatasetTable;
292
+ };
293
+ export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
288
294
  export {};
package/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.27",
3
+ "version": "3.0.29",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",