mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-23 21:02:24 +02:00
Move services to public (#6156)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
//
|
||||
// Copyright © 2023 Hardcore Engineering Inc.
|
||||
//
|
||||
|
||||
import { mergeIds, type IntlString, type Resource } from '@hcengineering/platform'
|
||||
import { githubId } from '@hcengineering/github'
|
||||
import github from '@hcengineering/github-resources/src/plugin'
|
||||
|
||||
import { type ChatMessageViewlet } from '@hcengineering/chunter'
|
||||
import { type Doc, type Ref, type Space } from '@hcengineering/core'
|
||||
import { type DocCreateFunction, type ObjectSearchCategory } from '@hcengineering/model-presentation'
|
||||
import { type NotificationGroup } from '@hcengineering/notification'
|
||||
import type { AnyComponent } from '@hcengineering/ui'
|
||||
import { type ActionCategory, type Viewlet } from '@hcengineering/view'
|
||||
|
||||
export default mergeIds(githubId, github, {
|
||||
component: {
|
||||
Connect: '' as AnyComponent,
|
||||
Configure: '' as AnyComponent,
|
||||
PullRequestPresenter: '' as AnyComponent,
|
||||
TitlePresenter: '' as AnyComponent,
|
||||
PullRequestNotificationPresenter: '' as AnyComponent,
|
||||
AuthenticationCheck: '' as AnyComponent,
|
||||
GithubIssueHeader: '' as AnyComponent,
|
||||
GithubReviewPresenter: '' as AnyComponent,
|
||||
GithubReviewThreadPresenter: '' as AnyComponent,
|
||||
|
||||
MergeableValuePresenter: '' as AnyComponent,
|
||||
PullRequestStateValuePresenter: '' as AnyComponent,
|
||||
PullRequestReviewDecisionValuePresenter: '' as AnyComponent,
|
||||
PullRequestMergeState: '' as AnyComponent
|
||||
},
|
||||
completion: {
|
||||
PullRequestCategory: '' as Ref<ObjectSearchCategory>
|
||||
},
|
||||
string: {
|
||||
ConfigLabel: '' as IntlString,
|
||||
ConfigDescription: '' as IntlString,
|
||||
PRFile: '' as IntlString,
|
||||
PRReview: '' as IntlString,
|
||||
PRCommit: '' as IntlString,
|
||||
PRDraft: '' as IntlString,
|
||||
PRMergedAt: '' as IntlString,
|
||||
PRClosedAt: '' as IntlString,
|
||||
MergeCommitSHA: '' as IntlString,
|
||||
GithubIssue: '' as IntlString,
|
||||
Mergeable: '' as IntlString,
|
||||
GithubUser: '' as IntlString,
|
||||
|
||||
PullRequestMergeState: '' as IntlString,
|
||||
PullRequestReviewDecision: '' as IntlString
|
||||
},
|
||||
viewlet: {
|
||||
PullRequests: '' as Ref<Viewlet>
|
||||
},
|
||||
functions: {
|
||||
ShowForRepositoryOnly: '' as Resource<(spaces: Space[]) => Promise<boolean>>,
|
||||
UpdateIssue: '' as Resource<DocCreateFunction>
|
||||
},
|
||||
ids: {
|
||||
AssigneeNotification: '' as Ref<Doc>,
|
||||
GithubNotificationGroup: '' as Ref<NotificationGroup>,
|
||||
GitHubPullRequestChatMessageViewlet: '' as Ref<ChatMessageViewlet>
|
||||
},
|
||||
category: {
|
||||
Github: '' as Ref<ActionCategory>
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user