generated from Nodarx/template
7485e4c897
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
45 lines
1.1 KiB
TypeScript
45 lines
1.1 KiB
TypeScript
import type { ModuleIntegrations } from '@KTXC/types/moduleTypes'
|
|
import type { ServiceInterface } from '@KTXM/MailManager/types/service'
|
|
import { ServiceObject } from '@KTXM/MailManager/models/service'
|
|
|
|
const integrations: ModuleIntegrations = {
|
|
mail_provider_panels_auxiliary: [
|
|
{
|
|
id: 'imap',
|
|
label: 'IMAP Settings',
|
|
component: () => import('@/components/ImapAuxiliaryPanel.vue'),
|
|
priority: 20,
|
|
}
|
|
],
|
|
mail_provider_panels_protocol: [
|
|
{
|
|
id: 'imap',
|
|
label: 'IMAP Protocol',
|
|
component: () => import('@/components/ImapProtocolPanel.vue'),
|
|
priority: 20,
|
|
}
|
|
],
|
|
mail_provider_panels_auth: [
|
|
{
|
|
id: 'imap',
|
|
label: 'IMAP Authentication',
|
|
component: () => import('@/components/ImapAuthPanel.vue'),
|
|
}
|
|
],
|
|
mail_provider_factory_service: [
|
|
{
|
|
id: 'imap',
|
|
factory: (data: ServiceInterface) => new ServiceObject().fromJson(data)
|
|
}
|
|
],
|
|
mail_provider_details: [
|
|
{
|
|
id: 'imap',
|
|
label: 'IMAP Protocol',
|
|
description: 'Classic mailbox access over IMAP',
|
|
icon: 'mdi-email',
|
|
}
|
|
]
|
|
}
|
|
|
|
export default integrations |