mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-25 01:39:53 +00:00
91 lines
1.9 KiB
TypeScript
91 lines
1.9 KiB
TypeScript
//
|
|
// Copyright © 2020, 2021 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 core from './component'
|
|
import {
|
|
TArrOf,
|
|
TAttachedDoc,
|
|
TAttribute,
|
|
TClass,
|
|
TCollection,
|
|
TDoc,
|
|
TInterface,
|
|
TMixin,
|
|
TObj,
|
|
TPluginConfiguration,
|
|
TRefTo,
|
|
TType,
|
|
TTypeBoolean,
|
|
TTypeDate, TTypeIntlString, TTypeMarkup, TTypeNumber, TTypeString, TTypeTimestamp,
|
|
TVersion
|
|
} from './core'
|
|
import { TAccount, TSpace } from './security'
|
|
import { TUserStatus } from './transient'
|
|
import {
|
|
TTx,
|
|
TTxBulkWrite,
|
|
TTxCollectionCUD,
|
|
TTxCreateDoc,
|
|
TTxCUD,
|
|
TTxMixin,
|
|
TTxPutBag,
|
|
TTxRemoveDoc,
|
|
TTxUpdateDoc
|
|
} from './tx'
|
|
|
|
export * from './core'
|
|
export { coreOperation } from './migration'
|
|
export * from './security'
|
|
export * from './tx'
|
|
export { core as default }
|
|
|
|
export function createModel (builder: Builder): void {
|
|
builder.createModel(
|
|
TObj,
|
|
TDoc,
|
|
TClass,
|
|
TMixin,
|
|
TInterface,
|
|
TTx,
|
|
TTxCUD,
|
|
TTxCreateDoc,
|
|
TAttachedDoc,
|
|
TTxCollectionCUD,
|
|
TTxPutBag,
|
|
TTxMixin,
|
|
TTxUpdateDoc,
|
|
TTxRemoveDoc,
|
|
TTxBulkWrite,
|
|
TSpace,
|
|
TAccount,
|
|
TAttribute,
|
|
TType,
|
|
TTypeString,
|
|
TTypeMarkup,
|
|
TTypeBoolean,
|
|
TTypeTimestamp,
|
|
TRefTo,
|
|
TCollection,
|
|
TTypeDate,
|
|
TArrOf,
|
|
TVersion,
|
|
TTypeNumber,
|
|
TTypeIntlString,
|
|
TPluginConfiguration,
|
|
TUserStatus
|
|
)
|
|
}
|