mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 20:32:24 +02:00
Move services to public (#6156)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Copyright © 2023 Hardcore Engineering Inc.
|
||||
//
|
||||
|
||||
import { type Builder } from '@hcengineering/model'
|
||||
|
||||
import core from '@hcengineering/core'
|
||||
import serverCore from '@hcengineering/server-core'
|
||||
import serverGithub from '@hcengineering/server-github'
|
||||
import time from '@hcengineering/time'
|
||||
|
||||
export { serverGithubId } from '@hcengineering/server-github'
|
||||
|
||||
export function createModel (builder: Builder): void {
|
||||
builder.createDoc(serverCore.class.Trigger, core.space.Model, {
|
||||
trigger: serverGithub.trigger.OnProjectChanges,
|
||||
isAsync: true
|
||||
})
|
||||
|
||||
// We should skip activity github mixin stuff.
|
||||
builder.createDoc(time.class.TodoAutomationHelper, core.space.Model, {
|
||||
onDoneTester: serverGithub.functions.TodoDoneTester
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user