@oneuptime/common 14.0.108 → 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/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 +7 -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/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/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -0
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +2 -1
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +2 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -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 +19 -1
- package/Types/AI/AIChatTypes.d.ts +19 -1
- package/Types/AI/AIChatTypes.js +44 -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/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/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/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 +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
- package/Types/DataObservability/DataTableLineage.d.mts +7 -0
- package/Types/DataObservability/DataTableLineage.d.ts +7 -0
- package/Types/DataObservability/DataTableLineage.js +15 -3
- package/Types/DataObservability/DataTableLineage.mjs +1 -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/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 +2 -0
- package/Types/Monitor/CriteriaFilterValues.d.ts +2 -0
- package/Types/Monitor/CriteriaFilterValues.js +22 -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/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/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/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/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/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 +2 -0
- package/Types/ReadingDirection.d.ts +2 -0
- package/Types/ReadingDirection.js +83 -2
- package/Types/ReadingDirection.mjs +2 -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 +1 -0
- package/Types/RollingTime/RollingTimeUtil.d.ts +1 -0
- package/Types/RollingTime/RollingTimeUtil.js +9 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +108 -101
- 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/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/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/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/MonitorStatusHistoryUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -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/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 -0
- package/Utils/StatusPage/ResourceExplorer.d.ts +1 -0
- package/Utils/StatusPage/ResourceExplorer.js +11 -1
- 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
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.describeDnsRecordCheckInEnglish = exports.describeDnsRecordCheck = exports.DnsRecordCheckWords = exports.DNS_RECORD_STATUS = void 0;
|
|
4
|
+
const DnsRecordCheck_1 = require("./DnsRecordCheck");
|
|
5
|
+
const Translator_1 = require("../Translator");
|
|
6
|
+
// The status beside each record, one or two words.
|
|
7
|
+
exports.DNS_RECORD_STATUS = {
|
|
8
|
+
[DnsRecordCheck_1.DnsRecordCheckOutcome.Found]: (0, Translator_1.translationKey)("Found"),
|
|
9
|
+
[DnsRecordCheck_1.DnsRecordCheckOutcome.WrongValue]: (0, Translator_1.translationKey)("Wrong value"),
|
|
10
|
+
[DnsRecordCheck_1.DnsRecordCheckOutcome.NotFound]: (0, Translator_1.translationKey)("Not found yet"),
|
|
11
|
+
[DnsRecordCheck_1.DnsRecordCheckOutcome.NameNotFound]: (0, Translator_1.translationKey)("Not found yet"),
|
|
12
|
+
[DnsRecordCheck_1.DnsRecordCheckOutcome.LookupFailed]: (0, Translator_1.translationKey)("Could not check"),
|
|
13
|
+
[DnsRecordCheck_1.DnsRecordCheckOutcome.NotCheckedYet]: (0, Translator_1.translationKey)("Not checked yet"),
|
|
14
|
+
};
|
|
15
|
+
exports.DnsRecordCheckWords = {
|
|
16
|
+
cnameFound: (0, Translator_1.translationKey)("We looked up the CNAME record of {{name}} and found {{found}}."),
|
|
17
|
+
cnameReachesOneUptime: (0, Translator_1.translationKey)("Requests to {{name}} reach OneUptime."),
|
|
18
|
+
txtFound: (0, Translator_1.translationKey)("We looked up the TXT records of {{name}} and found {{expectedValue}}."),
|
|
19
|
+
cnameNotFound: (0, Translator_1.translationKey)("We looked up the CNAME record of {{name}} and got nothing."),
|
|
20
|
+
cnameNotFoundWithAddresses: (0, Translator_1.translationKey)("We looked up the CNAME record of {{name}} and got nothing, but the name answers with the address {{addresses}}."),
|
|
21
|
+
txtNotFound: (0, Translator_1.translationKey)("We looked up the TXT records of {{name}} and got nothing."),
|
|
22
|
+
cnameWrongValue: (0, Translator_1.translationKey)("We looked up the CNAME record of {{name}} and got {{found}}, but expected {{expectedValue}}."),
|
|
23
|
+
txtWrongValue: (0, Translator_1.translationKey)("We looked up the TXT records of {{name}} and got {{found}}, but none of them is {{expectedValue}}."),
|
|
24
|
+
nameNotFound: (0, Translator_1.translationKey)("We looked up {{name}}, and it does not exist in DNS yet."),
|
|
25
|
+
lookupFailed: (0, Translator_1.translationKey)("We could not look up the {{type}} record of {{name}}: the DNS server did not answer."),
|
|
26
|
+
notCheckedYet: (0, Translator_1.translationKey)("Not checked yet: we check it once the TXT record is found."),
|
|
27
|
+
/*
|
|
28
|
+
* Each says the whole record, name and value: the same words are the
|
|
29
|
+
* verify-cname route's refusal, where nothing is drawn "above" them.
|
|
30
|
+
*/
|
|
31
|
+
addCname: (0, Translator_1.translationKey)("Add a CNAME record with the name {{name}} and the value {{expectedValue}} at your DNS provider. A new record usually shows up within minutes, and at most within 48 hours."),
|
|
32
|
+
addCnameInsteadOfAddress: (0, Translator_1.translationKey)("Either {{name}} has an A record, or your DNS provider proxies or flattens it (Cloudflare's orange cloud does), which hides the CNAME record. Replace the A record with a CNAME record whose value is {{expectedValue}}, or set the name to DNS only."),
|
|
33
|
+
addTxt: (0, Translator_1.translationKey)("Add a TXT record with the name {{name}} and the value {{expectedValue}} at your DNS provider. A new record usually shows up within minutes, and at most within 48 hours."),
|
|
34
|
+
changeCname: (0, Translator_1.translationKey)("Change the record's value to {{expectedValue}}."),
|
|
35
|
+
addAnotherTxt: (0, Translator_1.translationKey)("Add a TXT record with the value {{expectedValue}}. The TXT records already there can stay."),
|
|
36
|
+
txtNameNotFound: (0, Translator_1.translationKey)("Check that {{name}} is your domain, and add a TXT record with the value {{expectedValue}} at its DNS provider."),
|
|
37
|
+
tryAgain: (0, Translator_1.translationKey)("Try again in a few minutes."),
|
|
38
|
+
notReachedWithStatus: (0, Translator_1.translationKey)("But a request to {{name}} did not reach OneUptime: it answered with HTTP {{status}}. If a proxy or load balancer is in front of OneUptime, it must pass requests for {{name}} on to OneUptime."),
|
|
39
|
+
notReachedNoAnswer: (0, Translator_1.translationKey)("But a request to {{name}} got no answer. {{name}} must reach OneUptime on port 80 for its certificate to be issued."),
|
|
40
|
+
};
|
|
41
|
+
const sentence = (template, values) => {
|
|
42
|
+
return { template, values };
|
|
43
|
+
};
|
|
44
|
+
// A CNAME chain hop by hop, or TXT values one after the other.
|
|
45
|
+
const joinFound = (check) => {
|
|
46
|
+
if (check.type === DnsRecordCheck_1.DnsRecordType.CNAME) {
|
|
47
|
+
return check.foundValues.join(" → ");
|
|
48
|
+
}
|
|
49
|
+
return check.foundValues
|
|
50
|
+
.map((value) => {
|
|
51
|
+
return `"${value}"`;
|
|
52
|
+
})
|
|
53
|
+
.join(", ");
|
|
54
|
+
};
|
|
55
|
+
const describeDnsRecordCheck = (check) => {
|
|
56
|
+
const isCname = check.type === DnsRecordCheck_1.DnsRecordType.CNAME;
|
|
57
|
+
const values = {
|
|
58
|
+
name: check.name,
|
|
59
|
+
expectedValue: check.expectedValue,
|
|
60
|
+
found: joinFound(check),
|
|
61
|
+
type: check.type,
|
|
62
|
+
addresses: (check.addresses || []).join(", "),
|
|
63
|
+
};
|
|
64
|
+
switch (check.outcome) {
|
|
65
|
+
case DnsRecordCheck_1.DnsRecordCheckOutcome.Found: {
|
|
66
|
+
if (!isCname) {
|
|
67
|
+
return { lookedUp: sentence(exports.DnsRecordCheckWords.txtFound, values) };
|
|
68
|
+
}
|
|
69
|
+
const lookedUp = check.foundValues.length > 0
|
|
70
|
+
? sentence(exports.DnsRecordCheckWords.cnameFound, values)
|
|
71
|
+
: sentence(exports.DnsRecordCheckWords.cnameReachesOneUptime, values);
|
|
72
|
+
if (check.reachedOneUptime === false) {
|
|
73
|
+
return {
|
|
74
|
+
lookedUp,
|
|
75
|
+
warning: check.httpStatus !== undefined
|
|
76
|
+
? sentence(exports.DnsRecordCheckWords.notReachedWithStatus, Object.assign(Object.assign({}, values), { status: String(check.httpStatus) }))
|
|
77
|
+
: sentence(exports.DnsRecordCheckWords.notReachedNoAnswer, values),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
return { lookedUp };
|
|
81
|
+
}
|
|
82
|
+
case DnsRecordCheck_1.DnsRecordCheckOutcome.WrongValue: {
|
|
83
|
+
return isCname
|
|
84
|
+
? {
|
|
85
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.cnameWrongValue, values),
|
|
86
|
+
whatToDo: sentence(exports.DnsRecordCheckWords.changeCname, values),
|
|
87
|
+
}
|
|
88
|
+
: {
|
|
89
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.txtWrongValue, values),
|
|
90
|
+
whatToDo: sentence(exports.DnsRecordCheckWords.addAnotherTxt, values),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
case DnsRecordCheck_1.DnsRecordCheckOutcome.NotFound: {
|
|
94
|
+
if (!isCname) {
|
|
95
|
+
return {
|
|
96
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.txtNotFound, values),
|
|
97
|
+
whatToDo: sentence(exports.DnsRecordCheckWords.addTxt, values),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
if (check.addresses && check.addresses.length > 0) {
|
|
101
|
+
return {
|
|
102
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.cnameNotFoundWithAddresses, values),
|
|
103
|
+
whatToDo: sentence(exports.DnsRecordCheckWords.addCnameInsteadOfAddress, values),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.cnameNotFound, values),
|
|
108
|
+
whatToDo: sentence(exports.DnsRecordCheckWords.addCname, values),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
case DnsRecordCheck_1.DnsRecordCheckOutcome.NameNotFound: {
|
|
112
|
+
return {
|
|
113
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.nameNotFound, values),
|
|
114
|
+
whatToDo: sentence(isCname
|
|
115
|
+
? exports.DnsRecordCheckWords.addCname
|
|
116
|
+
: exports.DnsRecordCheckWords.txtNameNotFound, values),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
case DnsRecordCheck_1.DnsRecordCheckOutcome.LookupFailed: {
|
|
120
|
+
return {
|
|
121
|
+
lookedUp: sentence(exports.DnsRecordCheckWords.lookupFailed, values),
|
|
122
|
+
whatToDo: sentence(exports.DnsRecordCheckWords.tryAgain, values),
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
case DnsRecordCheck_1.DnsRecordCheckOutcome.NotCheckedYet:
|
|
126
|
+
default: {
|
|
127
|
+
return { lookedUp: sentence(exports.DnsRecordCheckWords.notCheckedYet, values) };
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
exports.describeDnsRecordCheck = describeDnsRecordCheck;
|
|
132
|
+
const fill = (part) => {
|
|
133
|
+
return part ? (0, Translator_1.fillTemplate)(part.template, part.values) : "";
|
|
134
|
+
};
|
|
135
|
+
/*
|
|
136
|
+
* The whole description in English, one sentence after the other: for the
|
|
137
|
+
* server's own messages (the verify-cname refusal) and for logs.
|
|
138
|
+
*/
|
|
139
|
+
const describeDnsRecordCheckInEnglish = (check) => {
|
|
140
|
+
const description = (0, exports.describeDnsRecordCheck)(check);
|
|
141
|
+
return [
|
|
142
|
+
fill(description.lookedUp),
|
|
143
|
+
fill(description.whatToDo),
|
|
144
|
+
fill(description.warning),
|
|
145
|
+
]
|
|
146
|
+
.filter((part) => {
|
|
147
|
+
return part.length > 0;
|
|
148
|
+
})
|
|
149
|
+
.join(" ");
|
|
150
|
+
};
|
|
151
|
+
exports.describeDnsRecordCheckInEnglish = describeDnsRecordCheckInEnglish;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import commonJsModule from "./DnsRecordCheckWords.js";
|
|
2
|
+
export const DNS_RECORD_STATUS = commonJsModule.DNS_RECORD_STATUS;
|
|
3
|
+
export const DnsRecordCheckWords = commonJsModule.DnsRecordCheckWords;
|
|
4
|
+
export const describeDnsRecordCheck = commonJsModule.describeDnsRecordCheck;
|
|
5
|
+
export const describeDnsRecordCheckInEnglish = commonJsModule.describeDnsRecordCheckInEnglish;
|
|
@@ -91,6 +91,7 @@ export declare const getCustomChannelEventFor: (eventType: UserNotificationEvent
|
|
|
91
91
|
event: CustomChannelEvent;
|
|
92
92
|
recordType: CustomChannelRecordType;
|
|
93
93
|
};
|
|
94
|
+
export declare const CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE: string;
|
|
94
95
|
export declare const buildCustomChannelPagePayload: (input: CustomChannelPageInput) => JSONObject;
|
|
95
96
|
export declare const buildCustomChannelTestPayload: (input: CustomChannelTestInput) => JSONObject;
|
|
96
97
|
export declare const buildCustomChannelNotificationPayload: (input: CustomChannelNotificationInput) => JSONObject;
|
|
@@ -91,6 +91,7 @@ export declare const getCustomChannelEventFor: (eventType: UserNotificationEvent
|
|
|
91
91
|
event: CustomChannelEvent;
|
|
92
92
|
recordType: CustomChannelRecordType;
|
|
93
93
|
};
|
|
94
|
+
export declare const CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE: string;
|
|
94
95
|
export declare const buildCustomChannelPagePayload: (input: CustomChannelPageInput) => JSONObject;
|
|
95
96
|
export declare const buildCustomChannelTestPayload: (input: CustomChannelTestInput) => JSONObject;
|
|
96
97
|
export declare const buildCustomChannelNotificationPayload: (input: CustomChannelNotificationInput) => JSONObject;
|
|
@@ -3,9 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.buildCustomChannelNotificationPayload = exports.buildCustomChannelTestPayload = exports.buildCustomChannelPagePayload = exports.getCustomChannelEventFor = exports.CustomChannelActionResult = exports.isCustomChannelAction = exports.CUSTOM_CHANNEL_ACTIONS = exports.CustomChannelAction = exports.CustomChannelRecordType = exports.CustomChannelEvent = exports.MAX_CUSTOM_CHANNEL_TEXT_LENGTH = exports.CUSTOM_CHANNEL_SIGNATURE_HEADER = exports.CUSTOM_CHANNEL_EVENT_HEADER = exports.CUSTOM_CHANNEL_METHOD_LABEL = exports.CUSTOM_CHANNEL_PAYLOAD_VERSION = void 0;
|
|
6
|
+
exports.buildCustomChannelNotificationPayload = exports.buildCustomChannelTestPayload = exports.buildCustomChannelPagePayload = exports.CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE = exports.getCustomChannelEventFor = exports.CustomChannelActionResult = exports.isCustomChannelAction = exports.CUSTOM_CHANNEL_ACTIONS = exports.CustomChannelAction = exports.CustomChannelRecordType = exports.CustomChannelEvent = exports.MAX_CUSTOM_CHANNEL_TEXT_LENGTH = exports.CUSTOM_CHANNEL_SIGNATURE_HEADER = exports.CUSTOM_CHANNEL_EVENT_HEADER = exports.CUSTOM_CHANNEL_METHOD_LABEL = exports.CUSTOM_CHANNEL_PAYLOAD_VERSION = void 0;
|
|
7
7
|
const UserNotificationEventType_1 = __importDefault(require("../UserNotification/UserNotificationEventType"));
|
|
8
8
|
const MessageFit_1 = require("../../Utils/MessageFit");
|
|
9
|
+
const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
|
|
9
10
|
/*
|
|
10
11
|
* WHAT A CUSTOM CHANNEL'S SERVICE RECEIVES.
|
|
11
12
|
*
|
|
@@ -121,9 +122,18 @@ const getCustomChannelEventFor = (eventType) => {
|
|
|
121
122
|
event: CustomChannelEvent.AlertEpisodeCreated,
|
|
122
123
|
recordType: CustomChannelRecordType.AlertEpisode,
|
|
123
124
|
};
|
|
125
|
+
/*
|
|
126
|
+
* A test page (Types/OnCallDutyPolicy/OnCallTestPage) is about no
|
|
127
|
+
* record: it sends a channel the Send test payload instead
|
|
128
|
+
* (buildCustomChannelTestPayload), which every service already takes.
|
|
129
|
+
*/
|
|
130
|
+
case UserNotificationEventType_1.default.TestPage:
|
|
131
|
+
throw new BadDataException_1.default(exports.CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE);
|
|
124
132
|
}
|
|
125
133
|
};
|
|
126
134
|
exports.getCustomChannelEventFor = getCustomChannelEventFor;
|
|
135
|
+
// Why a test page has no page event of its own (getCustomChannelEventFor).
|
|
136
|
+
exports.CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE = "A test page is about no record: a custom channel gets the Send test payload for it.";
|
|
127
137
|
const toReferenceJson = (reference) => {
|
|
128
138
|
if (!reference) {
|
|
129
139
|
return null;
|
|
@@ -4,6 +4,7 @@ export const CUSTOM_CHANNEL_EVENT_HEADER = commonJsModule.CUSTOM_CHANNEL_EVENT_H
|
|
|
4
4
|
export const CUSTOM_CHANNEL_METHOD_LABEL = commonJsModule.CUSTOM_CHANNEL_METHOD_LABEL;
|
|
5
5
|
export const CUSTOM_CHANNEL_PAYLOAD_VERSION = commonJsModule.CUSTOM_CHANNEL_PAYLOAD_VERSION;
|
|
6
6
|
export const CUSTOM_CHANNEL_SIGNATURE_HEADER = commonJsModule.CUSTOM_CHANNEL_SIGNATURE_HEADER;
|
|
7
|
+
export const CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE = commonJsModule.CUSTOM_CHANNEL_TEST_PAGE_HAS_NO_RECORD_MESSAGE;
|
|
7
8
|
export const CustomChannelAction = commonJsModule.CustomChannelAction;
|
|
8
9
|
export const CustomChannelActionResult = commonJsModule.CustomChannelActionResult;
|
|
9
10
|
export const CustomChannelEvent = commonJsModule.CustomChannelEvent;
|
|
@@ -17,6 +17,10 @@ export declare enum DataCheckType {
|
|
|
17
17
|
export declare const DATA_CHECK_TYPES: ReadonlyArray<DataCheckType>;
|
|
18
18
|
export declare const COLUMN_CHECK_TYPES: ReadonlyArray<DataCheckType>;
|
|
19
19
|
export declare function isColumnCheckType(type: DataCheckType): boolean;
|
|
20
|
+
export declare function getDataCheckColumn(check: {
|
|
21
|
+
checkType?: DataCheckType | string | null | undefined;
|
|
22
|
+
columnName?: string | null | undefined;
|
|
23
|
+
}): string | null;
|
|
20
24
|
export declare function isQueryCheckType(type: DataCheckType): boolean;
|
|
21
25
|
export declare const SAMPLEABLE_CHECK_TYPES: ReadonlyArray<DataCheckType>;
|
|
22
26
|
export declare function isSampleableCheckType(type: DataCheckType): boolean;
|
|
@@ -17,6 +17,10 @@ export declare enum DataCheckType {
|
|
|
17
17
|
export declare const DATA_CHECK_TYPES: ReadonlyArray<DataCheckType>;
|
|
18
18
|
export declare const COLUMN_CHECK_TYPES: ReadonlyArray<DataCheckType>;
|
|
19
19
|
export declare function isColumnCheckType(type: DataCheckType): boolean;
|
|
20
|
+
export declare function getDataCheckColumn(check: {
|
|
21
|
+
checkType?: DataCheckType | string | null | undefined;
|
|
22
|
+
columnName?: string | null | undefined;
|
|
23
|
+
}): string | null;
|
|
20
24
|
export declare function isQueryCheckType(type: DataCheckType): boolean;
|
|
21
25
|
export declare const SAMPLEABLE_CHECK_TYPES: ReadonlyArray<DataCheckType>;
|
|
22
26
|
export declare function isSampleableCheckType(type: DataCheckType): boolean;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DATA_CHECK_ALERT_CONDITIONS = exports.DataCheckAlertCondition = exports.DEFAULT_DATA_CHECK_INTERVAL_IN_MINUTES = exports.DATA_CHECK_INTERVALS_IN_MINUTES = exports.DataCheckRunStatus = exports.MAX_SEGMENTS_PER_CHECK = exports.MAX_ACCEPTED_VALUES = exports.MAX_FAILING_ROW_COLUMNS = exports.MAX_FAILING_ROW_VALUE_LENGTH = exports.MAX_FAILING_ROWS = exports.FAILING_ROW_CHECK_TYPES = exports.SAMPLEABLE_CHECK_TYPES = exports.COLUMN_CHECK_TYPES = exports.DATA_CHECK_TYPES = exports.DataCheckType = void 0;
|
|
4
4
|
exports.isColumnCheckType = isColumnCheckType;
|
|
5
|
+
exports.getDataCheckColumn = getDataCheckColumn;
|
|
5
6
|
exports.isQueryCheckType = isQueryCheckType;
|
|
6
7
|
exports.isSampleableCheckType = isSampleableCheckType;
|
|
7
8
|
exports.doesAlertConditionNeedThreshold = doesAlertConditionNeedThreshold;
|
|
@@ -65,6 +66,22 @@ exports.COLUMN_CHECK_TYPES = [
|
|
|
65
66
|
function isColumnCheckType(type) {
|
|
66
67
|
return exports.COLUMN_CHECK_TYPES.includes(type);
|
|
67
68
|
}
|
|
69
|
+
/*
|
|
70
|
+
* The column a check reads, when it reads one: a check on one column, or
|
|
71
|
+
* a dbt test of one (dbt names it). Null for a check on the whole table -
|
|
72
|
+
* its rows, a query - even one that kept the column of a type it was
|
|
73
|
+
* before: that name is no longer what it reads.
|
|
74
|
+
*/
|
|
75
|
+
function getDataCheckColumn(check) {
|
|
76
|
+
const column = (check.columnName || "").trim();
|
|
77
|
+
if (!column) {
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
const type = check.checkType;
|
|
81
|
+
return isColumnCheckType(type) || type === DataCheckType.DbtTest
|
|
82
|
+
? column
|
|
83
|
+
: null;
|
|
84
|
+
}
|
|
68
85
|
// The checks a person writes the query of.
|
|
69
86
|
function isQueryCheckType(type) {
|
|
70
87
|
return type === DataCheckType.CustomSql || type === DataCheckType.FailingRows;
|
|
@@ -15,6 +15,7 @@ export const MAX_FAILING_ROW_VALUE_LENGTH = commonJsModule.MAX_FAILING_ROW_VALUE
|
|
|
15
15
|
export const MAX_SEGMENTS_PER_CHECK = commonJsModule.MAX_SEGMENTS_PER_CHECK;
|
|
16
16
|
export const SAMPLEABLE_CHECK_TYPES = commonJsModule.SAMPLEABLE_CHECK_TYPES;
|
|
17
17
|
export const doesAlertConditionNeedThreshold = commonJsModule.doesAlertConditionNeedThreshold;
|
|
18
|
+
export const getDataCheckColumn = commonJsModule.getDataCheckColumn;
|
|
18
19
|
export const isColumnCheckType = commonJsModule.isColumnCheckType;
|
|
19
20
|
export const isQueryCheckType = commonJsModule.isQueryCheckType;
|
|
20
21
|
export const isSampleableCheckType = commonJsModule.isSampleableCheckType;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataTableLineage } from "./DataTableLineage.mjs";
|
|
2
|
+
export interface LineageColumnTrail {
|
|
3
|
+
column: string;
|
|
4
|
+
columns: Map<string, Array<string>>;
|
|
5
|
+
edgeIds: Set<string>;
|
|
6
|
+
mayGoFurther: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function getLineageColumnKey(name: string): string;
|
|
9
|
+
export declare function getLineageColumnChoices(lineage: DataTableLineage, columnOrder?: ReadonlyArray<string>): Array<string>;
|
|
10
|
+
export declare function followLineageColumn(lineage: DataTableLineage, column: string): LineageColumnTrail;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataTableLineage } from "./DataTableLineage";
|
|
2
|
+
export interface LineageColumnTrail {
|
|
3
|
+
column: string;
|
|
4
|
+
columns: Map<string, Array<string>>;
|
|
5
|
+
edgeIds: Set<string>;
|
|
6
|
+
mayGoFurther: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function getLineageColumnKey(name: string): string;
|
|
9
|
+
export declare function getLineageColumnChoices(lineage: DataTableLineage, columnOrder?: ReadonlyArray<string>): Array<string>;
|
|
10
|
+
export declare function followLineageColumn(lineage: DataTableLineage, column: string): LineageColumnTrail;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLineageColumnKey = getLineageColumnKey;
|
|
4
|
+
exports.getLineageColumnChoices = getLineageColumnChoices;
|
|
5
|
+
exports.followLineageColumn = followLineageColumn;
|
|
6
|
+
const DataTableLineage_1 = require("./DataTableLineage");
|
|
7
|
+
/*
|
|
8
|
+
* Columns are matched whatever their case: two sources may write one
|
|
9
|
+
* column's name differently (Snowflake keeps unquoted names in capitals;
|
|
10
|
+
* a Spark or dbt job may name them as its code does).
|
|
11
|
+
*/
|
|
12
|
+
function getLineageColumnKey(name) {
|
|
13
|
+
return name.trim().toLowerCase();
|
|
14
|
+
}
|
|
15
|
+
/*
|
|
16
|
+
* The columns of the drawing's own table that can be followed: those an
|
|
17
|
+
* arrow into or out of it names, in the table's own order (`columnOrder`,
|
|
18
|
+
* as its last collection read them) and then by name, each named as the
|
|
19
|
+
* table names it. Empty when no arrow next to it names a column: nothing
|
|
20
|
+
* to pick.
|
|
21
|
+
*/
|
|
22
|
+
function getLineageColumnChoices(lineage, columnOrder = []) {
|
|
23
|
+
const focus = lineage.focusNodeId;
|
|
24
|
+
const named = new Map();
|
|
25
|
+
const name = (column) => {
|
|
26
|
+
const key = getLineageColumnKey(column);
|
|
27
|
+
if (key && !named.has(key)) {
|
|
28
|
+
named.set(key, column.trim());
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
for (const edge of lineage.edges) {
|
|
32
|
+
if (edge.kind !== DataTableLineage_1.DataLineageEdgeKind.Feeds || !edge.columnMappings) {
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
for (const mapping of edge.columnMappings) {
|
|
36
|
+
if (edge.target === focus) {
|
|
37
|
+
name(mapping.downstreamColumn);
|
|
38
|
+
}
|
|
39
|
+
if (edge.source === focus) {
|
|
40
|
+
name(mapping.upstreamColumn);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const order = new Map();
|
|
45
|
+
columnOrder.forEach((column, index) => {
|
|
46
|
+
const key = getLineageColumnKey(column);
|
|
47
|
+
if (!order.has(key)) {
|
|
48
|
+
order.set(key, index);
|
|
49
|
+
// As the table names it.
|
|
50
|
+
if (named.has(key)) {
|
|
51
|
+
named.set(key, column);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const placeOf = (key) => {
|
|
56
|
+
var _a;
|
|
57
|
+
return (_a = order.get(key)) !== null && _a !== void 0 ? _a : Number.MAX_SAFE_INTEGER;
|
|
58
|
+
};
|
|
59
|
+
return Array.from(named.keys())
|
|
60
|
+
.sort((a, b) => {
|
|
61
|
+
return placeOf(a) - placeOf(b) || compareText(a, b);
|
|
62
|
+
})
|
|
63
|
+
.map((key) => {
|
|
64
|
+
return named.get(key);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/*
|
|
68
|
+
* Where one column of the drawing's own table comes from and where it
|
|
69
|
+
* goes. Up: along each arrow into a card on its way whose columns name
|
|
70
|
+
* the column there, to the columns of the table before it that feed it -
|
|
71
|
+
* another name when it was renamed on the way, several when it is built
|
|
72
|
+
* from several. Down: along each arrow out, to the columns it feeds. Each
|
|
73
|
+
* way is followed on its own - a column that feeds the table is not
|
|
74
|
+
* followed down into the other tables it feeds - and each table's column
|
|
75
|
+
* once, so a cycle ends.
|
|
76
|
+
*/
|
|
77
|
+
function followLineageColumn(lineage, column) {
|
|
78
|
+
const focus = lineage.focusNodeId;
|
|
79
|
+
const into = new Map();
|
|
80
|
+
const out = new Map();
|
|
81
|
+
for (const edge of lineage.edges) {
|
|
82
|
+
if (edge.kind !== DataTableLineage_1.DataLineageEdgeKind.Feeds) {
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
into.set(edge.target, [...(into.get(edge.target) || []), edge]);
|
|
86
|
+
out.set(edge.source, [...(out.get(edge.source) || []), edge]);
|
|
87
|
+
}
|
|
88
|
+
const trail = {
|
|
89
|
+
column,
|
|
90
|
+
columns: new Map(),
|
|
91
|
+
edgeIds: new Set(),
|
|
92
|
+
mayGoFurther: false,
|
|
93
|
+
};
|
|
94
|
+
const addColumn = (nodeId, name) => {
|
|
95
|
+
const names = trail.columns.get(nodeId) || [];
|
|
96
|
+
if (!names.some((known) => {
|
|
97
|
+
return getLineageColumnKey(known) === getLineageColumnKey(name);
|
|
98
|
+
})) {
|
|
99
|
+
names.push(name);
|
|
100
|
+
}
|
|
101
|
+
trail.columns.set(nodeId, names);
|
|
102
|
+
};
|
|
103
|
+
if (!getLineageColumnKey(column)) {
|
|
104
|
+
return trail;
|
|
105
|
+
}
|
|
106
|
+
addColumn(focus, column);
|
|
107
|
+
for (const isUpstream of [true, false]) {
|
|
108
|
+
const visited = new Set([
|
|
109
|
+
`${focus}\u0000${getLineageColumnKey(column)}`,
|
|
110
|
+
]);
|
|
111
|
+
const queue = [
|
|
112
|
+
{ nodeId: focus, name: column },
|
|
113
|
+
];
|
|
114
|
+
for (let index = 0; index < queue.length; index++) {
|
|
115
|
+
const here = queue[index];
|
|
116
|
+
const arrows = (isUpstream ? into : out).get(here.nodeId) || [];
|
|
117
|
+
for (const edge of arrows) {
|
|
118
|
+
const mappings = edge.columnMappings || [];
|
|
119
|
+
// Its sources named no columns: it may carry this one.
|
|
120
|
+
if (mappings.length === 0) {
|
|
121
|
+
trail.mayGoFurther = true;
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
for (const mapping of mappings) {
|
|
125
|
+
const own = isUpstream
|
|
126
|
+
? mapping.downstreamColumn
|
|
127
|
+
: mapping.upstreamColumn;
|
|
128
|
+
if (getLineageColumnKey(own) !== getLineageColumnKey(here.name)) {
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
const next = {
|
|
132
|
+
nodeId: isUpstream ? edge.source : edge.target,
|
|
133
|
+
name: isUpstream
|
|
134
|
+
? mapping.upstreamColumn
|
|
135
|
+
: mapping.downstreamColumn,
|
|
136
|
+
};
|
|
137
|
+
const key = `${next.nodeId}\u0000${getLineageColumnKey(next.name)}`;
|
|
138
|
+
trail.edgeIds.add(edge.id);
|
|
139
|
+
addColumn(next.nodeId, next.name);
|
|
140
|
+
if (!visited.has(key)) {
|
|
141
|
+
visited.add(key);
|
|
142
|
+
queue.push(next);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return trail;
|
|
149
|
+
}
|
|
150
|
+
function compareText(a, b) {
|
|
151
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
|
152
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import commonJsModule from "./DataLineageColumnTrail.js";
|
|
2
|
+
export const followLineageColumn = commonJsModule.followLineageColumn;
|
|
3
|
+
export const getLineageColumnChoices = commonJsModule.getLineageColumnChoices;
|
|
4
|
+
export const getLineageColumnKey = commonJsModule.getLineageColumnKey;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DataLineageSide, DataTableLineageEdge, DataTableLineageNode } from "./DataTableLineage.mjs";
|
|
2
|
+
export declare const MAX_DATA_LINEAGE_DRAWN_TABLES: number;
|
|
3
|
+
export interface DataLineageDrawnTable {
|
|
4
|
+
dataAssetId: string;
|
|
5
|
+
side: DataLineageSide;
|
|
6
|
+
depth: number;
|
|
7
|
+
}
|
|
8
|
+
export interface DataLineageExpandRequest {
|
|
9
|
+
focusNodeId: string;
|
|
10
|
+
nodeId: string;
|
|
11
|
+
side: DataLineageSide;
|
|
12
|
+
tables: Array<DataLineageDrawnTable>;
|
|
13
|
+
dataDashboardIds: Array<string>;
|
|
14
|
+
withColumns?: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface DataLineageExpansion {
|
|
17
|
+
nodeId: string;
|
|
18
|
+
side: DataLineageSide;
|
|
19
|
+
hiddenCount: number;
|
|
20
|
+
nodes: Array<DataTableLineageNode>;
|
|
21
|
+
edges: Array<DataTableLineageEdge>;
|
|
22
|
+
hiddenDashboardCount: number | null;
|
|
23
|
+
isTruncated: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function readLineageCardId(value: unknown): {
|
|
26
|
+
kind: "table" | "pipeline";
|
|
27
|
+
id: string;
|
|
28
|
+
} | null;
|
|
29
|
+
export declare function readDataLineageExpandRequest(body: unknown): DataLineageExpandRequest | string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DataLineageSide, DataTableLineageEdge, DataTableLineageNode } from "./DataTableLineage";
|
|
2
|
+
export declare const MAX_DATA_LINEAGE_DRAWN_TABLES: number;
|
|
3
|
+
export interface DataLineageDrawnTable {
|
|
4
|
+
dataAssetId: string;
|
|
5
|
+
side: DataLineageSide;
|
|
6
|
+
depth: number;
|
|
7
|
+
}
|
|
8
|
+
export interface DataLineageExpandRequest {
|
|
9
|
+
focusNodeId: string;
|
|
10
|
+
nodeId: string;
|
|
11
|
+
side: DataLineageSide;
|
|
12
|
+
tables: Array<DataLineageDrawnTable>;
|
|
13
|
+
dataDashboardIds: Array<string>;
|
|
14
|
+
withColumns?: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface DataLineageExpansion {
|
|
17
|
+
nodeId: string;
|
|
18
|
+
side: DataLineageSide;
|
|
19
|
+
hiddenCount: number;
|
|
20
|
+
nodes: Array<DataTableLineageNode>;
|
|
21
|
+
edges: Array<DataTableLineageEdge>;
|
|
22
|
+
hiddenDashboardCount: number | null;
|
|
23
|
+
isTruncated: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function readLineageCardId(value: unknown): {
|
|
26
|
+
kind: "table" | "pipeline";
|
|
27
|
+
id: string;
|
|
28
|
+
} | null;
|
|
29
|
+
export declare function readDataLineageExpandRequest(body: unknown): DataLineageExpandRequest | string;
|