dataset-types 3.0.14 → 3.0.16

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 +22 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -230,6 +230,28 @@ export interface IDataTypeMeta {
230
230
  tooltip: string;
231
231
  value: (ci: IConfigurationItem) => string;
232
232
  }
233
+ export type HOOK_USE_FILES = (context: string, projectcontext: string, term: string, recordtype: string, onlyenabled: boolean, hash: number, page: number, pageSize: number) => IResults<any>;
234
+ export interface IManageDatasetReplayConfiguration {
235
+ context: string;
236
+ projectcontext: string;
237
+ name: string;
238
+ columns: {
239
+ [datatype: string]: any[];
240
+ };
241
+ required_permission: string;
242
+ permissions: IPermission[];
243
+ role: string;
244
+ actions?: IDataGridAction<IDocument>[];
245
+ dataactions?: {
246
+ [datatype: string]: IDataGridAction<any>[];
247
+ };
248
+ postReplay: {
249
+ [datatype: string]: API_POST_REPLAY;
250
+ };
251
+ useFiles?: {
252
+ [datatype: string]: HOOK_USE_FILES;
253
+ };
254
+ }
233
255
  export interface IMenuLink {
234
256
  path: string;
235
257
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.14",
3
+ "version": "3.0.16",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",