mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
25 lines (24 loc) • 1.62 kB
TypeScript
import { LogLevel } from '@mattermost/types/client4';
import type { ClientConfig } from '@mattermost/types/config';
import type { SystemSetting } from '@mattermost/types/general';
import type { ActionFuncAsync } from 'mattermost-redux/types/actions';
export declare function getClientConfig(): ActionFuncAsync<ClientConfig>;
export declare function getLicenseConfig(): ActionFuncAsync<import("@mattermost/types/config").ClientLicense, import("@mattermost/types/store").GlobalState, import("redux").AnyAction>;
export declare function getCustomProfileAttributeFields(): ActionFuncAsync<import("@mattermost/types/properties").UserPropertyField[], import("@mattermost/types/store").GlobalState, import("redux").AnyAction>;
export declare function logClientError(message: string, level?: LogLevel): ActionFuncAsync<{
message: string;
}, import("@mattermost/types/store").GlobalState, import("redux").AnyAction>;
export declare function setServerVersion(serverVersion: string): ActionFuncAsync;
export declare function setUrl(url: string): boolean;
export declare function setFirstAdminVisitMarketplaceStatus(): ActionFuncAsync;
export declare function getFirstAdminSetupComplete(): ActionFuncAsync<SystemSetting>;
export declare function checkCWSAvailability(): ActionFuncAsync;
declare const _default: {
getClientConfig: typeof getClientConfig;
getLicenseConfig: typeof getLicenseConfig;
getCustomProfileAttributeFields: typeof getCustomProfileAttributeFields;
logClientError: typeof logClientError;
setServerVersion: typeof setServerVersion;
setUrl: typeof setUrl;
};
export default _default;