dataset-types 3.0.21 → 3.0.23
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
|
@@ -121,6 +121,7 @@ export interface ILog {
|
|
|
121
121
|
recordstatus?: string;
|
|
122
122
|
user?: string;
|
|
123
123
|
createdat?: string;
|
|
124
|
+
effective?: string;
|
|
124
125
|
};
|
|
125
126
|
document?: IDocument;
|
|
126
127
|
processing?: any[];
|
|
@@ -224,6 +225,7 @@ export interface IManageDataSetConfiguration {
|
|
|
224
225
|
};
|
|
225
226
|
validators: any;
|
|
226
227
|
}
|
|
228
|
+
export type API_POST_SAMPLE = (source: string) => Promise<ICommandResult>;
|
|
227
229
|
export type API_POST_REPLAY = (source: string, logs: ILog[]) => Promise<ICommandResult>;
|
|
228
230
|
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>;
|
|
229
231
|
export interface IDataTypeMeta {
|
|
@@ -234,6 +236,7 @@ export interface IDataTypeMeta {
|
|
|
234
236
|
value: (ci: IConfigurationItem) => string;
|
|
235
237
|
}
|
|
236
238
|
export type HOOK_USE_FILES = (context: string, projectcontext: string, term: string, recordtype: string, onlyenabled: boolean, hash: number, page: number, pageSize: number) => IResults<any>;
|
|
239
|
+
export type POST_SUBMIT_SAMPLE = () => any;
|
|
237
240
|
export interface IManageDatasetReplayConfiguration {
|
|
238
241
|
context: string;
|
|
239
242
|
projectcontext: string;
|
|
@@ -248,6 +251,7 @@ export interface IManageDatasetReplayConfiguration {
|
|
|
248
251
|
dataactions?: {
|
|
249
252
|
[datatype: string]: IDataGridAction<any>[];
|
|
250
253
|
};
|
|
254
|
+
postSample: API_POST_SAMPLE;
|
|
251
255
|
postReplay: {
|
|
252
256
|
[datatype: string]: API_POST_REPLAY;
|
|
253
257
|
};
|
|
@@ -271,7 +275,7 @@ export interface IMenuAction {
|
|
|
271
275
|
isActive?: boolean;
|
|
272
276
|
click?: () => void;
|
|
273
277
|
}
|
|
274
|
-
export interface ITenant extends IEntity, IName, ITimed {
|
|
278
|
+
export interface ITenant extends IEntity, IName, ITimed, IContext {
|
|
275
279
|
systemscontext: string;
|
|
276
280
|
lat: string;
|
|
277
281
|
lon: string;
|