Files
provider_jmapc/src/integrations.ts
Sebastian Krupinski bc59fc5984
All checks were successful
Build Test / test (pull_request) Successful in 33s
JS Unit Tests / test (pull_request) Successful in 31s
PHP Unit Tests / test (pull_request) Successful in 1m5s
feat: lots more improvements
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-04-25 15:43:44 -04:00

46 lines
1.1 KiB
TypeScript

import type { ModuleIntegrations } from "@KTXC/types/moduleTypes";
import type { ServiceInterface } from "@KTXM/MailManager/types/service";
import { JmapServiceObject } from './models/JmapServiceObject'
const integrations: ModuleIntegrations = {
mail_provider_panels_auxiliary: [
{
id: 'jmap',
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_provider_panels_auth: [
{
id: 'jmap',
label: 'JMAP Authentication',
component: () => import('@/components/JmapAuthPanel.vue'),
}
],
mail_provider_factory_service: [
{
id: 'jmap',
factory: (data: ServiceInterface) => new JmapServiceObject().fromJson(data)
}
],
mail_provider_details: [
{
id: 'jmap',
label: 'JMAP Protocol',
description: 'Modern JSON-based mail API protocol',
icon: 'mdi-api',
}
]
};
export default integrations;