forked from Ivasoft/mattermost-mobile
Playbooks update (#9039)
* Playbook run status update post * Show Playbooks button in Channel Info screen only if playbooks is enabled * Handle Playbook links * Fetch playbook if needed * fix playbooks migration * fix deeplinks using parsedUrl * update last time playbooks where fetched if no errors * show participants for run status update post * fix tests * remove console.log in test * feedback review * wrap participants footer * add fastlane FASTLANE_XCODEBUILD_SETTINGS_RETRIES env vars
This commit is contained in:
3
types/api/posts.d.ts
vendored
3
types/api/posts.d.ts
vendored
@@ -27,7 +27,8 @@ type PostType =
|
||||
| 'add_bot_teams_channels'
|
||||
| 'system_auto_responder'
|
||||
| 'custom_calls'
|
||||
| 'custom_calls_recording';
|
||||
| 'custom_calls_recording'
|
||||
| 'custom_run_update';
|
||||
|
||||
type PostEmbedType = 'image' | 'message_attachment' | 'opengraph';
|
||||
|
||||
|
||||
@@ -33,12 +33,20 @@ export interface DeepLinkPlugin extends DeepLink {
|
||||
route?: string;
|
||||
}
|
||||
|
||||
export interface DeepLinkPlaybooks extends DeepLink {
|
||||
playbookId: string;
|
||||
}
|
||||
|
||||
export interface DeepLinkPlaybookRuns extends DeepLink {
|
||||
playbookRunId: string;
|
||||
}
|
||||
|
||||
export type DeepLinkType = typeof DeepLinkConstant[keyof typeof DeepLinkConstant];
|
||||
|
||||
export interface DeepLinkWithData {
|
||||
type: DeepLinkType;
|
||||
url: string;
|
||||
data?: DeepLinkChannel | DeepLinkDM | DeepLinkGM | DeepLinkPermalink | DeepLinkPlugin | DeepLinkServer;
|
||||
data?: DeepLinkChannel | DeepLinkDM | DeepLinkGM | DeepLinkPermalink | DeepLinkPlugin | DeepLinkServer | DeepLinkPlaybooks | DeepLinkPlaybookRuns;
|
||||
}
|
||||
|
||||
export type LaunchType = typeof Launch[keyof typeof Launch];
|
||||
|
||||
Reference in New Issue
Block a user