update label type

This commit is contained in:
Hayden 2022-09-06 10:32:03 -08:00
parent 508e2e59bd
commit 98f677c623

View file

@ -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 {