@oneuptime/common 14.0.107 → 14.0.109
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/AuditLog.js +1 -1
- package/Models/DatabaseModels/CloudApp.d.mts +5 -0
- package/Models/DatabaseModels/CloudApp.d.ts +5 -0
- package/Models/DatabaseModels/CloudApp.js +112 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +4 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +4 -0
- package/Models/DatabaseModels/DataBiConnection.js +59 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +111 -0
- package/Models/DatabaseModels/Index.js +9 -0
- package/Models/DatabaseModels/Monitor.js +14 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +132 -2
- package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
- package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
- package/Models/DatabaseModels/ProductFeedback.js +203 -0
- package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
- package/Models/DatabaseModels/Project.d.mts +6 -0
- package/Models/DatabaseModels/Project.d.ts +6 -0
- package/Models/DatabaseModels/Project.js +237 -0
- package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.js +207 -0
- package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
- package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.mts +20 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.ts +20 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.js +353 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.mjs +2 -0
- package/Models/DatabaseModels/RumSessionPin.js +16 -2
- package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
- package/Models/DatabaseModels/SecurityCase.js +8 -1
- package/Models/DatabaseModels/User.d.mts +2 -0
- package/Models/DatabaseModels/User.d.ts +2 -0
- package/Models/DatabaseModels/User.js +52 -0
- package/Models/DatabaseModels/UserOnCallLog.js +32 -4
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -0
- package/Models/DatabaseModels/WhatsAppLog.d.mts +3 -0
- package/Models/DatabaseModels/WhatsAppLog.d.ts +3 -0
- package/Models/DatabaseModels/WhatsAppLog.js +62 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +20 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +20 -0
- package/Models/DatabaseModels/WorkspaceUserGroup.js +1 -1
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +213 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +213 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +4 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +4 -0
- package/Types/AI/AIActionWords.d.mts +167 -7
- package/Types/AI/AIActionWords.d.ts +167 -7
- package/Types/AI/AIActionWords.js +474 -17
- package/Types/AI/AIActionWords.mjs +22 -0
- package/Types/AI/AIChatMessageStatus.js +3 -2
- package/Types/AI/AIChatRecordSeen.d.mts +6 -2
- package/Types/AI/AIChatRecordSeen.d.ts +6 -2
- package/Types/AI/AIChatRecordSeen.js +48 -9
- package/Types/AI/AIChatRecordSeen.mjs +2 -0
- package/Types/AI/AIChatTypes.d.mts +20 -1
- package/Types/AI/AIChatTypes.d.ts +20 -1
- package/Types/AI/AIChatTypes.js +46 -1
- package/Types/AI/AIChatTypes.mjs +3 -0
- package/Types/AI/AIRunAttempt.d.mts +8 -0
- package/Types/AI/AIRunAttempt.d.ts +8 -0
- package/Types/AI/AIRunAttempt.js +60 -6
- package/Types/AI/AIRunAttempt.mjs +3 -0
- package/Types/AI/AISetupActions.d.mts +9 -0
- package/Types/AI/AISetupActions.d.ts +9 -0
- package/Types/AI/AISetupActions.js +56 -0
- package/Types/AI/AISetupActions.mjs +10 -0
- package/Types/AI/CodeTask.d.mts +14 -0
- package/Types/AI/CodeTask.d.ts +14 -0
- package/Types/AI/InvestigationNotStartedReason.d.mts +7 -0
- package/Types/AI/InvestigationNotStartedReason.d.ts +7 -0
- package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
- package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
- package/Types/AI/RecordAiTokenLimit.js +153 -0
- package/Types/AI/RecordAiTokenLimit.mjs +8 -0
- package/Types/Accounts/SignInMessages.d.mts +8 -0
- package/Types/Accounts/SignInMessages.d.ts +8 -0
- package/Types/Accounts/SignInMessages.js +28 -0
- package/Types/Accounts/SignInMessages.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +48 -0
- package/Types/Analytics/ActivationMilestone.d.ts +48 -0
- package/Types/Analytics/ActivationMilestone.js +247 -0
- package/Types/Analytics/ActivationMilestone.mjs +16 -0
- package/Types/Analytics/ChecklistProgress.d.mts +11 -0
- package/Types/Analytics/ChecklistProgress.d.ts +11 -0
- package/Types/Analytics/ChecklistProgress.js +32 -0
- package/Types/Analytics/ChecklistProgress.mjs +2 -0
- package/Types/Analytics/ProductEvent.d.mts +61 -0
- package/Types/Analytics/ProductEvent.d.ts +61 -0
- package/Types/Analytics/ProductEvent.js +430 -0
- package/Types/Analytics/ProductEvent.mjs +14 -0
- package/Types/AuditLog/AuditLogAction.d.mts +5 -1
- package/Types/AuditLog/AuditLogAction.d.ts +5 -1
- package/Types/AuditLog/AuditLogAction.js +11 -0
- package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.js +30 -0
- package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +2 -1
- package/Types/AuditLog/AuditLogCoverage.d.ts +2 -1
- package/Types/AuditLog/AuditLogCoverage.js +8 -1
- package/Types/AuditLog/AuditLogRetention.js +7 -4
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
- package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
- package/Types/AutoRemediation/RemediationRound.js +19 -2
- package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.js +5 -0
- package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
- package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
- package/Types/Cloud/CloudPlatform.js +7 -1
- package/Types/CodeInSentence.d.mts +8 -0
- package/Types/CodeInSentence.d.ts +8 -0
- package/Types/CodeInSentence.js +875 -0
- package/Types/CodeInSentence.mjs +4 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
- package/Types/CodeRepository/CodeFileSeen.js +142 -27
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
- package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.js +175 -0
- package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
- package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +7 -0
- package/Types/Dashboard/DashboardComponents/ComponentArgument.d.mts +3 -1
- package/Types/Dashboard/DashboardComponents/ComponentArgument.d.ts +3 -1
- package/Types/Dashboard/DashboardComponents/ComponentArgument.js +3 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.mts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.ts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.js +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.mjs +1 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.mts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.ts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.js +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.mjs +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +15 -7
- package/Types/DataObservability/DataBiRefreshAlert.d.mts +44 -0
- package/Types/DataObservability/DataBiRefreshAlert.d.ts +44 -0
- package/Types/DataObservability/DataBiRefreshAlert.js +206 -0
- package/Types/DataObservability/DataBiRefreshAlert.mjs +12 -0
- package/Types/DataObservability/DataCheckType.d.mts +4 -0
- package/Types/DataObservability/DataCheckType.d.ts +4 -0
- package/Types/DataObservability/DataCheckType.js +17 -0
- package/Types/DataObservability/DataCheckType.mjs +1 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
- package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
- package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
- package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
- package/Types/DataObservability/DataLineageExpansion.js +166 -0
- package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +8 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +8 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +14 -0
- package/Types/DataObservability/DataTableLineage.d.mts +29 -1
- package/Types/DataObservability/DataTableLineage.d.ts +29 -1
- package/Types/DataObservability/DataTableLineage.js +27 -7
- package/Types/DataObservability/DataTableLineage.mjs +3 -0
- package/Types/Date.d.mts +22 -0
- package/Types/Date.d.ts +22 -0
- package/Types/Date.js +72 -3
- package/Types/DateLanguage.d.mts +7 -0
- package/Types/DateLanguage.d.ts +7 -0
- package/Types/DateLanguage.js +44 -1
- package/Types/DateLanguage.mjs +1 -0
- package/Types/Docs/DocsLanguage.d.mts +2 -0
- package/Types/Docs/DocsLanguage.d.ts +2 -0
- package/Types/Docs/DocsLanguage.js +23 -1
- package/Types/Docs/DocsLanguage.mjs +2 -0
- package/Types/Docs/GlossaryTerm.d.mts +82 -0
- package/Types/Docs/GlossaryTerm.d.ts +82 -0
- package/Types/Docs/GlossaryTerm.js +126 -0
- package/Types/Docs/GlossaryTerm.mjs +5 -0
- package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.js +40 -0
- package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
- package/Types/Email/EmailServer.d.mts +2 -0
- package/Types/Email/EmailServer.d.ts +2 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +2 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
- package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
- package/Types/Exception/ErrorMessageRule.d.mts +4 -0
- package/Types/Exception/ErrorMessageRule.d.ts +4 -0
- package/Types/Exception/ErrorMessageRule.js +143 -0
- package/Types/Exception/ErrorMessageRule.mjs +5 -0
- package/Types/Exception/UnexplainedError.d.mts +45 -0
- package/Types/Exception/UnexplainedError.d.ts +45 -0
- package/Types/Exception/UnexplainedError.js +179 -0
- package/Types/Exception/UnexplainedError.mjs +11 -0
- package/Types/HashedString.js +9 -2
- package/Types/Icon/IconProp.d.mts +4 -1
- package/Types/Icon/IconProp.d.ts +4 -1
- package/Types/Icon/IconProp.js +6 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
- package/Types/InstallationHealth/InstallationHealth.js +513 -0
- package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
- package/Types/LLM/LLMProviderExchange.d.mts +17 -0
- package/Types/LLM/LLMProviderExchange.d.ts +17 -0
- package/Types/LLM/LLMProviderExchange.js +70 -0
- package/Types/LLM/LLMProviderExchange.mjs +5 -0
- package/Types/Monitor/CriteriaFilter.d.mts +1 -0
- package/Types/Monitor/CriteriaFilter.d.ts +1 -0
- package/Types/Monitor/CriteriaFilter.js +3 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/CriteriaFilterValues.d.mts +18 -0
- package/Types/Monitor/CriteriaFilterValues.d.ts +18 -0
- package/Types/Monitor/CriteriaFilterValues.js +346 -0
- package/Types/Monitor/CriteriaFilterValues.mjs +2 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.d.mts +13 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.d.ts +13 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.js +108 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.mjs +3 -0
- package/Types/Monitor/EvaluationSentence.d.mts +1 -0
- package/Types/Monitor/EvaluationSentence.d.ts +1 -0
- package/Types/Monitor/EvaluationSentence.js +34 -3
- package/Types/Monitor/EvaluationSentence.mjs +1 -0
- package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +22 -2
- package/Types/Monitor/MonitorStep.js +28 -11
- package/Types/Monitor/MonitorStepMetricMonitor.js +6 -1
- package/Types/Monitor/MonitorStepRollingTime.d.mts +12 -0
- package/Types/Monitor/MonitorStepRollingTime.d.ts +12 -0
- package/Types/Monitor/MonitorStepRollingTime.js +117 -0
- package/Types/Monitor/MonitorStepRollingTime.mjs +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
- package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +11 -0
- package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.mts +1 -0
- package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.ts +1 -0
- package/Types/Monitor/TelemetryAlertRule.js +7 -2
- package/Types/Monitor/WhoIsTold.d.mts +165 -0
- package/Types/Monitor/WhoIsTold.d.ts +165 -0
- package/Types/Monitor/WhoIsTold.js +582 -0
- package/Types/Monitor/WhoIsTold.mjs +17 -0
- package/Types/NotificationRule/NotificationRepeat.d.mts +10 -0
- package/Types/NotificationRule/NotificationRepeat.d.ts +10 -0
- package/Types/NotificationRule/NotificationRepeat.js +51 -0
- package/Types/NotificationRule/NotificationRepeat.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +70 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +70 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +276 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +12 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.mts +9 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.ts +9 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.js +44 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.mjs +5 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +574 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +52 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
- package/Types/PhoneNumberDirection.d.mts +6 -0
- package/Types/PhoneNumberDirection.d.ts +6 -0
- package/Types/PhoneNumberDirection.js +123 -0
- package/Types/PhoneNumberDirection.mjs +6 -0
- package/Types/Probe/ProbeMonitorResponse.d.mts +1 -0
- package/Types/Probe/ProbeMonitorResponse.d.ts +1 -0
- package/Types/Product/ProductKey.d.mts +58 -0
- package/Types/Product/ProductKey.d.ts +58 -0
- package/Types/Product/ProductKey.js +175 -0
- package/Types/Product/ProductKey.mjs +8 -0
- package/Types/Product/ProductPins.d.mts +10 -0
- package/Types/Product/ProductPins.d.ts +10 -0
- package/Types/Product/ProductPins.js +65 -0
- package/Types/Product/ProductPins.mjs +6 -0
- package/Types/Product/ProductUsage.d.mts +21 -0
- package/Types/Product/ProductUsage.d.ts +21 -0
- package/Types/Product/ProductUsage.js +175 -0
- package/Types/Product/ProductUsage.mjs +10 -0
- package/Types/Product/ProjectProducts.d.mts +60 -0
- package/Types/Product/ProjectProducts.d.ts +60 -0
- package/Types/Product/ProjectProducts.js +336 -0
- package/Types/Product/ProjectProducts.mjs +19 -0
- package/Types/Product/ProjectProductsAnswer.d.mts +20 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +20 -0
- package/Types/Product/ProjectProductsAnswer.js +139 -0
- package/Types/Product/ProjectProductsAnswer.mjs +7 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
- package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
- package/Types/ProductFeedback/ProductFeedback.d.mts +140 -0
- package/Types/ProductFeedback/ProductFeedback.d.ts +140 -0
- package/Types/ProductFeedback/ProductFeedback.js +517 -0
- package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
- package/Types/ReadingDirection.d.mts +4 -0
- package/Types/ReadingDirection.d.ts +4 -0
- package/Types/ReadingDirection.js +303 -26
- package/Types/ReadingDirection.mjs +4 -0
- package/Types/Recommendation/RecommendationType.d.mts +2 -1
- package/Types/Recommendation/RecommendationType.d.ts +2 -1
- package/Types/Recommendation/RecommendationType.js +6 -0
- package/Types/Reminder/ReminderInterval.d.mts +7 -0
- package/Types/Reminder/ReminderInterval.d.ts +7 -0
- package/Types/Reminder/ReminderInterval.js +110 -0
- package/Types/Reminder/ReminderInterval.mjs +8 -0
- package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
- package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
- package/Types/Retention/ResolvedRecordRetention.js +124 -0
- package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
- package/Types/RollingTime/RollingTimeUtil.d.mts +8 -0
- package/Types/RollingTime/RollingTimeUtil.d.ts +8 -0
- package/Types/RollingTime/RollingTimeUtil.js +249 -71
- package/Types/Rum/ProductAnalyticsSavedViews.d.mts +56 -0
- package/Types/Rum/ProductAnalyticsSavedViews.d.ts +56 -0
- package/Types/Rum/ProductAnalyticsSavedViews.js +219 -0
- package/Types/Rum/ProductAnalyticsSavedViews.mjs +14 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +116 -108
- package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
- package/Types/ServerSending/ServerSendingStatus.js +281 -0
- package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
- package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
- package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
- package/Types/ServerSending/ServerSendingWords.js +95 -0
- package/Types/ServerSending/ServerSendingWords.mjs +7 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
- package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
- package/Types/ServerSetup/ServerTestSend.js +160 -0
- package/Types/ServerSetup/ServerTestSend.mjs +10 -0
- package/Types/SetupHealth/SetupHealth.d.mts +283 -0
- package/Types/SetupHealth/SetupHealth.d.ts +283 -0
- package/Types/SetupHealth/SetupHealth.js +1047 -0
- package/Types/SetupHealth/SetupHealth.mjs +46 -0
- package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
- package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
- package/Types/StatusPage/StatusPageSummary.js +3 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
- package/Types/Telemetry/LlmCallKind.js +1 -1
- package/Types/Telemetry/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +6 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
- package/Types/ToolImport/ToolImportCatalog.js +54 -1
- package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
- package/Types/Translator.js +64 -31
- package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
- package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
- package/Types/UserNotification/UserNotificationEventType.js +7 -0
- package/Types/UserSession/SessionEndCause.d.mts +17 -0
- package/Types/UserSession/SessionEndCause.d.ts +17 -0
- package/Types/UserSession/SessionEndCause.js +79 -0
- package/Types/UserSession/SessionEndCause.mjs +6 -0
- package/Types/UserSession/SessionSignIn.d.mts +44 -0
- package/Types/UserSession/SessionSignIn.d.ts +44 -0
- package/Types/UserSession/SessionSignIn.js +174 -0
- package/Types/UserSession/SessionSignIn.mjs +17 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
- package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +344 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +19 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +136 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
- package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
- package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
- package/Utils/API.js +10 -0
- package/Utils/Crypto.js +10 -3
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.mts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.ts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +67 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.mjs +2 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.mts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.ts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +68 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.mjs +2 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +6 -1
- package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
- package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
- package/Utils/Markdown/InlineImageDataUri.js +17 -1
- package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +539 -0
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +4 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +2 -4
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +77 -8
- package/Utils/Monitor/ExternalStatusPageReading.mjs +3 -0
- package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
- package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
- package/Utils/Monitor/MonitorRootCauseWording.js +28 -24
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +2 -1
- package/Utils/Monitor/MonitorStepsValuesUtil.d.mts +13 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.d.ts +13 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.js +80 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.mjs +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
- package/Utils/Monitor/MonitoringOff.d.mts +20 -0
- package/Utils/Monitor/MonitoringOff.d.ts +20 -0
- package/Utils/Monitor/MonitoringOff.js +81 -0
- package/Utils/Monitor/MonitoringOff.mjs +4 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
- package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
- package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
- package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
- package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
- package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
- package/Utils/Slo/SloListWidgetFormat.js +20 -26
- package/Utils/Slo/SloOverviewText.d.mts +6 -1
- package/Utils/Slo/SloOverviewText.d.ts +6 -1
- package/Utils/Slo/SloOverviewText.js +3 -3
- package/Utils/Slo/SloProjection.d.mts +18 -0
- package/Utils/Slo/SloProjection.d.ts +18 -0
- package/Utils/Slo/SloProjection.js +53 -12
- package/Utils/Slo/SloProjection.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +18 -9
- package/Utils/Slo/SloUtil.d.ts +18 -9
- package/Utils/Slo/SloUtil.js +47 -10
- package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
- package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
- package/Utils/Slo/SloWidgetFormat.js +198 -50
- package/Utils/Slo/SloWidgetFormat.mjs +7 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
- package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
- package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.js +12 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
- package/Utils/StatusPage/ResourceExplorer.d.mts +1 -10
- package/Utils/StatusPage/ResourceExplorer.d.ts +1 -10
- package/Utils/StatusPage/ResourceExplorer.js +11 -29
- package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
- package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
- package/Utils/StatusPage/ResourceUptime.js +31 -6
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
- package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
- package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
- package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.js +49 -0
- package/Utils/Uptime/UptimeUtil.d.mts +38 -1
- package/Utils/Uptime/UptimeUtil.d.ts +38 -1
- package/Utils/Uptime/UptimeUtil.js +270 -75
- package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.js +190 -0
- package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
- package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
- package/package.json +1 -1
- package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
- package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
package/Types/Date.js
CHANGED
|
@@ -417,6 +417,31 @@ class OneUptimeDate {
|
|
|
417
417
|
});
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
|
+
/*
|
|
421
|
+
* A day with its month and its year, as a chart's axis names a day when
|
|
422
|
+
* its window holds a year or more: "02 Mar 2026" in English. In such a
|
|
423
|
+
* window "12 Nov" is two days, a year apart (XAxisUtil).
|
|
424
|
+
*
|
|
425
|
+
* In another language, as that language writes a short date with its year
|
|
426
|
+
* (Intl): "2. März 2026", "2 mars 2026", "2026年3月2日", "۲ مارس ۲۰۲۶".
|
|
427
|
+
*/
|
|
428
|
+
static getDateAsLocalDayMonthYearString(date) {
|
|
429
|
+
const instant = this.fromString(date);
|
|
430
|
+
return (0, DateLanguage_1.writeInDateDisplayLanguage)(() => {
|
|
431
|
+
const local = this.inCurrentTimezone(instant);
|
|
432
|
+
const day = this.padDatePart(local.date());
|
|
433
|
+
const month = this.getLocalShortMonthName(instant);
|
|
434
|
+
return `${day} ${month} ${local.year()}`;
|
|
435
|
+
}, (language, locale) => {
|
|
436
|
+
// "2. März 2026", "2 mars 2026", "2026年3月2日", "۲ مارس ۲۰۲۶".
|
|
437
|
+
return this.getLocalizedDateText({
|
|
438
|
+
date: instant,
|
|
439
|
+
language,
|
|
440
|
+
locale,
|
|
441
|
+
shape: { onlyShowDate: true },
|
|
442
|
+
});
|
|
443
|
+
});
|
|
444
|
+
}
|
|
420
445
|
/*
|
|
421
446
|
* The hour a chart's bucket starts at, with its day: "02 Mar, 14:00" in
|
|
422
447
|
* English.
|
|
@@ -501,11 +526,15 @@ class OneUptimeDate {
|
|
|
501
526
|
* configured timezone (falling back to the one the browser reports), and the
|
|
502
527
|
* 12- vs 24-hour choice follows the operating system's clock preference
|
|
503
528
|
* unless a caller overrides it.
|
|
529
|
+
*
|
|
530
|
+
* With `showYear`, the year too: "Mar 1, 2025, 14:30" - for a window whose
|
|
531
|
+
* ends are not both in this year (isWindowInTheCurrentYear).
|
|
504
532
|
*/
|
|
505
533
|
static getDateAsLocalShortDateTimeString(date, options) {
|
|
506
534
|
var _a;
|
|
507
535
|
date = this.fromString(date);
|
|
508
536
|
const use12HourFormat = (_a = options === null || options === void 0 ? void 0 : options.use12HourFormat) !== null && _a !== void 0 ? _a : this.getUserPrefers12HourFormat();
|
|
537
|
+
const showYear = Boolean(options === null || options === void 0 ? void 0 : options.showYear);
|
|
509
538
|
let timeFormat = use12HourFormat ? "h:mm" : "HH:mm";
|
|
510
539
|
if (options === null || options === void 0 ? void 0 : options.includeSeconds) {
|
|
511
540
|
timeFormat += ":ss";
|
|
@@ -514,16 +543,20 @@ class OneUptimeDate {
|
|
|
514
543
|
timeFormat += " A";
|
|
515
544
|
}
|
|
516
545
|
const instant = date;
|
|
546
|
+
const dateFormat = showYear ? "MMM D, YYYY" : "MMM D";
|
|
517
547
|
return (0, DateLanguage_1.writeInDateDisplayLanguage)(() => {
|
|
518
|
-
return this.inCurrentTimezone(instant).format(
|
|
548
|
+
return this.inCurrentTimezone(instant).format(`${dateFormat}, ${timeFormat}`);
|
|
519
549
|
}, (language, locale) => {
|
|
520
|
-
|
|
550
|
+
/*
|
|
551
|
+
* "1. März, 14:30", "1 mars, 14:30", "3月1日 14:30"; with the year,
|
|
552
|
+
* "1. März 2025, 14:30", "1 mars 2025, 14:30", "2025年3月1日 14:30".
|
|
553
|
+
*/
|
|
521
554
|
return this.getLocalizedDateText({
|
|
522
555
|
date: instant,
|
|
523
556
|
language,
|
|
524
557
|
locale,
|
|
525
558
|
shape: {
|
|
526
|
-
hideYear:
|
|
559
|
+
hideYear: !showYear,
|
|
527
560
|
use12HourFormat,
|
|
528
561
|
showSeconds: Boolean(options === null || options === void 0 ? void 0 : options.includeSeconds),
|
|
529
562
|
},
|
|
@@ -587,6 +620,26 @@ class OneUptimeDate {
|
|
|
587
620
|
return format ? format.format(instant) : null;
|
|
588
621
|
});
|
|
589
622
|
}
|
|
623
|
+
/*
|
|
624
|
+
* A moment's year on the reader's calendar (the configured timezone), as
|
|
625
|
+
* the reader's language writes a year alone: "2026"; "۲۰۲۶" in Persian;
|
|
626
|
+
* "2026年" in Japanese and Chinese; "2026년" in Korean. A yearly chart
|
|
627
|
+
* axis names its ticks with it, as its month ticks are named with
|
|
628
|
+
* getDateAsLocalMonthYearString ("2026年10月").
|
|
629
|
+
*/
|
|
630
|
+
static getDateAsLocalYearString(date) {
|
|
631
|
+
const instant = this.fromString(date);
|
|
632
|
+
return (0, DateLanguage_1.writeInDateDisplayLanguage)(() => {
|
|
633
|
+
return this.inCurrentTimezone(instant).year().toString();
|
|
634
|
+
}, (_language, locale) => {
|
|
635
|
+
const format = (0, DateLanguage_1.getDateTimeFormat)({
|
|
636
|
+
locale,
|
|
637
|
+
timezones: this.getCurrentTimezoneNames(),
|
|
638
|
+
options: { year: "numeric" },
|
|
639
|
+
});
|
|
640
|
+
return format ? format.format(instant) : null;
|
|
641
|
+
});
|
|
642
|
+
}
|
|
590
643
|
static getMillisecondsBetweenTwoUnixNanoDates(startDate, endDate) {
|
|
591
644
|
return endDate - startDate;
|
|
592
645
|
}
|
|
@@ -728,6 +781,22 @@ class OneUptimeDate {
|
|
|
728
781
|
};
|
|
729
782
|
return yearOf(a) === yearOf(b);
|
|
730
783
|
}
|
|
784
|
+
/**
|
|
785
|
+
* Whether both ends of a window fall in the current year, on the reader's
|
|
786
|
+
* calendar (the configured timezone, New Year included): a label of the
|
|
787
|
+
* window can then leave the year out, as the time range button does
|
|
788
|
+
* ("Mar 1, 14:30 – Mar 2, 09:00"). Otherwise it cannot: a custom range of
|
|
789
|
+
* exactly a year read "Nov 12, 9:49 AM – Nov 12, 9:49 AM", as if it were
|
|
790
|
+
* no time at all, and a range in an earlier year did not say which (issue
|
|
791
|
+
* #7124).
|
|
792
|
+
*
|
|
793
|
+
* "The current year" is the one `now` is in: now, unless a caller says.
|
|
794
|
+
*/
|
|
795
|
+
static isWindowInTheCurrentYear(data) {
|
|
796
|
+
const now = data.now || this.getCurrentDate();
|
|
797
|
+
return (this.isSameYearInTimezone(data.start, now) &&
|
|
798
|
+
this.isSameYearInTimezone(data.end, now));
|
|
799
|
+
}
|
|
731
800
|
/*
|
|
732
801
|
* Format an instant with an explicit moment format string, resolved in an
|
|
733
802
|
* IANA timezone. The formatted-string helpers above each bake in a layout;
|
package/Types/DateLanguage.d.mts
CHANGED
|
@@ -11,6 +11,13 @@ export declare const getDateLocale: (language: string | null | undefined) => str
|
|
|
11
11
|
export declare const getReaderNumberLocale: () => string;
|
|
12
12
|
export declare const getReaderDateLocale: () => string;
|
|
13
13
|
export declare const formatReaderNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
14
|
+
export interface ReaderFigureOptions {
|
|
15
|
+
decimals: number;
|
|
16
|
+
dropTrailingZeros?: boolean | undefined;
|
|
17
|
+
isPercent?: boolean | undefined;
|
|
18
|
+
language?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export declare const formatReaderFigure: (value: number, options: ReaderFigureOptions) => string;
|
|
14
21
|
export declare const MAX_REMEMBERED_DATE_TEXTS: number;
|
|
15
22
|
export declare const rememberEnglishOf: (localized: string, english: () => string) => void;
|
|
16
23
|
export declare const getEnglishOf: (text: string) => string | undefined;
|
package/Types/DateLanguage.d.ts
CHANGED
|
@@ -11,6 +11,13 @@ export declare const getDateLocale: (language: string | null | undefined) => str
|
|
|
11
11
|
export declare const getReaderNumberLocale: () => string;
|
|
12
12
|
export declare const getReaderDateLocale: () => string;
|
|
13
13
|
export declare const formatReaderNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
14
|
+
export interface ReaderFigureOptions {
|
|
15
|
+
decimals: number;
|
|
16
|
+
dropTrailingZeros?: boolean | undefined;
|
|
17
|
+
isPercent?: boolean | undefined;
|
|
18
|
+
language?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export declare const formatReaderFigure: (value: number, options: ReaderFigureOptions) => string;
|
|
14
21
|
export declare const MAX_REMEMBERED_DATE_TEXTS: number;
|
|
15
22
|
export declare const rememberEnglishOf: (localized: string, english: () => string) => void;
|
|
16
23
|
export declare const getEnglishOf: (text: string) => string | undefined;
|
package/Types/DateLanguage.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.writeDigitsInLocale = exports.getDigitsOf = exports.formatDecimal = exports.formatDurationText = exports.formatDurationUnit = exports.formatRelativeAmount = exports.formatRelativeDate = exports.getRelativeDistance = exports.formatDateText = exports.getDateTimeOptions = exports.getDateTimeFormat = exports.writeInDateDisplayLanguage = exports.forgetRememberedDateTexts = exports.getEnglishOf = exports.rememberEnglishOf = exports.MAX_REMEMBERED_DATE_TEXTS = exports.formatReaderNumber = exports.getReaderDateLocale = exports.getReaderNumberLocale = exports.getDateLocale = exports.getNumberLocale = exports.writesLatinDigits = exports.LATIN_DIGIT_LANGUAGES = exports.setDateDisplayLanguage = exports.getDateDisplayLanguage = exports.isEnglishDateLanguage = exports.ENGLISH_DATE_LANGUAGE = void 0;
|
|
36
|
+
exports.writeDigitsInLocale = exports.getDigitsOf = exports.formatDecimal = exports.formatDurationText = exports.formatDurationUnit = exports.formatRelativeAmount = exports.formatRelativeDate = exports.getRelativeDistance = exports.formatDateText = exports.getDateTimeOptions = exports.getDateTimeFormat = exports.writeInDateDisplayLanguage = exports.forgetRememberedDateTexts = exports.getEnglishOf = exports.rememberEnglishOf = exports.MAX_REMEMBERED_DATE_TEXTS = exports.formatReaderFigure = exports.formatReaderNumber = exports.getReaderDateLocale = exports.getReaderNumberLocale = exports.getDateLocale = exports.getNumberLocale = exports.writesLatinDigits = exports.LATIN_DIGIT_LANGUAGES = exports.setDateDisplayLanguage = exports.getDateDisplayLanguage = exports.isEnglishDateLanguage = exports.ENGLISH_DATE_LANGUAGE = void 0;
|
|
37
37
|
exports.withDateDisplayLanguage = withDateDisplayLanguage;
|
|
38
38
|
exports.inEnglishDates = inEnglishDates;
|
|
39
39
|
const moment_timezone_1 = __importDefault(require("moment-timezone"));
|
|
@@ -235,6 +235,49 @@ const formatReaderNumber = (value, options) => {
|
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
exports.formatReaderNumber = formatReaderNumber;
|
|
238
|
+
const figureFormatCache = new Map();
|
|
239
|
+
const getFigureFormat = (language, options) => {
|
|
240
|
+
const key = [
|
|
241
|
+
language,
|
|
242
|
+
options.decimals,
|
|
243
|
+
options.dropTrailingZeros ? "drop" : "keep",
|
|
244
|
+
options.isPercent ? "percent" : "decimal",
|
|
245
|
+
].join("|");
|
|
246
|
+
if (!figureFormatCache.has(key)) {
|
|
247
|
+
let format = null;
|
|
248
|
+
try {
|
|
249
|
+
format = new Intl.NumberFormat((0, exports.getNumberLocale)(language), {
|
|
250
|
+
style: options.isPercent ? "percent" : "decimal",
|
|
251
|
+
minimumFractionDigits: options.dropTrailingZeros ? 0 : options.decimals,
|
|
252
|
+
maximumFractionDigits: options.decimals,
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
catch (_a) {
|
|
256
|
+
format = null;
|
|
257
|
+
}
|
|
258
|
+
figureFormatCache.set(key, format);
|
|
259
|
+
}
|
|
260
|
+
return figureFormatCache.get(key) || null;
|
|
261
|
+
};
|
|
262
|
+
const formatReaderFigure = (value, options) => {
|
|
263
|
+
const decimals = Math.max(0, Math.min(20, Math.floor(options.decimals)));
|
|
264
|
+
const fixed = value.toFixed(decimals);
|
|
265
|
+
const english = `${options.dropTrailingZeros ? Number(fixed).toString() : fixed}${options.isPercent ? "%" : ""}`;
|
|
266
|
+
const language = normalizeLanguage(options.language === undefined
|
|
267
|
+
? (0, exports.getDateDisplayLanguage)()
|
|
268
|
+
: options.language);
|
|
269
|
+
if ((0, exports.isEnglishDateLanguage)(language) || !Number.isFinite(value)) {
|
|
270
|
+
return english;
|
|
271
|
+
}
|
|
272
|
+
const format = getFigureFormat(language, Object.assign(Object.assign({}, options), { decimals: decimals }));
|
|
273
|
+
if (!format) {
|
|
274
|
+
return english;
|
|
275
|
+
}
|
|
276
|
+
// Rounded once, as toFixed rounds it, so every language says the same figure.
|
|
277
|
+
const rounded = Number(fixed);
|
|
278
|
+
return format.format(options.isPercent ? rounded / 100 : rounded);
|
|
279
|
+
};
|
|
280
|
+
exports.formatReaderFigure = formatReaderFigure;
|
|
238
281
|
/*
|
|
239
282
|
* THE ENGLISH OF A DATE WRITTEN IN ANOTHER LANGUAGE.
|
|
240
283
|
*
|
package/Types/DateLanguage.mjs
CHANGED
|
@@ -7,6 +7,7 @@ export const formatDateText = commonJsModule.formatDateText;
|
|
|
7
7
|
export const formatDecimal = commonJsModule.formatDecimal;
|
|
8
8
|
export const formatDurationText = commonJsModule.formatDurationText;
|
|
9
9
|
export const formatDurationUnit = commonJsModule.formatDurationUnit;
|
|
10
|
+
export const formatReaderFigure = commonJsModule.formatReaderFigure;
|
|
10
11
|
export const formatReaderNumber = commonJsModule.formatReaderNumber;
|
|
11
12
|
export const formatRelativeAmount = commonJsModule.formatRelativeAmount;
|
|
12
13
|
export const formatRelativeDate = commonJsModule.formatRelativeDate;
|
|
@@ -10,3 +10,5 @@ export declare const SUPPORTED_DOCS_LANGUAGES: Array<DocsLanguage>;
|
|
|
10
10
|
export declare const SUPPORTED_DOCS_LANGUAGE_CODES: Array<string>;
|
|
11
11
|
export declare const isSupportedDocsLanguage: (code: string) => boolean;
|
|
12
12
|
export declare const getDocsLanguageDirection: (code: string) => DocsLanguageDirection;
|
|
13
|
+
export declare const getDocsLanguageFor: (language?: string | undefined) => string;
|
|
14
|
+
export declare const getDocsPagePath: (page: string, language?: string | undefined) => string;
|
|
@@ -10,3 +10,5 @@ export declare const SUPPORTED_DOCS_LANGUAGES: Array<DocsLanguage>;
|
|
|
10
10
|
export declare const SUPPORTED_DOCS_LANGUAGE_CODES: Array<string>;
|
|
11
11
|
export declare const isSupportedDocsLanguage: (code: string) => boolean;
|
|
12
12
|
export declare const getDocsLanguageDirection: (code: string) => DocsLanguageDirection;
|
|
13
|
+
export declare const getDocsLanguageFor: (language?: string | undefined) => string;
|
|
14
|
+
export declare const getDocsPagePath: (page: string, language?: string | undefined) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getDocsLanguageDirection = exports.isSupportedDocsLanguage = exports.SUPPORTED_DOCS_LANGUAGE_CODES = exports.SUPPORTED_DOCS_LANGUAGES = exports.DEFAULT_DOCS_LANGUAGE = void 0;
|
|
3
|
+
exports.getDocsPagePath = exports.getDocsLanguageFor = exports.getDocsLanguageDirection = exports.isSupportedDocsLanguage = exports.SUPPORTED_DOCS_LANGUAGE_CODES = exports.SUPPORTED_DOCS_LANGUAGES = exports.DEFAULT_DOCS_LANGUAGE = void 0;
|
|
4
4
|
exports.DEFAULT_DOCS_LANGUAGE = "en";
|
|
5
5
|
exports.SUPPORTED_DOCS_LANGUAGES = [
|
|
6
6
|
{
|
|
@@ -104,3 +104,25 @@ const getDocsLanguageDirection = (code) => {
|
|
|
104
104
|
return language ? language.direction : "ltr";
|
|
105
105
|
};
|
|
106
106
|
exports.getDocsLanguageDirection = getDocsLanguageDirection;
|
|
107
|
+
/*
|
|
108
|
+
* The docs language for a reader's language: the same code when the docs
|
|
109
|
+
* are written in it ("de", "zh-CN"), else English. A code is matched as it
|
|
110
|
+
* is written, so a Dashboard language the docs have no copy in (Arabic)
|
|
111
|
+
* reads the English docs.
|
|
112
|
+
*/
|
|
113
|
+
const getDocsLanguageFor = (language) => {
|
|
114
|
+
return language && (0, exports.isSupportedDocsLanguage)(language)
|
|
115
|
+
? language
|
|
116
|
+
: exports.DEFAULT_DOCS_LANGUAGE;
|
|
117
|
+
};
|
|
118
|
+
exports.getDocsLanguageFor = getDocsLanguageFor;
|
|
119
|
+
/*
|
|
120
|
+
* A docs page's address in the reader's language, from its address under
|
|
121
|
+
* /docs/<lang>/: getDocsPagePath("introduction/quickstart", "de") is
|
|
122
|
+
* "/docs/de/introduction/quickstart". The product opens the docs in the
|
|
123
|
+
* language the reader picked in it, not the one their browser asks for.
|
|
124
|
+
*/
|
|
125
|
+
const getDocsPagePath = (page, language) => {
|
|
126
|
+
return `/docs/${(0, exports.getDocsLanguageFor)(language)}/${page}`;
|
|
127
|
+
};
|
|
128
|
+
exports.getDocsPagePath = getDocsPagePath;
|
|
@@ -3,4 +3,6 @@ export const DEFAULT_DOCS_LANGUAGE = commonJsModule.DEFAULT_DOCS_LANGUAGE;
|
|
|
3
3
|
export const SUPPORTED_DOCS_LANGUAGES = commonJsModule.SUPPORTED_DOCS_LANGUAGES;
|
|
4
4
|
export const SUPPORTED_DOCS_LANGUAGE_CODES = commonJsModule.SUPPORTED_DOCS_LANGUAGE_CODES;
|
|
5
5
|
export const getDocsLanguageDirection = commonJsModule.getDocsLanguageDirection;
|
|
6
|
+
export const getDocsLanguageFor = commonJsModule.getDocsLanguageFor;
|
|
7
|
+
export const getDocsPagePath = commonJsModule.getDocsPagePath;
|
|
6
8
|
export const isSupportedDocsLanguage = commonJsModule.isSupportedDocsLanguage;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare enum GlossaryTerm {
|
|
2
|
+
Project = "project",
|
|
3
|
+
Account = "account",
|
|
4
|
+
Team = "team",
|
|
5
|
+
Monitor = "monitor",
|
|
6
|
+
Criteria = "criteria",
|
|
7
|
+
MonitorStatus = "monitor-status",
|
|
8
|
+
Probe = "probe",
|
|
9
|
+
Incident = "incident",
|
|
10
|
+
Alert = "alert",
|
|
11
|
+
Episode = "episode",
|
|
12
|
+
OnCallPolicy = "on-call-policy",
|
|
13
|
+
EscalationRule = "escalation-rule",
|
|
14
|
+
OnCallSchedule = "on-call-schedule",
|
|
15
|
+
Layer = "layer",
|
|
16
|
+
NotificationMethod = "notification-method",
|
|
17
|
+
StatusPage = "status-page",
|
|
18
|
+
Subscriber = "subscriber",
|
|
19
|
+
ScheduledMaintenance = "scheduled-maintenance",
|
|
20
|
+
Telemetry = "telemetry",
|
|
21
|
+
MonitorGroup = "monitor-group",
|
|
22
|
+
Service = "service",
|
|
23
|
+
Host = "host",
|
|
24
|
+
Kubernetes = "kubernetes",
|
|
25
|
+
Infrastructure = "infrastructure",
|
|
26
|
+
Network = "network",
|
|
27
|
+
Cloud = "cloud",
|
|
28
|
+
AppPlatforms = "app-platforms",
|
|
29
|
+
Serverless = "serverless",
|
|
30
|
+
Databases = "databases",
|
|
31
|
+
Queues = "queues",
|
|
32
|
+
RealUserMonitoring = "real-user-monitoring",
|
|
33
|
+
Inventory = "inventory",
|
|
34
|
+
Topology = "topology",
|
|
35
|
+
SLO = "slo",
|
|
36
|
+
ErrorBudget = "error-budget",
|
|
37
|
+
State = "state",
|
|
38
|
+
Severity = "severity",
|
|
39
|
+
Owner = "owner",
|
|
40
|
+
Label = "label",
|
|
41
|
+
Exception = "exception",
|
|
42
|
+
AIInsights = "ai-insights",
|
|
43
|
+
SecurityEvents = "security-events",
|
|
44
|
+
SecurityCase = "security-case",
|
|
45
|
+
Logs = "logs",
|
|
46
|
+
Metrics = "metrics",
|
|
47
|
+
Traces = "traces",
|
|
48
|
+
Profiles = "profiles",
|
|
49
|
+
AILLM = "ai-llm",
|
|
50
|
+
DataObservability = "data-observability",
|
|
51
|
+
DataSecurity = "data-security",
|
|
52
|
+
Dashboard = "dashboard",
|
|
53
|
+
PublicDashboard = "public-dashboard",
|
|
54
|
+
Workflow = "workflow",
|
|
55
|
+
Runbook = "runbook",
|
|
56
|
+
Playbook = "playbook",
|
|
57
|
+
AIRule = "ai-rule",
|
|
58
|
+
OneUptimeAI = "oneuptime-ai",
|
|
59
|
+
AskAI = "ask-ai",
|
|
60
|
+
Code = "code",
|
|
61
|
+
Form = "form",
|
|
62
|
+
InfrastructureAgent = "infrastructure-agent",
|
|
63
|
+
KubernetesAgent = "kubernetes-agent",
|
|
64
|
+
OpenTelemetryCollector = "opentelemetry-collector",
|
|
65
|
+
Runner = "runner",
|
|
66
|
+
IngestionKey = "ingestion-key",
|
|
67
|
+
APIKey = "api-key",
|
|
68
|
+
Rule = "rule",
|
|
69
|
+
Role = "role",
|
|
70
|
+
Resource = "resource",
|
|
71
|
+
Settings = "settings",
|
|
72
|
+
Policy = "policy",
|
|
73
|
+
Template = "template",
|
|
74
|
+
Workspace = "workspace",
|
|
75
|
+
Agent = "agent",
|
|
76
|
+
OnCallRules = "on-call-rules",
|
|
77
|
+
NotificationSettings = "notification-settings"
|
|
78
|
+
}
|
|
79
|
+
export default GlossaryTerm;
|
|
80
|
+
export declare const GLOSSARY_DOCS_PAGE: string;
|
|
81
|
+
export declare const getGlossaryTermPath: (term: GlossaryTerm, language?: string | undefined) => string;
|
|
82
|
+
export declare const ALL_GLOSSARY_TERMS: ReadonlyArray<GlossaryTerm>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare enum GlossaryTerm {
|
|
2
|
+
Project = "project",
|
|
3
|
+
Account = "account",
|
|
4
|
+
Team = "team",
|
|
5
|
+
Monitor = "monitor",
|
|
6
|
+
Criteria = "criteria",
|
|
7
|
+
MonitorStatus = "monitor-status",
|
|
8
|
+
Probe = "probe",
|
|
9
|
+
Incident = "incident",
|
|
10
|
+
Alert = "alert",
|
|
11
|
+
Episode = "episode",
|
|
12
|
+
OnCallPolicy = "on-call-policy",
|
|
13
|
+
EscalationRule = "escalation-rule",
|
|
14
|
+
OnCallSchedule = "on-call-schedule",
|
|
15
|
+
Layer = "layer",
|
|
16
|
+
NotificationMethod = "notification-method",
|
|
17
|
+
StatusPage = "status-page",
|
|
18
|
+
Subscriber = "subscriber",
|
|
19
|
+
ScheduledMaintenance = "scheduled-maintenance",
|
|
20
|
+
Telemetry = "telemetry",
|
|
21
|
+
MonitorGroup = "monitor-group",
|
|
22
|
+
Service = "service",
|
|
23
|
+
Host = "host",
|
|
24
|
+
Kubernetes = "kubernetes",
|
|
25
|
+
Infrastructure = "infrastructure",
|
|
26
|
+
Network = "network",
|
|
27
|
+
Cloud = "cloud",
|
|
28
|
+
AppPlatforms = "app-platforms",
|
|
29
|
+
Serverless = "serverless",
|
|
30
|
+
Databases = "databases",
|
|
31
|
+
Queues = "queues",
|
|
32
|
+
RealUserMonitoring = "real-user-monitoring",
|
|
33
|
+
Inventory = "inventory",
|
|
34
|
+
Topology = "topology",
|
|
35
|
+
SLO = "slo",
|
|
36
|
+
ErrorBudget = "error-budget",
|
|
37
|
+
State = "state",
|
|
38
|
+
Severity = "severity",
|
|
39
|
+
Owner = "owner",
|
|
40
|
+
Label = "label",
|
|
41
|
+
Exception = "exception",
|
|
42
|
+
AIInsights = "ai-insights",
|
|
43
|
+
SecurityEvents = "security-events",
|
|
44
|
+
SecurityCase = "security-case",
|
|
45
|
+
Logs = "logs",
|
|
46
|
+
Metrics = "metrics",
|
|
47
|
+
Traces = "traces",
|
|
48
|
+
Profiles = "profiles",
|
|
49
|
+
AILLM = "ai-llm",
|
|
50
|
+
DataObservability = "data-observability",
|
|
51
|
+
DataSecurity = "data-security",
|
|
52
|
+
Dashboard = "dashboard",
|
|
53
|
+
PublicDashboard = "public-dashboard",
|
|
54
|
+
Workflow = "workflow",
|
|
55
|
+
Runbook = "runbook",
|
|
56
|
+
Playbook = "playbook",
|
|
57
|
+
AIRule = "ai-rule",
|
|
58
|
+
OneUptimeAI = "oneuptime-ai",
|
|
59
|
+
AskAI = "ask-ai",
|
|
60
|
+
Code = "code",
|
|
61
|
+
Form = "form",
|
|
62
|
+
InfrastructureAgent = "infrastructure-agent",
|
|
63
|
+
KubernetesAgent = "kubernetes-agent",
|
|
64
|
+
OpenTelemetryCollector = "opentelemetry-collector",
|
|
65
|
+
Runner = "runner",
|
|
66
|
+
IngestionKey = "ingestion-key",
|
|
67
|
+
APIKey = "api-key",
|
|
68
|
+
Rule = "rule",
|
|
69
|
+
Role = "role",
|
|
70
|
+
Resource = "resource",
|
|
71
|
+
Settings = "settings",
|
|
72
|
+
Policy = "policy",
|
|
73
|
+
Template = "template",
|
|
74
|
+
Workspace = "workspace",
|
|
75
|
+
Agent = "agent",
|
|
76
|
+
OnCallRules = "on-call-rules",
|
|
77
|
+
NotificationSettings = "notification-settings"
|
|
78
|
+
}
|
|
79
|
+
export default GlossaryTerm;
|
|
80
|
+
export declare const GLOSSARY_DOCS_PAGE: string;
|
|
81
|
+
export declare const getGlossaryTermPath: (term: GlossaryTerm, language?: string | undefined) => string;
|
|
82
|
+
export declare const ALL_GLOSSARY_TERMS: ReadonlyArray<GlossaryTerm>;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ALL_GLOSSARY_TERMS = exports.getGlossaryTermPath = exports.GLOSSARY_DOCS_PAGE = void 0;
|
|
4
|
+
const DocsLanguage_1 = require("./DocsLanguage");
|
|
5
|
+
/*
|
|
6
|
+
* The terms of the docs' Glossary (/docs/<lang>/introduction/glossary), by
|
|
7
|
+
* the anchor each one answers in every language.
|
|
8
|
+
*
|
|
9
|
+
* A term's anchor is its English heading's ("### On-Call Policy" is
|
|
10
|
+
* #on-call-policy). A translated Glossary keeps the English page's shape,
|
|
11
|
+
* and the docs give each translated heading its English anchor too, so
|
|
12
|
+
* /docs/de/introduction/glossary#on-call-policy opens the German page at
|
|
13
|
+
* that term. Link to a term with getGlossaryTermPath, never by spelling the
|
|
14
|
+
* address out, so a term that leaves the page fails to compile.
|
|
15
|
+
*
|
|
16
|
+
* The docs suite GlossaryDocs holds the page to this list in every
|
|
17
|
+
* language: each value is the anchor of one term heading, in this order.
|
|
18
|
+
* Renaming a term's English heading changes its anchor and fails it. Keep
|
|
19
|
+
* the heading (a new name goes under "Also called"), or change the value
|
|
20
|
+
* here and every link to it in the same change.
|
|
21
|
+
*
|
|
22
|
+
* The same entries, with their definitions and other names in each
|
|
23
|
+
* language, are served as JSON by the docs' glossary route, one file per
|
|
24
|
+
* language (App/FeatureSet/Docs/Utils/Glossary.ts).
|
|
25
|
+
*/
|
|
26
|
+
var GlossaryTerm;
|
|
27
|
+
(function (GlossaryTerm) {
|
|
28
|
+
// Start here
|
|
29
|
+
GlossaryTerm["Project"] = "project";
|
|
30
|
+
GlossaryTerm["Account"] = "account";
|
|
31
|
+
GlossaryTerm["Team"] = "team";
|
|
32
|
+
GlossaryTerm["Monitor"] = "monitor";
|
|
33
|
+
GlossaryTerm["Criteria"] = "criteria";
|
|
34
|
+
GlossaryTerm["MonitorStatus"] = "monitor-status";
|
|
35
|
+
GlossaryTerm["Probe"] = "probe";
|
|
36
|
+
GlossaryTerm["Incident"] = "incident";
|
|
37
|
+
GlossaryTerm["Alert"] = "alert";
|
|
38
|
+
GlossaryTerm["Episode"] = "episode";
|
|
39
|
+
GlossaryTerm["OnCallPolicy"] = "on-call-policy";
|
|
40
|
+
GlossaryTerm["EscalationRule"] = "escalation-rule";
|
|
41
|
+
GlossaryTerm["OnCallSchedule"] = "on-call-schedule";
|
|
42
|
+
GlossaryTerm["Layer"] = "layer";
|
|
43
|
+
GlossaryTerm["NotificationMethod"] = "notification-method";
|
|
44
|
+
GlossaryTerm["StatusPage"] = "status-page";
|
|
45
|
+
GlossaryTerm["Subscriber"] = "subscriber";
|
|
46
|
+
GlossaryTerm["ScheduledMaintenance"] = "scheduled-maintenance";
|
|
47
|
+
GlossaryTerm["Telemetry"] = "telemetry";
|
|
48
|
+
// What you watch
|
|
49
|
+
GlossaryTerm["MonitorGroup"] = "monitor-group";
|
|
50
|
+
GlossaryTerm["Service"] = "service";
|
|
51
|
+
GlossaryTerm["Host"] = "host";
|
|
52
|
+
GlossaryTerm["Kubernetes"] = "kubernetes";
|
|
53
|
+
GlossaryTerm["Infrastructure"] = "infrastructure";
|
|
54
|
+
GlossaryTerm["Network"] = "network";
|
|
55
|
+
GlossaryTerm["Cloud"] = "cloud";
|
|
56
|
+
GlossaryTerm["AppPlatforms"] = "app-platforms";
|
|
57
|
+
GlossaryTerm["Serverless"] = "serverless";
|
|
58
|
+
GlossaryTerm["Databases"] = "databases";
|
|
59
|
+
GlossaryTerm["Queues"] = "queues";
|
|
60
|
+
GlossaryTerm["RealUserMonitoring"] = "real-user-monitoring";
|
|
61
|
+
GlossaryTerm["Inventory"] = "inventory";
|
|
62
|
+
GlossaryTerm["Topology"] = "topology";
|
|
63
|
+
GlossaryTerm["SLO"] = "slo";
|
|
64
|
+
GlossaryTerm["ErrorBudget"] = "error-budget";
|
|
65
|
+
// Working on a problem
|
|
66
|
+
GlossaryTerm["State"] = "state";
|
|
67
|
+
GlossaryTerm["Severity"] = "severity";
|
|
68
|
+
GlossaryTerm["Owner"] = "owner";
|
|
69
|
+
GlossaryTerm["Label"] = "label";
|
|
70
|
+
GlossaryTerm["Exception"] = "exception";
|
|
71
|
+
GlossaryTerm["AIInsights"] = "ai-insights";
|
|
72
|
+
GlossaryTerm["SecurityEvents"] = "security-events";
|
|
73
|
+
GlossaryTerm["SecurityCase"] = "security-case";
|
|
74
|
+
// Telemetry and dashboards
|
|
75
|
+
GlossaryTerm["Logs"] = "logs";
|
|
76
|
+
GlossaryTerm["Metrics"] = "metrics";
|
|
77
|
+
GlossaryTerm["Traces"] = "traces";
|
|
78
|
+
GlossaryTerm["Profiles"] = "profiles";
|
|
79
|
+
GlossaryTerm["AILLM"] = "ai-llm";
|
|
80
|
+
GlossaryTerm["DataObservability"] = "data-observability";
|
|
81
|
+
GlossaryTerm["DataSecurity"] = "data-security";
|
|
82
|
+
GlossaryTerm["Dashboard"] = "dashboard";
|
|
83
|
+
GlossaryTerm["PublicDashboard"] = "public-dashboard";
|
|
84
|
+
// Automation and AI
|
|
85
|
+
GlossaryTerm["Workflow"] = "workflow";
|
|
86
|
+
GlossaryTerm["Runbook"] = "runbook";
|
|
87
|
+
GlossaryTerm["Playbook"] = "playbook";
|
|
88
|
+
GlossaryTerm["AIRule"] = "ai-rule";
|
|
89
|
+
GlossaryTerm["OneUptimeAI"] = "oneuptime-ai";
|
|
90
|
+
GlossaryTerm["AskAI"] = "ask-ai";
|
|
91
|
+
GlossaryTerm["Code"] = "code";
|
|
92
|
+
GlossaryTerm["Form"] = "form";
|
|
93
|
+
// What you install, and the keys
|
|
94
|
+
GlossaryTerm["InfrastructureAgent"] = "infrastructure-agent";
|
|
95
|
+
GlossaryTerm["KubernetesAgent"] = "kubernetes-agent";
|
|
96
|
+
GlossaryTerm["OpenTelemetryCollector"] = "opentelemetry-collector";
|
|
97
|
+
GlossaryTerm["Runner"] = "runner";
|
|
98
|
+
GlossaryTerm["IngestionKey"] = "ingestion-key";
|
|
99
|
+
GlossaryTerm["APIKey"] = "api-key";
|
|
100
|
+
// Words with more than one meaning
|
|
101
|
+
GlossaryTerm["Rule"] = "rule";
|
|
102
|
+
GlossaryTerm["Role"] = "role";
|
|
103
|
+
GlossaryTerm["Resource"] = "resource";
|
|
104
|
+
GlossaryTerm["Settings"] = "settings";
|
|
105
|
+
GlossaryTerm["Policy"] = "policy";
|
|
106
|
+
GlossaryTerm["Template"] = "template";
|
|
107
|
+
GlossaryTerm["Workspace"] = "workspace";
|
|
108
|
+
GlossaryTerm["Agent"] = "agent";
|
|
109
|
+
GlossaryTerm["OnCallRules"] = "on-call-rules";
|
|
110
|
+
GlossaryTerm["NotificationSettings"] = "notification-settings";
|
|
111
|
+
})(GlossaryTerm || (GlossaryTerm = {}));
|
|
112
|
+
exports.default = GlossaryTerm;
|
|
113
|
+
// The Glossary's address, under /docs/<lang>/.
|
|
114
|
+
exports.GLOSSARY_DOCS_PAGE = "introduction/glossary";
|
|
115
|
+
/*
|
|
116
|
+
* The docs address of a term, in the reader's language when the docs are
|
|
117
|
+
* written in it, else in English: "/docs/de/introduction/glossary#monitor".
|
|
118
|
+
* A language is a docs language code ("de", "zh-CN"); a Dashboard language
|
|
119
|
+
* the docs have no copy in (Arabic) opens the English page.
|
|
120
|
+
*/
|
|
121
|
+
const getGlossaryTermPath = (term, language) => {
|
|
122
|
+
return `${(0, DocsLanguage_1.getDocsPagePath)(exports.GLOSSARY_DOCS_PAGE, language)}#${term}`;
|
|
123
|
+
};
|
|
124
|
+
exports.getGlossaryTermPath = getGlossaryTermPath;
|
|
125
|
+
// Every term, in the Glossary's order.
|
|
126
|
+
exports.ALL_GLOSSARY_TERMS = Object.values(GlossaryTerm);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import commonJsModule from "./GlossaryTerm.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const ALL_GLOSSARY_TERMS = commonJsModule.ALL_GLOSSARY_TERMS;
|
|
4
|
+
export const GLOSSARY_DOCS_PAGE = commonJsModule.GLOSSARY_DOCS_PAGE;
|
|
5
|
+
export const getGlossaryTermPath = commonJsModule.getGlossaryTermPath;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How OneUptime signs in to Amazon SES.
|
|
3
|
+
*
|
|
4
|
+
* - AccessKey: an IAM user's access key - an Access Key ID and a Secret
|
|
5
|
+
* Access Key, stored encrypted. What every config signed in with before
|
|
6
|
+
* there was a choice, and still the only way for a project's config.
|
|
7
|
+
* - ServerIamRole: the IAM role AWS gives the server itself - IAM roles for
|
|
8
|
+
* service accounts or EKS Pod Identity on Amazon EKS, a task role on
|
|
9
|
+
* Amazon ECS, an instance profile on Amazon EC2 - found the way every AWS
|
|
10
|
+
* SDK finds it (Common/Server/Utils/Aws/AwsDefaultCredentialChain). No key
|
|
11
|
+
* is stored, and every credential is short-lived (#7000). Only the
|
|
12
|
+
* server's own email settings (Admin Dashboard > Settings > Emails) may
|
|
13
|
+
* sign in this way: the role is the server's, not a project's.
|
|
14
|
+
*
|
|
15
|
+
* The values are what the API stores.
|
|
16
|
+
*/
|
|
17
|
+
declare enum AmazonSesAuthenticationType {
|
|
18
|
+
AccessKey = "Access Key",
|
|
19
|
+
ServerIamRole = "Server IAM Role"
|
|
20
|
+
}
|
|
21
|
+
export default AmazonSesAuthenticationType;
|
|
22
|
+
export declare function isAmazonSesAuthenticationType(value: unknown): value is AmazonSesAuthenticationType;
|
|
23
|
+
export declare function toAmazonSesAuthenticationType(value: unknown): AmazonSesAuthenticationType;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How OneUptime signs in to Amazon SES.
|
|
3
|
+
*
|
|
4
|
+
* - AccessKey: an IAM user's access key - an Access Key ID and a Secret
|
|
5
|
+
* Access Key, stored encrypted. What every config signed in with before
|
|
6
|
+
* there was a choice, and still the only way for a project's config.
|
|
7
|
+
* - ServerIamRole: the IAM role AWS gives the server itself - IAM roles for
|
|
8
|
+
* service accounts or EKS Pod Identity on Amazon EKS, a task role on
|
|
9
|
+
* Amazon ECS, an instance profile on Amazon EC2 - found the way every AWS
|
|
10
|
+
* SDK finds it (Common/Server/Utils/Aws/AwsDefaultCredentialChain). No key
|
|
11
|
+
* is stored, and every credential is short-lived (#7000). Only the
|
|
12
|
+
* server's own email settings (Admin Dashboard > Settings > Emails) may
|
|
13
|
+
* sign in this way: the role is the server's, not a project's.
|
|
14
|
+
*
|
|
15
|
+
* The values are what the API stores.
|
|
16
|
+
*/
|
|
17
|
+
declare enum AmazonSesAuthenticationType {
|
|
18
|
+
AccessKey = "Access Key",
|
|
19
|
+
ServerIamRole = "Server IAM Role"
|
|
20
|
+
}
|
|
21
|
+
export default AmazonSesAuthenticationType;
|
|
22
|
+
export declare function isAmazonSesAuthenticationType(value: unknown): value is AmazonSesAuthenticationType;
|
|
23
|
+
export declare function toAmazonSesAuthenticationType(value: unknown): AmazonSesAuthenticationType;
|