mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
14 lines (13 loc) • 1.87 kB
TypeScript
import type { AppBinding } from '@mattermost/types/apps';
import type { ClientConfig } from '@mattermost/types/config';
import type { GlobalState } from '@mattermost/types/store';
export declare const appsPluginIsEnabled: (state: GlobalState) => boolean;
export declare const appsFeatureFlagEnabled: import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, boolean, (res: Partial<ClientConfig>) => boolean>;
export declare const appsEnabled: import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, boolean, (res1: boolean, res2: boolean) => boolean>;
export declare const appBarEnabled: import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, boolean, (res: Partial<ClientConfig>) => boolean>;
export declare const makeAppBindingsSelector: (location: string) => import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, AppBinding[], (res1: AppBinding[], res2: boolean) => AppBinding[]>;
export declare const getChannelHeaderAppBindings: import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, AppBinding[], (res1: boolean, res2: AppBinding[]) => AppBinding[]>;
export declare const getAppBarAppBindings: import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, AppBinding[], (res1: boolean, res2: AppBinding[], res3: AppBinding[]) => AppBinding[]>;
export declare const makeRHSAppBindingSelector: (location: string) => import("mattermost-redux/selectors/create_selector").OutputSelector<GlobalState, AppBinding[], (res1: AppBinding[], res2: boolean) => AppBinding[]>;
export declare const getAppCommandForm: (state: GlobalState, location: string) => import("@mattermost/types/apps").AppForm;
export declare const getAppRHSCommandForm: (state: GlobalState, location: string) => import("@mattermost/types/apps").AppForm;