2022-03-16 09:02:57 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2022 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
|
2022-09-21 08:08:25 +00:00
|
|
|
import type { TxViewlet } from '@hcengineering/activity'
|
|
|
|
import { Doc, Ref } from '@hcengineering/core'
|
2023-02-21 06:40:03 +00:00
|
|
|
import { IntlString, mergeIds, Resource } from '@hcengineering/platform'
|
2022-09-21 08:08:25 +00:00
|
|
|
import { settingId } from '@hcengineering/setting'
|
|
|
|
import setting from '@hcengineering/setting-resources/src/plugin'
|
|
|
|
import { AnyComponent } from '@hcengineering/ui'
|
|
|
|
import { Action, ActionCategory, ViewAction } from '@hcengineering/view'
|
2023-02-21 06:40:03 +00:00
|
|
|
import { TemplateFieldFunc } from '@hcengineering/templates'
|
2023-04-27 16:42:41 +00:00
|
|
|
import { NotificationGroup, NotificationType } from '@hcengineering/notification'
|
2022-03-16 09:02:57 +00:00
|
|
|
|
|
|
|
export default mergeIds(settingId, setting, {
|
|
|
|
activity: {
|
2023-04-12 13:49:10 +00:00
|
|
|
TxIntegrationDisable: '' as AnyComponent
|
2022-03-16 09:02:57 +00:00
|
|
|
},
|
|
|
|
ids: {
|
2022-05-29 04:56:06 +00:00
|
|
|
TxIntegrationDisable: '' as Ref<TxViewlet>,
|
2023-04-25 07:34:10 +00:00
|
|
|
EnumSetting: '' as Ref<Doc>,
|
2023-04-27 16:42:41 +00:00
|
|
|
Configure: '' as Ref<Doc>,
|
|
|
|
SettingNotificationGroup: '' as Ref<NotificationGroup>,
|
|
|
|
IntegrationDisabledNotification: '' as Ref<NotificationType>
|
2022-05-28 04:05:36 +00:00
|
|
|
},
|
|
|
|
component: {
|
2022-05-29 04:56:06 +00:00
|
|
|
EnumSetting: '' as AnyComponent,
|
2022-05-28 04:05:36 +00:00
|
|
|
StringTypeEditor: '' as AnyComponent,
|
2022-11-04 06:07:27 +00:00
|
|
|
HyperlinkTypeEditor: '' as AnyComponent,
|
2022-05-28 04:05:36 +00:00
|
|
|
BooleanTypeEditor: '' as AnyComponent,
|
|
|
|
NumberTypeEditor: '' as AnyComponent,
|
|
|
|
DateTypeEditor: '' as AnyComponent,
|
2022-05-29 04:56:06 +00:00
|
|
|
RefEditor: '' as AnyComponent,
|
2022-07-01 15:22:58 +00:00
|
|
|
EnumTypeEditor: '' as AnyComponent,
|
2022-08-05 07:48:31 +00:00
|
|
|
Owners: '' as AnyComponent,
|
2023-02-01 11:24:21 +00:00
|
|
|
CreateMixin: '' as AnyComponent,
|
2023-02-07 18:00:56 +00:00
|
|
|
InviteSetting: '' as AnyComponent,
|
2023-04-12 13:49:10 +00:00
|
|
|
ArrayEditor: '' as AnyComponent,
|
2023-04-25 07:34:10 +00:00
|
|
|
IntegrationPanel: '' as AnyComponent,
|
|
|
|
Configure: '' as AnyComponent
|
2022-08-05 07:48:31 +00:00
|
|
|
},
|
|
|
|
category: {
|
|
|
|
Settings: '' as Ref<ActionCategory>
|
|
|
|
},
|
|
|
|
action: {
|
|
|
|
DeleteMixin: '' as Ref<Action>
|
|
|
|
},
|
|
|
|
actionImpl: {
|
|
|
|
DeleteMixin: '' as ViewAction<Record<string, any>>
|
2023-02-21 06:40:03 +00:00
|
|
|
},
|
|
|
|
string: {
|
|
|
|
Value: '' as IntlString
|
|
|
|
},
|
|
|
|
function: {
|
|
|
|
GetValue: '' as Resource<TemplateFieldFunc>,
|
2023-04-05 09:51:05 +00:00
|
|
|
GetOwnerName: '' as Resource<TemplateFieldFunc>,
|
|
|
|
GetOwnerPosition: '' as Resource<TemplateFieldFunc>
|
2022-03-16 09:02:57 +00:00
|
|
|
}
|
|
|
|
})
|