@automateinc/fleet-types 1.0.2 → 1.0.4

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.
@@ -9,7 +9,7 @@ export interface IAssetValue {
9
9
  model?: IModel;
10
10
  required?: boolean;
11
11
  relation?: {
12
- [key: string]: any;
12
+ [key: PropertyKey]: any;
13
13
  };
14
14
  relationValue?: string;
15
15
  file?: IFile;
@@ -5,7 +5,7 @@ interface Value<T = number> {
5
5
  defaultHidden?: boolean;
6
6
  }
7
7
 
8
- export interface EmployeeMonthlyPayroll {
8
+ export interface IEmployeeMonthlyPayroll {
9
9
  status: Value<string>;
10
10
  company: Value<string>;
11
11
  role: Value<string>;
@@ -33,8 +33,8 @@ export interface IEmployee {
33
33
  }>;
34
34
 
35
35
  fields: {
36
- [key: string]: {
37
- [key: string]: string;
36
+ [key: PropertyKey]: {
37
+ [key: PropertyKey]: any;
38
38
  };
39
39
  };
40
40
  }
@@ -9,7 +9,7 @@ export interface IReportValue {
9
9
  model?: IModel;
10
10
  required?: boolean;
11
11
  relation?: {
12
- [key: string]: any;
12
+ [key: PropertyKey]: any;
13
13
  };
14
14
  relationValue?: string;
15
15
  file?: IFile;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automateinc/fleet-types",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "description": "Reusable TypeScript types and interfaces for Fleet API.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",