1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-04 20:55:19 +02:00

notes beta

This commit is contained in:
Sean Morley 2024-08-03 21:09:49 -04:00
parent b8994a531f
commit 4f1ad09470
8 changed files with 172 additions and 10 deletions

View file

@ -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
};