dataset-types 3.0.26 → 3.0.28
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 +6 -1
- package/index.js +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -230,7 +230,7 @@ export interface IManageDataSetConfiguration {
|
|
|
230
230
|
}
|
|
231
231
|
export type API_POST_SAMPLE = (source: string) => Promise<ICommandResult>;
|
|
232
232
|
export type API_POST_REPLAY = (source: string, logs: ILog[]) => Promise<ICommandResult>;
|
|
233
|
-
export type HOOK_USE_DATA = (context: string, projectcontext: string, datatype: string | undefined, entity: string, entities: string[], timeperiod: IDayRange | null, hash: number, page: number, pageSize: number, transform: ((d: any) => any) | null, allentities: boolean, where: any) => IResults<any>;
|
|
233
|
+
export type HOOK_USE_DATA = (context: string, projectcontext: string, datatype: string | undefined, documenttype: string | undefined, entity: string, entities: string[], timeperiod: IDayRange | null, hash: number, page: number, pageSize: number, transform: ((d: any) => any) | null, allentities: boolean, where: any) => IResults<any>;
|
|
234
234
|
export interface IDataTypeMeta {
|
|
235
235
|
property: string;
|
|
236
236
|
description: string;
|
|
@@ -285,4 +285,9 @@ export interface ITenant extends IEntity, IName, ITimed, IContext {
|
|
|
285
285
|
underlay: string;
|
|
286
286
|
epsg: string;
|
|
287
287
|
}
|
|
288
|
+
export type IDatasetTable = any[];
|
|
289
|
+
export type IDatasetsPackage = {
|
|
290
|
+
[datatype: string]: any[];
|
|
291
|
+
};
|
|
292
|
+
export type ICleanTransformCallback = (data: IDatasetTable, datatype: string) => IDatasetsPackage;
|
|
288
293
|
export {};
|
package/index.js
CHANGED
|
File without changes
|