@oneuptime/common 16.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +23 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
- package/Models/DatabaseModels/DataBiConnection.js +15 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
- package/Models/DatabaseModels/DataPipeline.js +25 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +23 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +128 -0
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/IncidentSeverity.js +12 -3
- package/Models/DatabaseModels/Index.js +6 -0
- package/Models/DatabaseModels/Monitor.js +18 -0
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +49 -0
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +100 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +4 -1
- package/Models/DatabaseModels/Project.d.ts +4 -1
- package/Models/DatabaseModels/Project.js +147 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
- package/Models/DatabaseModels/ProjectOidc.js +46 -0
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +1 -0
- package/Models/DatabaseModels/RumApplication.d.ts +1 -0
- package/Models/DatabaseModels/RumApplication.js +58 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +32 -0
- package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +6 -0
- package/Server/Services/DatabaseService.d.ts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +1 -0
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -0
- package/Types/Accounts/SignUpInvitation.d.mts +12 -0
- package/Types/Accounts/SignUpInvitation.d.ts +12 -0
- package/Types/Accounts/SignUpInvitation.js +84 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +11 -0
- package/Types/Analytics/ProductEvent.d.ts +11 -0
- package/Types/Analytics/ProductEvent.js +166 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
- package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
- package/Types/Cloud/CloudKeyMetrics.js +1209 -206
- package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
- package/Types/Cloud/CloudResourceCatalog.js +43 -12
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
- package/Types/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +69 -0
- package/Types/DataObservability/DataBiLineage.d.ts +69 -0
- package/Types/DataObservability/DataBiLineage.js +198 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +67 -1
- package/Types/DataObservability/DataLineageMap.d.ts +67 -1
- package/Types/DataObservability/DataLineageMap.js +335 -3
- package/Types/DataObservability/DataLineageMap.mjs +14 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.js +48 -1
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.js +112 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
- package/Types/Database/MoveInList.d.mts +41 -0
- package/Types/Database/MoveInList.d.ts +41 -0
- package/Types/Database/MoveInList.js +177 -0
- package/Types/Database/MoveInList.mjs +4 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
- package/Types/Kubernetes/KubernetesHealth.js +128 -6
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +2 -1
- package/Types/Monitor/CriteriaFilter.d.ts +2 -1
- package/Types/Monitor/CriteriaFilter.js +9 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorSteps.js +5 -0
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.js +8 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +662 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +84 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +847 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +35 -1
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
- package/Types/SSO/IdentityProviderSignOut.js +124 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +6 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
- package/Types/ServerSending/ServerSendingStatus.js +23 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +270 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +9 -4
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
- package/Utils/Monitor/ProbeFailureCauses.js +4 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
- package/Utils/Telemetry/MobileAppFaults.js +69 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
- package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- package/package.json +4 -1
|
@@ -32,10 +32,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.SERVER_SETUP_CHECKED_WORDS = exports.SERVER_SETUP_STATUS_WORDS = exports.SERVER_SETUP_CHECKS = exports.SERVER_SETUP_ADMIN_PATHS = exports.SERVER_SETUP_GUIDES = exports.ServerSetupChoiceKind = exports.FINISHED_SERVER_SETUP_STATUSES = exports.ServerSetupStatus = exports.ServerSetupCheckTier = exports.ServerSetupCheckId = void 0;
|
|
39
|
+
exports.SERVER_SETUP_CHECKED_WORDS = exports.SERVER_SETUP_BACKUP_SCRIPT_WORDS = exports.SERVER_SETUP_STATUS_WORDS = exports.SERVER_SETUP_CHECKS = exports.SERVER_SETUP_ADMIN_PATHS = exports.ServerSetupBackupMadeBy = exports.SERVER_SETUP_BACKUP_STALE_AFTER_DAYS = exports.getServerSetupBackupGuides = exports.SERVER_SETUP_GUIDES = exports.ServerInstallKind = exports.ServerSetupChoiceKind = exports.FINISHED_SERVER_SETUP_STATUSES = exports.ServerSetupStatus = exports.ServerSetupCheckTier = exports.ServerSetupCheckId = void 0;
|
|
37
40
|
const Translator_1 = require("../Translator");
|
|
38
41
|
const ServerSendingStatus_1 = __importStar(require("../ServerSending/ServerSendingStatus"));
|
|
42
|
+
const ServerSetUpProblem_1 = __importDefault(require("../ServerSending/ServerSetUpProblem"));
|
|
39
43
|
/*
|
|
40
44
|
* WHAT A NEW SELF-HOSTED SERVER NEEDS, AND WHERE EACH STANDS.
|
|
41
45
|
*
|
|
@@ -52,10 +56,12 @@ const ServerSendingStatus_1 = __importStar(require("../ServerSending/ServerSendi
|
|
|
52
56
|
*
|
|
53
57
|
* Whether each is done is worked out from the server's real state on every
|
|
54
58
|
* read (Server/Utils/ServerSetup/ServerSetupChecklist reads the facts and
|
|
55
|
-
* hands them to evaluate, below). The only things stored are what an
|
|
56
|
-
* chose (GlobalConfig.serverSetupChoices): that a server does without
|
|
59
|
+
* hands them to evaluate, below). The only things stored for it are what an
|
|
60
|
+
* admin chose (GlobalConfig.serverSetupChoices): that a server does without
|
|
57
61
|
* something ("We will use email and push only"), that it is backed up some
|
|
58
|
-
* way the server cannot see, and each admin's "Hide" of the card
|
|
62
|
+
* way the server cannot see, and each admin's "Hide" of the card - and the
|
|
63
|
+
* last run of `npm run backup`, which tells the server itself
|
|
64
|
+
* (GlobalConfig.backupScriptLastRun, Types/Backup/BackupScriptRun).
|
|
59
65
|
*
|
|
60
66
|
* Read by the Admin Dashboard's Server setup page (/admin/setup), the card a
|
|
61
67
|
* master admin sees on the Dashboard while a required check is open, and
|
|
@@ -93,6 +99,8 @@ var ServerSetupCheckTier;
|
|
|
93
99
|
* SMS and calls: nothing has gone out since the settings
|
|
94
100
|
* were saved);
|
|
95
101
|
* - failing set up, and it does not work: why is in `failure`;
|
|
102
|
+
* - stale it worked, but not lately: the last backup `npm run
|
|
103
|
+
* backup` made is more than a week old;
|
|
96
104
|
* - done it works, as the server can see;
|
|
97
105
|
* - skipped an admin chose to do without it;
|
|
98
106
|
* - confirmed an admin said it is done, where the server cannot see it.
|
|
@@ -102,6 +110,7 @@ var ServerSetupStatus;
|
|
|
102
110
|
ServerSetupStatus["NotSetUp"] = "not-set-up";
|
|
103
111
|
ServerSetupStatus["Untested"] = "untested";
|
|
104
112
|
ServerSetupStatus["Failing"] = "failing";
|
|
113
|
+
ServerSetupStatus["Stale"] = "stale";
|
|
105
114
|
ServerSetupStatus["Done"] = "done";
|
|
106
115
|
ServerSetupStatus["Skipped"] = "skipped";
|
|
107
116
|
ServerSetupStatus["Confirmed"] = "confirmed";
|
|
@@ -119,13 +128,87 @@ var ServerSetupChoiceKind;
|
|
|
119
128
|
// It is done some way the server cannot see: backups.
|
|
120
129
|
ServerSetupChoiceKind["Confirmed"] = "confirmed";
|
|
121
130
|
})(ServerSetupChoiceKind || (exports.ServerSetupChoiceKind = ServerSetupChoiceKind = {}));
|
|
122
|
-
|
|
131
|
+
/*
|
|
132
|
+
* How this server was installed, as far as it can tell (Server/Utils/
|
|
133
|
+
* ServerSetup/ServerInstallKind): which steps a guide can send its admin to.
|
|
134
|
+
* A guide whose steps differ by install - backups: `npm run backup` exists
|
|
135
|
+
* on the Docker Compose server only - is picked by it, and never guessed:
|
|
136
|
+
* while it is unknown, the page offers both, each named.
|
|
137
|
+
*/
|
|
138
|
+
var ServerInstallKind;
|
|
139
|
+
(function (ServerInstallKind) {
|
|
140
|
+
ServerInstallKind["DockerCompose"] = "docker-compose";
|
|
141
|
+
ServerInstallKind["Kubernetes"] = "kubernetes";
|
|
142
|
+
ServerInstallKind["Unknown"] = "unknown";
|
|
143
|
+
})(ServerInstallKind || (exports.ServerInstallKind = ServerInstallKind = {}));
|
|
144
|
+
/*
|
|
145
|
+
* The guides: docs pages the server serves itself (/docs/...), every one of
|
|
146
|
+
* them, so an air-gapped server's admin can open each, and each describes
|
|
147
|
+
* the version the server runs.
|
|
148
|
+
*/
|
|
123
149
|
exports.SERVER_SETUP_GUIDES = {
|
|
124
|
-
|
|
150
|
+
/*
|
|
151
|
+
* The Self-Hosting Guide's HTTPS step, which has the Docker Compose and
|
|
152
|
+
* the Kubernetes steps side by side as tabs (#7073): the Docker Compose
|
|
153
|
+
* guide's detail page had only the first.
|
|
154
|
+
*/
|
|
155
|
+
https: "/docs/installation/self-hosting-guide#turn-on-https",
|
|
156
|
+
/*
|
|
157
|
+
* `npm run backup`, on the Docker Compose server: the catalogue's guide,
|
|
158
|
+
* which `npm run doctor` prints there.
|
|
159
|
+
*/
|
|
125
160
|
backups: "/docs/installation/docker-compose#back-up-and-restore",
|
|
161
|
+
/*
|
|
162
|
+
* What a Kubernetes install backs up with instead: the Kubernetes and
|
|
163
|
+
* Helm docs page's Back up your data, as the Helm chart's production
|
|
164
|
+
* checklist says it - the cloud's backups of the volumes, or
|
|
165
|
+
* CloudNativePG's volume snapshots (#9378). It was that checklist on
|
|
166
|
+
* GitHub's main branch, which an air-gapped server's admin could not
|
|
167
|
+
* open, and which could describe a newer chart than the one installed
|
|
168
|
+
* (#9438).
|
|
169
|
+
*/
|
|
170
|
+
backupsOnKubernetes: "/docs/installation/kubernetes#back-up-your-data",
|
|
126
171
|
updateChecks: "/docs/self-hosted/update-checks",
|
|
127
172
|
browserPush: "/docs/self-hosted/push-notifications#self-hosted-setup",
|
|
128
173
|
};
|
|
174
|
+
/*
|
|
175
|
+
* How to back up, for this server: the steps its install can run, or, while
|
|
176
|
+
* the server cannot tell how it was installed, both.
|
|
177
|
+
*/
|
|
178
|
+
const getServerSetupBackupGuides = (installKind) => {
|
|
179
|
+
const dockerCompose = {
|
|
180
|
+
installKind: ServerInstallKind.DockerCompose,
|
|
181
|
+
path: exports.SERVER_SETUP_GUIDES.backups,
|
|
182
|
+
};
|
|
183
|
+
const kubernetes = {
|
|
184
|
+
installKind: ServerInstallKind.Kubernetes,
|
|
185
|
+
path: exports.SERVER_SETUP_GUIDES.backupsOnKubernetes,
|
|
186
|
+
};
|
|
187
|
+
switch (installKind) {
|
|
188
|
+
case ServerInstallKind.DockerCompose:
|
|
189
|
+
return [dockerCompose];
|
|
190
|
+
case ServerInstallKind.Kubernetes:
|
|
191
|
+
return [kubernetes];
|
|
192
|
+
default:
|
|
193
|
+
return [dockerCompose, kubernetes];
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
exports.getServerSetupBackupGuides = getServerSetupBackupGuides;
|
|
197
|
+
/*
|
|
198
|
+
* How old the last backup `npm run backup` made may be before the checklist
|
|
199
|
+
* says it is out of date: a cron job that stopped is the way a server stops
|
|
200
|
+
* being backed up without anyone noticing. A week, so a server backed up
|
|
201
|
+
* every week is never told off; the guide asks for one a day.
|
|
202
|
+
*/
|
|
203
|
+
exports.SERVER_SETUP_BACKUP_STALE_AFTER_DAYS = 7;
|
|
204
|
+
// Who made the last backup the Backups check reads.
|
|
205
|
+
var ServerSetupBackupMadeBy;
|
|
206
|
+
(function (ServerSetupBackupMadeBy) {
|
|
207
|
+
// The Enterprise Edition's scheduled backups, or Back up now.
|
|
208
|
+
ServerSetupBackupMadeBy["Schedule"] = "schedule";
|
|
209
|
+
// `npm run backup`, which told the server it ran (#7026).
|
|
210
|
+
ServerSetupBackupMadeBy["Script"] = "script";
|
|
211
|
+
})(ServerSetupBackupMadeBy || (exports.ServerSetupBackupMadeBy = ServerSetupBackupMadeBy = {}));
|
|
129
212
|
// The Admin Dashboard's pages each check is fixed on.
|
|
130
213
|
exports.SERVER_SETUP_ADMIN_PATHS = {
|
|
131
214
|
setup: "/admin/setup",
|
|
@@ -202,7 +285,8 @@ exports.SERVER_SETUP_CHECKS = [
|
|
|
202
285
|
title: (0, Translator_1.translationKey)("Browser push notifications"),
|
|
203
286
|
guidePath: exports.SERVER_SETUP_GUIDES.browserPush,
|
|
204
287
|
choice: null,
|
|
205
|
-
|
|
288
|
+
// A test push to the admin's own phones and browsers (#7028).
|
|
289
|
+
tests: [ServerSendingStatus_1.ServerSendingChannel.Push],
|
|
206
290
|
},
|
|
207
291
|
{
|
|
208
292
|
id: ServerSetupCheckId.AiProvider,
|
|
@@ -256,6 +340,8 @@ exports.SERVER_SETUP_STATUS_WORDS = {
|
|
|
256
340
|
[ServerSetupCheckId.Backups]: {
|
|
257
341
|
[ServerSetupStatus.NotSetUp]: (0, Translator_1.translationKey)("Not set up yet: back up the database regularly, so a lost disk does not lose your monitors, incidents and history."),
|
|
258
342
|
[ServerSetupStatus.Failing]: (0, Translator_1.translationKey)("Failing: the last backup failed on {{time}}."),
|
|
343
|
+
[ServerSetupStatus.Stale]: (0, Translator_1.translationKey)("Out of date: the last backup finished on {{time}}, more than a week ago."),
|
|
344
|
+
// The Enterprise Edition's; `npm run backup`'s are SERVER_SETUP_BACKUP_SCRIPT_WORDS'.
|
|
259
345
|
[ServerSetupStatus.Done]: (0, Translator_1.translationKey)("Backed up on a schedule."),
|
|
260
346
|
[ServerSetupStatus.Confirmed]: (0, Translator_1.translationKey)("Backed up, as an admin confirmed."),
|
|
261
347
|
},
|
|
@@ -267,6 +353,8 @@ exports.SERVER_SETUP_STATUS_WORDS = {
|
|
|
267
353
|
},
|
|
268
354
|
[ServerSetupCheckId.BrowserPush]: {
|
|
269
355
|
[ServerSetupStatus.NotSetUp]: (0, Translator_1.translationKey)("Not set up: browser notifications need VAPID keys in config.env. Mobile push works without them."),
|
|
356
|
+
// The server's own pushes fail: the push relay unreachable, its keys refused (#6881).
|
|
357
|
+
[ServerSetupStatus.Failing]: (0, Translator_1.translationKey)("Failing: push notifications have not gone out since {{time}}."),
|
|
270
358
|
[ServerSetupStatus.Done]: (0, Translator_1.translationKey)("Set up: people can get alerts as browser notifications."),
|
|
271
359
|
},
|
|
272
360
|
[ServerSetupCheckId.AiProvider]: {
|
|
@@ -278,6 +366,16 @@ exports.SERVER_SETUP_STATUS_WORDS = {
|
|
|
278
366
|
[ServerSetupStatus.Done]: (0, Translator_1.translationKey)("Set up: people can sign in with your identity provider."),
|
|
279
367
|
},
|
|
280
368
|
};
|
|
369
|
+
/*
|
|
370
|
+
* What the Backups check says when `npm run backup` made the last backup
|
|
371
|
+
* (#7026), where it differs from SERVER_SETUP_STATUS_WORDS: what it is
|
|
372
|
+
* backed up with, and why a run that failed did - the script prints that,
|
|
373
|
+
* on the server, not the server.
|
|
374
|
+
*/
|
|
375
|
+
exports.SERVER_SETUP_BACKUP_SCRIPT_WORDS = {
|
|
376
|
+
done: (0, Translator_1.translationKey)("Backed up with npm run backup."),
|
|
377
|
+
failed: (0, Translator_1.translationKey)("npm run backup did not finish a backup. Run it on the server to see why."),
|
|
378
|
+
};
|
|
281
379
|
/*
|
|
282
380
|
* What a check's "done" was checked against, or why it is not: the second,
|
|
283
381
|
* smaller line under it. "smtp.example.com accepted an email on 11 Nov" says
|
|
@@ -455,6 +553,10 @@ class ServerSetupChecklistUtil {
|
|
|
455
553
|
time: data.time || null,
|
|
456
554
|
sentThrough: data.sentThrough || null,
|
|
457
555
|
reason: data.reason || null,
|
|
556
|
+
// Words only beside the sentence they say.
|
|
557
|
+
...(data.reason && data.reasonWords
|
|
558
|
+
? { reasonWords: data.reasonWords }
|
|
559
|
+
: {}),
|
|
458
560
|
channels: data.channels || [],
|
|
459
561
|
choice: choice,
|
|
460
562
|
/*
|
|
@@ -482,6 +584,10 @@ class ServerSetupChecklistUtil {
|
|
|
482
584
|
: status === ServerSetupStatus.NotSetUp
|
|
483
585
|
? facts.email.setUpProblem
|
|
484
586
|
: null,
|
|
587
|
+
// What is missing, in words every language has (#9437); a provider's answer has none.
|
|
588
|
+
reasonWords: status === ServerSetupStatus.NotSetUp
|
|
589
|
+
? facts.email.setUpProblemWords
|
|
590
|
+
: null,
|
|
485
591
|
tests: status === ServerSetupStatus.NotSetUp
|
|
486
592
|
? []
|
|
487
593
|
: [ServerSendingStatus_1.ServerSendingChannel.Email],
|
|
@@ -548,30 +654,100 @@ class ServerSetupChecklistUtil {
|
|
|
548
654
|
isChoiceApplicable: false,
|
|
549
655
|
});
|
|
550
656
|
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
657
|
+
// When a date was, in milliseconds; never for one that is not a date.
|
|
658
|
+
static timeOf(value) {
|
|
659
|
+
if (!value) {
|
|
660
|
+
return null;
|
|
661
|
+
}
|
|
662
|
+
const time = new Date(value).getTime();
|
|
663
|
+
return Number.isNaN(time) ? null : time;
|
|
664
|
+
}
|
|
665
|
+
/*
|
|
666
|
+
* Backups, from the last backup the server knows of: the Enterprise
|
|
667
|
+
* Edition's scheduled ones (BackupRun), and `npm run backup` on the
|
|
668
|
+
* Community Edition, which tells the server each time it runs (#7026).
|
|
669
|
+
* The newer of the two decides.
|
|
670
|
+
*
|
|
671
|
+
* - A scheduled backup: done or failing, as #6824 had it. A failed one
|
|
672
|
+
* is the server's own job failing, and no confirmation undoes it.
|
|
673
|
+
* - A script's run: done while it is less than a week old, then out of
|
|
674
|
+
* date (stale); failing when pg_dump did not finish. The script is the
|
|
675
|
+
* operator's own cron job, which they may retire for backups the
|
|
676
|
+
* server cannot see, so a confirmation made after the run - "This
|
|
677
|
+
* server is backed up", offered while it is failing or out of date -
|
|
678
|
+
* says more than it, and the next run says more than the confirmation.
|
|
679
|
+
* - Neither: the admin's confirmation, or not set up.
|
|
680
|
+
*/
|
|
681
|
+
static evaluateBackups(facts, now) {
|
|
682
|
+
const scheduled = facts.lastBackup;
|
|
683
|
+
const script = facts.lastScriptBackup || null;
|
|
684
|
+
const choice = facts.choices.choices[ServerSetupCheckId.Backups];
|
|
685
|
+
const scheduledAt = scheduled
|
|
686
|
+
? ServerSetupChecklistUtil.timeOf(scheduled.finishedAt) || 0
|
|
687
|
+
: null;
|
|
688
|
+
const scriptAt = script
|
|
689
|
+
? ServerSetupChecklistUtil.timeOf(script.at)
|
|
690
|
+
: null;
|
|
691
|
+
const withBackupFacts = (answer, madeBy) => {
|
|
692
|
+
answer.hasScheduledBackups = facts.hasScheduledBackups;
|
|
693
|
+
answer.installKind = facts.installKind || ServerInstallKind.Unknown;
|
|
694
|
+
if (madeBy) {
|
|
695
|
+
answer.backupMadeBy = madeBy;
|
|
696
|
+
}
|
|
697
|
+
return answer;
|
|
698
|
+
};
|
|
699
|
+
// The script's run, when it is the newer of the two.
|
|
700
|
+
if (script &&
|
|
701
|
+
scriptAt !== null &&
|
|
702
|
+
(scheduledAt === null || scriptAt >= scheduledAt)) {
|
|
703
|
+
const choiceAt = choice
|
|
704
|
+
? ServerSetupChecklistUtil.timeOf(choice.at)
|
|
705
|
+
: null;
|
|
706
|
+
if (choiceAt !== null && choiceAt > scriptAt) {
|
|
707
|
+
return withBackupFacts(ServerSetupChecklistUtil.result({
|
|
708
|
+
id: ServerSetupCheckId.Backups,
|
|
709
|
+
status: ServerSetupStatus.Confirmed,
|
|
710
|
+
facts: facts,
|
|
711
|
+
}), null);
|
|
712
|
+
}
|
|
713
|
+
const isStale = now.getTime() - scriptAt >
|
|
714
|
+
exports.SERVER_SETUP_BACKUP_STALE_AFTER_DAYS * 24 * 60 * 60 * 1000;
|
|
715
|
+
const status = !script.succeeded
|
|
716
|
+
? ServerSetupStatus.Failing
|
|
717
|
+
: isStale
|
|
718
|
+
? ServerSetupStatus.Stale
|
|
719
|
+
: ServerSetupStatus.Done;
|
|
720
|
+
return withBackupFacts(ServerSetupChecklistUtil.result({
|
|
721
|
+
id: ServerSetupCheckId.Backups,
|
|
722
|
+
status: status,
|
|
723
|
+
facts: facts,
|
|
724
|
+
time: script.at,
|
|
725
|
+
reason: script.succeeded
|
|
726
|
+
? null
|
|
727
|
+
: exports.SERVER_SETUP_BACKUP_SCRIPT_WORDS.failed,
|
|
728
|
+
// Offered while it fails or is out of date: the operator's word then.
|
|
729
|
+
isChoiceApplicable: true,
|
|
730
|
+
}), ServerSetupBackupMadeBy.Script);
|
|
731
|
+
}
|
|
732
|
+
let status = choice
|
|
555
733
|
? ServerSetupStatus.Confirmed
|
|
556
734
|
: ServerSetupStatus.NotSetUp;
|
|
557
735
|
// A backup the server made itself says more than a confirmation.
|
|
558
|
-
if (
|
|
736
|
+
if (scheduled && scheduled.succeeded) {
|
|
559
737
|
status = ServerSetupStatus.Done;
|
|
560
738
|
}
|
|
561
|
-
else if (
|
|
739
|
+
else if (scheduled && !scheduled.succeeded) {
|
|
562
740
|
status = ServerSetupStatus.Failing;
|
|
563
741
|
}
|
|
564
|
-
|
|
742
|
+
return withBackupFacts(ServerSetupChecklistUtil.result({
|
|
565
743
|
id: ServerSetupCheckId.Backups,
|
|
566
744
|
status: status,
|
|
567
745
|
facts: facts,
|
|
568
|
-
time:
|
|
569
|
-
reason:
|
|
746
|
+
time: scheduled ? scheduled.finishedAt : null,
|
|
747
|
+
reason: scheduled && !scheduled.succeeded ? scheduled.error : null,
|
|
570
748
|
// A failed backup the server made is not undone by a confirmation.
|
|
571
|
-
isChoiceApplicable: !
|
|
572
|
-
});
|
|
573
|
-
answer.hasScheduledBackups = facts.hasScheduledBackups;
|
|
574
|
-
return answer;
|
|
749
|
+
isChoiceApplicable: !scheduled,
|
|
750
|
+
}), scheduled ? ServerSetupBackupMadeBy.Schedule : null);
|
|
575
751
|
}
|
|
576
752
|
static evaluateUpdateChecks(facts) {
|
|
577
753
|
const updates = facts.updateChecks;
|
|
@@ -609,10 +785,49 @@ class ServerSetupChecklistUtil {
|
|
|
609
785
|
id: data.id,
|
|
610
786
|
status: status,
|
|
611
787
|
facts: data.facts,
|
|
788
|
+
tests: data.tests,
|
|
612
789
|
});
|
|
613
790
|
}
|
|
614
|
-
|
|
615
|
-
|
|
791
|
+
/*
|
|
792
|
+
* The test push (#7028) goes to the admin's own phones and browsers,
|
|
793
|
+
* which need no VAPID keys on a phone: offered whenever push is not
|
|
794
|
+
* turned off for the server, done or not - browser push set up says
|
|
795
|
+
* nothing of phones. A server that does not say where push stands offers
|
|
796
|
+
* none.
|
|
797
|
+
*/
|
|
798
|
+
static getPushTests(facts) {
|
|
799
|
+
return facts.push && facts.push.state !== ServerSendingStatus_1.ServerSendingState.NotSetUp
|
|
800
|
+
? [ServerSendingStatus_1.ServerSendingChannel.Push]
|
|
801
|
+
: [];
|
|
802
|
+
}
|
|
803
|
+
/*
|
|
804
|
+
* Push: done once browsers can be pushed to (VAPID keys) - and failing,
|
|
805
|
+
* whatever the keys, while the server's own pushes fail (#6881): the push
|
|
806
|
+
* relay cannot be reached, or the keys are refused. Then no phone and no
|
|
807
|
+
* browser gets a page, and the row says since when and why. Optional
|
|
808
|
+
* still: it never brings the Dashboard's card back.
|
|
809
|
+
*/
|
|
810
|
+
static evaluatePush(facts) {
|
|
811
|
+
const tests = ServerSetupChecklistUtil.getPushTests(facts);
|
|
812
|
+
if (facts.push && facts.push.state === ServerSendingStatus_1.ServerSendingState.Failing) {
|
|
813
|
+
return ServerSetupChecklistUtil.result({
|
|
814
|
+
id: ServerSetupCheckId.BrowserPush,
|
|
815
|
+
status: ServerSetupStatus.Failing,
|
|
816
|
+
facts: facts,
|
|
817
|
+
time: facts.push.failingSince,
|
|
818
|
+
reason: facts.push.lastFailure,
|
|
819
|
+
tests: tests,
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
return ServerSetupChecklistUtil.evaluateYesNo({
|
|
823
|
+
id: ServerSetupCheckId.BrowserPush,
|
|
824
|
+
isDone: facts.isBrowserPushSetUp,
|
|
825
|
+
facts: facts,
|
|
826
|
+
tests: tests,
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
// Every check, in the catalogue's order, as they stand at `now`.
|
|
830
|
+
static evaluate(facts, now = new Date()) {
|
|
616
831
|
return [
|
|
617
832
|
ServerSetupChecklistUtil.evaluateEmail(facts),
|
|
618
833
|
ServerSetupChecklistUtil.evaluateYesNo({
|
|
@@ -631,13 +846,9 @@ class ServerSetupChecklistUtil {
|
|
|
631
846
|
isDone: Boolean(facts.globalProbes && facts.globalProbes.reporting > 0),
|
|
632
847
|
facts: facts,
|
|
633
848
|
}),
|
|
634
|
-
ServerSetupChecklistUtil.evaluateBackups(facts),
|
|
849
|
+
ServerSetupChecklistUtil.evaluateBackups(facts, now),
|
|
635
850
|
ServerSetupChecklistUtil.evaluateUpdateChecks(facts),
|
|
636
|
-
ServerSetupChecklistUtil.
|
|
637
|
-
id: ServerSetupCheckId.BrowserPush,
|
|
638
|
-
isDone: facts.isBrowserPushSetUp,
|
|
639
|
-
facts: facts,
|
|
640
|
-
}),
|
|
851
|
+
ServerSetupChecklistUtil.evaluatePush(facts),
|
|
641
852
|
ServerSetupChecklistUtil.evaluateYesNo({
|
|
642
853
|
id: ServerSetupCheckId.AiProvider,
|
|
643
854
|
isDone: facts.hasAiProvider,
|
|
@@ -659,9 +870,9 @@ class ServerSetupChecklistUtil {
|
|
|
659
870
|
return check.id;
|
|
660
871
|
});
|
|
661
872
|
}
|
|
662
|
-
// The whole answer, for one reader.
|
|
873
|
+
// The whole answer, for one reader, as it stands at `now` (now, unless a test says).
|
|
663
874
|
static getAnswer(data) {
|
|
664
|
-
const checks = ServerSetupChecklistUtil.evaluate(data.facts);
|
|
875
|
+
const checks = ServerSetupChecklistUtil.evaluate(data.facts, data.now || new Date());
|
|
665
876
|
const openRequired = ServerSetupChecklistUtil.getOpenRequired(checks);
|
|
666
877
|
return {
|
|
667
878
|
checks: checks,
|
|
@@ -673,8 +884,17 @@ class ServerSetupChecklistUtil {
|
|
|
673
884
|
}),
|
|
674
885
|
};
|
|
675
886
|
}
|
|
676
|
-
|
|
887
|
+
/*
|
|
888
|
+
* The status line of a check, in English with its placeholders. Backups
|
|
889
|
+
* that `npm run backup` made say so: "Backed up with npm run backup.",
|
|
890
|
+
* where the Enterprise Edition's say "Backed up on a schedule.".
|
|
891
|
+
*/
|
|
677
892
|
static getStatusWords(check) {
|
|
893
|
+
if (check.id === ServerSetupCheckId.Backups &&
|
|
894
|
+
check.status === ServerSetupStatus.Done &&
|
|
895
|
+
check.backupMadeBy === ServerSetupBackupMadeBy.Script) {
|
|
896
|
+
return exports.SERVER_SETUP_BACKUP_SCRIPT_WORDS.done;
|
|
897
|
+
}
|
|
678
898
|
return exports.SERVER_SETUP_STATUS_WORDS[check.id][check.status] || "";
|
|
679
899
|
}
|
|
680
900
|
/*
|
|
@@ -712,6 +932,11 @@ class ServerSetupChecklistUtil {
|
|
|
712
932
|
sentThrough: isObject(raw) ? readText(raw["sentThrough"], 200) : null,
|
|
713
933
|
});
|
|
714
934
|
}
|
|
935
|
+
const reason = readText(row["reason"]);
|
|
936
|
+
// Words only beside the sentence they say, and only ones this page knows.
|
|
937
|
+
const reasonWords = reason
|
|
938
|
+
? ServerSetUpProblem_1.default.parse(row["reasonWords"])
|
|
939
|
+
: null;
|
|
715
940
|
checks.push({
|
|
716
941
|
id: id,
|
|
717
942
|
tier: definition.tier,
|
|
@@ -719,7 +944,8 @@ class ServerSetupChecklistUtil {
|
|
|
719
944
|
isFinished: ServerSetupChecklistUtil.isFinished(status),
|
|
720
945
|
time: readDate(row["time"]),
|
|
721
946
|
sentThrough: readText(row["sentThrough"], 200),
|
|
722
|
-
reason:
|
|
947
|
+
reason: reason,
|
|
948
|
+
...(reasonWords ? { reasonWords: reasonWords } : {}),
|
|
723
949
|
channels: channels,
|
|
724
950
|
choice: isObject(storedChoice) &&
|
|
725
951
|
storedChoice["kind"] === definition.choice &&
|
|
@@ -739,7 +965,18 @@ class ServerSetupChecklistUtil {
|
|
|
739
965
|
definition.tests.includes(test));
|
|
740
966
|
}),
|
|
741
967
|
...(id === ServerSetupCheckId.Backups
|
|
742
|
-
? {
|
|
968
|
+
? {
|
|
969
|
+
hasScheduledBackups: row["hasScheduledBackups"] === true,
|
|
970
|
+
// An older server says nothing: both guides, each named.
|
|
971
|
+
installKind: Object.values(ServerInstallKind).includes(row["installKind"])
|
|
972
|
+
? row["installKind"]
|
|
973
|
+
: ServerInstallKind.Unknown,
|
|
974
|
+
...(Object.values(ServerSetupBackupMadeBy).includes(row["backupMadeBy"])
|
|
975
|
+
? {
|
|
976
|
+
backupMadeBy: row["backupMadeBy"],
|
|
977
|
+
}
|
|
978
|
+
: {}),
|
|
979
|
+
}
|
|
743
980
|
: {}),
|
|
744
981
|
});
|
|
745
982
|
}
|
|
@@ -2,11 +2,16 @@ import commonJsModule from "./ServerSetupChecklist.js";
|
|
|
2
2
|
export default commonJsModule.default;
|
|
3
3
|
export const FINISHED_SERVER_SETUP_STATUSES = commonJsModule.FINISHED_SERVER_SETUP_STATUSES;
|
|
4
4
|
export const SERVER_SETUP_ADMIN_PATHS = commonJsModule.SERVER_SETUP_ADMIN_PATHS;
|
|
5
|
+
export const SERVER_SETUP_BACKUP_SCRIPT_WORDS = commonJsModule.SERVER_SETUP_BACKUP_SCRIPT_WORDS;
|
|
6
|
+
export const SERVER_SETUP_BACKUP_STALE_AFTER_DAYS = commonJsModule.SERVER_SETUP_BACKUP_STALE_AFTER_DAYS;
|
|
5
7
|
export const SERVER_SETUP_CHECKED_WORDS = commonJsModule.SERVER_SETUP_CHECKED_WORDS;
|
|
6
8
|
export const SERVER_SETUP_CHECKS = commonJsModule.SERVER_SETUP_CHECKS;
|
|
7
9
|
export const SERVER_SETUP_GUIDES = commonJsModule.SERVER_SETUP_GUIDES;
|
|
8
10
|
export const SERVER_SETUP_STATUS_WORDS = commonJsModule.SERVER_SETUP_STATUS_WORDS;
|
|
11
|
+
export const ServerInstallKind = commonJsModule.ServerInstallKind;
|
|
12
|
+
export const ServerSetupBackupMadeBy = commonJsModule.ServerSetupBackupMadeBy;
|
|
9
13
|
export const ServerSetupCheckId = commonJsModule.ServerSetupCheckId;
|
|
10
14
|
export const ServerSetupCheckTier = commonJsModule.ServerSetupCheckTier;
|
|
11
15
|
export const ServerSetupChoiceKind = commonJsModule.ServerSetupChoiceKind;
|
|
12
16
|
export const ServerSetupStatus = commonJsModule.ServerSetupStatus;
|
|
17
|
+
export const getServerSetupBackupGuides = commonJsModule.getServerSetupBackupGuides;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ServerSendingChannel } from "../ServerSending/ServerSendingStatus.mjs";
|
|
2
|
+
import { ServerSetUpProblemWords } from "../ServerSending/ServerSetUpProblem.mjs";
|
|
2
3
|
export declare enum ServerTestSendResult {
|
|
3
4
|
Accepted = "accepted",
|
|
4
5
|
Refused = "refused",
|
|
@@ -12,18 +13,28 @@ export interface ServerTestSendAnswer {
|
|
|
12
13
|
to: string;
|
|
13
14
|
sentThrough: string | null;
|
|
14
15
|
message: string | null;
|
|
16
|
+
messageWords?: ServerSetUpProblemWords | undefined;
|
|
15
17
|
}
|
|
18
|
+
export declare const SERVER_TEST_PUSH_REASONS: {
|
|
19
|
+
turnedOff: string;
|
|
20
|
+
noDevices: string;
|
|
21
|
+
noVapidKeys: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const isServerTestSendReasonKey: (reason: string) => boolean;
|
|
16
24
|
export declare const MAX_SERVER_TEST_SEND_MESSAGE_LENGTH: number;
|
|
17
25
|
export declare const SERVER_TEST_SEND_WORDS: {
|
|
18
26
|
sendTestEmail: string;
|
|
19
27
|
sendTestSms: string;
|
|
20
28
|
makeTestCall: string;
|
|
29
|
+
sendTestPush: string;
|
|
21
30
|
sendTo: string;
|
|
22
31
|
phoneNumber: string;
|
|
23
32
|
emailAccepted: string;
|
|
24
33
|
smsAccepted: string;
|
|
25
34
|
callAccepted: string;
|
|
35
|
+
pushAccepted: string;
|
|
26
36
|
refused: string;
|
|
37
|
+
pushRefused: string;
|
|
27
38
|
notSetUp: string;
|
|
28
39
|
};
|
|
29
40
|
export declare const getServerTestSendTitle: (channel: ServerSendingChannel) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ServerSendingChannel } from "../ServerSending/ServerSendingStatus";
|
|
2
|
+
import { ServerSetUpProblemWords } from "../ServerSending/ServerSetUpProblem";
|
|
2
3
|
export declare enum ServerTestSendResult {
|
|
3
4
|
Accepted = "accepted",
|
|
4
5
|
Refused = "refused",
|
|
@@ -12,18 +13,28 @@ export interface ServerTestSendAnswer {
|
|
|
12
13
|
to: string;
|
|
13
14
|
sentThrough: string | null;
|
|
14
15
|
message: string | null;
|
|
16
|
+
messageWords?: ServerSetUpProblemWords | undefined;
|
|
15
17
|
}
|
|
18
|
+
export declare const SERVER_TEST_PUSH_REASONS: {
|
|
19
|
+
turnedOff: string;
|
|
20
|
+
noDevices: string;
|
|
21
|
+
noVapidKeys: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const isServerTestSendReasonKey: (reason: string) => boolean;
|
|
16
24
|
export declare const MAX_SERVER_TEST_SEND_MESSAGE_LENGTH: number;
|
|
17
25
|
export declare const SERVER_TEST_SEND_WORDS: {
|
|
18
26
|
sendTestEmail: string;
|
|
19
27
|
sendTestSms: string;
|
|
20
28
|
makeTestCall: string;
|
|
29
|
+
sendTestPush: string;
|
|
21
30
|
sendTo: string;
|
|
22
31
|
phoneNumber: string;
|
|
23
32
|
emailAccepted: string;
|
|
24
33
|
smsAccepted: string;
|
|
25
34
|
callAccepted: string;
|
|
35
|
+
pushAccepted: string;
|
|
26
36
|
refused: string;
|
|
37
|
+
pushRefused: string;
|
|
27
38
|
notSetUp: string;
|
|
28
39
|
};
|
|
29
40
|
export declare const getServerTestSendTitle: (channel: ServerSendingChannel) => string;
|