2021-08-07 05:49:51 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2020 Anticrm Platform Contributors.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
|
|
|
import { Builder } from '@anticrm/model'
|
|
|
|
|
|
|
|
import { createModel as coreModel } from '@anticrm/model-core'
|
2021-08-07 12:15:18 +00:00
|
|
|
import { createModel as viewModel } from '@anticrm/model-view'
|
|
|
|
import { createModel as workbenchModel } from '@anticrm/model-workbench'
|
2021-08-07 14:49:14 +00:00
|
|
|
import { createModel as contactModel } from '@anticrm/model-contact'
|
|
|
|
import { createModel as taskModel } from '@anticrm/model-task'
|
2021-08-07 15:23:13 +00:00
|
|
|
import { createModel as chunterModel } from '@anticrm/model-chunter'
|
2021-08-07 17:03:06 +00:00
|
|
|
import { createModel as recruitModel } from '@anticrm/model-recruit'
|
2021-11-22 12:06:14 +00:00
|
|
|
import { createModel as settingModel } from '@anticrm/model-setting'
|
2021-11-25 11:05:00 +00:00
|
|
|
import { createModel as telegramModel } from '@anticrm/model-telegram'
|
2021-12-06 10:07:08 +00:00
|
|
|
import { createModel as attachmentModel } from '@anticrm/model-attachment'
|
2021-12-07 09:05:52 +00:00
|
|
|
import { createModel as leadModel } from '@anticrm/model-lead'
|
2021-08-07 05:49:51 +00:00
|
|
|
|
2021-08-07 21:35:49 +00:00
|
|
|
import { createModel as serverCoreModel } from '@anticrm/model-server-core'
|
|
|
|
import { createModel as serverChunterModel } from '@anticrm/model-server-chunter'
|
2021-09-26 10:48:15 +00:00
|
|
|
import { createModel as serverRecruitModel } from '@anticrm/model-server-recruit'
|
2021-11-18 12:48:05 +00:00
|
|
|
import { createModel as activityModel } from '@anticrm/model-activity'
|
2021-08-07 21:35:49 +00:00
|
|
|
|
2021-08-07 17:03:06 +00:00
|
|
|
import { createDemo } from '@anticrm/model-demo'
|
2021-08-07 05:49:51 +00:00
|
|
|
|
|
|
|
const builder = new Builder()
|
|
|
|
|
|
|
|
coreModel(builder)
|
2021-11-18 12:48:05 +00:00
|
|
|
activityModel(builder)
|
2021-12-06 10:07:08 +00:00
|
|
|
attachmentModel(builder)
|
2021-08-07 12:15:18 +00:00
|
|
|
viewModel(builder)
|
|
|
|
workbenchModel(builder)
|
2021-08-07 14:49:14 +00:00
|
|
|
contactModel(builder)
|
2021-08-07 15:23:13 +00:00
|
|
|
chunterModel(builder)
|
2021-08-07 14:49:14 +00:00
|
|
|
taskModel(builder)
|
2021-08-07 17:03:06 +00:00
|
|
|
recruitModel(builder)
|
2021-11-22 12:06:14 +00:00
|
|
|
settingModel(builder)
|
2021-11-25 11:05:00 +00:00
|
|
|
telegramModel(builder)
|
2021-12-07 09:05:52 +00:00
|
|
|
leadModel(builder)
|
2021-08-07 05:49:51 +00:00
|
|
|
|
2021-08-07 21:35:49 +00:00
|
|
|
serverCoreModel(builder)
|
|
|
|
serverChunterModel(builder)
|
2021-09-26 10:48:15 +00:00
|
|
|
serverRecruitModel(builder)
|
2021-08-07 21:35:49 +00:00
|
|
|
|
2021-08-07 17:03:06 +00:00
|
|
|
createDemo(builder)
|
2021-08-07 05:49:51 +00:00
|
|
|
|
|
|
|
export default builder
|
2021-12-07 18:45:11 +00:00
|
|
|
|
|
|
|
// Export upgrade procedures
|
|
|
|
export { migrateOperations } from './migration'
|
2021-12-22 09:04:07 +00:00
|
|
|
|
|
|
|
export { createDeps } from './creation'
|