feat: lots more improvements
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -3,31 +3,39 @@ import type { ServiceInterface } from "@KTXM/MailManager/types/service";
|
||||
import { JmapServiceObject } from './models/JmapServiceObject'
|
||||
|
||||
const integrations: ModuleIntegrations = {
|
||||
mail_account_protocol_panels: [
|
||||
mail_provider_panels_auxiliary: [
|
||||
{
|
||||
id: 'jmap',
|
||||
label: 'JMAP Protocol Panel',
|
||||
label: 'JMAP Settings',
|
||||
component: () => import('@/components/JmapAuxiliaryPanel.vue'),
|
||||
priority: 10,
|
||||
}
|
||||
],
|
||||
mail_provider_panels_protocol: [
|
||||
{
|
||||
id: 'jmap',
|
||||
label: 'JMAP Protocol',
|
||||
component: () => import('@/components/JmapProtocolPanel.vue'),
|
||||
priority: 10,
|
||||
}
|
||||
],
|
||||
mail_account_auth_panels: [
|
||||
mail_provider_panels_auth: [
|
||||
{
|
||||
id: 'jmap',
|
||||
label: 'JMAP Authentication Panel',
|
||||
label: 'JMAP Authentication',
|
||||
component: () => import('@/components/JmapAuthPanel.vue'),
|
||||
}
|
||||
],
|
||||
mail_service_factory: [
|
||||
mail_provider_factory_service: [
|
||||
{
|
||||
id: 'jmap',
|
||||
factory: (data: ServiceInterface) => new JmapServiceObject().fromJson(data)
|
||||
}
|
||||
],
|
||||
mail_provider_metadata: [
|
||||
mail_provider_details: [
|
||||
{
|
||||
id: 'jmap',
|
||||
label: 'JMAP',
|
||||
label: 'JMAP Protocol',
|
||||
description: 'Modern JSON-based mail API protocol',
|
||||
icon: 'mdi-api',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user