mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-17 21:55:24 +02:00
54 lines
1.8 KiB
TypeScript
54 lines
1.8 KiB
TypeScript
//
|
|
// 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 { IntlString, mergeIds } from '@anticrm/platform'
|
|
import type { Ref, Class, Type } from '@anticrm/core'
|
|
import contact, { contactId } from '@anticrm/contact'
|
|
import type { Channel } from '@anticrm/contact'
|
|
import type { AnyComponent } from '@anticrm/ui'
|
|
import {} from '@anticrm/core'
|
|
import { Application } from '@anticrm/workbench'
|
|
|
|
export const ids = mergeIds(contactId, contact, {
|
|
app: {
|
|
Contacts: '' as Ref<Application>
|
|
},
|
|
component: {
|
|
PersonPresenter: '' as AnyComponent,
|
|
ContactPresenter: '' as AnyComponent,
|
|
ChannelsPresenter: '' as AnyComponent,
|
|
CreatePerson: '' as AnyComponent,
|
|
EditPerson: '' as AnyComponent,
|
|
EditContact: '' as AnyComponent,
|
|
EditOrganization: '' as AnyComponent,
|
|
CreateOrganization: '' as AnyComponent,
|
|
CreatePersons: '' as AnyComponent,
|
|
CreateOrganizations: '' as AnyComponent,
|
|
OrganizationPresenter: '' as AnyComponent
|
|
},
|
|
string: {
|
|
Organizations: '' as IntlString,
|
|
OrganizationsFolder: '' as IntlString,
|
|
PersonsFolder: '' as IntlString,
|
|
Persons: '' as IntlString,
|
|
Contacts: '' as IntlString,
|
|
CreatePersons: '' as IntlString,
|
|
CreateOrganizations: '' as IntlString
|
|
},
|
|
class: {
|
|
TypeChannel: '' as Ref<Class<Type<Channel>>>
|
|
}
|
|
})
|