Files
outline/shared/models/types.ts
T
2024-07-27 16:21:11 -04:00

17 lines
332 B
TypeScript

export enum DataAttributeDataType {
String = "string",
Number = "number",
Boolean = "boolean",
List = "list",
}
export type DataAttributeOptions = {
/** An icon to display next to the attribute. */
icon?: string;
/** Valid options for list data type. */
options?: {
value: string;
color?: string;
}[];
};