From 4dc421cda9fbc9cc4bca6317be4da7a6c3836c9a Mon Sep 17 00:00:00 2001 From: martincupela Date: Wed, 13 Nov 2024 10:17:16 +0100 Subject: [PATCH] chore: support custom member data in StreamChatGenerics in example apps --- examples/typescript/src/App.tsx | 2 ++ examples/vite/src/App.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/typescript/src/App.tsx b/examples/typescript/src/App.tsx index 36a957d6e..ee16cb311 100644 --- a/examples/typescript/src/App.tsx +++ b/examples/typescript/src/App.tsx @@ -27,6 +27,7 @@ type LocalAttachmentType = Record; type LocalChannelType = Record; type LocalCommandType = string; type LocalEventType = Record; +type LocalMemberType = Record; type LocalMessageType = Record; type LocalPollOptionType = Record; type LocalPollType = Record; @@ -38,6 +39,7 @@ type StreamChatGenerics = { channelType: LocalChannelType; commandType: LocalCommandType; eventType: LocalEventType; + memberType: LocalMemberType; messageType: LocalMessageType; pollOptionType: LocalPollOptionType; pollType: LocalPollType; diff --git a/examples/vite/src/App.tsx b/examples/vite/src/App.tsx index 3fbcdb6b7..748052c2c 100644 --- a/examples/vite/src/App.tsx +++ b/examples/vite/src/App.tsx @@ -41,6 +41,7 @@ type LocalAttachmentType = Record; type LocalChannelType = Record; type LocalCommandType = string; type LocalEventType = Record; +type LocalMemberType = Record; type LocalMessageType = Record; type LocalPollOptionType = Record; type LocalPollType = Record; @@ -52,6 +53,7 @@ type StreamChatGenerics = { channelType: LocalChannelType; commandType: LocalCommandType; eventType: LocalEventType; + memberType: LocalMemberType; messageType: LocalMessageType; pollOptionType: LocalPollOptionType; pollType: LocalPollType;