Adds interface for checklist

This commit is contained in:
Alicia Sykes 2024-02-03 12:02:17 +00:00
parent 7e765e9c88
commit ff055d0557

23
web/src/types/PSC.ts Normal file
View File

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