dataset-types 3.2.9 → 3.2.11

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 -2
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -284,7 +284,10 @@ export interface IManageDataSetConfiguration {
284
284
  [datatype: string]: HOOK_USE_DATA;
285
285
  };
286
286
  validators: any;
287
- groupColumns: (dt: IDatasetTable, b: boolean) => ITable | undefined;
287
+ groupColumns?: (dt: IDatasetTable, b: boolean) => ITable | undefined;
288
+ datatypeLevels?: {
289
+ [datatype: string]: string;
290
+ };
288
291
  }
289
292
  export type API_POST_SAMPLE = (source: string) => Promise<ICommandResult>;
290
293
  export type API_POST_REPLAY = (source: string, logs: ILog[]) => Promise<ICommandResult>;
@@ -336,7 +339,7 @@ export interface IMenuGroup {
336
339
  export interface IMenuAction {
337
340
  icon?: string;
338
341
  label?: string;
339
- size?: 'small' | 'large' | 'extra small' | 'medium';
342
+ size?: "small" | "large" | "extra small" | "medium";
340
343
  isActive?: boolean;
341
344
  click?: () => void;
342
345
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.2.9",
3
+ "version": "3.2.11",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",
7
- "pretty": "prettier --write",
7
+ "pretty": "prettier . --write",
8
8
  "package": "cp package.json dist;cd dist;npm pack"
9
9
  },
10
10
  "eslintConfig": {
@@ -30,4 +30,4 @@
30
30
  "prettier": "^3.4.2",
31
31
  "typescript": "^5.7.2"
32
32
  }
33
- }
33
+ }