// User-specific scopingconst userScope: SettingsStoreScopeFunction = ({ ctx }) => ctx.activeUserId || '';// Channel-specific scopingconst channelScope: SettingsStoreScopeFunction = ({ ctx }) => ctx.channelId || '';// User and channel scopingconst userAndChannelScope: SettingsStoreScopeFunction = ({ ctx }) => `${ctx.activeUserId || ''}:${ctx.channelId || ''}`;