notes beta
This commit is contained in:
@@ -67,6 +67,7 @@ export type Collection = {
|
||||
start_date?: string;
|
||||
end_date?: string;
|
||||
transportations?: Transportation[];
|
||||
notes?: Note[];
|
||||
};
|
||||
|
||||
export type OpenStreetMapPlace = {
|
||||
@@ -103,3 +104,15 @@ export type Transportation = {
|
||||
created_at: string; // ISO 8601 date string
|
||||
updated_at: string; // ISO 8601 date string
|
||||
};
|
||||
|
||||
export type Note = {
|
||||
id: number;
|
||||
user_id: number;
|
||||
name: string;
|
||||
content: string | null;
|
||||
date: string | null; // ISO 8601 date string
|
||||
is_public: boolean;
|
||||
collection: Collection | null;
|
||||
created_at: string; // ISO 8601 date string
|
||||
updated_at: string; // ISO 8601 date string
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user