mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
17 lines (16 loc) • 726 B
TypeScript
import type { ChannelBookmark, ChannelBookmarksState } from '@mattermost/types/channel_bookmarks';
import type { IDMappedObjects } from '@mattermost/types/utilities';
import type { MMReduxAction } from 'mattermost-redux/action_types';
export declare function byChannelId(state: ChannelBookmarksState["byChannelId"] | undefined, action: MMReduxAction): {
[channelId: string]: IDMappedObjects<ChannelBookmark>;
};
declare const _default: import("redux").Reducer<{
byChannelId: {
[channelId: string]: IDMappedObjects<ChannelBookmark>;
};
}, import("redux").AnyAction, Partial<{
byChannelId: {
[channelId: string]: IDMappedObjects<ChannelBookmark>;
} | undefined;
}>>;
export default _default;