From e02e746028212174a98e7c373061b1b4299714e4 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 20 Feb 2023 14:55:03 +0000 Subject: [PATCH] add service file --- CommonServer/Services/Index.ts | 122 +++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 CommonServer/Services/Index.ts diff --git a/CommonServer/Services/Index.ts b/CommonServer/Services/Index.ts new file mode 100644 index 0000000000..2d1ac5a5b2 --- /dev/null +++ b/CommonServer/Services/Index.ts @@ -0,0 +1,122 @@ + +import UserService from './UserService'; +import ProbeService from './ProbeService'; +import ProjectService from './ProjectService'; +import EmailVerificationTokenService from './EmailVerificationTokenService'; + +// Team +import TeamService from './TeamService'; +import TeamMemberService from './TeamMemberService'; +import TeamPermissionService from './TeamPermissionService'; + +// API Keys +import ApiKeyService from './ApiKeyService'; +import ApiKeyPermissionService from './ApiKeyPermissionService'; + +//Labels. +import LabelService from './LabelService'; + +// Status Page +import StatusPageService from './StatusPageService'; +import StatusPageGroupService from './StatusPageGroupService'; +import StatusPageDomainService from './StatusPageDomainService'; +import StatusPageResourceService from './StatusPageResourceService'; +import StatusPageAnnouncementService from './StatusPageAnnouncementService'; +import StatusPageSubscriberService from './StatusPageSubscriberService'; +import StatusPageFooterLinkService from './StatusPageFooterLinkService'; +import StatusPageHeaderLinkService from './StatusPageHeaderLinkService'; +import StatusPagePrivateUserService from './StatusPagePrivateUserService'; + +// On Call Duty +import OnCallDutyService from './OnCallDutyService'; + +// Monitors +import MonitorService from './MonitorService'; +import MonitorStatusService from './MonitorStatusService'; +import MonitorStatusTimelineService from './MonitorStatusTimelineService'; + +// Incidents +import IncidentService from './IncidentService'; +import IncidentStateService from './IncidentStateService'; +import IncidentStateTimelineService from './IncidentStateTimelineService'; +import IncidentPublicNoteService from './IncidentPublicNoteService'; +import IncidentInternalNoteService from './IncidentInternalNoteService'; +import IncidentSeverityService from './IncidentSeverityService'; + +// ScheduledMaintenances +import ScheduledMaintenanceService from './ScheduledMaintenanceService'; +import ScheduledMaintenanceStateService from './ScheduledMaintenanceStateService'; +import ScheduledMaintenanceStateTimelineService from './ScheduledMaintenanceStateTimelineService'; +import ScheduledMaintenancePublicNoteService from './ScheduledMaintenancePublicNoteService'; +import ScheduledMaintenanceInternalNoteService from './ScheduledMaintenanceInternalNoteService'; + +import BillingPaymentMethodsService from './BillingPaymentMethodService'; + +// Project SMTP Config. +import ProjectSmtpConfigService from './ProjectSmtpConfigService'; + +import DomainService from './DomainService'; + +import FileService from './FileService'; +import BillingInvoiceService from './BillingInvoiceService'; + +// Greenlock +import GreenlockChallengeService from './GreenlockChallengeService'; +import GreenlockCertificateService from './GreenlockCertificateService'; + +// Workflows. +import WorkflowService from './WorkflowService'; +import WorkflowVariablesService from './WorkflowVariableService'; +import WorkflowLogService from './WorkflowLogService'; + +export default [ + UserService, + ProbeService, + ProjectService, + EmailVerificationTokenService, + TeamService, + TeamMemberService, + TeamPermissionService, + ApiKeyService, + LabelService, + ApiKeyPermissionService, + ProjectSmtpConfigService, + StatusPageService, + OnCallDutyService, + MonitorService, + MonitorStatusService, + IncidentStateService, + IncidentService, + IncidentStateTimelineService, + MonitorStatusTimelineService, + IncidentPublicNoteService, + IncidentInternalNoteService, + FileService, + DomainService, + + StatusPageGroupService, + StatusPageDomainService, + StatusPageResourceService, + IncidentSeverityService, + StatusPageAnnouncementService, + StatusPageSubscriberService, + StatusPageFooterLinkService, + StatusPageHeaderLinkService, + StatusPagePrivateUserService, + + ScheduledMaintenanceStateService, + ScheduledMaintenanceService, + ScheduledMaintenanceStateTimelineService, + ScheduledMaintenancePublicNoteService, + ScheduledMaintenanceInternalNoteService, + + BillingPaymentMethodsService, + BillingInvoiceService, + + GreenlockChallengeService, + GreenlockCertificateService, + + WorkflowService, + WorkflowVariablesService, + WorkflowLogService, +];