UNPKG

cvat-sdk

Version:

CVAT SDK is a Javascript library. It provides you access to Javascript functions and objects that simplify server interaction and provide additional functionality like data validation and serialization.

11 lines (10 loc) 302 B
import type { AttributeRequest } from './attribute-request'; import type { LabelType } from './label-type'; export interface SublabelRequest { 'id'?: number; 'name': string; 'color'?: string; 'attributes'?: Array<AttributeRequest>; 'type'?: LabelType; 'has_parent'?: boolean; }