* Android and iOS requirements * external types * babel config for calls, package.json for calls dependencies * state in rxJS; tests * actions, client/rest, websocket events, constants * webrtc connection logic * calls components / screens * handle peer destroyed gracefully * PR comments * remove ViewPropTypes from mocks; no need to ignore error in LogBox * calls.d.ts -> calls.ts; i18-extract * @app/products/calls -> @calls * PR comments; test cleanup * Revert "remove ViewPropTypes from mocks; no need to ignore error in LogBox" This reverts commit f9bd171a544de9c02da8387455f904b3840fc5dc. * working on typing withServerUrl * added exportedForInternalUse instead of commenting "internal export" * better switchToThread in call_screen * i18n * typed withServerUrl
17 lines
484 B
TypeScript
17 lines
484 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export interface ClientPluginsMix {
|
|
getPluginsManifests: () => Promise<ClientPluginManifest[]>;
|
|
}
|
|
|
|
const ClientPlugins = (superclass: any) => class extends superclass {
|
|
getPluginsManifests = async () => {
|
|
return this.doFetch(
|
|
`${this.getPluginsRoute()}/webapp`,
|
|
{method: 'get'},
|
|
);
|
|
};
|
|
};
|
|
|
|
export default ClientPlugins;
|