From ec12ca3bdf3d0b12392203c847157a31617fa758 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Sun, 11 May 2025 16:30:50 +0800 Subject: [PATCH] "make avatar mandatory and add collectionId to User interface" --- 002_source/cms/src/types/user.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/002_source/cms/src/types/user.ts b/002_source/cms/src/types/user.ts index 5dec8aa..7fc158c 100644 --- a/002_source/cms/src/types/user.ts +++ b/002_source/cms/src/types/user.ts @@ -1,8 +1,10 @@ export interface User { id: string; name?: string; - avatar?: string; + avatar: string; email?: string; + collectionId: string; + [key: string]: unknown; }