From f5e72927283b9ad5cf57604f9516b3474b5f6a84 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Sat, 15 Mar 2025 10:59:57 +0100 Subject: [PATCH] switch from Date to Date --- app/src/lib/model.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/src/lib/model.ts b/app/src/lib/model.ts index 1c99eb2..3362b1e 100644 --- a/app/src/lib/model.ts +++ b/app/src/lib/model.ts @@ -3,7 +3,6 @@ import { Integer } from 'neo4j-driver'; export interface PersonProperties { allow_admin_access: boolean; - id: string; google_id: string; first_name: string; middle_name?: string; @@ -14,11 +13,11 @@ export interface PersonProperties { aliases?: string[]; mothers_first_name?: string; mothers_last_name?: string; - born?: Date; + born?: Date; place_of_birth?: string; - died?: Date; + died?: Date; place_of_death?: string; - life_events?: { [key: string]: {from: Date, to:Date, desription: string} }[]; + life_events?: { [key: string]: {from: Date, to:Date, desription: string} }[]; occupations?: string[]; occupation_to_display?: string; others_said?: { [key: string]: string }; @@ -59,8 +58,8 @@ export interface PersonProperties { export interface FamilyRelationship { verified: boolean; notes?: string; - from?: Date; - to?: Date; + from?: Date; + to?: Date; } export type Person = Node; @@ -74,7 +73,7 @@ export interface RecipeProperties { name: string; origin: string; category: string; - first_recorded: Date; + first_recorded: Date; description: string; ingredients: string[]; instructions: string[];