From 2dd5ab07b00f9b6332ea2860649c153ee6ed4a7f Mon Sep 17 00:00:00 2001 From: codevictory Date: Sun, 24 Oct 2021 20:03:53 +0300 Subject: [PATCH] Initial data model. --- src/model/invitation.ts | 4 ++++ src/model/visitor.ts | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/model/invitation.ts create mode 100644 src/model/visitor.ts diff --git a/src/model/invitation.ts b/src/model/invitation.ts new file mode 100644 index 0000000..7543505 --- /dev/null +++ b/src/model/invitation.ts @@ -0,0 +1,4 @@ +export type Invitation = { + opened: boolean; + submitted: boolean; +} \ No newline at end of file diff --git a/src/model/visitor.ts b/src/model/visitor.ts new file mode 100644 index 0000000..09c9f0e --- /dev/null +++ b/src/model/visitor.ts @@ -0,0 +1,10 @@ +export type Visitor = { + name: string; + lactoseFree: boolean; + dairyFree: boolean; + wheatFree: boolean; + vegan: boolean; + vegatarian: boolean; + accomodation: boolean; + ride: boolean; +} \ No newline at end of file