personal-security-checklist/web/src/types/PSC.ts

34 lines
584 B
TypeScript
Raw Normal View History

2024-02-03 12:02:17 +00:00
export interface PersonalSecurityChecklist {
sections: Section[],
}
export type Sections = Section[];
2024-02-03 12:02:17 +00:00
export interface Section {
title: string,
slug: string,
description: string,
intro: string,
icon: string,
color: string,
checklist: Checklist[],
softwareLinks?: Link[],
helpfulTools?: Link[],
furtherResources?: Link[],
2024-02-03 12:02:17 +00:00
}
export type Priority = 'essential' | 'optional' | 'advanced';
2024-02-03 12:02:17 +00:00
export interface Checklist {
point: string,
priority: Priority,
details: string,
}
export interface Link {
title: string,
url: string,
description?: string,
}