From ff055d055795ef68dff7a9f1895d2eb026b4cd93 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 3 Feb 2024 12:02:17 +0000 Subject: [PATCH] Adds interface for checklist --- web/src/types/PSC.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 web/src/types/PSC.ts diff --git a/web/src/types/PSC.ts b/web/src/types/PSC.ts new file mode 100644 index 0000000..44124a4 --- /dev/null +++ b/web/src/types/PSC.ts @@ -0,0 +1,23 @@ + +export interface PersonalSecurityChecklist { + sections: Section[], +} + +export interface Section { + title: string, + slug: string, + description: string, + intro: string, + icon: string, + color: string, + checklist: Checklist[], +} + +export type Priority = 'recommended' | 'optional' | 'advanced'; + +export interface Checklist { + point: string, + priority: Priority, + details: string, +} +