mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-18 21:16:31 +00:00
update label type
This commit is contained in:
parent
508e2e59bd
commit
98f677c623
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
import { BaseAPI, route } from '../base';
|
import { BaseAPI, route } from '../base';
|
||||||
|
import { Item } from './items';
|
||||||
import { Details, OutType, Results } from './types';
|
import { Details, OutType, Results } from './types';
|
||||||
|
|
||||||
export type LabelCreate = Details & {
|
export type LabelCreate = Details & {
|
||||||
|
@ -10,6 +11,7 @@ export type LabelUpdate = LabelCreate;
|
||||||
export type Label = LabelCreate &
|
export type Label = LabelCreate &
|
||||||
OutType & {
|
OutType & {
|
||||||
groupId: string;
|
groupId: string;
|
||||||
|
items: Item[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export class LabelsApi extends BaseAPI {
|
export class LabelsApi extends BaseAPI {
|
||||||
|
|
Loading…
Reference in a new issue