mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 12:22:23 +02:00
Move services to public (#6156)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// Copyright © 2021, 2023 Hardcore Engineering Inc.
|
||||
//
|
||||
//
|
||||
|
||||
import { Ref } from '@hcengineering/core'
|
||||
import type { Metadata, Plugin, Resource } from '@hcengineering/platform'
|
||||
import { plugin } from '@hcengineering/platform'
|
||||
import { TriggerFunc } from '@hcengineering/server-core'
|
||||
import { TodoDoneTester } from '@hcengineering/time'
|
||||
import { GithubProject } from '@hcengineering/github'
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export const serverGithubId = 'server-github' as Plugin
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export default plugin(serverGithubId, {
|
||||
trigger: {
|
||||
OnProjectChanges: '' as Resource<TriggerFunc>
|
||||
},
|
||||
functions: {
|
||||
TodoDoneTester: '' as Resource<TodoDoneTester>
|
||||
},
|
||||
metadata: {
|
||||
GithubProjects: '' as Metadata<Set<Ref<GithubProject>>>
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user