From c34fc7118c990e210267fef590dbea2d555a44d5 Mon Sep 17 00:00:00 2001 From: Ashis Kumar Naik Date: Sat, 28 Jun 2025 06:33:52 +0530 Subject: [PATCH] feat: make cell icon optional in type definitions Updates CellMessage and Cell interfaces to support optional icon fields, allowing cells to be created without requiring an icon URL. --- src/lib/waku/types.ts | 2 +- src/types/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/waku/types.ts b/src/lib/waku/types.ts index c5db885..026627a 100644 --- a/src/lib/waku/types.ts +++ b/src/lib/waku/types.ts @@ -28,7 +28,7 @@ export interface CellMessage extends BaseMessage { id: string; name: string; description: string; - icon: string; + icon?: string; } /** diff --git a/src/types/index.ts b/src/types/index.ts index e3c2229..95a2d01 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -16,7 +16,7 @@ export interface Cell { id: string; name: string; description: string; - icon: string; + icon?: string; signature?: string; // Message signature browserPubKey?: string; // Public key that signed the message }