From c4ee3a1351f33ef52b7b10d8a537c0382b6407e8 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 17 Feb 2024 16:46:25 +0000 Subject: [PATCH] Updates data type for Service --- web/src/types/Service.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/src/types/Service.ts b/web/src/types/Service.ts index cbf0343..4f9c456 100644 --- a/web/src/types/Service.ts +++ b/web/src/types/Service.ts @@ -10,15 +10,18 @@ export interface Service { name: string; description: string; url: string; - github: string; + github?: string; + icon?: string; followWith?: string; } export interface Section { name: string; services: Service[]; - notableMentions: ShortService[]; - furtherInfo: string; + intro?: string; + notableMentions?: ShortService[] | string; + furtherInfo?: string; + wordOfWarning?: string; } export interface ServiceStats {