dataset-types 3.0.22 → 3.0.24

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 +5 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export interface IDocument extends INamedEntity, ITimed {
40
40
  entity: string;
41
41
  filetype: string;
42
42
  documenttype: string;
43
+ title?: string;
43
44
  }
44
45
  export interface IDocumentEntityLink {
45
46
  entity: string;
@@ -121,6 +122,7 @@ export interface ILog {
121
122
  recordstatus?: string;
122
123
  user?: string;
123
124
  createdat?: string;
125
+ effective?: string;
124
126
  };
125
127
  document?: IDocument;
126
128
  processing?: any[];
@@ -224,6 +226,7 @@ export interface IManageDataSetConfiguration {
224
226
  };
225
227
  validators: any;
226
228
  }
229
+ export type API_POST_SAMPLE = (source: string) => Promise<ICommandResult>;
227
230
  export type API_POST_REPLAY = (source: string, logs: ILog[]) => Promise<ICommandResult>;
228
231
  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
232
  export interface IDataTypeMeta {
@@ -234,6 +237,7 @@ export interface IDataTypeMeta {
234
237
  value: (ci: IConfigurationItem) => string;
235
238
  }
236
239
  export type HOOK_USE_FILES = (context: string, projectcontext: string, term: string, recordtype: string, onlyenabled: boolean, hash: number, page: number, pageSize: number) => IResults<any>;
240
+ export type POST_SUBMIT_SAMPLE = () => any;
237
241
  export interface IManageDatasetReplayConfiguration {
238
242
  context: string;
239
243
  projectcontext: string;
@@ -248,6 +252,7 @@ export interface IManageDatasetReplayConfiguration {
248
252
  dataactions?: {
249
253
  [datatype: string]: IDataGridAction<any>[];
250
254
  };
255
+ postSample: API_POST_SAMPLE;
251
256
  postReplay: {
252
257
  [datatype: string]: API_POST_REPLAY;
253
258
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.22",
3
+ "version": "3.0.24",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",