From 82fa9a4ac2b881a818e12bae69fb96f199631fcb Mon Sep 17 00:00:00 2001 From: Tola Leng Date: Fri, 6 Jun 2025 18:54:05 +0800 Subject: [PATCH] Add components to operational page form --- .../src/types/statusPageComponents.types.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 application/src/types/statusPageComponents.types.ts diff --git a/application/src/types/statusPageComponents.types.ts b/application/src/types/statusPageComponents.types.ts new file mode 100644 index 0000000..3fceb3c --- /dev/null +++ b/application/src/types/statusPageComponents.types.ts @@ -0,0 +1,20 @@ + +export interface StatusPageComponentRecord { + collectionId: string; + collectionName: string; + id: string; + operational_status_id: string; + name: string; + description: string; + service_id: string; + server_id: string; + display_order: number; + created: string; + updated: string; +} + +export interface StatusPageComponentState { + data: StatusPageComponentRecord[] | null; + loading: boolean; + error: string | null; +} \ No newline at end of file