@brownandroot/api 0.9.0 → 0.10.0

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/dist/index.d.ts +4 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -45,6 +45,9 @@ export interface DropdownOption {
45
45
  value: number | string;
46
46
  label: string;
47
47
  }
48
+ export interface PaytypeDropdownOption extends DropdownOption {
49
+ payClass: string | null;
50
+ }
48
51
  /**
49
52
  * LLM log entry matching the API response shape.
50
53
  */
@@ -187,7 +190,7 @@ export declare class ApiHubClient {
187
190
  getCostcodesDropdown(): Promise<DropdownOption[]>;
188
191
  getCostcode(id: string): Promise<Costcode>;
189
192
  getPaytypes(): Promise<Paytype[]>;
190
- getPaytypesDropdown(): Promise<DropdownOption[]>;
193
+ getPaytypesDropdown(): Promise<PaytypeDropdownOption[]>;
191
194
  getPaytype(id: string): Promise<Paytype>;
192
195
  getWorkorders(): Promise<Workorder[]>;
193
196
  getWorkordersDropdown(): Promise<DropdownOption[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brownandroot/api",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",