mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse
This commit is contained in:
parent
7b994675c8
commit
52630b16d1
@ -36,12 +36,7 @@ COPY ./Common /usr/src/Common
|
||||
|
||||
|
||||
|
||||
WORKDIR /usr/src/Model
|
||||
COPY ./Model/package*.json /usr/src/Model/
|
||||
# Set version in ./Model/package.json to the APP_VERSION
|
||||
RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/Model/package.json
|
||||
RUN npm install
|
||||
COPY ./Model /usr/src/Model
|
||||
|
||||
|
||||
WORKDIR /usr/src/CommonProject
|
||||
COPY ./CommonProject/package*.json /usr/src/CommonProject/
|
||||
|
@ -5,7 +5,7 @@ import ModelForm, { FormType } from "CommonUI/src/Components/Forms/ModelForm";
|
||||
import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSchemaType";
|
||||
import Link from "CommonUI/src/Components/Link/Link";
|
||||
import OneUptimeLogo from "CommonUI/src/Images/logos/OneUptimeSVG/3-transparent.svg";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, { useState } from "react";
|
||||
|
||||
const ForgotPassword: () => JSX.Element = () => {
|
||||
|
@ -12,10 +12,10 @@ import { DASHBOARD_URL } from "CommonUI/src/Config";
|
||||
import OneUptimeLogo from "CommonUI/src/Images/logos/OneUptimeSVG/3-transparent.svg";
|
||||
import UiAnalytics from "CommonUI/src/Utils/Analytics";
|
||||
import LoginUtil from "CommonUI/src/Utils/Login";
|
||||
import UserTwoFactorAuth from "Model/Models/UserTwoFactorAuth";
|
||||
import UserTwoFactorAuth from "Common/AppModels/Models/UserTwoFactorAuth";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import UserUtil from "CommonUI/src/Utils/User";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React from "react";
|
||||
import useAsyncEffect from "use-async-effect";
|
||||
import StaticModelList from "CommonUI/src/Components/ModelList/StaticModelList";
|
||||
|
@ -8,9 +8,9 @@ import { DASHBOARD_URL, IDENTITY_URL } from "CommonUI/src/Config";
|
||||
import OneUptimeLogo from "CommonUI/src/Images/logos/OneUptimeSVG/3-transparent.svg";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import UserUtil from "CommonUI/src/Utils/User";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, { ReactElement, useState } from "react";
|
||||
import ProjectSSO from "Model/Models/ProjectSso";
|
||||
import ProjectSSO from "Common/AppModels/Models/ProjectSso";
|
||||
import PageLoader from "CommonUI/src/Components/Loader/PageLoader";
|
||||
import API from "CommonUI/src/Utils/API/API";
|
||||
import BasicForm from "CommonUI/src/Components/Forms/BasicForm";
|
||||
|
@ -18,8 +18,8 @@ import LoginUtil from "CommonUI/src/Utils/Login";
|
||||
import ModelAPI, { ListResult } from "CommonUI/src/Utils/ModelAPI/ModelAPI";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import UserUtil from "CommonUI/src/Utils/User";
|
||||
import Reseller from "Model/Models/Reseller";
|
||||
import User from "Model/Models/User";
|
||||
import Reseller from "Common/AppModels/Models/Reseller";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, { useState } from "react";
|
||||
import useAsyncEffect from "use-async-effect";
|
||||
|
||||
|
@ -6,7 +6,7 @@ import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSc
|
||||
import Link from "CommonUI/src/Components/Link/Link";
|
||||
import OneUptimeLogo from "CommonUI/src/Images/logos/OneUptimeSVG/3-transparent.svg";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, { useState } from "react";
|
||||
|
||||
const RegisterPage: () => JSX.Element = () => {
|
||||
|
@ -10,7 +10,7 @@ import OneUptimeLogo from "CommonUI/src/Images/logos/OneUptimeSVG/3-transparent.
|
||||
import API from "CommonUI/src/Utils/API/API";
|
||||
import ModelAPI from "CommonUI/src/Utils/ModelAPI/ModelAPI";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import EmailVerificationToken from "Model/Models/EmailVerificationToken";
|
||||
import EmailVerificationToken from "Common/AppModels/Models/EmailVerificationToken";
|
||||
import React, { useEffect, useState } from "react";
|
||||
|
||||
const VerifyEmail: () => JSX.Element = () => {
|
||||
|
@ -35,12 +35,7 @@ RUN npm install
|
||||
COPY ./Common /usr/src/Common
|
||||
|
||||
|
||||
WORKDIR /usr/src/Model
|
||||
COPY ./Model/package*.json /usr/src/Model/
|
||||
# Set version in ./Model/package.json to the APP_VERSION
|
||||
RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/Model/package.json
|
||||
RUN npm install
|
||||
COPY ./Model /usr/src/Model
|
||||
|
||||
|
||||
WORKDIR /usr/src/CommonProject
|
||||
COPY ./CommonProject/package*.json /usr/src/CommonProject/
|
||||
|
@ -10,7 +10,7 @@ import Toggle from "CommonUI/src/Components/Toggle/Toggle";
|
||||
import { BILLING_ENABLED, getAllEnvVars } from "CommonUI/src/Config";
|
||||
import { GetReactElementFunction } from "CommonUI/src/Types/FunctionTypes";
|
||||
import ProjectUtil from "CommonUI/src/Utils/Project";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import React, {
|
||||
FunctionComponent,
|
||||
ReactElement,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import SearchBox from "CommonUI/src/Components/Header/SearchBox";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
|
||||
export interface ComponentProps {
|
||||
|
@ -13,8 +13,8 @@ import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import { BILLING_ENABLED, getAllEnvVars } from "CommonUI/src/Config";
|
||||
import { GetReactElementFunction } from "CommonUI/src/Types/FunctionTypes";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import Project from "Model/Models/Project";
|
||||
import User from "Model/Models/User";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, {
|
||||
FunctionComponent,
|
||||
ReactElement,
|
||||
|
@ -6,7 +6,7 @@ import ModelDelete from "CommonUI/src/Components/ModelDelete/ModelDelete";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
import SideMenuComponent from "./SideMenu";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import ModelPage from "CommonUI/src/Components/Page/ModelPage";
|
||||
|
||||
const DeletePage: FunctionComponent = (): ReactElement => {
|
||||
|
@ -3,7 +3,7 @@ import PageMap from "../../../Utils/PageMap";
|
||||
import RouteMap, { RouteUtil } from "../../../Utils/RouteMap";
|
||||
import Route from "Common/Types/API/Route";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
import CardModelDetail from "CommonUI/src/Components/ModelDetail/CardModelDetail";
|
||||
import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSchemaType";
|
||||
|
@ -7,7 +7,7 @@ import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSc
|
||||
import CardModelDetail from "CommonUI/src/Components/ModelDetail/CardModelDetail";
|
||||
import Page from "CommonUI/src/Components/Page/Page";
|
||||
import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import GlobalConfig from "Model/Models/GlobalConfig";
|
||||
import GlobalConfig from "Common/AppModels/Models/GlobalConfig";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
|
||||
const Settings: FunctionComponent = (): ReactElement => {
|
||||
|
@ -7,7 +7,7 @@ import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSc
|
||||
import CardModelDetail from "CommonUI/src/Components/ModelDetail/CardModelDetail";
|
||||
import Page from "CommonUI/src/Components/Page/Page";
|
||||
import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import GlobalConfig from "Model/Models/GlobalConfig";
|
||||
import GlobalConfig from "Common/AppModels/Models/GlobalConfig";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
|
||||
const Settings: FunctionComponent = (): ReactElement => {
|
||||
|
@ -7,7 +7,7 @@ import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSc
|
||||
import CardModelDetail from "CommonUI/src/Components/ModelDetail/CardModelDetail";
|
||||
import Page from "CommonUI/src/Components/Page/Page";
|
||||
import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import GlobalConfig from "Model/Models/GlobalConfig";
|
||||
import GlobalConfig from "Common/AppModels/Models/GlobalConfig";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
|
||||
const Settings: FunctionComponent = (): ReactElement => {
|
||||
|
@ -14,7 +14,7 @@ import Pill from "CommonUI/src/Components/Pill/Pill";
|
||||
import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import DropdownUtil from "CommonUI/src/Utils/Dropdown";
|
||||
import ModelAPI from "CommonUI/src/Utils/ModelAPI/ModelAPI";
|
||||
import GlobalConfig, { EmailServerType } from "Model/Models/GlobalConfig";
|
||||
import GlobalConfig, { EmailServerType } from "Common/AppModels/Models/GlobalConfig";
|
||||
import React, { FunctionComponent, ReactElement, useEffect } from "react";
|
||||
|
||||
const Settings: FunctionComponent = (): ReactElement => {
|
||||
|
@ -16,7 +16,7 @@ import Page from "CommonUI/src/Components/Page/Page";
|
||||
import ProbeElement from "CommonUI/src/Components/Probe/Probe";
|
||||
import Statusbubble from "CommonUI/src/Components/StatusBubble/StatusBubble";
|
||||
import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import Probe from "Model/Models/Probe";
|
||||
import Probe from "Common/AppModels/Models/Probe";
|
||||
import React, { FunctionComponent, ReactElement, useState } from "react";
|
||||
|
||||
const Settings: FunctionComponent = (): ReactElement => {
|
||||
|
@ -6,7 +6,7 @@ import ModelTable from "CommonUI/src/Components/ModelTable/ModelTable";
|
||||
import Page from "CommonUI/src/Components/Page/Page";
|
||||
import FieldType from "CommonUI/src/Components/Types/FieldType";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
|
||||
const Users: FunctionComponent = (): ReactElement => {
|
||||
|
@ -6,7 +6,7 @@ import ModelDelete from "CommonUI/src/Components/ModelDelete/ModelDelete";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
import SideMenuComponent from "./SideMenu";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import ModelPage from "CommonUI/src/Components/Page/ModelPage";
|
||||
|
||||
const DeletePage: FunctionComponent = (): ReactElement => {
|
||||
|
@ -3,7 +3,7 @@ import PageMap from "../../../Utils/PageMap";
|
||||
import RouteMap, { RouteUtil } from "../../../Utils/RouteMap";
|
||||
import Route from "Common/Types/API/Route";
|
||||
import Navigation from "CommonUI/src/Utils/Navigation";
|
||||
import User from "Model/Models/User";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import React, { FunctionComponent, ReactElement } from "react";
|
||||
import CardModelDetail from "CommonUI/src/Components/ModelDetail/CardModelDetail";
|
||||
import FormFieldSchemaType from "CommonUI/src/Components/Forms/Types/FormFieldSchemaType";
|
||||
|
@ -39,13 +39,6 @@ RUN npm install
|
||||
COPY ./Common /usr/src/Common
|
||||
|
||||
|
||||
WORKDIR /usr/src/Model
|
||||
COPY ./Model/package*.json /usr/src/Model/
|
||||
# Set version in ./Model/package.json to the APP_VERSION
|
||||
RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/Model/package.json
|
||||
RUN npm install
|
||||
COPY ./Model /usr/src/Model
|
||||
|
||||
WORKDIR /usr/src/CommonProject
|
||||
COPY ./CommonProject/package*.json /usr/src/CommonProject/
|
||||
# Set version in ./CommonProject/package.json to the APP_VERSION
|
||||
@ -53,8 +46,6 @@ RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/Comm
|
||||
RUN npm install
|
||||
COPY ./CommonProject /usr/src/CommonProject
|
||||
|
||||
|
||||
|
||||
WORKDIR /usr/src/CommonServer
|
||||
COPY ./CommonServer/package*.json /usr/src/CommonServer/
|
||||
# Set version in ./CommonServer/package.json to the APP_VERSION
|
||||
@ -63,7 +54,6 @@ RUN npm install
|
||||
COPY ./CommonServer /usr/src/CommonServer
|
||||
|
||||
|
||||
|
||||
ENV PRODUCTION=true
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
@ -2,7 +2,7 @@ import BaseModel from "Common/Models/BaseModel";
|
||||
import ArrayUtil from "Common/Types/ArrayUtil";
|
||||
import Dictionary from "Common/Types/Dictionary";
|
||||
import { IsBillingEnabled } from "CommonServer/EnvironmentConfig";
|
||||
import Models from "Model/Models/Index";
|
||||
import Models from "Common/AppModels/Models/Index";
|
||||
|
||||
export interface ModelDocumentation {
|
||||
name: string;
|
||||
|
@ -222,12 +222,12 @@ import ServiceCopilotCodeRepositoryService, {
|
||||
import ServiceCatalogDependencyService, {
|
||||
Service as ServiceCatalogDependencyServiceType,
|
||||
} from "CommonServer/Services/ServiceCatalogDependencyService";
|
||||
import ServiceCatalogMonitor from "Model/Models/ServiceCatalogMonitor";
|
||||
import ServiceCatalogMonitor from "Common/AppModels/Models/ServiceCatalogMonitor";
|
||||
import ServiceCatalogMonitorService, {
|
||||
Service as ServiceCatalogMonitorServiceType,
|
||||
} from "CommonServer/Services/ServiceCatalogMonitorService";
|
||||
|
||||
import ServiceCatalogTelemetryService from "Model/Models/ServiceCatalogTelemetryService";
|
||||
import ServiceCatalogTelemetryService from "Common/AppModels/Models/ServiceCatalogTelemetryService";
|
||||
import ServiceCatalogTelemetryServiceService, {
|
||||
Service as ServiceCatalogTelemetryServiceServiceType,
|
||||
} from "CommonServer/Services/ServiceCatalogTelemetryServiceService";
|
||||
@ -321,100 +321,100 @@ import ProbeOwnerUserService, {
|
||||
|
||||
import FeatureSet from "CommonServer/Types/FeatureSet";
|
||||
import Express, { ExpressApplication } from "CommonServer/Utils/Express";
|
||||
import Log from "Model/AnalyticsModels/Log";
|
||||
import Metric from "Model/AnalyticsModels/Metric";
|
||||
import MonitorMetricsByMinute from "Model/AnalyticsModels/MonitorMetricsByMinute";
|
||||
import Span from "Model/AnalyticsModels/Span";
|
||||
import ApiKey from "Model/Models/ApiKey";
|
||||
import ApiKeyPermission from "Model/Models/ApiKeyPermission";
|
||||
import CallLog from "Model/Models/CallLog";
|
||||
import Domain from "Model/Models/Domain";
|
||||
import EmailLog from "Model/Models/EmailLog";
|
||||
import EmailVerificationToken from "Model/Models/EmailVerificationToken";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentCustomField from "Model/Models/IncidentCustomField";
|
||||
import IncidentInternalNote from "Model/Models/IncidentInternalNote";
|
||||
import IncidentNoteTemplate from "Model/Models/IncidentNoteTemplate";
|
||||
import IncidentOwnerTeam from "Model/Models/IncidentOwnerTeam";
|
||||
import IncidentOwnerUser from "Model/Models/IncidentOwnerUser";
|
||||
import IncidentPublicNote from "Model/Models/IncidentPublicNote";
|
||||
import IncidentSeverity from "Model/Models/IncidentSeverity";
|
||||
import IncidentState from "Model/Models/IncidentState";
|
||||
import IncidentStateTimeline from "Model/Models/IncidentStateTimeline";
|
||||
import IncidentTemplate from "Model/Models/IncidentTemplate";
|
||||
import IncidentTemplateOwnerTeam from "Model/Models/IncidentTemplateOwnerTeam";
|
||||
import IncidentTemplateOwnerUser from "Model/Models/IncidentTemplateOwnerUser";
|
||||
import Label from "Model/Models/Label";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import MonitorCustomField from "Model/Models/MonitorCustomField";
|
||||
import MonitorGroupOwnerTeam from "Model/Models/MonitorGroupOwnerTeam";
|
||||
import MonitorGroupOwnerUser from "Model/Models/MonitorGroupOwnerUser";
|
||||
import MonitorGroupResource from "Model/Models/MonitorGroupResource";
|
||||
import MonitorOwnerTeam from "Model/Models/MonitorOwnerTeam";
|
||||
import MonitorOwnerUser from "Model/Models/MonitorOwnerUser";
|
||||
import MonitorProbe from "Model/Models/MonitorProbe";
|
||||
import MonitorSecret from "Model/Models/MonitorSecret";
|
||||
import MonitorStatus from "Model/Models/MonitorStatus";
|
||||
import MonitorTimelineStatus from "Model/Models/MonitorStatusTimeline";
|
||||
import OnCallDutyPolicy from "Model/Models/OnCallDutyPolicy";
|
||||
import OnCallDutyPolicyCustomField from "Model/Models/OnCallDutyPolicyCustomField";
|
||||
import OnCallDutyPolicyEscalationRule from "Model/Models/OnCallDutyPolicyEscalationRule";
|
||||
import OnCallDutyPolicyEscalationRuleSchedule from "Model/Models/OnCallDutyPolicyEscalationRuleSchedule";
|
||||
import OnCallDutyPolicyEscalationRuleTeam from "Model/Models/OnCallDutyPolicyEscalationRuleTeam";
|
||||
import OnCallDutyPolicyEscalationRuleUser from "Model/Models/OnCallDutyPolicyEscalationRuleUser";
|
||||
import OnCallDutyPolicyExecutionLog from "Model/Models/OnCallDutyPolicyExecutionLog";
|
||||
import OnCallDutyPolicyExecutionLogTimeline from "Model/Models/OnCallDutyPolicyExecutionLogTimeline";
|
||||
import OnCallDutyPolicySchedule from "Model/Models/OnCallDutyPolicySchedule";
|
||||
import OnCallDutyPolicyScheduleLayer from "Model/Models/OnCallDutyPolicyScheduleLayer";
|
||||
import OnCallDutyPolicyScheduleLayerUser from "Model/Models/OnCallDutyPolicyScheduleLayerUser";
|
||||
import ProjectCallSMSConfig from "Model/Models/ProjectCallSMSConfig";
|
||||
import ProjectSmtpConfig from "Model/Models/ProjectSmtpConfig";
|
||||
import PromoCode from "Model/Models/PromoCode";
|
||||
import Reseller from "Model/Models/Reseller";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceCustomField from "Model/Models/ScheduledMaintenanceCustomField";
|
||||
import ScheduledMaintenanceInternalNote from "Model/Models/ScheduledMaintenanceInternalNote";
|
||||
import ScheduledMaintenanceNoteTemplate from "Model/Models/ScheduledMaintenanceNoteTemplate";
|
||||
import ScheduledMaintenanceOwnerTeam from "Model/Models/ScheduledMaintenanceOwnerTeam";
|
||||
import ScheduledMaintenanceOwnerUser from "Model/Models/ScheduledMaintenanceOwnerUser";
|
||||
import ScheduledMaintenancePublicNote from "Model/Models/ScheduledMaintenancePublicNote";
|
||||
import ScheduledMaintenanceState from "Model/Models/ScheduledMaintenanceState";
|
||||
import ScheduledMaintenanceStateTimeline from "Model/Models/ScheduledMaintenanceStateTimeline";
|
||||
import ServiceCatalog from "Model/Models/ServiceCatalog";
|
||||
import ServiceCatalogOwnerTeam from "Model/Models/ServiceCatalogOwnerTeam";
|
||||
import ServiceCatalogOwnerUser from "Model/Models/ServiceCatalogOwnerUser";
|
||||
import ServiceCopilotCodeRepository from "Model/Models/ServiceCopilotCodeRepository";
|
||||
import ShortLink from "Model/Models/ShortLink";
|
||||
import SmsLog from "Model/Models/SmsLog";
|
||||
import StatusPageAnnouncement from "Model/Models/StatusPageAnnouncement";
|
||||
import Log from "Common/AppModels/AnalyticsModels/Log";
|
||||
import Metric from "Common/AppModels/AnalyticsModels/Metric";
|
||||
import MonitorMetricsByMinute from "Common/AppModels/AnalyticsModels/MonitorMetricsByMinute";
|
||||
import Span from "Common/AppModels/AnalyticsModels/Span";
|
||||
import ApiKey from "Common/AppModels/Models/ApiKey";
|
||||
import ApiKeyPermission from "Common/AppModels/Models/ApiKeyPermission";
|
||||
import CallLog from "Common/AppModels/Models/CallLog";
|
||||
import Domain from "Common/AppModels/Models/Domain";
|
||||
import EmailLog from "Common/AppModels/Models/EmailLog";
|
||||
import EmailVerificationToken from "Common/AppModels/Models/EmailVerificationToken";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentCustomField from "Common/AppModels/Models/IncidentCustomField";
|
||||
import IncidentInternalNote from "Common/AppModels/Models/IncidentInternalNote";
|
||||
import IncidentNoteTemplate from "Common/AppModels/Models/IncidentNoteTemplate";
|
||||
import IncidentOwnerTeam from "Common/AppModels/Models/IncidentOwnerTeam";
|
||||
import IncidentOwnerUser from "Common/AppModels/Models/IncidentOwnerUser";
|
||||
import IncidentPublicNote from "Common/AppModels/Models/IncidentPublicNote";
|
||||
import IncidentSeverity from "Common/AppModels/Models/IncidentSeverity";
|
||||
import IncidentState from "Common/AppModels/Models/IncidentState";
|
||||
import IncidentStateTimeline from "Common/AppModels/Models/IncidentStateTimeline";
|
||||
import IncidentTemplate from "Common/AppModels/Models/IncidentTemplate";
|
||||
import IncidentTemplateOwnerTeam from "Common/AppModels/Models/IncidentTemplateOwnerTeam";
|
||||
import IncidentTemplateOwnerUser from "Common/AppModels/Models/IncidentTemplateOwnerUser";
|
||||
import Label from "Common/AppModels/Models/Label";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import MonitorCustomField from "Common/AppModels/Models/MonitorCustomField";
|
||||
import MonitorGroupOwnerTeam from "Common/AppModels/Models/MonitorGroupOwnerTeam";
|
||||
import MonitorGroupOwnerUser from "Common/AppModels/Models/MonitorGroupOwnerUser";
|
||||
import MonitorGroupResource from "Common/AppModels/Models/MonitorGroupResource";
|
||||
import MonitorOwnerTeam from "Common/AppModels/Models/MonitorOwnerTeam";
|
||||
import MonitorOwnerUser from "Common/AppModels/Models/MonitorOwnerUser";
|
||||
import MonitorProbe from "Common/AppModels/Models/MonitorProbe";
|
||||
import MonitorSecret from "Common/AppModels/Models/MonitorSecret";
|
||||
import MonitorStatus from "Common/AppModels/Models/MonitorStatus";
|
||||
import MonitorTimelineStatus from "Common/AppModels/Models/MonitorStatusTimeline";
|
||||
import OnCallDutyPolicy from "Common/AppModels/Models/OnCallDutyPolicy";
|
||||
import OnCallDutyPolicyCustomField from "Common/AppModels/Models/OnCallDutyPolicyCustomField";
|
||||
import OnCallDutyPolicyEscalationRule from "Common/AppModels/Models/OnCallDutyPolicyEscalationRule";
|
||||
import OnCallDutyPolicyEscalationRuleSchedule from "Common/AppModels/Models/OnCallDutyPolicyEscalationRuleSchedule";
|
||||
import OnCallDutyPolicyEscalationRuleTeam from "Common/AppModels/Models/OnCallDutyPolicyEscalationRuleTeam";
|
||||
import OnCallDutyPolicyEscalationRuleUser from "Common/AppModels/Models/OnCallDutyPolicyEscalationRuleUser";
|
||||
import OnCallDutyPolicyExecutionLog from "Common/AppModels/Models/OnCallDutyPolicyExecutionLog";
|
||||
import OnCallDutyPolicyExecutionLogTimeline from "Common/AppModels/Models/OnCallDutyPolicyExecutionLogTimeline";
|
||||
import OnCallDutyPolicySchedule from "Common/AppModels/Models/OnCallDutyPolicySchedule";
|
||||
import OnCallDutyPolicyScheduleLayer from "Common/AppModels/Models/OnCallDutyPolicyScheduleLayer";
|
||||
import OnCallDutyPolicyScheduleLayerUser from "Common/AppModels/Models/OnCallDutyPolicyScheduleLayerUser";
|
||||
import ProjectCallSMSConfig from "Common/AppModels/Models/ProjectCallSMSConfig";
|
||||
import ProjectSmtpConfig from "Common/AppModels/Models/ProjectSmtpConfig";
|
||||
import PromoCode from "Common/AppModels/Models/PromoCode";
|
||||
import Reseller from "Common/AppModels/Models/Reseller";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceCustomField from "Common/AppModels/Models/ScheduledMaintenanceCustomField";
|
||||
import ScheduledMaintenanceInternalNote from "Common/AppModels/Models/ScheduledMaintenanceInternalNote";
|
||||
import ScheduledMaintenanceNoteTemplate from "Common/AppModels/Models/ScheduledMaintenanceNoteTemplate";
|
||||
import ScheduledMaintenanceOwnerTeam from "Common/AppModels/Models/ScheduledMaintenanceOwnerTeam";
|
||||
import ScheduledMaintenanceOwnerUser from "Common/AppModels/Models/ScheduledMaintenanceOwnerUser";
|
||||
import ScheduledMaintenancePublicNote from "Common/AppModels/Models/ScheduledMaintenancePublicNote";
|
||||
import ScheduledMaintenanceState from "Common/AppModels/Models/ScheduledMaintenanceState";
|
||||
import ScheduledMaintenanceStateTimeline from "Common/AppModels/Models/ScheduledMaintenanceStateTimeline";
|
||||
import ServiceCatalog from "Common/AppModels/Models/ServiceCatalog";
|
||||
import ServiceCatalogOwnerTeam from "Common/AppModels/Models/ServiceCatalogOwnerTeam";
|
||||
import ServiceCatalogOwnerUser from "Common/AppModels/Models/ServiceCatalogOwnerUser";
|
||||
import ServiceCopilotCodeRepository from "Common/AppModels/Models/ServiceCopilotCodeRepository";
|
||||
import ShortLink from "Common/AppModels/Models/ShortLink";
|
||||
import SmsLog from "Common/AppModels/Models/SmsLog";
|
||||
import StatusPageAnnouncement from "Common/AppModels/Models/StatusPageAnnouncement";
|
||||
// Custom Fields API
|
||||
import StatusPageCustomField from "Model/Models/StatusPageCustomField";
|
||||
import StatusPageFooterLink from "Model/Models/StatusPageFooterLink";
|
||||
import StatusPageGroup from "Model/Models/StatusPageGroup";
|
||||
import StatusPageHeaderLink from "Model/Models/StatusPageHeaderLink";
|
||||
import TelemetryIngestionKey from "Model/Models/TelemetryIngestionKey";
|
||||
import StatusPageHistoryChartBarColorRule from "Model/Models/StatusPageHistoryChartBarColorRule";
|
||||
import StatusPageOwnerTeam from "Model/Models/StatusPageOwnerTeam";
|
||||
import StatusPageOwnerUser from "Model/Models/StatusPageOwnerUser";
|
||||
import StatusPagePrivateUser from "Model/Models/StatusPagePrivateUser";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSSO from "Model/Models/StatusPageSso";
|
||||
import Team from "Model/Models/Team";
|
||||
import TeamMember from "Model/Models/TeamMember";
|
||||
import TeamPermission from "Model/Models/TeamPermission";
|
||||
import TelemetryService from "Model/Models/TelemetryService";
|
||||
import TelemetryUsageBilling from "Model/Models/TelemetryUsageBilling";
|
||||
import User from "Model/Models/User";
|
||||
import UserNotificationRule from "Model/Models/UserNotificationRule";
|
||||
import UserNotificationSetting from "Model/Models/UserNotificationSetting";
|
||||
import UserOnCallLog from "Model/Models/UserOnCallLog";
|
||||
import Workflow from "Model/Models/Workflow";
|
||||
import WorkflowLog from "Model/Models/WorkflowLog";
|
||||
import WorkflowVariable from "Model/Models/WorkflowVariable";
|
||||
import ProbeOwnerTeam from "Model/Models/ProbeOwnerTeam";
|
||||
import ProbeOwnerUser from "Model/Models/ProbeOwnerUser";
|
||||
import ServiceCatalogDependency from "Model/Models/ServiceCatalogDependency";
|
||||
import TelemetryAttribute from "Model/AnalyticsModels/TelemetryAttribute";
|
||||
import StatusPageCustomField from "Common/AppModels/Models/StatusPageCustomField";
|
||||
import StatusPageFooterLink from "Common/AppModels/Models/StatusPageFooterLink";
|
||||
import StatusPageGroup from "Common/AppModels/Models/StatusPageGroup";
|
||||
import StatusPageHeaderLink from "Common/AppModels/Models/StatusPageHeaderLink";
|
||||
import TelemetryIngestionKey from "Common/AppModels/Models/TelemetryIngestionKey";
|
||||
import StatusPageHistoryChartBarColorRule from "Common/AppModels/Models/StatusPageHistoryChartBarColorRule";
|
||||
import StatusPageOwnerTeam from "Common/AppModels/Models/StatusPageOwnerTeam";
|
||||
import StatusPageOwnerUser from "Common/AppModels/Models/StatusPageOwnerUser";
|
||||
import StatusPagePrivateUser from "Common/AppModels/Models/StatusPagePrivateUser";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSSO from "Common/AppModels/Models/StatusPageSso";
|
||||
import Team from "Common/AppModels/Models/Team";
|
||||
import TeamMember from "Common/AppModels/Models/TeamMember";
|
||||
import TeamPermission from "Common/AppModels/Models/TeamPermission";
|
||||
import TelemetryService from "Common/AppModels/Models/TelemetryService";
|
||||
import TelemetryUsageBilling from "Common/AppModels/Models/TelemetryUsageBilling";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import UserNotificationRule from "Common/AppModels/Models/UserNotificationRule";
|
||||
import UserNotificationSetting from "Common/AppModels/Models/UserNotificationSetting";
|
||||
import UserOnCallLog from "Common/AppModels/Models/UserOnCallLog";
|
||||
import Workflow from "Common/AppModels/Models/Workflow";
|
||||
import WorkflowLog from "Common/AppModels/Models/WorkflowLog";
|
||||
import WorkflowVariable from "Common/AppModels/Models/WorkflowVariable";
|
||||
import ProbeOwnerTeam from "Common/AppModels/Models/ProbeOwnerTeam";
|
||||
import ProbeOwnerUser from "Common/AppModels/Models/ProbeOwnerUser";
|
||||
import ServiceCatalogDependency from "Common/AppModels/Models/ServiceCatalogDependency";
|
||||
import TelemetryAttribute from "Common/AppModels/AnalyticsModels/TelemetryAttribute";
|
||||
|
||||
const BaseAPIFeatureSet: FeatureSet = {
|
||||
init: async (): Promise<void> => {
|
||||
|
@ -35,9 +35,9 @@ import Express, {
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import TwoFactorAuth from "CommonServer/Utils/TwoFactorAuth";
|
||||
import EmailVerificationToken from "Model/Models/EmailVerificationToken";
|
||||
import User from "Model/Models/User";
|
||||
import UserTwoFactorAuth from "Model/Models/UserTwoFactorAuth";
|
||||
import EmailVerificationToken from "Common/AppModels/Models/EmailVerificationToken";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import UserTwoFactorAuth from "Common/AppModels/Models/UserTwoFactorAuth";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -9,7 +9,7 @@ import Express, {
|
||||
} from "CommonServer/Utils/Express";
|
||||
import JSONWebToken from "CommonServer/Utils/JsonWebToken";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import Reseller from "Model/Models/Reseller";
|
||||
import Reseller from "Common/AppModels/Models/Reseller";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -31,10 +31,10 @@ import Express, {
|
||||
} from "CommonServer/Utils/Express";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import Project from "Model/Models/Project";
|
||||
import ProjectSSO from "Model/Models/ProjectSso";
|
||||
import TeamMember from "Model/Models/TeamMember";
|
||||
import User from "Model/Models/User";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import ProjectSSO from "Common/AppModels/Models/ProjectSso";
|
||||
import TeamMember from "Common/AppModels/Models/TeamMember";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import xml2js from "xml2js";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
@ -25,8 +25,8 @@ import Express, {
|
||||
import JSONWebToken from "CommonServer/Utils/JsonWebToken";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPagePrivateUser from "Model/Models/StatusPagePrivateUser";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPagePrivateUser from "Common/AppModels/Models/StatusPagePrivateUser";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -23,8 +23,8 @@ import Express, {
|
||||
import JSONWebToken from "CommonServer/Utils/JsonWebToken";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import StatusPagePrivateUser from "Model/Models/StatusPagePrivateUser";
|
||||
import StatusPageSSO from "Model/Models/StatusPageSso";
|
||||
import StatusPagePrivateUser from "Common/AppModels/Models/StatusPagePrivateUser";
|
||||
import StatusPageSSO from "Common/AppModels/Models/StatusPageSso";
|
||||
import xml2js from "xml2js";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
@ -11,8 +11,8 @@ import DatabaseConfig from "CommonServer/DatabaseConfig";
|
||||
import EmailVerificationTokenService from "CommonServer/Services/EmailVerificationTokenService";
|
||||
import MailService from "CommonServer/Services/MailService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import EmailVerificationToken from "Model/Models/EmailVerificationToken";
|
||||
import User from "Model/Models/User";
|
||||
import EmailVerificationToken from "Common/AppModels/Models/EmailVerificationToken";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
export default class AuthenticationEmail {
|
||||
public static async sendVerificationEmail(user: User): Promise<void> {
|
||||
|
@ -15,7 +15,7 @@ import Express, {
|
||||
} from "CommonServer/Utils/Express";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import ProjectCallSMSConfig from "Model/Models/ProjectCallSMSConfig";
|
||||
import ProjectCallSMSConfig from "Common/AppModels/Models/ProjectCallSMSConfig";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -14,7 +14,7 @@ import Express, {
|
||||
} from "CommonServer/Utils/Express";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import ProjectCallSMSConfig from "Model/Models/ProjectCallSMSConfig";
|
||||
import ProjectCallSMSConfig from "Common/AppModels/Models/ProjectCallSMSConfig";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -14,7 +14,7 @@ import Express, {
|
||||
} from "CommonServer/Utils/Express";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Response from "CommonServer/Utils/Response";
|
||||
import ProjectSmtpConfig from "Model/Models/ProjectSmtpConfig";
|
||||
import ProjectSmtpConfig from "Common/AppModels/Models/ProjectSmtpConfig";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -7,7 +7,7 @@ import ObjectID from "Common/Types/ObjectID";
|
||||
import Port from "Common/Types/Port";
|
||||
import { AdminDashboardClientURL } from "CommonServer/EnvironmentConfig";
|
||||
import GlobalConfigService from "CommonServer/Services/GlobalConfigService";
|
||||
import GlobalConfig, { EmailServerType } from "Model/Models/GlobalConfig";
|
||||
import GlobalConfig, { EmailServerType } from "Common/AppModels/Models/GlobalConfig";
|
||||
|
||||
export const InternalSmtpPassword: string =
|
||||
process.env["INTERNAL_SMTP_PASSWORD"] || "";
|
||||
|
@ -22,8 +22,8 @@ import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import UserOnCallLogTimelineService from "CommonServer/Services/UserOnCallLogTimelineService";
|
||||
import JSONWebToken from "CommonServer/Utils/JsonWebToken";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import CallLog from "Model/Models/CallLog";
|
||||
import Project from "Model/Models/Project";
|
||||
import CallLog from "Common/AppModels/Models/CallLog";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import Twilio from "twilio";
|
||||
import { CallInstance } from "twilio/lib/rest/api/v2010/account/call";
|
||||
|
||||
|
@ -29,8 +29,8 @@ import LocalCache from "CommonServer/Infrastructure/LocalCache";
|
||||
import EmailLogService from "CommonServer/Services/EmailLogService";
|
||||
import UserOnCallLogTimelineService from "CommonServer/Services/UserOnCallLogTimelineService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import EmailLog from "Model/Models/EmailLog";
|
||||
import { EmailServerType } from "Model/Models/GlobalConfig";
|
||||
import EmailLog from "Common/AppModels/Models/EmailLog";
|
||||
import { EmailServerType } from "Common/AppModels/Models/GlobalConfig";
|
||||
import fsp from "fs/promises";
|
||||
import Handlebars from "handlebars";
|
||||
import nodemailer, { Transporter } from "nodemailer";
|
||||
|
@ -17,8 +17,8 @@ import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import SmsLogService from "CommonServer/Services/SmsLogService";
|
||||
import UserOnCallLogTimelineService from "CommonServer/Services/UserOnCallLogTimelineService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Project from "Model/Models/Project";
|
||||
import SmsLog from "Model/Models/SmsLog";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import SmsLog from "Common/AppModels/Models/SmsLog";
|
||||
import Twilio from "twilio";
|
||||
import { MessageInstance } from "twilio/lib/rest/api/v2010/account/message";
|
||||
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import MetricService from "CommonServer/Services/MetricService";
|
||||
import Metric from "Model/AnalyticsModels/Metric";
|
||||
import Metric from "Common/AppModels/AnalyticsModels/Metric";
|
||||
|
||||
export default class AddAggregationTemporalityToMetric extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,8 +3,8 @@ import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import LogService from "CommonServer/Services/LogService";
|
||||
import SpanService from "CommonServer/Services/SpanService";
|
||||
import Log from "Model/AnalyticsModels/Log";
|
||||
import Span from "Model/AnalyticsModels/Span";
|
||||
import Log from "Common/AppModels/AnalyticsModels/Log";
|
||||
import Span from "Common/AppModels/AnalyticsModels/Span";
|
||||
|
||||
export default class AddAttributeColumnToSpanAndLog extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import DataMigrationBase from "./DataMigrationBase";
|
||||
import ObjectID from "Common/Types/ObjectID";
|
||||
import GlobalConfigService from "CommonServer/Services/GlobalConfigService";
|
||||
import GlobalConfig, { EmailServerType } from "Model/Models/GlobalConfig";
|
||||
import GlobalConfig, { EmailServerType } from "Common/AppModels/Models/GlobalConfig";
|
||||
|
||||
export default class AddDefaultGlobalConfig extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -4,8 +4,8 @@ import Color from "Common/Types/Color";
|
||||
import LIMIT_MAX, { LIMIT_PER_PROJECT } from "Common/Types/Database/LimitMax";
|
||||
import MonitorStatusService from "CommonServer/Services/MonitorStatusService";
|
||||
import StatusPageService from "CommonServer/Services/StatusPageService";
|
||||
import MonitorStatus from "Model/Models/MonitorStatus";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import MonitorStatus from "Common/AppModels/Models/MonitorStatus";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
|
||||
export default class AddDowntimeMonitorStatusToStatusPage extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import SpanService from "CommonServer/Services/SpanService";
|
||||
import Span from "Model/AnalyticsModels/Span";
|
||||
import Span from "Common/AppModels/AnalyticsModels/Span";
|
||||
|
||||
export default class AddDurationColumnToSpanTable extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,9 +5,9 @@ import IncidentService from "CommonServer/Services/IncidentService";
|
||||
import IncidentStateTimelineService from "CommonServer/Services/IncidentStateTimelineService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentStateTimeline from "Model/Models/IncidentStateTimeline";
|
||||
import Project from "Model/Models/Project";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentStateTimeline from "Common/AppModels/Models/IncidentStateTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class AddEndDateToIncidentStateTimeline extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,9 +5,9 @@ import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import MonitorStatusTimelineService from "CommonServer/Services/MonitorStatusTimelineService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import MonitorStatusTimeline from "Model/Models/MonitorStatusTimeline";
|
||||
import Project from "Model/Models/Project";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import MonitorStatusTimeline from "Common/AppModels/Models/MonitorStatusTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class AddEndDateToMonitorStatusTimeline extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -4,9 +4,9 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import MonitorStatusTimelineService from "CommonServer/Services/MonitorStatusTimelineService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import MonitorStatusTimeline from "Model/Models/MonitorStatusTimeline";
|
||||
import Project from "Model/Models/Project";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import MonitorStatusTimeline from "Common/AppModels/Models/MonitorStatusTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class AddEndDateToMonitorStatusTimelineWhereEndDateIsMissing extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,9 +5,9 @@ import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintenanceService";
|
||||
import ScheduledMaintenanceStateTimelineService from "CommonServer/Services/ScheduledMaintenanceStateTimelineService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Project from "Model/Models/Project";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceStateTimeline from "Model/Models/ScheduledMaintenanceStateTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceStateTimeline from "Common/AppModels/Models/ScheduledMaintenanceStateTimeline";
|
||||
|
||||
export default class AddEndDateToScheduledEventsStateTimeline extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,8 +3,8 @@ import Color from "Common/Types/Color";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import ScheduledMaintenanceStateService from "CommonServer/Services/ScheduledMaintenanceStateService";
|
||||
import Project from "Model/Models/Project";
|
||||
import ScheduledMaintenanceState from "Model/Models/ScheduledMaintenanceState";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import ScheduledMaintenanceState from "Common/AppModels/Models/ScheduledMaintenanceState";
|
||||
|
||||
export default class AddEndedState extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import MetricService from "CommonServer/Services/MetricService";
|
||||
import Metric from "Model/AnalyticsModels/Metric";
|
||||
import Metric from "Common/AppModels/AnalyticsModels/Metric";
|
||||
|
||||
export default class AddIsMonotonicToMetric extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,7 +3,7 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import OneUptimeDate from "Common/Types/Date";
|
||||
import MonitorProbeService from "CommonServer/Services/MonitorProbeService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import MonitorProbe from "Model/Models/MonitorProbe";
|
||||
import MonitorProbe from "Common/AppModels/Models/MonitorProbe";
|
||||
|
||||
export default class AddMonitoringDatesToMonitor extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,8 +3,8 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import UserService from "CommonServer/Services/UserService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Project from "Model/Models/Project";
|
||||
import User from "Model/Models/User";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
export default class AddOwnerInfoToProjects extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import MetricService from "CommonServer/Services/MetricService";
|
||||
import Metric from "Model/AnalyticsModels/Metric";
|
||||
import Metric from "Common/AppModels/AnalyticsModels/Metric";
|
||||
|
||||
export default class AddPointTypeToMetric extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,8 +2,8 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import IncidentPublicNoteService from "CommonServer/Services/IncidentPublicNoteService";
|
||||
import ScheduledMaintenancePublicNoteService from "CommonServer/Services/ScheduledMaintenancePublicNoteService";
|
||||
import IncidentPublicNote from "Model/Models/IncidentPublicNote";
|
||||
import ScheduledMaintenancePublicNote from "Model/Models/ScheduledMaintenancePublicNote";
|
||||
import IncidentPublicNote from "Common/AppModels/Models/IncidentPublicNote";
|
||||
import ScheduledMaintenancePublicNote from "Common/AppModels/Models/ScheduledMaintenancePublicNote";
|
||||
|
||||
export default class AddPostedAtToPublicNotes extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import MonitorType from "Common/Types/Monitor/MonitorType";
|
||||
import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
|
||||
export default class AddSecretKeyToIncomingRequestMonitor extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,9 +5,9 @@ import IncidentService from "CommonServer/Services/IncidentService";
|
||||
import IncidentStateTimelineService from "CommonServer/Services/IncidentStateTimelineService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentStateTimeline from "Model/Models/IncidentStateTimeline";
|
||||
import Project from "Model/Models/Project";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentStateTimeline from "Common/AppModels/Models/IncidentStateTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class AddStartDateToIncidentStateTimeline extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,9 +5,9 @@ import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import MonitorStatusTimelineService from "CommonServer/Services/MonitorStatusTimelineService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import MonitorStatusTimeline from "Model/Models/MonitorStatusTimeline";
|
||||
import Project from "Model/Models/Project";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import MonitorStatusTimeline from "Common/AppModels/Models/MonitorStatusTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class AddStartDateToMonitorStatusTimeline extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,9 +5,9 @@ import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintenanceService";
|
||||
import ScheduledMaintenanceStateTimelineService from "CommonServer/Services/ScheduledMaintenanceStateTimelineService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Project from "Model/Models/Project";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceStateTimeline from "Model/Models/ScheduledMaintenanceStateTimeline";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceStateTimeline from "Common/AppModels/Models/ScheduledMaintenanceStateTimeline";
|
||||
|
||||
export default class AddStartDateToScheduledEventsStateTimeline extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,7 +3,7 @@ import ArrayUtil from "Common/Types/ArrayUtil";
|
||||
import { BrightColors } from "Common/Types/BrandColors";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import TelemetryServiceService from "CommonServer/Services/TelemetryServiceService";
|
||||
import TelemetryService from "Model/Models/TelemetryService";
|
||||
import TelemetryService from "Common/AppModels/Models/TelemetryService";
|
||||
|
||||
export default class AddTelemetryServiceColor extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import MetricService from "CommonServer/Services/MetricService";
|
||||
import Metric from "Model/AnalyticsModels/Metric";
|
||||
import Metric from "Common/AppModels/AnalyticsModels/Metric";
|
||||
|
||||
export default class AddUnitColumnToMetricsTable extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import LogService from "CommonServer/Services/LogService";
|
||||
import Log from "Model/AnalyticsModels/Log";
|
||||
import Log from "Common/AppModels/AnalyticsModels/Log";
|
||||
|
||||
export default class ChangeLogSeverityColumnTypeFromTextToNumber extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import AnalyticsTableColumn from "Common/Types/AnalyticsDatabase/TableColumn";
|
||||
import TableColumnType from "Common/Types/AnalyticsDatabase/TableColumnType";
|
||||
import MetricService from "CommonServer/Services/MetricService";
|
||||
import Metric from "Model/AnalyticsModels/Metric";
|
||||
import Metric from "Common/AppModels/AnalyticsModels/Metric";
|
||||
|
||||
export default class ChangeMetricColumnTypeToDecimal extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import StatusPageDomainService from "CommonServer/Services/StatusPageDomainService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import StatusPageDomain from "Model/Models/StatusPageDomain";
|
||||
import StatusPageDomain from "Common/AppModels/Models/StatusPageDomain";
|
||||
|
||||
export default class GenerateNewCertsForStatusPage extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,8 +3,8 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import UserNotificationRuleService from "CommonServer/Services/UserNotificationRuleService";
|
||||
import UserService from "CommonServer/Services/UserService";
|
||||
import TeamMember from "Model/Models/TeamMember";
|
||||
import User from "Model/Models/User";
|
||||
import TeamMember from "Common/AppModels/Models/TeamMember";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
export default class MigrateDefaultUserNotificationRule extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,8 +3,8 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import UserService from "CommonServer/Services/UserService";
|
||||
import TeamMember from "Model/Models/TeamMember";
|
||||
import User from "Model/Models/User";
|
||||
import TeamMember from "Common/AppModels/Models/TeamMember";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
export default class MigrateDefaultUserNotificationSetting extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -2,7 +2,7 @@ import DataMigrationBase from "./DataMigrationBase";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import TechStack from "Common/Types/ServiceCatalog/TechStack";
|
||||
import ServiceCatalogService from "CommonServer/Services/ServiceCatalogService";
|
||||
import ServiceCatalog from "Model/Models/ServiceCatalog";
|
||||
import ServiceCatalog from "Common/AppModels/Models/ServiceCatalog";
|
||||
|
||||
export default class MigrateServiceLanguageToTechStack extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -8,7 +8,7 @@ import BillingService, {
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import AllMeteredPlans from "CommonServer/Types/Billing/MeteredPlan/AllMeteredPlans";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class MigrateToMeteredSubscription extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import DataMigrationBase from "./DataMigrationBase";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import StatusPageService from "CommonServer/Services/StatusPageService";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
|
||||
export default class MoveEnableSubscribersToEnableEmailSubscribersOnStatusPage extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,8 +3,8 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import GreenlockCertificateService from "CommonServer/Services/GreenlockCertificateService";
|
||||
import StatusPageDomainService from "CommonServer/Services/StatusPageDomainService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import GreenlockCertificate from "Model/Models/GreenlockCertificate";
|
||||
import StatusPageDomain from "Model/Models/StatusPageDomain";
|
||||
import GreenlockCertificate from "Common/AppModels/Models/GreenlockCertificate";
|
||||
import StatusPageDomain from "Common/AppModels/Models/StatusPageDomain";
|
||||
|
||||
export default class MoveGreenlockCertsToAcmeCerts extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -1,8 +1,8 @@
|
||||
import DataMigrationBase from "./DataMigrationBase";
|
||||
import TelemetryServiceService from "CommonServer/Services/TelemetryServiceService";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import TelemetryService from "Model/Models/TelemetryService";
|
||||
import TelemetryIngestionKey from "Model/Models/TelemetryIngestionKey";
|
||||
import TelemetryService from "Common/AppModels/Models/TelemetryService";
|
||||
import TelemetryIngestionKey from "Common/AppModels/Models/TelemetryIngestionKey";
|
||||
import TelemetryIngestionKeyService from "CommonServer/Services/TelemetryIngestionKeyService";
|
||||
|
||||
export default class MoveTelemetryServiceTokenToTelemetryIngestionKey extends DataMigrationBase {
|
||||
|
@ -3,8 +3,8 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import Permission from "Common/Types/Permission";
|
||||
import ApiKeyPermissionService from "CommonServer/Services/ApiKeyPermissionService";
|
||||
import TeamPermissionService from "CommonServer/Services/TeamPermissionService";
|
||||
import APIKeyPermission from "Model/Models/ApiKeyPermission";
|
||||
import TeamPermission from "Model/Models/TeamPermission";
|
||||
import APIKeyPermission from "Common/AppModels/Models/ApiKeyPermission";
|
||||
import TeamPermission from "Common/AppModels/Models/TeamPermission";
|
||||
|
||||
export default class RemoveCanFromPermissions extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -5,7 +5,7 @@ import { IsBillingEnabled } from "CommonServer/EnvironmentConfig";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import AllMeteredPlans from "CommonServer/Types/Billing/MeteredPlan/AllMeteredPlans";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
export default class UpdateActiveMonitorCountToBillingProvider extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -3,7 +3,7 @@ import Hostname from "Common/Types/API/Hostname";
|
||||
import ObjectID from "Common/Types/ObjectID";
|
||||
import Port from "Common/Types/Port";
|
||||
import GlobalConfigService from "CommonServer/Services/GlobalConfigService";
|
||||
import { EmailServerType } from "Model/Models/GlobalConfig";
|
||||
import { EmailServerType } from "Common/AppModels/Models/GlobalConfig";
|
||||
|
||||
export default class UpdateGlobalConfigFromEnv extends DataMigrationBase {
|
||||
public constructor() {
|
||||
|
@ -19,9 +19,9 @@ import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscri
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageAnnouncement from "Model/Models/StatusPageAnnouncement";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageAnnouncement from "Common/AppModels/Models/StatusPageAnnouncement";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"Announcement:SendNotificationToSubscribers",
|
||||
|
@ -22,11 +22,11 @@ import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscri
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"Incident:SendNotificationToSubscribers",
|
||||
|
@ -14,11 +14,11 @@ import UserNotificationSettingService from "CommonServer/Services/UserNotificati
|
||||
import Select from "CommonServer/Types/Database/Select";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentState from "Model/Models/IncidentState";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import Project from "Model/Models/Project";
|
||||
import User from "Model/Models/User";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentState from "Common/AppModels/Models/IncidentState";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"IncidentOwner:SendCreatedResourceEmail",
|
||||
|
@ -15,11 +15,11 @@ import IncidentService from "CommonServer/Services/IncidentService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentInternalNote from "Model/Models/IncidentInternalNote";
|
||||
import IncidentPublicNote from "Model/Models/IncidentPublicNote";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import User from "Model/Models/User";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentInternalNote from "Common/AppModels/Models/IncidentInternalNote";
|
||||
import IncidentPublicNote from "Common/AppModels/Models/IncidentPublicNote";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"IncidentOwner:SendsNotePostedEmail",
|
||||
|
@ -14,11 +14,11 @@ import IncidentService from "CommonServer/Services/IncidentService";
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentOwnerTeam from "Model/Models/IncidentOwnerTeam";
|
||||
import IncidentOwnerUser from "Model/Models/IncidentOwnerUser";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import User from "Model/Models/User";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentOwnerTeam from "Common/AppModels/Models/IncidentOwnerTeam";
|
||||
import IncidentOwnerUser from "Common/AppModels/Models/IncidentOwnerUser";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"IncidentOwner:SendOwnerAddedEmail",
|
||||
|
@ -15,11 +15,11 @@ import IncidentStateTimelineService from "CommonServer/Services/IncidentStateTim
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentState from "Model/Models/IncidentState";
|
||||
import IncidentStateTimeline from "Model/Models/IncidentStateTimeline";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import User from "Model/Models/User";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentState from "Common/AppModels/Models/IncidentState";
|
||||
import IncidentStateTimeline from "Common/AppModels/Models/IncidentStateTimeline";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"IncidentOwner:SendStateChangeEmail",
|
||||
|
@ -23,12 +23,12 @@ import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscri
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentPublicNote from "Model/Models/IncidentPublicNote";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentPublicNote from "Common/AppModels/Models/IncidentPublicNote";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"IncidentPublicNote:SendNotificationToSubscribers",
|
||||
|
@ -23,12 +23,12 @@ import StatusPageService from "CommonServer/Services/StatusPageService";
|
||||
import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscriberService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Incident from "Model/Models/Incident";
|
||||
import IncidentStateTimeline from "Model/Models/IncidentStateTimeline";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import Incident from "Common/AppModels/Models/Incident";
|
||||
import IncidentStateTimeline from "Common/AppModels/Models/IncidentStateTimeline";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"IncidentStateTimeline:SendNotificationToSubscribers",
|
||||
|
@ -7,7 +7,7 @@ import { EVERY_MINUTE } from "Common/Utils/CronTime";
|
||||
import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import MonitorResourceUtil from "CommonServer/Utils/Monitor/MonitorResource";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
|
||||
RunCron(
|
||||
"IncomingRequestMonitor:CheckHeartbeat",
|
||||
|
@ -15,7 +15,7 @@ import {
|
||||
TracesDataIngestMetredPlan,
|
||||
} from "CommonServer/Types/Billing/MeteredPlan/AllMeteredPlans";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
RunCron(
|
||||
"MeteredPlan:ReportTelemetryMeteredPlan",
|
||||
|
@ -11,8 +11,8 @@ import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import User from "Model/Models/User";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"MonitorOwner:SendCreatedResourceEmail",
|
||||
|
@ -14,10 +14,10 @@ import MonitorService from "CommonServer/Services/MonitorService";
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import MonitorOwnerTeam from "Model/Models/MonitorOwnerTeam";
|
||||
import MonitorOwnerUser from "Model/Models/MonitorOwnerUser";
|
||||
import User from "Model/Models/User";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import MonitorOwnerTeam from "Common/AppModels/Models/MonitorOwnerTeam";
|
||||
import MonitorOwnerUser from "Common/AppModels/Models/MonitorOwnerUser";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"MonitorOwner:SendOwnerAddedEmail",
|
||||
|
@ -13,10 +13,10 @@ import MonitorStatusTimelineService from "CommonServer/Services/MonitorStatusTim
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import MonitorStatus from "Model/Models/MonitorStatus";
|
||||
import MonitorStatusTimeline from "Model/Models/MonitorStatusTimeline";
|
||||
import User from "Model/Models/User";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import MonitorStatus from "Common/AppModels/Models/MonitorStatus";
|
||||
import MonitorStatusTimeline from "Common/AppModels/Models/MonitorStatusTimeline";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"MonitorOwner:SendStatusChangeEmail",
|
||||
|
@ -6,8 +6,8 @@ import { EVERY_MINUTE } from "Common/Utils/CronTime";
|
||||
import OnCallDutyPolicyEscalationRuleService from "CommonServer/Services/OnCallDutyPolicyEscalationRuleService";
|
||||
import OnCallDutyPolicyExecutionLogService from "CommonServer/Services/OnCallDutyPolicyExecutionLogService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import OnCallDutyPolicyEscalationRule from "Model/Models/OnCallDutyPolicyEscalationRule";
|
||||
import OnCallDutyPolicyExecutionLog from "Model/Models/OnCallDutyPolicyExecutionLog";
|
||||
import OnCallDutyPolicyEscalationRule from "Common/AppModels/Models/OnCallDutyPolicyEscalationRule";
|
||||
import OnCallDutyPolicyExecutionLog from "Common/AppModels/Models/OnCallDutyPolicyExecutionLog";
|
||||
|
||||
RunCron(
|
||||
"OnCallDutyPolicyExecutionLog:ExecutePendingExecutions",
|
||||
|
@ -6,7 +6,7 @@ import { EVERY_MINUTE } from "Common/Utils/CronTime";
|
||||
import { IsDevelopment } from "CommonServer/EnvironmentConfig";
|
||||
import OnCallDutyPolicyExecutionLogService from "CommonServer/Services/OnCallDutyPolicyExecutionLogService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import OnCallDutyPolicyExecutionLog from "Model/Models/OnCallDutyPolicyExecutionLog";
|
||||
import OnCallDutyPolicyExecutionLog from "Common/AppModels/Models/OnCallDutyPolicyExecutionLog";
|
||||
|
||||
/**
|
||||
* Jobs move from Started to Executing in seconds. If it takes more than 5 minutes, it's stuck. So, mark them as error
|
||||
|
@ -10,7 +10,7 @@ import {
|
||||
import BillingService from "CommonServer/Services/BillingService";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
RunCron(
|
||||
"PaymentProvider:CheckSubscriptionStatus",
|
||||
|
@ -8,7 +8,7 @@ import { IsBillingEnabled } from "CommonServer/EnvironmentConfig";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
RunCron(
|
||||
"PaymentProvider:PopulatePlanNameInProject",
|
||||
|
@ -5,7 +5,7 @@ import { IsDevelopment } from "CommonServer/EnvironmentConfig";
|
||||
import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Project from "Model/Models/Project";
|
||||
import Project from "Common/AppModels/Models/Project";
|
||||
|
||||
RunCron(
|
||||
"PaymentProvider:UpdateTeamMembersIfNull",
|
||||
|
@ -12,10 +12,10 @@ import ProbeOwnerTeamService from "CommonServer/Services/ProbeOwnerTeamService";
|
||||
import ProbeOwnerUserService from "CommonServer/Services/ProbeOwnerUserService";
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import ProbeOwnerTeam from "Model/Models/ProbeOwnerTeam";
|
||||
import ProbeOwnerUser from "Model/Models/ProbeOwnerUser";
|
||||
import User from "Model/Models/User";
|
||||
import Probe from "Model/Models/Probe";
|
||||
import ProbeOwnerTeam from "Common/AppModels/Models/ProbeOwnerTeam";
|
||||
import ProbeOwnerUser from "Common/AppModels/Models/ProbeOwnerUser";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
import Probe from "Common/AppModels/Models/Probe";
|
||||
import ProbeService from "CommonServer/Services/ProbeService";
|
||||
|
||||
RunCron(
|
||||
|
@ -4,7 +4,7 @@ import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import { EVERY_MINUTE } from "Common/Utils/CronTime";
|
||||
import ProbeService from "CommonServer/Services/ProbeService";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Probe, { ProbeConnectionStatus } from "Model/Models/Probe";
|
||||
import Probe, { ProbeConnectionStatus } from "Common/AppModels/Models/Probe";
|
||||
|
||||
RunCron(
|
||||
"Probe:UpdateConnectionStatus",
|
||||
|
@ -5,8 +5,8 @@ import { EVERY_MINUTE } from "Common/Utils/CronTime";
|
||||
import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintenanceService";
|
||||
import ScheduledMaintenanceStateService from "CommonServer/Services/ScheduledMaintenanceStateService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceState from "Model/Models/ScheduledMaintenanceState";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceState from "Common/AppModels/Models/ScheduledMaintenanceState";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenance:ChangeStateToEnded",
|
||||
|
@ -5,8 +5,8 @@ import { EVERY_MINUTE } from "Common/Utils/CronTime";
|
||||
import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintenanceService";
|
||||
import ScheduledMaintenanceStateService from "CommonServer/Services/ScheduledMaintenanceStateService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceState from "Model/Models/ScheduledMaintenanceState";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceState from "Common/AppModels/Models/ScheduledMaintenanceState";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenance:ChangeStateToOngoing",
|
||||
|
@ -22,11 +22,11 @@ import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscri
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenance:SendNotificationToSubscribers",
|
||||
|
@ -11,8 +11,8 @@ import ProjectService from "CommonServer/Services/ProjectService";
|
||||
import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintenanceService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import User from "Model/Models/User";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenanceOwner:SendCreatedResourceEmail",
|
||||
|
@ -15,10 +15,10 @@ import ScheduledMaintenancePublicNoteService from "CommonServer/Services/Schedul
|
||||
import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintenanceService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceInternalNote from "Model/Models/ScheduledMaintenanceInternalNote";
|
||||
import ScheduledMaintenancePublicNote from "Model/Models/ScheduledMaintenancePublicNote";
|
||||
import User from "Model/Models/User";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceInternalNote from "Common/AppModels/Models/ScheduledMaintenanceInternalNote";
|
||||
import ScheduledMaintenancePublicNote from "Common/AppModels/Models/ScheduledMaintenancePublicNote";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenanceOwner:SendsNotePostedEmail",
|
||||
|
@ -14,10 +14,10 @@ import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintena
|
||||
import TeamMemberService from "CommonServer/Services/TeamMemberService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceOwnerTeam from "Model/Models/ScheduledMaintenanceOwnerTeam";
|
||||
import ScheduledMaintenanceOwnerUser from "Model/Models/ScheduledMaintenanceOwnerUser";
|
||||
import User from "Model/Models/User";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceOwnerTeam from "Common/AppModels/Models/ScheduledMaintenanceOwnerTeam";
|
||||
import ScheduledMaintenanceOwnerUser from "Common/AppModels/Models/ScheduledMaintenanceOwnerUser";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenanceOwner:SendOwnerAddedEmail",
|
||||
|
@ -14,10 +14,10 @@ import ScheduledMaintenanceService from "CommonServer/Services/ScheduledMaintena
|
||||
import ScheduledMaintenanceStateTimelineService from "CommonServer/Services/ScheduledMaintenanceStateTimelineService";
|
||||
import UserNotificationSettingService from "CommonServer/Services/UserNotificationSettingService";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceState from "Model/Models/ScheduledMaintenanceState";
|
||||
import ScheduledMaintenanceStateTimeline from "Model/Models/ScheduledMaintenanceStateTimeline";
|
||||
import User from "Model/Models/User";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceState from "Common/AppModels/Models/ScheduledMaintenanceState";
|
||||
import ScheduledMaintenanceStateTimeline from "Common/AppModels/Models/ScheduledMaintenanceStateTimeline";
|
||||
import User from "Common/AppModels/Models/User";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenanceOwner:SendStateChangeEmail",
|
||||
|
@ -23,12 +23,12 @@ import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscri
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import Markdown, { MarkdownContentType } from "CommonServer/Types/Markdown";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenancePublicNote from "Model/Models/ScheduledMaintenancePublicNote";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenancePublicNote from "Common/AppModels/Models/ScheduledMaintenancePublicNote";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenancePublicNote:SendNotificationToSubscribers",
|
||||
|
@ -23,12 +23,12 @@ import StatusPageService from "CommonServer/Services/StatusPageService";
|
||||
import StatusPageSubscriberService from "CommonServer/Services/StatusPageSubscriberService";
|
||||
import QueryHelper from "CommonServer/Types/Database/QueryHelper";
|
||||
import logger from "CommonServer/Utils/Logger";
|
||||
import Monitor from "Model/Models/Monitor";
|
||||
import ScheduledMaintenance from "Model/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceStateTimeline from "Model/Models/ScheduledMaintenanceStateTimeline";
|
||||
import StatusPage from "Model/Models/StatusPage";
|
||||
import StatusPageResource from "Model/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Model/Models/StatusPageSubscriber";
|
||||
import Monitor from "Common/AppModels/Models/Monitor";
|
||||
import ScheduledMaintenance from "Common/AppModels/Models/ScheduledMaintenance";
|
||||
import ScheduledMaintenanceStateTimeline from "Common/AppModels/Models/ScheduledMaintenanceStateTimeline";
|
||||
import StatusPage from "Common/AppModels/Models/StatusPage";
|
||||
import StatusPageResource from "Common/AppModels/Models/StatusPageResource";
|
||||
import StatusPageSubscriber from "Common/AppModels/Models/StatusPageSubscriber";
|
||||
|
||||
RunCron(
|
||||
"ScheduledMaintenanceStateTimeline:SendNotificationToSubscribers",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user