mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
26 lines
372 B
TypeScript
26 lines
372 B
TypeScript
export interface Item {
|
|
id: number,
|
|
date_created?: string,
|
|
date_updated?: string | null,
|
|
name: string,
|
|
text: string,
|
|
position: Geometry,
|
|
start?: string,
|
|
end?: string,
|
|
tags?: number[],
|
|
[key: string]: any
|
|
}
|
|
|
|
export interface Geometry {
|
|
type: string;
|
|
coordinates: number[];
|
|
}
|
|
|
|
export interface Tag {
|
|
|
|
color: string;
|
|
id: number;
|
|
name: string;
|
|
|
|
}
|