dataset-types 3.0.22 → 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.
Files changed (2) hide show
  1. package/index.d.ts +4 -0
  2. 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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.22",
3
+ "version": "3.0.23",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",