-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec1b6dc
commit 7b58b12
Showing
5 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,11 @@ | ||
import {GlobalState as ReduxGlobalState} from 'mattermost-redux/types/store'; | ||
|
||
import reducers from '../reducers'; | ||
|
||
export type GetStateFunc = () => GlobalState | ||
|
||
export type GlobalState = ReduxGlobalState & { | ||
'plugins-github': { | ||
connected: boolean, | ||
enterpriseURL: string, | ||
organization: string, | ||
username: string, | ||
userSettings: UserSettingsData, | ||
configuration: ConfigurationData | Record<string, unknown>, | ||
clientId: string, | ||
reviewDetails: PrsDetailsData[], | ||
sidebarContent: SidebarContentData, | ||
yourRepos: YourReposData[], | ||
yourPrDetails: PrsDetailsData[], | ||
mentions: MentionsData[], | ||
githubUsers: Record<string, GithubUsersData>, | ||
rhsPluginAction: ShowRhsPluginActionData | null, | ||
rhsState: string | null, | ||
isCreateIssueModalVisible: boolean, | ||
attachCommentToIssueModalVisible: boolean, | ||
createIssueModal: CreateIssueModalData, | ||
attachCommentToIssueModalForPostId: string, | ||
} | ||
'plugins-github': PluginState | ||
}; | ||
|
||
export type PluginState = ReturnType<typeof reducers> |