forked from Ivasoft/mattermost-mobile
fix cannot read data when opening a deeplink (#8109)
This commit is contained in:
@@ -8,6 +8,10 @@ export interface DeepLink {
|
||||
teamName: string;
|
||||
}
|
||||
|
||||
export interface DeepLinkServer {
|
||||
serverUrl: string;
|
||||
}
|
||||
|
||||
export interface DeepLinkChannel extends DeepLink {
|
||||
channelName: string;
|
||||
}
|
||||
@@ -34,7 +38,7 @@ export type DeepLinkType = typeof DeepLink[keyof typeof DeepLink];
|
||||
export interface DeepLinkWithData {
|
||||
type: DeepLinkType;
|
||||
url: string;
|
||||
data?: DeepLinkChannel | DeepLinkDM | DeepLinkGM | DeepLinkPermalink | DeepLinkPlugin;
|
||||
data?: DeepLinkChannel | DeepLinkDM | DeepLinkGM | DeepLinkPermalink | DeepLinkPlugin | DeepLinkServer;
|
||||
}
|
||||
|
||||
export type LaunchType = typeof Launch[keyof typeof Launch];
|
||||
|
||||
Reference in New Issue
Block a user