mirror of
https://github.com/Lissy93/personal-security-checklist.git
synced 2024-10-01 01:35:37 -04:00
Adds interface for checklist
This commit is contained in:
parent
7e765e9c88
commit
ff055d0557
23
web/src/types/PSC.ts
Normal file
23
web/src/types/PSC.ts
Normal 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,
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user