Skip to main content
Version: 15.2.14 🔚

Enumeration

Model​

watchmen-web-client/src/services/data/tuples/enum-types.ts
export interface EnumItem {
code: string;
label: string;
replaceCode?: string;
parentCode?: string;
}

export type EnumId = string;

export interface Enum extends Tuple {
enumId: EnumId;
name: string;
description?: string;
parentEnumId?: EnumId;
items: Array<EnumItem>;
tenantId?: TenantId;
}