[MM-51514] Allow Calls widget to open user settings (#3109)

* Allow Calls widget to open user settings

* Bump api-types version

* Bump
This commit is contained in:
Claudio Costa
2024-07-24 17:56:45 +02:00
committed by GitHub
parent 314f7ab96f
commit e2cc1cee4b
8 changed files with 16 additions and 3 deletions

View File

@@ -76,6 +76,9 @@ export type DesktopAPI = {
openStopRecordingModal: (channelID: string) => void;
onOpenStopRecordingModal: (listener: (channelID: string) => void) => () => void;
openCallsUserSettings: () => void;
onOpenCallsUserSettings: (listener: () => void) => () => void;
// Utility
unregister: (channel: string) => void;
}

View File

@@ -63,5 +63,7 @@ export type DesktopAPI = {
onOpenThreadForCalls: (listener: (threadID: string) => void) => () => void;
openStopRecordingModal: (channelID: string) => void;
onOpenStopRecordingModal: (listener: (channelID: string) => void) => () => void;
openCallsUserSettings: () => void;
onOpenCallsUserSettings: (listener: () => void) => () => void;
unregister: (channel: string) => void;
};

View File

@@ -1,12 +1,12 @@
{
"name": "@mattermost/desktop-api",
"version": "5.9.0-1",
"version": "5.10.0-1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@mattermost/desktop-api",
"version": "5.9.0-1",
"version": "5.10.0-1",
"license": "MIT",
"peerDependencies": {
"typescript": "^4.3.0 || ^5.0.0"

View File

@@ -1,6 +1,6 @@
{
"name": "@mattermost/desktop-api",
"version": "5.9.0-1",
"version": "5.10.0-1",
"description": "Shared types for the Desktop App API provided to the Web App",
"keywords": [
"mattermost"