dataset-types 3.0.11 → 3.0.13

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 +17 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -52,6 +52,7 @@ export interface IConfigurationItem extends INamedEntity, ITimed {
52
52
  baseline: string;
53
53
  dimension: string;
54
54
  datatypes: string;
55
+ group: string;
55
56
  }
56
57
  export type IPermission = String;
57
58
  export interface IRolePermission {
@@ -228,4 +229,20 @@ export interface IDataTypeMeta {
228
229
  tooltip: string;
229
230
  value: (ci: IConfigurationItem) => string;
230
231
  }
232
+ export interface IMenuLink {
233
+ path: string;
234
+ label: string;
235
+ match?: RegExp;
236
+ }
237
+ export interface IMenuGroup {
238
+ label: string;
239
+ links: IMenuLink[];
240
+ }
241
+ export interface IMenuAction {
242
+ icon?: string;
243
+ label?: string;
244
+ size?: 'small' | 'large' | 'extra small' | 'medium';
245
+ isActive?: boolean;
246
+ click?: () => void;
247
+ }
231
248
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.11",
3
+ "version": "3.0.13",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",
@@ -30,4 +30,4 @@
30
30
  "prettier": "^3.4.2",
31
31
  "typescript": "^5.7.2"
32
32
  }
33
- }
33
+ }