mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
5 lines (4 loc) • 363 B
TypeScript
import { PreferencesType } from "../types/preferences";
export declare function getPreferenceKey(category: string, name: string): string;
export declare function getPreferencesByCategory(myPreferences: PreferencesType, category: string): Map<string, any>;
export declare function isChannelFavorite(myPreferences: PreferencesType, channelId: string): boolean;