plane/web/types/custom-attributes.d.ts

34 lines
647 B
TypeScript
Raw Normal View History

2023-09-12 14:06:35 +00:00
export type TCustomAttributeTypes =
| "checkbox"
| "datetime"
| "email"
| "entity"
| "files"
| "multi_select"
| "number"
| "option"
| "relation"
| "select"
| "text"
| "url";
export type TCustomAttributeUnits = "cycle" | "issue" | "module" | "user";
export interface ICustomAttribute {
color: string;
default_value: string;
description: string;
display_name: string;
extra_settings: any;
icon: string;
id: string;
is_default: boolean;
is_multi: boolean;
is_required: boolean;
is_shared: boolean;
parent: string;
sort_order: number;
type: TCustomAttributeTypes;
unit: TCustomAttributeUnits;
}