@oneuptime/common 7.0.2936 → 7.0.2976
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/DatabaseModels/StatusPage.ts +71 -0
- package/Models/DatabaseModels/StatusPageResource.ts +1 -7
- package/Server/API/BaseAPI.ts +419 -0
- package/Server/API/BaseAnalyticsAPI.ts +479 -0
- package/Server/API/BillingInvoiceAPI.ts +170 -0
- package/Server/API/BillingPaymentMethodAPI.ts +95 -0
- package/Server/API/CommonAPI.ts +65 -0
- package/Server/API/CopilotActionAPI.ts +171 -0
- package/Server/API/CopilotCodeRepositoryAPI.ts +127 -0
- package/Server/API/CopilotPullRequestAPI.ts +243 -0
- package/Server/API/FileAPI.ts +50 -0
- package/Server/API/GlobalConfigAPI.ts +47 -0
- package/Server/API/Index.ts +19 -0
- package/Server/API/MonitorGroupAPI.ts +95 -0
- package/Server/API/NotificationAPI.ts +117 -0
- package/Server/API/ProbeAPI.ts +56 -0
- package/Server/API/ProjectAPI.ts +166 -0
- package/Server/API/ProjectSSO.ts +65 -0
- package/Server/API/ResellerPlanAPI.ts +246 -0
- package/Server/API/ShortLinkAPI.ts +52 -0
- package/Server/API/StatusAPI.ts +118 -0
- package/Server/API/StatusPageAPI.ts +2199 -0
- package/Server/API/StatusPageDomainAPI.ts +240 -0
- package/Server/API/StatusPageSubscriberAPI.ts +48 -0
- package/Server/API/TelemetryAPI.ts +90 -0
- package/Server/API/UserCallAPI.ts +120 -0
- package/Server/API/UserEmailAPI.ts +121 -0
- package/Server/API/UserOnCallLogTimelineAPI.ts +164 -0
- package/Server/API/UserSmsAPI.ts +116 -0
- package/Server/API/UserTwoFactorAuthAPI.ts +107 -0
- package/Server/API/VersionAPI.ts +14 -0
- package/Server/BillingConfig.ts +9 -0
- package/Server/DatabaseConfig.ts +62 -0
- package/Server/Docs/CodeRepository.md +43 -0
- package/Server/EnvironmentConfig.ts +257 -0
- package/Server/Infrastructure/CacheDatabase.ts +0 -0
- package/Server/Infrastructure/ClickhouseConfig.ts +49 -0
- package/Server/Infrastructure/ClickhouseDatabase.ts +128 -0
- package/Server/Infrastructure/GlobalCache.ts +157 -0
- package/Server/Infrastructure/LocalCache.ts +66 -0
- package/Server/Infrastructure/Postgres/DataSourceOptions.ts +42 -0
- package/Server/Infrastructure/Postgres/LocalMigrationGenerationDataSource.ts +14 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717605043663-InitialMigration.ts +5302 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717678334852-MigrationName.ts +52 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717839110671-MigrationName.ts +67 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717849921874-MigrationName.ts +115 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717955235341-MigrationName.ts +73 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718037833516-MigrationName.ts +51 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718100824584-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718101665865-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718119926223-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718124277321-MigrationName.ts +99 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718126316684-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718188920011-MigrationName.ts +23 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718203144945-MigrationName.ts +23 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718285877004-MigrationName.ts +23 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718618155447-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718711669847-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718879960254-MigrationName.ts +75 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719227548476-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719228104620-MigrationName.ts +16 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719247426296-MigrationName.ts +23 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719348009053-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719827175832-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719831213463-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719838746775-MigrationName.ts +155 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719915433542-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720024126646-MigrationName.ts +18 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720532068612-MigrationName.ts +154 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720538999941-MigrationName.ts +35 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720785305192-MigrationName.ts +114 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720805596648-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720806196274-MigrationName.ts +47 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720812937067-MigrationName.ts +29 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721075917289-MigrationName.ts +63 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721152139648-MigrationName.ts +115 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721159743714-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721754545771-MigrationName.ts +35 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721779190475-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1722031205897-MigrationName.ts +33 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1722543640526-MigrationName.ts +51 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1722892318363-MigrationName.ts +41 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1723825511054-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1723828588502-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +87 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Readme.md +11 -0
- package/Server/Infrastructure/PostgresDatabase.ts +124 -0
- package/Server/Infrastructure/Queue.ts +95 -0
- package/Server/Infrastructure/QueueWorker.ts +51 -0
- package/Server/Infrastructure/Redis.ts +151 -0
- package/Server/Infrastructure/Semaphore.ts +36 -0
- package/Server/Infrastructure/SocketIO.ts +40 -0
- package/Server/Infrastructure/Status.ts +31 -0
- package/Server/Middleware/BearerTokenAuthorization.ts +40 -0
- package/Server/Middleware/ClusterKeyAuthorization.ts +56 -0
- package/Server/Middleware/CodeRepositoryAuthorization.ts +48 -0
- package/Server/Middleware/NotificationMiddleware.ts +70 -0
- package/Server/Middleware/ProjectAuthorization.ts +182 -0
- package/Server/Middleware/UserAuthorization.ts +363 -0
- package/Server/Services/AccessTokenService.ts +363 -0
- package/Server/Services/AcmeCertificateService.ts +10 -0
- package/Server/Services/AcmeChallengeService.ts +10 -0
- package/Server/Services/AnalyticsDatabaseService.ts +1112 -0
- package/Server/Services/ApiKeyPermissionService.ts +156 -0
- package/Server/Services/ApiKeyService.ts +20 -0
- package/Server/Services/BaseService.ts +3 -0
- package/Server/Services/BillingInvoiceService.ts +93 -0
- package/Server/Services/BillingPaymentMethodService.ts +117 -0
- package/Server/Services/BillingService.ts +815 -0
- package/Server/Services/CallLogService.ts +11 -0
- package/Server/Services/CallService.ts +57 -0
- package/Server/Services/CopilotActionService.ts +10 -0
- package/Server/Services/CopilotCodeRepositoryService.ts +24 -0
- package/Server/Services/CopilotPullRequestService.ts +10 -0
- package/Server/Services/DataMigrationService.ts +9 -0
- package/Server/Services/DatabaseService.ts +1484 -0
- package/Server/Services/DomainService.ts +93 -0
- package/Server/Services/EmailLogService.ts +11 -0
- package/Server/Services/EmailVerificationTokenService.ts +9 -0
- package/Server/Services/FileService.ts +47 -0
- package/Server/Services/GlobalConfigService.ts +10 -0
- package/Server/Services/GreenlockCertificateService.ts +10 -0
- package/Server/Services/GreenlockChallengeService.ts +10 -0
- package/Server/Services/IncidentCustomFieldService.ts +9 -0
- package/Server/Services/IncidentInternalNoteService.ts +10 -0
- package/Server/Services/IncidentNoteTemplateService.ts +9 -0
- package/Server/Services/IncidentOwnerTeamService.ts +10 -0
- package/Server/Services/IncidentOwnerUserService.ts +10 -0
- package/Server/Services/IncidentPublicNoteService.ts +26 -0
- package/Server/Services/IncidentService.ts +693 -0
- package/Server/Services/IncidentSeverityService.ts +158 -0
- package/Server/Services/IncidentStateService.ts +188 -0
- package/Server/Services/IncidentStateTimelineService.ts +387 -0
- package/Server/Services/IncidentTemplateOwnerTeamService.ts +10 -0
- package/Server/Services/IncidentTemplateOwnerUserService.ts +10 -0
- package/Server/Services/IncidentTemplateService.ts +88 -0
- package/Server/Services/Index.ts +286 -0
- package/Server/Services/LabelService.ts +40 -0
- package/Server/Services/LogService.ts +11 -0
- package/Server/Services/MailService.ts +63 -0
- package/Server/Services/MetricService.ts +11 -0
- package/Server/Services/MonitorCustomFieldService.ts +9 -0
- package/Server/Services/MonitorGroupOwnerTeamService.ts +9 -0
- package/Server/Services/MonitorGroupOwnerUserService.ts +9 -0
- package/Server/Services/MonitorGroupResourceService.ts +10 -0
- package/Server/Services/MonitorGroupService.ts +184 -0
- package/Server/Services/MonitorMetricsByMinuteService.ts +14 -0
- package/Server/Services/MonitorOwnerTeamService.ts +10 -0
- package/Server/Services/MonitorOwnerUserService.ts +10 -0
- package/Server/Services/MonitorProbeService.ts +99 -0
- package/Server/Services/MonitorSecretService.ts +10 -0
- package/Server/Services/MonitorService.ts +907 -0
- package/Server/Services/MonitorStatusService.ts +154 -0
- package/Server/Services/MonitorStatusTimelineService.ts +308 -0
- package/Server/Services/NotificationService.ts +196 -0
- package/Server/Services/OnCallDutyPolicyCustomFieldService.ts +9 -0
- package/Server/Services/OnCallDutyPolicyEscalationRuleScheduleService.ts +10 -0
- package/Server/Services/OnCallDutyPolicyEscalationRuleService.ts +725 -0
- package/Server/Services/OnCallDutyPolicyEscalationRuleTeamService.ts +9 -0
- package/Server/Services/OnCallDutyPolicyEscalationRuleUserService.ts +9 -0
- package/Server/Services/OnCallDutyPolicyExecutionLogService.ts +98 -0
- package/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.ts +9 -0
- package/Server/Services/OnCallDutyPolicyScheduleLayerService.ts +124 -0
- package/Server/Services/OnCallDutyPolicyScheduleLayerUserService.ts +252 -0
- package/Server/Services/OnCallDutyPolicyScheduleService.ts +122 -0
- package/Server/Services/OnCallDutyPolicyService.ts +73 -0
- package/Server/Services/ProbeOwnerTeamService.ts +10 -0
- package/Server/Services/ProbeOwnerUserService.ts +10 -0
- package/Server/Services/ProbeService.ts +297 -0
- package/Server/Services/ProjectCallSMSConfigService.ts +47 -0
- package/Server/Services/ProjectService.ts +1137 -0
- package/Server/Services/ProjectSmtpConfigService.ts +58 -0
- package/Server/Services/ProjectSsoService.ts +10 -0
- package/Server/Services/PromoCodeService.ts +9 -0
- package/Server/Services/ResellerPlanService.ts +9 -0
- package/Server/Services/ResellerService.ts +9 -0
- package/Server/Services/ScheduledMaintenanceCustomFieldService.ts +9 -0
- package/Server/Services/ScheduledMaintenanceInternalNoteService.ts +10 -0
- package/Server/Services/ScheduledMaintenanceNoteTemplateService.ts +9 -0
- package/Server/Services/ScheduledMaintenanceOwnerTeamService.ts +10 -0
- package/Server/Services/ScheduledMaintenanceOwnerUserService.ts +10 -0
- package/Server/Services/ScheduledMaintenancePublicNoteService.ts +26 -0
- package/Server/Services/ScheduledMaintenanceService.ts +435 -0
- package/Server/Services/ScheduledMaintenanceStateService.ts +158 -0
- package/Server/Services/ScheduledMaintenanceStateTimelineService.ts +496 -0
- package/Server/Services/ServiceCatalogDependencyService.ts +49 -0
- package/Server/Services/ServiceCatalogMonitorService.ts +55 -0
- package/Server/Services/ServiceCatalogOwnerTeamService.ts +10 -0
- package/Server/Services/ServiceCatalogOwnerUserService.ts +10 -0
- package/Server/Services/ServiceCatalogService.ts +26 -0
- package/Server/Services/ServiceCatalogTelemetryServiceService.ts +57 -0
- package/Server/Services/ServiceCopilotCodeRepositoryService.ts +10 -0
- package/Server/Services/ShortLinkService.ts +61 -0
- package/Server/Services/SmsLogService.ts +11 -0
- package/Server/Services/SmsService.ts +58 -0
- package/Server/Services/SpanService.ts +11 -0
- package/Server/Services/StatusPageAnnouncementService.ts +10 -0
- package/Server/Services/StatusPageCertificateService.ts +59 -0
- package/Server/Services/StatusPageCustomFieldService.ts +9 -0
- package/Server/Services/StatusPageDomainService.ts +495 -0
- package/Server/Services/StatusPageFooterLinkService.ts +236 -0
- package/Server/Services/StatusPageGroupService.ts +232 -0
- package/Server/Services/StatusPageHeaderLinkService.ts +235 -0
- package/Server/Services/StatusPageHistoryChartBarColorRuleService.ts +238 -0
- package/Server/Services/StatusPageOwnerTeamService.ts +10 -0
- package/Server/Services/StatusPageOwnerUserService.ts +10 -0
- package/Server/Services/StatusPagePrivateUserService.ts +137 -0
- package/Server/Services/StatusPageResourceService.ts +260 -0
- package/Server/Services/StatusPageService.ts +1029 -0
- package/Server/Services/StatusPageSsoService.ts +10 -0
- package/Server/Services/StatusPageSubscriberService.ts +401 -0
- package/Server/Services/TeamMemberService.ts +454 -0
- package/Server/Services/TeamPermissionService.ts +366 -0
- package/Server/Services/TeamService.ts +72 -0
- package/Server/Services/TelemetryAttributeService.ts +83 -0
- package/Server/Services/TelemetryIngestionKeyService.ts +23 -0
- package/Server/Services/TelemetryServiceService.ts +50 -0
- package/Server/Services/TelemetryUsageBillingService.ts +150 -0
- package/Server/Services/UserCallService.ts +189 -0
- package/Server/Services/UserEmailService.ts +140 -0
- package/Server/Services/UserNotificationRuleService.ts +759 -0
- package/Server/Services/UserNotificationSettingService.ts +455 -0
- package/Server/Services/UserOnCallLogService.ts +251 -0
- package/Server/Services/UserOnCallLogTimelineService.ts +127 -0
- package/Server/Services/UserService.ts +321 -0
- package/Server/Services/UserSmsService.ts +169 -0
- package/Server/Services/UserTwoFactorAuthService.ts +122 -0
- package/Server/Services/WorkflowLogService.ts +10 -0
- package/Server/Services/WorkflowService.ts +81 -0
- package/Server/Services/WorkflowVariableService.ts +9 -0
- package/Server/Types/AnalyticsDatabase/AggregateBy.ts +36 -0
- package/Server/Types/AnalyticsDatabase/CountBy.ts +13 -0
- package/Server/Types/AnalyticsDatabase/CreateBy.ts +7 -0
- package/Server/Types/AnalyticsDatabase/CreateManyBy.ts +7 -0
- package/Server/Types/AnalyticsDatabase/DeleteBy.ts +8 -0
- package/Server/Types/AnalyticsDatabase/FindBy.ts +9 -0
- package/Server/Types/AnalyticsDatabase/FindOneBy.ts +14 -0
- package/Server/Types/AnalyticsDatabase/FindOneByID.ts +10 -0
- package/Server/Types/AnalyticsDatabase/GroupBy.ts +8 -0
- package/Server/Types/AnalyticsDatabase/Hooks.ts +27 -0
- package/Server/Types/AnalyticsDatabase/ModelPermission.ts +732 -0
- package/Server/Types/AnalyticsDatabase/Query.ts +6 -0
- package/Server/Types/AnalyticsDatabase/QueryHelper.ts +26 -0
- package/Server/Types/AnalyticsDatabase/Select.ts +15 -0
- package/Server/Types/AnalyticsDatabase/Sort.ts +6 -0
- package/Server/Types/AnalyticsDatabase/UpdateBy.ts +9 -0
- package/Server/Types/AnalyticsDatabase/UpdateByID.ts +7 -0
- package/Server/Types/BaseDatabase/DatabaseRequestType.ts +8 -0
- package/Server/Types/Billing/MeteredPlan/ActiveMonitoringMeteredPlan.ts +70 -0
- package/Server/Types/Billing/MeteredPlan/AllMeteredPlans.ts +53 -0
- package/Server/Types/Billing/MeteredPlan/ServerMeteredPlan.ts +31 -0
- package/Server/Types/Billing/MeteredPlan/TelemetryMeteredPlan.ts +134 -0
- package/Server/Types/Database/CountBy.ts +14 -0
- package/Server/Types/Database/CreateBy.ts +9 -0
- package/Server/Types/Database/DeleteBy.ts +11 -0
- package/Server/Types/Database/DeleteById.ts +9 -0
- package/Server/Types/Database/DeleteOneBy.ts +10 -0
- package/Server/Types/Database/FindBy.ts +9 -0
- package/Server/Types/Database/FindOneBy.ts +14 -0
- package/Server/Types/Database/FindOneByID.ts +10 -0
- package/Server/Types/Database/GroupBy.ts +8 -0
- package/Server/Types/Database/HardDeleteBy.ts +8 -0
- package/Server/Types/Database/Hooks.ts +27 -0
- package/Server/Types/Database/Permissions/AccessControlPermission.ts +364 -0
- package/Server/Types/Database/Permissions/BasePermission.ts +129 -0
- package/Server/Types/Database/Permissions/BillingPermission.ts +98 -0
- package/Server/Types/Database/Permissions/ColumnPermission.ts +220 -0
- package/Server/Types/Database/Permissions/CreatePermission.ts +50 -0
- package/Server/Types/Database/Permissions/DeletePermission.ts +71 -0
- package/Server/Types/Database/Permissions/Index.ts +70 -0
- package/Server/Types/Database/Permissions/PermissionsUtil.ts +22 -0
- package/Server/Types/Database/Permissions/PublicPermission.ts +43 -0
- package/Server/Types/Database/Permissions/QueryPermission.ts +173 -0
- package/Server/Types/Database/Permissions/ReadPermission.ts +126 -0
- package/Server/Types/Database/Permissions/SelectPermission.ts +69 -0
- package/Server/Types/Database/Permissions/TablePermission.ts +132 -0
- package/Server/Types/Database/Permissions/TenantPermission.ts +103 -0
- package/Server/Types/Database/Permissions/UpdatePermission.ts +66 -0
- package/Server/Types/Database/Permissions/UserPermission.ts +27 -0
- package/Server/Types/Database/Query.ts +25 -0
- package/Server/Types/Database/QueryHelper.ts +421 -0
- package/Server/Types/Database/QueryUtil.ts +210 -0
- package/Server/Types/Database/RelationSelect.ts +9 -0
- package/Server/Types/Database/SearchBy.ts +13 -0
- package/Server/Types/Database/SearchResult.ts +7 -0
- package/Server/Types/Database/Select.ts +14 -0
- package/Server/Types/Database/SelectUtil.ts +41 -0
- package/Server/Types/Database/Sort.ts +21 -0
- package/Server/Types/Database/UpdateBy.ts +11 -0
- package/Server/Types/Database/UpdateByID.ts +10 -0
- package/Server/Types/Database/UpdateByIDAndFetch.ts +8 -0
- package/Server/Types/Database/UpdateOneBy.ts +10 -0
- package/Server/Types/Domain.ts +47 -0
- package/Server/Types/FeatureSet.ts +3 -0
- package/Server/Types/FunctionTypes.ts +0 -0
- package/Server/Types/Markdown.ts +138 -0
- package/Server/Types/Workflow/ComponentCode.ts +48 -0
- package/Server/Types/Workflow/Components/API/Delete.ts +70 -0
- package/Server/Types/Workflow/Components/API/Get.ts +70 -0
- package/Server/Types/Workflow/Components/API/Patch.ts +70 -0
- package/Server/Types/Workflow/Components/API/Post.ts +70 -0
- package/Server/Types/Workflow/Components/API/Put.ts +70 -0
- package/Server/Types/Workflow/Components/API/Utils.ts +79 -0
- package/Server/Types/Workflow/Components/BaseModel/CreateManyBaseModel.ts +126 -0
- package/Server/Types/Workflow/Components/BaseModel/CreateOneBaseModel.ts +127 -0
- package/Server/Types/Workflow/Components/BaseModel/DeleteManyBaseModel.ts +152 -0
- package/Server/Types/Workflow/Components/BaseModel/DeleteOneBaseModel.ts +123 -0
- package/Server/Types/Workflow/Components/BaseModel/FindManyBaseModel.ts +180 -0
- package/Server/Types/Workflow/Components/BaseModel/FindOneBaseModel.ts +155 -0
- package/Server/Types/Workflow/Components/BaseModel/OnCreateBaseModel.ts +11 -0
- package/Server/Types/Workflow/Components/BaseModel/OnDeleteBaseModel.ts +11 -0
- package/Server/Types/Workflow/Components/BaseModel/OnTriggerBaseModel.ts +232 -0
- package/Server/Types/Workflow/Components/BaseModel/OnUpdateBaseModel.ts +11 -0
- package/Server/Types/Workflow/Components/BaseModel/UpdateManyBaseModel.ts +174 -0
- package/Server/Types/Workflow/Components/BaseModel/UpdateOneBaseModel.ts +145 -0
- package/Server/Types/Workflow/Components/Conditions/IfElse.ts +134 -0
- package/Server/Types/Workflow/Components/Email.ts +142 -0
- package/Server/Types/Workflow/Components/Index.ts +117 -0
- package/Server/Types/Workflow/Components/JSON/JsonToText.ts +80 -0
- package/Server/Types/Workflow/Components/JSON/MergeJson.ts +88 -0
- package/Server/Types/Workflow/Components/JSON/TextToJson.ts +78 -0
- package/Server/Types/Workflow/Components/JavaScript.ts +97 -0
- package/Server/Types/Workflow/Components/Log.ts +47 -0
- package/Server/Types/Workflow/Components/Manual.ts +21 -0
- package/Server/Types/Workflow/Components/MicrosoftTeams/SendMessageToChannel.ts +123 -0
- package/Server/Types/Workflow/Components/Schedule.ts +146 -0
- package/Server/Types/Workflow/Components/Slack/SendMessageToChannel.ts +102 -0
- package/Server/Types/Workflow/Components/Webhook.ts +86 -0
- package/Server/Types/Workflow/TriggerCode.ts +85 -0
- package/Server/Types/Workflow/Workflow.ts +9 -0
- package/Server/Utils/Airtable.ts +43 -0
- package/Server/Utils/AnalyticsDatabase/Statement.ts +203 -0
- package/Server/Utils/AnalyticsDatabase/StatementGenerator.ts +748 -0
- package/Server/Utils/BasicCron.ts +38 -0
- package/Server/Utils/CodeRepository/CodeRepository.ts +432 -0
- package/Server/Utils/CodeRepository/CodeRepositoryFile.ts +10 -0
- package/Server/Utils/CodeRepository/GitHub/GitHub.ts +240 -0
- package/Server/Utils/CodeRepository/HostedCodeRepository/HostedCodeRepository.ts +59 -0
- package/Server/Utils/Cookie.ts +188 -0
- package/Server/Utils/CronTab.ts +14 -0
- package/Server/Utils/Encryption.ts +32 -0
- package/Server/Utils/Environment.ts +20 -0
- package/Server/Utils/Errors.ts +24 -0
- package/Server/Utils/Execute.ts +25 -0
- package/Server/Utils/Express.ts +96 -0
- package/Server/Utils/Greenlock/Greenlock.ts +258 -0
- package/Server/Utils/JsonToCsv.ts +14 -0
- package/Server/Utils/JsonWebToken.ts +121 -0
- package/Server/Utils/LocalFile.ts +208 -0
- package/Server/Utils/Logger.ts +101 -0
- package/Server/Utils/Monitor/Criteria/APIRequestCriteria.ts +188 -0
- package/Server/Utils/Monitor/Criteria/CompareCriteria.ts +569 -0
- package/Server/Utils/Monitor/Criteria/CustomCodeMonitorCriteria.ts +109 -0
- package/Server/Utils/Monitor/Criteria/EvaluateOverTime.ts +120 -0
- package/Server/Utils/Monitor/Criteria/IncomingRequestCriteria.ts +239 -0
- package/Server/Utils/Monitor/Criteria/LogMonitorCriteria.ts +31 -0
- package/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.ts +213 -0
- package/Server/Utils/Monitor/Criteria/ServerMonitorCriteria.ts +288 -0
- package/Server/Utils/Monitor/Criteria/SyntheticMonitor.ts +47 -0
- package/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.ts +31 -0
- package/Server/Utils/Monitor/DataToProcess.ts +14 -0
- package/Server/Utils/Monitor/MonitorResource.ts +1266 -0
- package/Server/Utils/Process.ts +20 -0
- package/Server/Utils/Realtime.ts +146 -0
- package/Server/Utils/Response.ts +299 -0
- package/Server/Utils/Slack.ts +29 -0
- package/Server/Utils/StartServer.ts +289 -0
- package/Server/Utils/Stream.ts +30 -0
- package/Server/Utils/Telemetry.ts +279 -0
- package/Server/Utils/TwoFactorAuth.ts +75 -0
- package/Server/Utils/VM/VMAPI.ts +178 -0
- package/Server/Utils/VM/VMRunner.ts +58 -0
- package/Tests/Server/API/BaseAPI.test.ts +807 -0
- package/Tests/Server/API/Helpers.ts +67 -0
- package/Tests/Server/API/ProbeAPI.test.ts +107 -0
- package/Tests/Server/API/ProjectAPI.test.ts +219 -0
- package/Tests/Server/API/UserSmsApi.test.ts +242 -0
- package/Tests/Server/Middleware/BearerTokenAuthorization.test.ts +74 -0
- package/Tests/Server/Middleware/ClusterKeyAuthorization.test.ts +102 -0
- package/Tests/Server/Middleware/NotificationMiddleware.test.ts +182 -0
- package/Tests/Server/Middleware/ProjectAuthorization.test.ts +289 -0
- package/Tests/Server/Middleware/UserAuthorization.test.ts +831 -0
- package/Tests/Server/Services/AnalyticsDatabaseService.test.ts +258 -0
- package/Tests/Server/Services/BillingService.test.ts +1441 -0
- package/Tests/Server/Services/ProbeService.test.ts +838 -0
- package/Tests/Server/Services/ScheduledMaintenanceService.test.ts +119 -0
- package/Tests/Server/Services/TeamMemberService.test.ts +1252 -0
- package/Tests/Server/TestingUtils/Init.ts +5 -0
- package/Tests/Server/TestingUtils/Postgres/TestDataSourceOptions.ts +21 -0
- package/Tests/Server/TestingUtils/Redis/TestRedisOptions.ts +27 -0
- package/Tests/Server/TestingUtils/Services/BillingServiceHelper.ts +202 -0
- package/Tests/Server/TestingUtils/Services/ProjectServiceHelper.ts +56 -0
- package/Tests/Server/TestingUtils/Services/ScheduledMaintenanceServiceHelper.ts +29 -0
- package/Tests/Server/TestingUtils/Services/ScheduledMaintenanceStateServiceHelper.ts +43 -0
- package/Tests/Server/TestingUtils/Services/TeamMemberServiceHelper.ts +22 -0
- package/Tests/Server/TestingUtils/Services/TeamServiceHelper.ts +34 -0
- package/Tests/Server/TestingUtils/Services/Types.ts +57 -0
- package/Tests/Server/TestingUtils/Services/UserServiceHelper.ts +50 -0
- package/Tests/Server/TestingUtils/__mocks__/Stripe.mock.ts +16 -0
- package/Tests/Server/TestingUtils/__mocks__/TestDatabase.mock.ts +30 -0
- package/Tests/Server/Utils/AnalyticsDatabase/Statement.test.ts +105 -0
- package/Tests/Server/Utils/AnalyticsDatabase/StatementGenerator.test.ts +359 -0
- package/Tests/Server/Utils/Cookie.test.ts +121 -0
- package/Tests/Server/Utils/CronTab.test.ts +44 -0
- package/Tests/Server/Utils/JsonToCsv.test.ts +147 -0
- package/Tests/Types/API/Headers.test.ts +1 -1
- package/Tests/Types/Database/Date.test.ts +12 -17
- package/Tests/Types/Sleep.test.ts +4 -8
- package/Tests/UI/Components/404.test.tsx +73 -0
- package/Tests/UI/Components/Alert.test.tsx +102 -0
- package/Tests/UI/Components/Badge.test.tsx +60 -0
- package/Tests/UI/Components/BasicForm.test.tsx +135 -0
- package/Tests/UI/Components/Breadcrumbs.test.tsx +79 -0
- package/Tests/UI/Components/Button.test.tsx +202 -0
- package/Tests/UI/Components/Card.test.tsx +111 -0
- package/Tests/UI/Components/ColorViewer.test.tsx +63 -0
- package/Tests/UI/Components/ComponentsModal.test.tsx +423 -0
- package/Tests/UI/Components/ConfirmModal.test.tsx +91 -0
- package/Tests/UI/Components/DictionaryOfStrings.test.tsx +119 -0
- package/Tests/UI/Components/Dropdown.test.tsx +247 -0
- package/Tests/UI/Components/DuplicateModel.test.tsx +306 -0
- package/Tests/UI/Components/EmptyState/EmptyState.test.tsx +44 -0
- package/Tests/UI/Components/ErrorBoundary.test.tsx +50 -0
- package/Tests/UI/Components/FilePicker.test.tsx +393 -0
- package/Tests/UI/Components/HiddenText.test.tsx +63 -0
- package/Tests/UI/Components/Input.test.tsx +286 -0
- package/Tests/UI/Components/Item.test.tsx +72 -0
- package/Tests/UI/Components/List.test.tsx +99 -0
- package/Tests/UI/Components/Loader.test.tsx +31 -0
- package/Tests/UI/Components/MasterPage.test.tsx +62 -0
- package/Tests/UI/Components/Modal.test.tsx +276 -0
- package/Tests/UI/Components/NavBar.test.tsx +44 -0
- package/Tests/UI/Components/OrderedStatesList.test.tsx +131 -0
- package/Tests/UI/Components/Pagination.test.tsx +166 -0
- package/Tests/UI/Components/Pill.test.tsx +49 -0
- package/Tests/UI/Components/Probe.test.tsx +64 -0
- package/Tests/UI/Components/ProgressBar.test.tsx +52 -0
- package/Tests/UI/Components/RadioButtons.test.tsx +106 -0
- package/Tests/UI/Components/SideMenuItem.test.tsx +153 -0
- package/Tests/UI/Components/SideOver.test.tsx +112 -0
- package/Tests/UI/Components/Tabs.test.tsx +88 -0
- package/Tests/UI/Components/Template/Template.test.tsx +17 -0
- package/Tests/UI/Components/TextArea.test.tsx +153 -0
- package/Tests/UI/Components/Toast.test.tsx +74 -0
- package/Tests/UI/Components/Toggle.test.tsx +170 -0
- package/Tests/UI/Components/TopSection.test.tsx +45 -0
- package/Tests/UI/Index.tsx +1 -0
- package/Tests/UI/Mocks/FileMock.ts +1 -0
- package/Tests/Utils/Faker.test.ts +1 -1
- package/Types/API/HTTPMethod.ts +1 -0
- package/Types/BaseDatabase/InBetween.ts +2 -18
- package/Types/BaseDatabase/Includes.ts +1 -1
- package/Types/Domain.ts +1 -1
- package/Types/JSONFunctions.ts +7 -0
- package/Types/Monitor/CriteriaFilter.ts +3 -0
- package/Types/Monitor/LogMonitor/LogMonitorResponse.ts +3 -2
- package/Types/Monitor/MonitorCriteriaInstance.ts +54 -0
- package/Types/Monitor/MonitorStep.ts +26 -0
- package/Types/Monitor/MonitorStepTraceMonitor.ts +96 -0
- package/Types/Monitor/MonitorSteps.ts +7 -1
- package/Types/Monitor/MonitorType.ts +6 -6
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.ts +9 -0
- package/Types/SerializableObjectDictionary.ts +2 -0
- package/Types/StatusPage/UptimePrecision.ts +8 -0
- package/Types/Workflow/ComponentID.ts +1 -0
- package/Types/Workflow/Components/API.ts +86 -0
- package/UI/Components/404.tsx +59 -0
- package/UI/Components/Accordion/Accordion.tsx +119 -0
- package/UI/Components/Accordion/AccordionGroup.tsx +13 -0
- package/UI/Components/ActionButton/ActionButtonSchema.ts +19 -0
- package/UI/Components/Alerts/Alert.tsx +135 -0
- package/UI/Components/AuthContainer/AuthContainer.tsx +13 -0
- package/UI/Components/Badge/Badge.tsx +48 -0
- package/UI/Components/Banner/Banner.tsx +48 -0
- package/UI/Components/Breadcrumbs/Breadcrumbs.tsx +67 -0
- package/UI/Components/BulkUpdate/BulkUpdateForm.tsx +301 -0
- package/UI/Components/Button/Button.tsx +249 -0
- package/UI/Components/Button/ButtonTypes.ts +7 -0
- package/UI/Components/Calendar/Calendar.tsx +93 -0
- package/UI/Components/Card/Card.tsx +105 -0
- package/UI/Components/Card/CardButtons/Refresh.ts +15 -0
- package/UI/Components/CategoryCheckbox/Category.tsx +138 -0
- package/UI/Components/CategoryCheckbox/CategoryCheckboxTypes.ts +14 -0
- package/UI/Components/CategoryCheckbox/CheckboxList.tsx +103 -0
- package/UI/Components/CategoryCheckbox/Index.tsx +173 -0
- package/UI/Components/Charts/Bar/Bar.tsx +0 -0
- package/UI/Components/Charts/Base/BaseChart.tsx +0 -0
- package/UI/Components/Charts/ChartGroup/ChartGroup.tsx +74 -0
- package/UI/Components/Charts/Line/LineChart.tsx +240 -0
- package/UI/Components/Charts/Tooltip/Tooltip.tsx +84 -0
- package/UI/Components/Checkbox/Checkbox.tsx +94 -0
- package/UI/Components/Checkbox/CheckboxViewer.tsx +36 -0
- package/UI/Components/CodeBlock/CodeBlock.tsx +20 -0
- package/UI/Components/CodeEditor/CodeEditor.tsx +192 -0
- package/UI/Components/ColorCircle/ColorCircle.tsx +25 -0
- package/UI/Components/ColorSquareCube/ColorSquareCube.tsx +25 -0
- package/UI/Components/ColorViewer/ColorViewer.tsx +46 -0
- package/UI/Components/ComingSoon/ComingSoon.tsx +16 -0
- package/UI/Components/ComponentLoader/CompactLoader.tsx +13 -0
- package/UI/Components/ComponentLoader/ComponentLoader.tsx +12 -0
- package/UI/Components/CopyTextButton/CopyTextButton.tsx +37 -0
- package/UI/Components/CopyableButton/CopyableButton.tsx +51 -0
- package/UI/Components/CustomFields/CustomFieldsDetail.tsx +176 -0
- package/UI/Components/Date/StartAndEndDate.tsx +369 -0
- package/UI/Components/Detail/Detail.tsx +410 -0
- package/UI/Components/Detail/Field.ts +44 -0
- package/UI/Components/Detail/FieldLabel.tsx +47 -0
- package/UI/Components/Detail/PlaceholderText.tsx +13 -0
- package/UI/Components/Dictionary/Dictionary.tsx +326 -0
- package/UI/Components/Dictionary/DictionaryOfStingsViewer.tsx +63 -0
- package/UI/Components/Dictionary/DictionaryOfStrings.tsx +40 -0
- package/UI/Components/Divider/Divider.tsx +12 -0
- package/UI/Components/Dropdown/Dropdown.tsx +218 -0
- package/UI/Components/DuplicateModel/DuplicateModel.tsx +159 -0
- package/UI/Components/EmptyState/EmptyState.tsx +47 -0
- package/UI/Components/Error/PageError.tsx +38 -0
- package/UI/Components/ErrorBoundary.tsx +42 -0
- package/UI/Components/ErrorMessage/ErrorMessage.tsx +33 -0
- package/UI/Components/EventHistoryList/EventHistoryDayList.tsx +46 -0
- package/UI/Components/EventHistoryList/EventHistoryList.tsx +28 -0
- package/UI/Components/EventHistoryList/NoEventDay.tsx +27 -0
- package/UI/Components/EventItem/EventItem.tsx +320 -0
- package/UI/Components/Events/RecurringFieldElement.tsx +88 -0
- package/UI/Components/Events/RecurringViewElement.tsx +27 -0
- package/UI/Components/FilePicker/FilePicker.tsx +269 -0
- package/UI/Components/Filters/BooleanFilter.tsx +60 -0
- package/UI/Components/Filters/DateFilter.tsx +52 -0
- package/UI/Components/Filters/DropdownFilter.tsx +71 -0
- package/UI/Components/Filters/EntityFilter.tsx +70 -0
- package/UI/Components/Filters/FilterModal.tsx +0 -0
- package/UI/Components/Filters/FilterViewer.tsx +446 -0
- package/UI/Components/Filters/FilterViewerItem.tsx +27 -0
- package/UI/Components/Filters/FiltersForm.tsx +146 -0
- package/UI/Components/Filters/JSONFilter.tsx +55 -0
- package/UI/Components/Filters/TextFilter.tsx +99 -0
- package/UI/Components/Filters/Types/Filter.ts +12 -0
- package/UI/Components/Filters/Types/FilterData.ts +6 -0
- package/UI/Components/Footer/Footer.tsx +60 -0
- package/UI/Components/FormModal/BasicFormModal.tsx +68 -0
- package/UI/Components/Forms/BasicForm.tsx +658 -0
- package/UI/Components/Forms/BasicModelForm.tsx +128 -0
- package/UI/Components/Forms/Fields/ColorPicker.tsx +135 -0
- package/UI/Components/Forms/Fields/FieldLabel.tsx +50 -0
- package/UI/Components/Forms/Fields/FormField.tsx +651 -0
- package/UI/Components/Forms/ModelForm.tsx +760 -0
- package/UI/Components/Forms/Steps/Step.tsx +85 -0
- package/UI/Components/Forms/Steps/Steps.tsx +65 -0
- package/UI/Components/Forms/Types/Field.ts +105 -0
- package/UI/Components/Forms/Types/Fields.ts +5 -0
- package/UI/Components/Forms/Types/FormFieldSchemaType.ts +40 -0
- package/UI/Components/Forms/Types/FormFieldsSchema.ts +13 -0
- package/UI/Components/Forms/Types/FormStep.ts +13 -0
- package/UI/Components/Forms/Types/FormValues.ts +11 -0
- package/UI/Components/Forms/Validation.ts +337 -0
- package/UI/Components/Forms/WizardForm.tsx +0 -0
- package/UI/Components/FullPageModal/FullPageModal.tsx +32 -0
- package/UI/Components/GanttChart/Bar/BarLabel.tsx +17 -0
- package/UI/Components/GanttChart/Bar/Index.tsx +118 -0
- package/UI/Components/GanttChart/ChartContainer.tsx +42 -0
- package/UI/Components/GanttChart/Index.tsx +84 -0
- package/UI/Components/GanttChart/Row/Index.tsx +21 -0
- package/UI/Components/GanttChart/Row/Row.tsx +138 -0
- package/UI/Components/GanttChart/Row/RowLabel.tsx +21 -0
- package/UI/Components/GanttChart/Rows.tsx +53 -0
- package/UI/Components/GanttChart/Timeline/Index.tsx +46 -0
- package/UI/Components/GanttChart/Timeline/TimelineInterval.tsx +33 -0
- package/UI/Components/GanttChart/Timeline/TimelineIntervalMarks.tsx +43 -0
- package/UI/Components/Graphs/DayUptimeGraph.tsx +239 -0
- package/UI/Components/Header/Header.tsx +38 -0
- package/UI/Components/Header/HeaderIconDropdown/HeaderIconDropdown.tsx +0 -0
- package/UI/Components/Header/HeaderIconDropdownButton.tsx +84 -0
- package/UI/Components/Header/IconDropdown/IconDropdownItem.tsx +34 -0
- package/UI/Components/Header/IconDropdown/IconDropdownMenu.tsx +22 -0
- package/UI/Components/Header/IconDropdown/IconDropdownRow.tsx +13 -0
- package/UI/Components/Header/Notifications/NotificationItem.tsx +48 -0
- package/UI/Components/Header/Notifications/Notifications.tsx +98 -0
- package/UI/Components/Header/ProjectPicker/CreateNewProjectButton.tsx +34 -0
- package/UI/Components/Header/ProjectPicker/ProjectPicker.tsx +118 -0
- package/UI/Components/Header/ProjectPicker/ProjectPickerFilterBox.tsx +27 -0
- package/UI/Components/Header/ProjectPicker/ProjectPickerMenu.tsx +30 -0
- package/UI/Components/Header/ProjectPicker/ProjectPickerMenuItem.tsx +43 -0
- package/UI/Components/Header/SearchBox.tsx +30 -0
- package/UI/Components/Header/UserProfile/UserProfile.tsx +46 -0
- package/UI/Components/Header/UserProfile/UserProfileDropdownDivider.tsx +7 -0
- package/UI/Components/Header/UserProfile/UserProfileMenu.tsx +29 -0
- package/UI/Components/Header/UserProfile/UserProfileMenuItem.tsx +48 -0
- package/UI/Components/HeaderAlert/HeaderAlert.tsx +34 -0
- package/UI/Components/HeaderAlert/HeaderModelAlert.tsx +91 -0
- package/UI/Components/HiddenText/HiddenText.tsx +57 -0
- package/UI/Components/HorizontalRule/HorizontalRule.tsx +17 -0
- package/UI/Components/Icon/CircularIconImage.tsx +35 -0
- package/UI/Components/Icon/Icon.tsx +1124 -0
- package/UI/Components/Image/Image.tsx +65 -0
- package/UI/Components/ImageTiles/ImageTiles.tsx +58 -0
- package/UI/Components/InfoCard/InfoCard.tsx +26 -0
- package/UI/Components/InlineCode/InlineCode.tsx +17 -0
- package/UI/Components/Input/Input.tsx +230 -0
- package/UI/Components/Link/Link.tsx +89 -0
- package/UI/Components/List/List.tsx +154 -0
- package/UI/Components/List/ListBody.tsx +72 -0
- package/UI/Components/List/ListRow.tsx +161 -0
- package/UI/Components/Loader/Loader.tsx +50 -0
- package/UI/Components/Loader/PageLoader.tsx +22 -0
- package/UI/Components/LogsViewer/LogItem.tsx +266 -0
- package/UI/Components/LogsViewer/LogsViewer.tsx +252 -0
- package/UI/Components/Markdown.tsx/LazyMarkdownViewer.tsx +24 -0
- package/UI/Components/Markdown.tsx/MarkdownEditor.tsx +32 -0
- package/UI/Components/Markdown.tsx/MarkdownViewer.tsx +148 -0
- package/UI/Components/MasterPage/MasterPage.tsx +58 -0
- package/UI/Components/Modal/ConfirmModal.tsx +53 -0
- package/UI/Components/Modal/Modal.tsx +181 -0
- package/UI/Components/Modal/ModalBody.tsx +20 -0
- package/UI/Components/Modal/ModalFooter.tsx +66 -0
- package/UI/Components/ModelDelete/ModelDelete.tsx +99 -0
- package/UI/Components/ModelDetail/CardModelDetail.tsx +139 -0
- package/UI/Components/ModelDetail/Field.ts +8 -0
- package/UI/Components/ModelDetail/ModelDetail.tsx +267 -0
- package/UI/Components/ModelFilter/Filter.ts +29 -0
- package/UI/Components/ModelFormModal/ModelFormModal.tsx +120 -0
- package/UI/Components/ModelList/ModelList.tsx +303 -0
- package/UI/Components/ModelList/StaticModelList.tsx +190 -0
- package/UI/Components/ModelListModal/ModelListModal.tsx +56 -0
- package/UI/Components/ModelProgress/ModelProgress.tsx +74 -0
- package/UI/Components/ModelTable/AnalyticsModelTable.tsx +112 -0
- package/UI/Components/ModelTable/BaseModelTable.tsx +1798 -0
- package/UI/Components/ModelTable/Column.ts +34 -0
- package/UI/Components/ModelTable/Columns.ts +7 -0
- package/UI/Components/ModelTable/ModelTable.tsx +187 -0
- package/UI/Components/MonitorGraphs/Uptime.tsx +90 -0
- package/UI/Components/MonitorGraphs/UptimeUtil.ts +3 -0
- package/UI/Components/Navbar/NavBar.tsx +27 -0
- package/UI/Components/Navbar/NavBarItem.tsx +78 -0
- package/UI/Components/Navbar/NavBarMenu.tsx +52 -0
- package/UI/Components/Navbar/NavBarMenuItem.tsx +37 -0
- package/UI/Components/Navbar/NavBarMenuSubItem.tsx +20 -0
- package/UI/Components/ObjectID/IDGenerator.tsx +85 -0
- package/UI/Components/OrderedStatesList/Item.tsx +114 -0
- package/UI/Components/OrderedStatesList/OrderedStatesList.tsx +155 -0
- package/UI/Components/Page/ModelPage.tsx +79 -0
- package/UI/Components/Page/Page.tsx +91 -0
- package/UI/Components/Pagination/Pagination.tsx +243 -0
- package/UI/Components/Pill/Pill.tsx +67 -0
- package/UI/Components/Probe/Probe.tsx +69 -0
- package/UI/Components/ProgressBar/ProgressBar.tsx +69 -0
- package/UI/Components/QR/QR.tsx +41 -0
- package/UI/Components/Radio/Radio.tsx +66 -0
- package/UI/Components/RadioButtons/BasicRadioButtons.tsx +93 -0
- package/UI/Components/RadioButtons/GroupRadioButtons.tsx +125 -0
- package/UI/Components/ResetObjectID/ResetObjectID.tsx +139 -0
- package/UI/Components/ShortcutKey/Shortcut.tsx +20 -0
- package/UI/Components/ShortcutKey/ShortcutKey.ts +8 -0
- package/UI/Components/SideMenu/CountModelSideMenuItem.tsx +81 -0
- package/UI/Components/SideMenu/SideMenu.tsx +26 -0
- package/UI/Components/SideMenu/SideMenuItem.tsx +194 -0
- package/UI/Components/SideMenu/SideMenuSection.tsx +19 -0
- package/UI/Components/SideOver/SideOver.tsx +118 -0
- package/UI/Components/SimpleLogViewer/SimpleLogViewer.tsx +17 -0
- package/UI/Components/StatusBubble/StatusBubble.tsx +51 -0
- package/UI/Components/Table/Table.tsx +301 -0
- package/UI/Components/Table/TableBody.tsx +90 -0
- package/UI/Components/Table/TableCard.tsx +31 -0
- package/UI/Components/Table/TableHeader.tsx +129 -0
- package/UI/Components/Table/TableRow.tsx +276 -0
- package/UI/Components/Table/Types/Column.ts +20 -0
- package/UI/Components/Table/Types/Columns.ts +6 -0
- package/UI/Components/TableColumnList/TableColumnListComponent.tsx +83 -0
- package/UI/Components/Tabs/Tab.tsx +68 -0
- package/UI/Components/Tabs/Tabs.tsx +52 -0
- package/UI/Components/Template/Template.tsx +13 -0
- package/UI/Components/TextArea/TextArea.tsx +101 -0
- package/UI/Components/Toast/Toast.tsx +122 -0
- package/UI/Components/Toast/ToastInit.tsx +60 -0
- package/UI/Components/Toggle/Toggle.tsx +113 -0
- package/UI/Components/Tooltip/Tooltip.tsx +24 -0
- package/UI/Components/TopAlert/TopAlert.tsx +43 -0
- package/UI/Components/TopSection/TopSection.tsx +23 -0
- package/UI/Components/Types/FieldType.ts +39 -0
- package/UI/Components/Workflow/ArgumentsForm.tsx +177 -0
- package/UI/Components/Workflow/Component.tsx +321 -0
- package/UI/Components/Workflow/ComponentArgumentsViewer.tsx +61 -0
- package/UI/Components/Workflow/ComponentPortViewer.tsx +55 -0
- package/UI/Components/Workflow/ComponentReturnValueViewer.tsx +60 -0
- package/UI/Components/Workflow/ComponentSettingsModal.tsx +168 -0
- package/UI/Components/Workflow/ComponentValuePickerModal.tsx +197 -0
- package/UI/Components/Workflow/ComponentsModal.tsx +207 -0
- package/UI/Components/Workflow/DocumentationViewer.tsx +79 -0
- package/UI/Components/Workflow/RunForm.tsx +109 -0
- package/UI/Components/Workflow/RunModal.tsx +121 -0
- package/UI/Components/Workflow/Utils.ts +267 -0
- package/UI/Components/Workflow/VariableModal.tsx +55 -0
- package/UI/Components/Workflow/Workflow.tsx +525 -0
- package/UI/Components/Workflow/WorkflowStatus.tsx +37 -0
- package/UI/Config.ts +211 -0
- package/UI/Container.tsx +16 -0
- package/UI/Fonts/boxicons.eot +0 -0
- package/UI/Fonts/boxicons.svg +1510 -0
- package/UI/Fonts/boxicons.ttf +0 -0
- package/UI/Fonts/boxicons.woff +0 -0
- package/UI/Fonts/boxicons.woff2 +0 -0
- package/UI/Fonts/dripicons-v2.eot +0 -0
- package/UI/Fonts/dripicons-v2.svg +210 -0
- package/UI/Fonts/dripicons-v2.ttf +0 -0
- package/UI/Fonts/dripicons-v2.woff +0 -0
- package/UI/Fonts/fa-brands-400.eot +0 -0
- package/UI/Fonts/fa-brands-400.svg +3570 -0
- package/UI/Fonts/fa-brands-400.ttf +0 -0
- package/UI/Fonts/fa-brands-400.woff +0 -0
- package/UI/Fonts/fa-brands-400.woff2 +0 -0
- package/UI/Fonts/fa-regular-400.eot +0 -0
- package/UI/Fonts/fa-regular-400.svg +803 -0
- package/UI/Fonts/fa-regular-400.ttf +0 -0
- package/UI/Fonts/fa-regular-400.woff +0 -0
- package/UI/Fonts/fa-regular-400.woff2 +0 -0
- package/UI/Fonts/fa-solid-900.eot +0 -0
- package/UI/Fonts/fa-solid-900.svg +4938 -0
- package/UI/Fonts/fa-solid-900.ttf +0 -0
- package/UI/Fonts/fa-solid-900.woff +0 -0
- package/UI/Fonts/fa-solid-900.woff2 +0 -0
- package/UI/Fonts/materialdesignicons-webfont.eot +0 -0
- package/UI/Fonts/materialdesignicons-webfont.ttf +0 -0
- package/UI/Fonts/materialdesignicons-webfont.woff +0 -0
- package/UI/Fonts/materialdesignicons-webfont.woff2 +0 -0
- package/UI/Images/auth-bg.jpg +0 -0
- package/UI/Images/banner/placeholder.png +0 -0
- package/UI/Images/bg-1.jpg +0 -0
- package/UI/Images/bg-2.jpg +0 -0
- package/UI/Images/bg-3.jpg +0 -0
- package/UI/Images/error-img.png +0 -0
- package/UI/Images/favicon.ico +0 -0
- package/UI/Images/flags/french.jpg +0 -0
- package/UI/Images/flags/germany.jpg +0 -0
- package/UI/Images/flags/italy.jpg +0 -0
- package/UI/Images/flags/russia.jpg +0 -0
- package/UI/Images/flags/select2/ak.png +0 -0
- package/UI/Images/flags/select2/ca.png +0 -0
- package/UI/Images/flags/select2/hi.png +0 -0
- package/UI/Images/flags/select2/nv.png +0 -0
- package/UI/Images/flags/select2/or.png +0 -0
- package/UI/Images/flags/select2/wa.png +0 -0
- package/UI/Images/flags/spain.jpg +0 -0
- package/UI/Images/flags/us.jpg +0 -0
- package/UI/Images/giftbox.png +0 -0
- package/UI/Images/logo-sm.svg +1 -0
- package/UI/Images/logos/OneUptimeJPG/1.jpg +0 -0
- package/UI/Images/logos/OneUptimeJPG/2.jpg +0 -0
- package/UI/Images/logos/OneUptimeJPG/3.jpg +0 -0
- package/UI/Images/logos/OneUptimeJPG/4.jpg +0 -0
- package/UI/Images/logos/OneUptimeJPG/5.jpg +0 -0
- package/UI/Images/logos/OneUptimeJPG/6.jpg +0 -0
- package/UI/Images/logos/OneUptimePNG/1.png +0 -0
- package/UI/Images/logos/OneUptimePNG/2.png +0 -0
- package/UI/Images/logos/OneUptimePNG/3.png +0 -0
- package/UI/Images/logos/OneUptimePNG/4.png +0 -0
- package/UI/Images/logos/OneUptimePNG/5.png +0 -0
- package/UI/Images/logos/OneUptimePNG/6.png +0 -0
- package/UI/Images/logos/OneUptimePNG/7.png +0 -0
- package/UI/Images/logos/OneUptimeSVG/1.svg +1 -0
- package/UI/Images/logos/OneUptimeSVG/2.svg +1 -0
- package/UI/Images/logos/OneUptimeSVG/3-transparent.svg +1 -0
- package/UI/Images/logos/OneUptimeSVG/3.svg +1 -0
- package/UI/Images/logos/OneUptimeSVG/4.svg +1 -0
- package/UI/Images/logos/OneUptimeSVG/5.svg +1 -0
- package/UI/Images/logos/OneUptimeSVG/6.svg +1 -0
- package/UI/Images/small/img-1.jpg +0 -0
- package/UI/Images/small/img-2.jpg +0 -0
- package/UI/Images/small/img-3.jpg +0 -0
- package/UI/Images/small/img-4.jpg +0 -0
- package/UI/Images/small/img-5.jpg +0 -0
- package/UI/Images/small/img-6.jpg +0 -0
- package/UI/Images/small/img-7.jpg +0 -0
- package/UI/Images/undraw-calendar.svg +1 -0
- package/UI/Images/users/avatar-1.jpg +0 -0
- package/UI/Images/users/avatar-10.jpg +0 -0
- package/UI/Images/users/avatar-2.jpg +0 -0
- package/UI/Images/users/avatar-3.jpg +0 -0
- package/UI/Images/users/avatar-4.jpg +0 -0
- package/UI/Images/users/avatar-5.jpg +0 -0
- package/UI/Images/users/avatar-6.jpg +0 -0
- package/UI/Images/users/avatar-7.jpg +0 -0
- package/UI/Images/users/avatar-8.jpg +0 -0
- package/UI/Images/users/avatar-9.jpg +0 -0
- package/UI/Images/users/blank-profile.svg +8 -0
- package/UI/Types/AlignItem.ts +7 -0
- package/UI/Types/EntityFieldType.ts +20 -0
- package/UI/Types/FunctionTypes.ts +5 -0
- package/UI/Types/HtmlEvents.ts +7 -0
- package/UI/Types/RequiredEntityFields.ts +11 -0
- package/UI/Types/SelectEntityField.ts +11 -0
- package/UI/Types/UseComponentOutsideClick.ts +42 -0
- package/UI/Utils/API/API.ts +148 -0
- package/UI/Utils/API/ApiDocsAPI.ts +11 -0
- package/UI/Utils/API/DashboardAPI.ts +11 -0
- package/UI/Utils/API/DashboardFrontendAPI.ts +10 -0
- package/UI/Utils/API/HelmAPI.ts +10 -0
- package/UI/Utils/API/IdentityAPI.ts +11 -0
- package/UI/Utils/API/IntegrationAPI.ts +10 -0
- package/UI/Utils/Analytics.ts +6 -0
- package/UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.ts +520 -0
- package/UI/Utils/BaseDatabase/GroupBy.ts +9 -0
- package/UI/Utils/BaseDatabase/ListResult.ts +12 -0
- package/UI/Utils/BaseDatabase/Query.ts +25 -0
- package/UI/Utils/BaseDatabase/RequestOptions.ts +7 -0
- package/UI/Utils/BaseDatabase/Select.ts +9 -0
- package/UI/Utils/BaseDatabase/Sort.ts +10 -0
- package/UI/Utils/Clipboard.ts +5 -0
- package/UI/Utils/Cookie.ts +72 -0
- package/UI/Utils/Dropdown.ts +72 -0
- package/UI/Utils/File.ts +11 -0
- package/UI/Utils/GlobalEvents.ts +30 -0
- package/UI/Utils/History.ts +3 -0
- package/UI/Utils/JWT.ts +8 -0
- package/UI/Utils/JsonWebToken.ts +14 -0
- package/UI/Utils/LocalStorage.ts +45 -0
- package/UI/Utils/Logger.ts +21 -0
- package/UI/Utils/Login.ts +36 -0
- package/UI/Utils/ModelAPI/ModelAPI.ts +454 -0
- package/UI/Utils/Navigation.ts +243 -0
- package/UI/Utils/Permission.ts +90 -0
- package/UI/Utils/PricingPlan.ts +116 -0
- package/UI/Utils/Project.ts +52 -0
- package/UI/Utils/Realtime.ts +128 -0
- package/UI/Utils/StatusPage.ts +115 -0
- package/UI/Utils/Tailwind.ts +5 -0
- package/UI/Utils/Telemetry.ts +56 -0
- package/UI/Utils/Timezone.ts +37 -0
- package/UI/Utils/User.ts +193 -0
- package/Utils/API.ts +40 -0
- package/Utils/Faker.ts +22 -4
- package/Utils/Slug.ts +1 -1
- package/Utils/Uptime/UptimeUtil.ts +119 -6
- package/build/dist/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.js.map +1 -1
- package/build/dist/Models/AnalyticsModels/AnalyticsBaseModel/CommonModel.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AcmeCertificate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AcmeChallenge.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ApiKey.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ApiKeyPermission.js.map +1 -1
- package/build/dist/Models/DatabaseModels/BillingInvoice.js.map +1 -1
- package/build/dist/Models/DatabaseModels/BillingPaymentMethod.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CallLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CopilotAction.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CopilotCodeRepository.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CopilotPullRequest.js.map +1 -1
- package/build/dist/Models/DatabaseModels/DataMigration.js.map +1 -1
- package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js.map +1 -1
- package/build/dist/Models/DatabaseModels/DatabaseBaseModel/FileModel.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Domain.js.map +1 -1
- package/build/dist/Models/DatabaseModels/EmailLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/EmailVerificationToken.js.map +1 -1
- package/build/dist/Models/DatabaseModels/GlobalConfig.js.map +1 -1
- package/build/dist/Models/DatabaseModels/GreenlockCertificate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/GreenlockChallenge.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Incident.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentCustomField.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentInternalNote.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentNoteTemplate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentPublicNote.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentSeverity.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentState.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentStateTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentTemplate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentTemplateOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentTemplateOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Label.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Monitor.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorCustomField.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorGroup.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorGroupOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorGroupOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorGroupResource.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorProbe.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorSecret.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorStatus.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorStatusTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicy.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyCustomField.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicySchedule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Probe.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ProbeOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ProbeOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Project.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ProjectCallSMSConfig.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ProjectSmtpConfig.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ProjectSso.js.map +1 -1
- package/build/dist/Models/DatabaseModels/PromoCode.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Reseller.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ResellerPlan.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceCustomField.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceNoteTemplate.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenancePublicNote.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceState.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalogDependency.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalogMonitor.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalogOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalogOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalogTelemetryService.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCopilotCodeRepository.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ShortLink.js.map +1 -1
- package/build/dist/Models/DatabaseModels/SmsLog.js +1 -1
- package/build/dist/Models/DatabaseModels/SmsLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPage.js +75 -0
- package/build/dist/Models/DatabaseModels/StatusPage.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageAnnouncement.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageCustomField.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageDomain.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageFooterLink.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageGroup.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageHeaderLink.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPagePrivateUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageResource.js +1 -7
- package/build/dist/Models/DatabaseModels/StatusPageResource.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageSso.js.map +1 -1
- package/build/dist/Models/DatabaseModels/StatusPageSubscriber.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Team.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TeamMember.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TeamPermission.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TelemetryIngestionKey.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TelemetryService.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TelemetryUsageBilling.js.map +1 -1
- package/build/dist/Models/DatabaseModels/User.js +3 -4
- package/build/dist/Models/DatabaseModels/User.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserCall.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserEmail.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserNotificationRule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserNotificationSetting.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserOnCallLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserOnCallLogTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserSMS.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserTwoFactorAuth.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Workflow.js.map +1 -1
- package/build/dist/Models/DatabaseModels/WorkflowLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/WorkflowVariable.js.map +1 -1
- package/build/dist/Server/API/BaseAPI.js +243 -0
- package/build/dist/Server/API/BaseAPI.js.map +1 -0
- package/build/dist/Server/API/BaseAnalyticsAPI.js +271 -0
- package/build/dist/Server/API/BaseAnalyticsAPI.js.map +1 -0
- package/build/dist/Server/API/BillingInvoiceAPI.js +106 -0
- package/build/dist/Server/API/BillingInvoiceAPI.js.map +1 -0
- package/build/dist/Server/API/BillingPaymentMethodAPI.js +62 -0
- package/build/dist/Server/API/BillingPaymentMethodAPI.js.map +1 -0
- package/build/dist/Server/API/CommonAPI.js +43 -0
- package/build/dist/Server/API/CommonAPI.js.map +1 -0
- package/build/dist/Server/API/CopilotActionAPI.js +116 -0
- package/build/dist/Server/API/CopilotActionAPI.js.map +1 -0
- package/build/dist/Server/API/CopilotCodeRepositoryAPI.js +91 -0
- package/build/dist/Server/API/CopilotCodeRepositoryAPI.js.map +1 -0
- package/build/dist/Server/API/CopilotPullRequestAPI.js +166 -0
- package/build/dist/Server/API/CopilotPullRequestAPI.js.map +1 -0
- package/build/dist/Server/API/FileAPI.js +30 -0
- package/build/dist/Server/API/FileAPI.js.map +1 -0
- package/build/dist/Server/API/GlobalConfigAPI.js +33 -0
- package/build/dist/Server/API/GlobalConfigAPI.js.map +1 -0
- package/build/dist/Server/API/Index.js +10 -0
- package/build/dist/Server/API/Index.js.map +1 -0
- package/build/dist/Server/API/MonitorGroupAPI.js +48 -0
- package/build/dist/Server/API/MonitorGroupAPI.js.map +1 -0
- package/build/dist/Server/API/NotificationAPI.js +54 -0
- package/build/dist/Server/API/NotificationAPI.js.map +1 -0
- package/build/dist/Server/API/ProbeAPI.js +39 -0
- package/build/dist/Server/API/ProbeAPI.js.map +1 -0
- package/build/dist/Server/API/ProjectAPI.js +118 -0
- package/build/dist/Server/API/ProjectAPI.js.map +1 -0
- package/build/dist/Server/API/ProjectSSO.js +40 -0
- package/build/dist/Server/API/ProjectSSO.js.map +1 -0
- package/build/dist/Server/API/ResellerPlanAPI.js +187 -0
- package/build/dist/Server/API/ResellerPlanAPI.js.map +1 -0
- package/build/dist/Server/API/ShortLinkAPI.js +28 -0
- package/build/dist/Server/API/ShortLinkAPI.js.map +1 -0
- package/build/dist/Server/API/StatusAPI.js +86 -0
- package/build/dist/Server/API/StatusAPI.js.map +1 -0
- package/build/dist/Server/API/StatusPageAPI.js +1558 -0
- package/build/dist/Server/API/StatusPageAPI.js.map +1 -0
- package/build/dist/Server/API/StatusPageDomainAPI.js +127 -0
- package/build/dist/Server/API/StatusPageDomainAPI.js.map +1 -0
- package/build/dist/Server/API/StatusPageSubscriberAPI.js +31 -0
- package/build/dist/Server/API/StatusPageSubscriberAPI.js.map +1 -0
- package/build/dist/Server/API/TelemetryAPI.js +41 -0
- package/build/dist/Server/API/TelemetryAPI.js.map +1 -0
- package/build/dist/Server/API/UserCallAPI.js +62 -0
- package/build/dist/Server/API/UserCallAPI.js.map +1 -0
- package/build/dist/Server/API/UserEmailAPI.js +64 -0
- package/build/dist/Server/API/UserEmailAPI.js.map +1 -0
- package/build/dist/Server/API/UserOnCallLogTimelineAPI.js +98 -0
- package/build/dist/Server/API/UserOnCallLogTimelineAPI.js.map +1 -0
- package/build/dist/Server/API/UserSmsAPI.js +62 -0
- package/build/dist/Server/API/UserSmsAPI.js.map +1 -0
- package/build/dist/Server/API/UserTwoFactorAuthAPI.js +79 -0
- package/build/dist/Server/API/UserTwoFactorAuthAPI.js.map +1 -0
- package/build/dist/Server/API/VersionAPI.js +8 -0
- package/build/dist/Server/API/VersionAPI.js.map +1 -0
- package/build/dist/Server/BillingConfig.js +9 -0
- package/build/dist/Server/BillingConfig.js.map +1 -0
- package/build/dist/Server/DatabaseConfig.js +44 -0
- package/build/dist/Server/DatabaseConfig.js.map +1 -0
- package/build/dist/Server/EnvironmentConfig.js +97 -0
- package/build/dist/Server/EnvironmentConfig.js.map +1 -0
- package/build/dist/Server/Infrastructure/CacheDatabase.js +2 -0
- package/build/dist/Server/Infrastructure/CacheDatabase.js.map +1 -0
- package/build/dist/Server/Infrastructure/ClickhouseConfig.js +27 -0
- package/build/dist/Server/Infrastructure/ClickhouseConfig.js.map +1 -0
- package/build/dist/Server/Infrastructure/ClickhouseDatabase.js +85 -0
- package/build/dist/Server/Infrastructure/ClickhouseDatabase.js.map +1 -0
- package/build/dist/Server/Infrastructure/GlobalCache.js +88 -0
- package/build/dist/Server/Infrastructure/GlobalCache.js.map +1 -0
- package/build/dist/Server/Infrastructure/LocalCache.js +38 -0
- package/build/dist/Server/Infrastructure/LocalCache.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/DataSourceOptions.js +29 -0
- package/build/dist/Server/Infrastructure/Postgres/DataSourceOptions.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/LocalMigrationGenerationDataSource.js +6 -0
- package/build/dist/Server/Infrastructure/Postgres/LocalMigrationGenerationDataSource.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717605043663-InitialMigration.js +1857 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717605043663-InitialMigration.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717678334852-MigrationName.js +32 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717678334852-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717839110671-MigrationName.js +30 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717839110671-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717849921874-MigrationName.js +46 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717849921874-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717955235341-MigrationName.js +32 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717955235341-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718037833516-MigrationName.js +24 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718037833516-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718100824584-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718100824584-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718101665865-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718101665865-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718119926223-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718119926223-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718124277321-MigrationName.js +40 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718124277321-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718126316684-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718126316684-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718188920011-MigrationName.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718188920011-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718203144945-MigrationName.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718203144945-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718285877004-MigrationName.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718285877004-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718618155447-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718618155447-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718711669847-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718711669847-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718879960254-MigrationName.js +32 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718879960254-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719227548476-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719227548476-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719228104620-MigrationName.js +15 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719228104620-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719247426296-MigrationName.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719247426296-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719348009053-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719348009053-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719827175832-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719827175832-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719831213463-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719831213463-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719838746775-MigrationName.js +60 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719838746775-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719915433542-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719915433542-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720024126646-MigrationName.js +13 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720024126646-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720532068612-MigrationName.js +60 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720532068612-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720538999941-MigrationName.js +18 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720538999941-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720785305192-MigrationName.js +46 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720785305192-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720805596648-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720805596648-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720806196274-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720806196274-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720812937067-MigrationName.js +16 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720812937067-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721075917289-MigrationName.js +28 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721075917289-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721152139648-MigrationName.js +46 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721152139648-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721159743714-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721159743714-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721754545771-MigrationName.js +18 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721754545771-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721779190475-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721779190475-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722031205897-MigrationName.js +18 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722031205897-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722543640526-MigrationName.js +24 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722543640526-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722892318363-MigrationName.js +20 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722892318363-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723825511054-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723825511054-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723828588502-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723828588502-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +87 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -0
- package/build/dist/Server/Infrastructure/PostgresDatabase.js +98 -0
- package/build/dist/Server/Infrastructure/PostgresDatabase.js.map +1 -0
- package/build/dist/Server/Infrastructure/Queue.js +59 -0
- package/build/dist/Server/Infrastructure/Queue.js.map +1 -0
- package/build/dist/Server/Infrastructure/QueueWorker.js +30 -0
- package/build/dist/Server/Infrastructure/QueueWorker.js.map +1 -0
- package/build/dist/Server/Infrastructure/Redis.js +118 -0
- package/build/dist/Server/Infrastructure/Redis.js.map +1 -0
- package/build/dist/Server/Infrastructure/Semaphore.js +24 -0
- package/build/dist/Server/Infrastructure/Semaphore.js.map +1 -0
- package/build/dist/Server/Infrastructure/SocketIO.js +28 -0
- package/build/dist/Server/Infrastructure/SocketIO.js.map +1 -0
- package/build/dist/Server/Infrastructure/Status.js +25 -0
- package/build/dist/Server/Infrastructure/Status.js.map +1 -0
- package/build/dist/Server/Middleware/BearerTokenAuthorization.js +24 -0
- package/build/dist/Server/Middleware/BearerTokenAuthorization.js.map +1 -0
- package/build/dist/Server/Middleware/ClusterKeyAuthorization.js +36 -0
- package/build/dist/Server/Middleware/ClusterKeyAuthorization.js.map +1 -0
- package/build/dist/Server/Middleware/CodeRepositoryAuthorization.js +32 -0
- package/build/dist/Server/Middleware/CodeRepositoryAuthorization.js.map +1 -0
- package/build/dist/Server/Middleware/NotificationMiddleware.js +35 -0
- package/build/dist/Server/Middleware/NotificationMiddleware.js.map +1 -0
- package/build/dist/Server/Middleware/ProjectAuthorization.js +137 -0
- package/build/dist/Server/Middleware/ProjectAuthorization.js.map +1 -0
- package/build/dist/Server/Middleware/UserAuthorization.js +237 -0
- package/build/dist/Server/Middleware/UserAuthorization.js.map +1 -0
- package/build/dist/Server/Services/AccessTokenService.js +256 -0
- package/build/dist/Server/Services/AccessTokenService.js.map +1 -0
- package/build/dist/Server/Services/AcmeCertificateService.js +9 -0
- package/build/dist/Server/Services/AcmeCertificateService.js.map +1 -0
- package/build/dist/Server/Services/AcmeChallengeService.js +9 -0
- package/build/dist/Server/Services/AcmeChallengeService.js.map +1 -0
- package/build/dist/Server/Services/AnalyticsDatabaseService.js +661 -0
- package/build/dist/Server/Services/AnalyticsDatabaseService.js.map +1 -0
- package/build/dist/Server/Services/ApiKeyPermissionService.js +120 -0
- package/build/dist/Server/Services/ApiKeyPermissionService.js.map +1 -0
- package/build/dist/Server/Services/ApiKeyService.js +14 -0
- package/build/dist/Server/Services/ApiKeyService.js.map +1 -0
- package/build/dist/Server/Services/BaseService.js +4 -0
- package/build/dist/Server/Services/BaseService.js.map +1 -0
- package/build/dist/Server/Services/BillingInvoiceService.js +66 -0
- package/build/dist/Server/Services/BillingInvoiceService.js.map +1 -0
- package/build/dist/Server/Services/BillingPaymentMethodService.js +84 -0
- package/build/dist/Server/Services/BillingPaymentMethodService.js.map +1 -0
- package/build/dist/Server/Services/BillingService.js +526 -0
- package/build/dist/Server/Services/BillingService.js.map +1 -0
- package/build/dist/Server/Services/CallLogService.js +10 -0
- package/build/dist/Server/Services/CallLogService.js.map +1 -0
- package/build/dist/Server/Services/CallService.js +31 -0
- package/build/dist/Server/Services/CallService.js.map +1 -0
- package/build/dist/Server/Services/CopilotActionService.js +9 -0
- package/build/dist/Server/Services/CopilotActionService.js.map +1 -0
- package/build/dist/Server/Services/CopilotCodeRepositoryService.js +17 -0
- package/build/dist/Server/Services/CopilotCodeRepositoryService.js.map +1 -0
- package/build/dist/Server/Services/CopilotPullRequestService.js +9 -0
- package/build/dist/Server/Services/CopilotPullRequestService.js.map +1 -0
- package/build/dist/Server/Services/DataMigrationService.js +9 -0
- package/build/dist/Server/Services/DataMigrationService.js.map +1 -0
- package/build/dist/Server/Services/DatabaseService.js +989 -0
- package/build/dist/Server/Services/DatabaseService.js.map +1 -0
- package/build/dist/Server/Services/DomainService.js +62 -0
- package/build/dist/Server/Services/DomainService.js.map +1 -0
- package/build/dist/Server/Services/EmailLogService.js +10 -0
- package/build/dist/Server/Services/EmailLogService.js.map +1 -0
- package/build/dist/Server/Services/EmailVerificationTokenService.js +9 -0
- package/build/dist/Server/Services/EmailVerificationTokenService.js.map +1 -0
- package/build/dist/Server/Services/FileService.js +28 -0
- package/build/dist/Server/Services/FileService.js.map +1 -0
- package/build/dist/Server/Services/GlobalConfigService.js +9 -0
- package/build/dist/Server/Services/GlobalConfigService.js.map +1 -0
- package/build/dist/Server/Services/GreenlockCertificateService.js +9 -0
- package/build/dist/Server/Services/GreenlockCertificateService.js.map +1 -0
- package/build/dist/Server/Services/GreenlockChallengeService.js +9 -0
- package/build/dist/Server/Services/GreenlockChallengeService.js.map +1 -0
- package/build/dist/Server/Services/IncidentCustomFieldService.js +9 -0
- package/build/dist/Server/Services/IncidentCustomFieldService.js.map +1 -0
- package/build/dist/Server/Services/IncidentInternalNoteService.js +9 -0
- package/build/dist/Server/Services/IncidentInternalNoteService.js.map +1 -0
- package/build/dist/Server/Services/IncidentNoteTemplateService.js +9 -0
- package/build/dist/Server/Services/IncidentNoteTemplateService.js.map +1 -0
- package/build/dist/Server/Services/IncidentOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/IncidentOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/IncidentOwnerUserService.js +9 -0
- package/build/dist/Server/Services/IncidentOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/IncidentPublicNoteService.js +19 -0
- package/build/dist/Server/Services/IncidentPublicNoteService.js.map +1 -0
- package/build/dist/Server/Services/IncidentService.js +497 -0
- package/build/dist/Server/Services/IncidentService.js.map +1 -0
- package/build/dist/Server/Services/IncidentSeverityService.js +110 -0
- package/build/dist/Server/Services/IncidentSeverityService.js.map +1 -0
- package/build/dist/Server/Services/IncidentStateService.js +135 -0
- package/build/dist/Server/Services/IncidentStateService.js.map +1 -0
- package/build/dist/Server/Services/IncidentStateTimelineService.js +305 -0
- package/build/dist/Server/Services/IncidentStateTimelineService.js.map +1 -0
- package/build/dist/Server/Services/IncidentTemplateOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/IncidentTemplateOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/IncidentTemplateOwnerUserService.js +9 -0
- package/build/dist/Server/Services/IncidentTemplateOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/IncidentTemplateService.js +58 -0
- package/build/dist/Server/Services/IncidentTemplateService.js.map +1 -0
- package/build/dist/Server/Services/Index.js +253 -0
- package/build/dist/Server/Services/Index.js.map +1 -0
- package/build/dist/Server/Services/LabelService.js +27 -0
- package/build/dist/Server/Services/LabelService.js.map +1 -0
- package/build/dist/Server/Services/LogService.js +9 -0
- package/build/dist/Server/Services/LogService.js.map +1 -0
- package/build/dist/Server/Services/MailService.js +33 -0
- package/build/dist/Server/Services/MailService.js.map +1 -0
- package/build/dist/Server/Services/MetricService.js +9 -0
- package/build/dist/Server/Services/MetricService.js.map +1 -0
- package/build/dist/Server/Services/MonitorCustomFieldService.js +9 -0
- package/build/dist/Server/Services/MonitorCustomFieldService.js.map +1 -0
- package/build/dist/Server/Services/MonitorGroupOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/MonitorGroupOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/MonitorGroupOwnerUserService.js +9 -0
- package/build/dist/Server/Services/MonitorGroupOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/MonitorGroupResourceService.js +9 -0
- package/build/dist/Server/Services/MonitorGroupResourceService.js.map +1 -0
- package/build/dist/Server/Services/MonitorGroupService.js +140 -0
- package/build/dist/Server/Services/MonitorGroupService.js.map +1 -0
- package/build/dist/Server/Services/MonitorMetricsByMinuteService.js +12 -0
- package/build/dist/Server/Services/MonitorMetricsByMinuteService.js.map +1 -0
- package/build/dist/Server/Services/MonitorOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/MonitorOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/MonitorOwnerUserService.js +9 -0
- package/build/dist/Server/Services/MonitorOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/MonitorProbeService.js +75 -0
- package/build/dist/Server/Services/MonitorProbeService.js.map +1 -0
- package/build/dist/Server/Services/MonitorSecretService.js +9 -0
- package/build/dist/Server/Services/MonitorSecretService.js.map +1 -0
- package/build/dist/Server/Services/MonitorService.js +646 -0
- package/build/dist/Server/Services/MonitorService.js.map +1 -0
- package/build/dist/Server/Services/MonitorStatusService.js +108 -0
- package/build/dist/Server/Services/MonitorStatusService.js.map +1 -0
- package/build/dist/Server/Services/MonitorStatusTimelineService.js +247 -0
- package/build/dist/Server/Services/MonitorStatusTimelineService.js.map +1 -0
- package/build/dist/Server/Services/NotificationService.js +127 -0
- package/build/dist/Server/Services/NotificationService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyCustomFieldService.js +9 -0
- package/build/dist/Server/Services/OnCallDutyPolicyCustomFieldService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleScheduleService.js +9 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleScheduleService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleService.js +496 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleTeamService.js +9 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleTeamService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleUserService.js +9 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleUserService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogService.js +78 -0
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.js +9 -0
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerService.js +89 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerUserService.js +191 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerUserService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleService.js +98 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleService.js.map +1 -0
- package/build/dist/Server/Services/OnCallDutyPolicyService.js +51 -0
- package/build/dist/Server/Services/OnCallDutyPolicyService.js.map +1 -0
- package/build/dist/Server/Services/ProbeOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/ProbeOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/ProbeOwnerUserService.js +9 -0
- package/build/dist/Server/Services/ProbeOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/ProbeService.js +218 -0
- package/build/dist/Server/Services/ProbeService.js.map +1 -0
- package/build/dist/Server/Services/ProjectCallSMSConfigService.js +32 -0
- package/build/dist/Server/Services/ProjectCallSMSConfigService.js.map +1 -0
- package/build/dist/Server/Services/ProjectService.js +854 -0
- package/build/dist/Server/Services/ProjectService.js.map +1 -0
- package/build/dist/Server/Services/ProjectSmtpConfigService.js +46 -0
- package/build/dist/Server/Services/ProjectSmtpConfigService.js.map +1 -0
- package/build/dist/Server/Services/ProjectSsoService.js +9 -0
- package/build/dist/Server/Services/ProjectSsoService.js.map +1 -0
- package/build/dist/Server/Services/PromoCodeService.js +9 -0
- package/build/dist/Server/Services/PromoCodeService.js.map +1 -0
- package/build/dist/Server/Services/ResellerPlanService.js +9 -0
- package/build/dist/Server/Services/ResellerPlanService.js.map +1 -0
- package/build/dist/Server/Services/ResellerService.js +9 -0
- package/build/dist/Server/Services/ResellerService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceCustomFieldService.js +9 -0
- package/build/dist/Server/Services/ScheduledMaintenanceCustomFieldService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceInternalNoteService.js +9 -0
- package/build/dist/Server/Services/ScheduledMaintenanceInternalNoteService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceNoteTemplateService.js +9 -0
- package/build/dist/Server/Services/ScheduledMaintenanceNoteTemplateService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerUserService.js +9 -0
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenancePublicNoteService.js +19 -0
- package/build/dist/Server/Services/ScheduledMaintenancePublicNoteService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceService.js +295 -0
- package/build/dist/Server/Services/ScheduledMaintenanceService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateService.js +110 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateService.js.map +1 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateTimelineService.js +388 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateTimelineService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCatalogDependencyService.js +32 -0
- package/build/dist/Server/Services/ServiceCatalogDependencyService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCatalogMonitorService.js +40 -0
- package/build/dist/Server/Services/ServiceCatalogMonitorService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCatalogOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/ServiceCatalogOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCatalogOwnerUserService.js +9 -0
- package/build/dist/Server/Services/ServiceCatalogOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCatalogService.js +19 -0
- package/build/dist/Server/Services/ServiceCatalogService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCatalogTelemetryServiceService.js +40 -0
- package/build/dist/Server/Services/ServiceCatalogTelemetryServiceService.js.map +1 -0
- package/build/dist/Server/Services/ServiceCopilotCodeRepositoryService.js +9 -0
- package/build/dist/Server/Services/ServiceCopilotCodeRepositoryService.js.map +1 -0
- package/build/dist/Server/Services/ShortLinkService.js +44 -0
- package/build/dist/Server/Services/ShortLinkService.js.map +1 -0
- package/build/dist/Server/Services/SmsLogService.js +10 -0
- package/build/dist/Server/Services/SmsLogService.js.map +1 -0
- package/build/dist/Server/Services/SmsService.js +32 -0
- package/build/dist/Server/Services/SmsService.js.map +1 -0
- package/build/dist/Server/Services/SpanService.js +9 -0
- package/build/dist/Server/Services/SpanService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageAnnouncementService.js +9 -0
- package/build/dist/Server/Services/StatusPageAnnouncementService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageCertificateService.js +34 -0
- package/build/dist/Server/Services/StatusPageCertificateService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageCustomFieldService.js +9 -0
- package/build/dist/Server/Services/StatusPageCustomFieldService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageDomainService.js +393 -0
- package/build/dist/Server/Services/StatusPageDomainService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageFooterLinkService.js +184 -0
- package/build/dist/Server/Services/StatusPageFooterLinkService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageGroupService.js +183 -0
- package/build/dist/Server/Services/StatusPageGroupService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageHeaderLinkService.js +184 -0
- package/build/dist/Server/Services/StatusPageHeaderLinkService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageHistoryChartBarColorRuleService.js +184 -0
- package/build/dist/Server/Services/StatusPageHistoryChartBarColorRuleService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/StatusPageOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageOwnerUserService.js +9 -0
- package/build/dist/Server/Services/StatusPageOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/StatusPagePrivateUserService.js +106 -0
- package/build/dist/Server/Services/StatusPagePrivateUserService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageResourceService.js +198 -0
- package/build/dist/Server/Services/StatusPageResourceService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageService.js +707 -0
- package/build/dist/Server/Services/StatusPageService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageSsoService.js +9 -0
- package/build/dist/Server/Services/StatusPageSsoService.js.map +1 -0
- package/build/dist/Server/Services/StatusPageSubscriberService.js +291 -0
- package/build/dist/Server/Services/StatusPageSubscriberService.js.map +1 -0
- package/build/dist/Server/Services/TeamMemberService.js +333 -0
- package/build/dist/Server/Services/TeamMemberService.js.map +1 -0
- package/build/dist/Server/Services/TeamPermissionService.js +271 -0
- package/build/dist/Server/Services/TeamPermissionService.js.map +1 -0
- package/build/dist/Server/Services/TeamService.js +48 -0
- package/build/dist/Server/Services/TeamService.js.map +1 -0
- package/build/dist/Server/Services/TelemetryAttributeService.js +62 -0
- package/build/dist/Server/Services/TelemetryAttributeService.js.map +1 -0
- package/build/dist/Server/Services/TelemetryIngestionKeyService.js +16 -0
- package/build/dist/Server/Services/TelemetryIngestionKeyService.js.map +1 -0
- package/build/dist/Server/Services/TelemetryServiceService.js +37 -0
- package/build/dist/Server/Services/TelemetryServiceService.js.map +1 -0
- package/build/dist/Server/Services/TelemetryUsageBillingService.js +108 -0
- package/build/dist/Server/Services/TelemetryUsageBillingService.js.map +1 -0
- package/build/dist/Server/Services/UserCallService.js +146 -0
- package/build/dist/Server/Services/UserCallService.js.map +1 -0
- package/build/dist/Server/Services/UserEmailService.js +110 -0
- package/build/dist/Server/Services/UserEmailService.js.map +1 -0
- package/build/dist/Server/Services/UserNotificationRuleService.js +544 -0
- package/build/dist/Server/Services/UserNotificationRuleService.js.map +1 -0
- package/build/dist/Server/Services/UserNotificationSettingService.js +344 -0
- package/build/dist/Server/Services/UserNotificationSettingService.js.map +1 -0
- package/build/dist/Server/Services/UserOnCallLogService.js +200 -0
- package/build/dist/Server/Services/UserOnCallLogService.js.map +1 -0
- package/build/dist/Server/Services/UserOnCallLogTimelineService.js +100 -0
- package/build/dist/Server/Services/UserOnCallLogTimelineService.js.map +1 -0
- package/build/dist/Server/Services/UserService.js +247 -0
- package/build/dist/Server/Services/UserService.js.map +1 -0
- package/build/dist/Server/Services/UserSmsService.js +126 -0
- package/build/dist/Server/Services/UserSmsService.js.map +1 -0
- package/build/dist/Server/Services/UserTwoFactorAuthService.js +96 -0
- package/build/dist/Server/Services/UserTwoFactorAuthService.js.map +1 -0
- package/build/dist/Server/Services/WorkflowLogService.js +10 -0
- package/build/dist/Server/Services/WorkflowLogService.js.map +1 -0
- package/build/dist/Server/Services/WorkflowService.js +47 -0
- package/build/dist/Server/Services/WorkflowService.js.map +1 -0
- package/build/dist/Server/Services/WorkflowVariableService.js +9 -0
- package/build/dist/Server/Services/WorkflowVariableService.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js +28 -0
- package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/CountBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/CountBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/CreateBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/CreateBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/CreateManyBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/CreateManyBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/DeleteBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/DeleteBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/FindBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/FindBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/FindOneBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/FindOneBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/FindOneByID.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/FindOneByID.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/GroupBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/GroupBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Hooks.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Hooks.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/ModelPermission.js +351 -0
- package/build/dist/Server/Types/AnalyticsDatabase/ModelPermission.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Query.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Query.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/QueryHelper.js +19 -0
- package/build/dist/Server/Types/AnalyticsDatabase/QueryHelper.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Select.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Select.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Sort.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/Sort.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/UpdateBy.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/UpdateBy.js.map +1 -0
- package/build/dist/Server/Types/AnalyticsDatabase/UpdateByID.js +2 -0
- package/build/dist/Server/Types/AnalyticsDatabase/UpdateByID.js.map +1 -0
- package/build/dist/Server/Types/BaseDatabase/DatabaseRequestType.js +9 -0
- package/build/dist/Server/Types/BaseDatabase/DatabaseRequestType.js.map +1 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/ActiveMonitoringMeteredPlan.js +52 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/ActiveMonitoringMeteredPlan.js.map +1 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js +42 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js.map +1 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/ServerMeteredPlan.js +17 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/ServerMeteredPlan.js.map +1 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/TelemetryMeteredPlan.js +91 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/TelemetryMeteredPlan.js.map +1 -0
- package/build/dist/Server/Types/Database/CountBy.js +2 -0
- package/build/dist/Server/Types/Database/CountBy.js.map +1 -0
- package/build/dist/Server/Types/Database/CreateBy.js +2 -0
- package/build/dist/Server/Types/Database/CreateBy.js.map +1 -0
- package/build/dist/Server/Types/Database/DeleteBy.js +2 -0
- package/build/dist/Server/Types/Database/DeleteBy.js.map +1 -0
- package/build/dist/Server/Types/Database/DeleteById.js +2 -0
- package/build/dist/Server/Types/Database/DeleteById.js.map +1 -0
- package/build/dist/Server/Types/Database/DeleteOneBy.js +2 -0
- package/build/dist/Server/Types/Database/DeleteOneBy.js.map +1 -0
- package/build/dist/Server/Types/Database/FindBy.js +2 -0
- package/build/dist/Server/Types/Database/FindBy.js.map +1 -0
- package/build/dist/Server/Types/Database/FindOneBy.js +2 -0
- package/build/dist/Server/Types/Database/FindOneBy.js.map +1 -0
- package/build/dist/Server/Types/Database/FindOneByID.js +2 -0
- package/build/dist/Server/Types/Database/FindOneByID.js.map +1 -0
- package/build/dist/Server/Types/Database/GroupBy.js +2 -0
- package/build/dist/Server/Types/Database/GroupBy.js.map +1 -0
- package/build/dist/Server/Types/Database/HardDeleteBy.js +2 -0
- package/build/dist/Server/Types/Database/HardDeleteBy.js.map +1 -0
- package/build/dist/Server/Types/Database/Hooks.js +2 -0
- package/build/dist/Server/Types/Database/Hooks.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/AccessControlPermission.js +186 -0
- package/build/dist/Server/Types/Database/Permissions/AccessControlPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/BasePermission.js +61 -0
- package/build/dist/Server/Types/Database/Permissions/BasePermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/BillingPermission.js +45 -0
- package/build/dist/Server/Types/Database/Permissions/BillingPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/ColumnPermission.js +113 -0
- package/build/dist/Server/Types/Database/Permissions/ColumnPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/CreatePermission.js +23 -0
- package/build/dist/Server/Types/Database/Permissions/CreatePermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/DeletePermission.js +27 -0
- package/build/dist/Server/Types/Database/Permissions/DeletePermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/Index.js +25 -0
- package/build/dist/Server/Types/Database/Permissions/Index.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/PermissionsUtil.js +12 -0
- package/build/dist/Server/Types/Database/Permissions/PermissionsUtil.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/PublicPermission.js +23 -0
- package/build/dist/Server/Types/Database/Permissions/PublicPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/QueryPermission.js +84 -0
- package/build/dist/Server/Types/Database/Permissions/QueryPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/ReadPermission.js +62 -0
- package/build/dist/Server/Types/Database/Permissions/ReadPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/SelectPermission.js +30 -0
- package/build/dist/Server/Types/Database/Permissions/SelectPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/TablePermission.js +61 -0
- package/build/dist/Server/Types/Database/Permissions/TablePermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/TenantPermission.js +57 -0
- package/build/dist/Server/Types/Database/Permissions/TenantPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/UpdatePermission.js +23 -0
- package/build/dist/Server/Types/Database/Permissions/UpdatePermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Permissions/UserPermission.js +17 -0
- package/build/dist/Server/Types/Database/Permissions/UserPermission.js.map +1 -0
- package/build/dist/Server/Types/Database/Query.js +2 -0
- package/build/dist/Server/Types/Database/Query.js.map +1 -0
- package/build/dist/Server/Types/Database/QueryHelper.js +287 -0
- package/build/dist/Server/Types/Database/QueryHelper.js.map +1 -0
- package/build/dist/Server/Types/Database/QueryUtil.js +143 -0
- package/build/dist/Server/Types/Database/QueryUtil.js.map +1 -0
- package/build/dist/Server/Types/Database/RelationSelect.js +2 -0
- package/build/dist/Server/Types/Database/RelationSelect.js.map +1 -0
- package/build/dist/Server/Types/Database/SearchBy.js +2 -0
- package/build/dist/Server/Types/Database/SearchBy.js.map +1 -0
- package/build/dist/Server/Types/Database/SearchResult.js +2 -0
- package/build/dist/Server/Types/Database/SearchResult.js.map +1 -0
- package/build/dist/Server/Types/Database/Select.js +2 -0
- package/build/dist/Server/Types/Database/Select.js.map +1 -0
- package/build/dist/Server/Types/Database/SelectUtil.js +22 -0
- package/build/dist/Server/Types/Database/SelectUtil.js.map +1 -0
- package/build/dist/Server/Types/Database/Sort.js +2 -0
- package/build/dist/Server/Types/Database/Sort.js.map +1 -0
- package/build/dist/Server/Types/Database/UpdateBy.js +2 -0
- package/build/dist/Server/Types/Database/UpdateBy.js.map +1 -0
- package/build/dist/Server/Types/Database/UpdateByID.js +2 -0
- package/build/dist/Server/Types/Database/UpdateByID.js.map +1 -0
- package/build/dist/Server/Types/Database/UpdateByIDAndFetch.js +2 -0
- package/build/dist/Server/Types/Database/UpdateByIDAndFetch.js.map +1 -0
- package/build/dist/Server/Types/Database/UpdateOneBy.js +2 -0
- package/build/dist/Server/Types/Database/UpdateOneBy.js.map +1 -0
- package/build/dist/Server/Types/Domain.js +31 -0
- package/build/dist/Server/Types/Domain.js.map +1 -0
- package/build/dist/Server/Types/FeatureSet.js +2 -0
- package/build/dist/Server/Types/FeatureSet.js.map +1 -0
- package/build/dist/Server/Types/FunctionTypes.js +2 -0
- package/build/dist/Server/Types/FunctionTypes.js.map +1 -0
- package/build/dist/Server/Types/Markdown.js +115 -0
- package/build/dist/Server/Types/Markdown.js.map +1 -0
- package/build/dist/Server/Types/Workflow/ComponentCode.js +24 -0
- package/build/dist/Server/Types/Workflow/ComponentCode.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/API/Delete.js +47 -0
- package/build/dist/Server/Types/Workflow/Components/API/Delete.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/API/Get.js +47 -0
- package/build/dist/Server/Types/Workflow/Components/API/Get.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/API/Patch.js +47 -0
- package/build/dist/Server/Types/Workflow/Components/API/Patch.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/API/Post.js +47 -0
- package/build/dist/Server/Types/Workflow/Components/API/Post.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/API/Put.js +47 -0
- package/build/dist/Server/Types/Workflow/Components/API/Put.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/API/Utils.js +52 -0
- package/build/dist/Server/Types/Workflow/Components/API/Utils.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateManyBaseModel.js +79 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateManyBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateOneBaseModel.js +83 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateOneBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/DeleteManyBaseModel.js +99 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/DeleteManyBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/DeleteOneBaseModel.js +77 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/DeleteOneBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindManyBaseModel.js +116 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindManyBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindOneBaseModel.js +96 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindOneBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnCreateBaseModel.js +7 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnCreateBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnDeleteBaseModel.js +7 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnDeleteBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnTriggerBaseModel.js +149 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnTriggerBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnUpdateBaseModel.js +7 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnUpdateBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateManyBaseModel.js +112 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateManyBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateOneBaseModel.js +90 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateOneBaseModel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Conditions/IfElse.js +91 -0
- package/build/dist/Server/Types/Workflow/Components/Conditions/IfElse.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Email.js +101 -0
- package/build/dist/Server/Types/Workflow/Components/Email.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Index.js +82 -0
- package/build/dist/Server/Types/Workflow/Components/Index.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/JsonToText.js +57 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/JsonToText.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/MergeJson.js +56 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/MergeJson.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/TextToJson.js +54 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/TextToJson.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/JavaScript.js +70 -0
- package/build/dist/Server/Types/Workflow/Components/JavaScript.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Log.js +31 -0
- package/build/dist/Server/Types/Workflow/Components/Log.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Manual.js +17 -0
- package/build/dist/Server/Types/Workflow/Components/Manual.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/MicrosoftTeams/SendMessageToChannel.js +94 -0
- package/build/dist/Server/Types/Workflow/Components/MicrosoftTeams/SendMessageToChannel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Schedule.js +104 -0
- package/build/dist/Server/Types/Workflow/Components/Schedule.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Slack/SendMessageToChannel.js +74 -0
- package/build/dist/Server/Types/Workflow/Components/Slack/SendMessageToChannel.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Components/Webhook.js +53 -0
- package/build/dist/Server/Types/Workflow/Components/Webhook.js.map +1 -0
- package/build/dist/Server/Types/Workflow/TriggerCode.js +35 -0
- package/build/dist/Server/Types/Workflow/TriggerCode.js.map +1 -0
- package/build/dist/Server/Types/Workflow/Workflow.js +2 -0
- package/build/dist/Server/Types/Workflow/Workflow.js.map +1 -0
- package/build/dist/Server/Utils/Airtable.js +21 -0
- package/build/dist/Server/Utils/Airtable.js.map +1 -0
- package/build/dist/Server/Utils/AnalyticsDatabase/Statement.js +155 -0
- package/build/dist/Server/Utils/AnalyticsDatabase/Statement.js.map +1 -0
- package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js +536 -0
- package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js.map +1 -0
- package/build/dist/Server/Utils/BasicCron.js +22 -0
- package/build/dist/Server/Utils/BasicCron.js.map +1 -0
- package/build/dist/Server/Utils/CodeRepository/CodeRepository.js +228 -0
- package/build/dist/Server/Utils/CodeRepository/CodeRepository.js.map +1 -0
- package/build/dist/Server/Utils/CodeRepository/CodeRepositoryFile.js +2 -0
- package/build/dist/Server/Utils/CodeRepository/CodeRepositoryFile.js.map +1 -0
- package/build/dist/Server/Utils/CodeRepository/GitHub/GitHub.js +136 -0
- package/build/dist/Server/Utils/CodeRepository/GitHub/GitHub.js.map +1 -0
- package/build/dist/Server/Utils/CodeRepository/HostedCodeRepository/HostedCodeRepository.js +29 -0
- package/build/dist/Server/Utils/CodeRepository/HostedCodeRepository/HostedCodeRepository.js.map +1 -0
- package/build/dist/Server/Utils/Cookie.js +122 -0
- package/build/dist/Server/Utils/Cookie.js.map +1 -0
- package/build/dist/Server/Utils/CronTab.js +15 -0
- package/build/dist/Server/Utils/CronTab.js.map +1 -0
- package/build/dist/Server/Utils/Encryption.js +25 -0
- package/build/dist/Server/Utils/Encryption.js.map +1 -0
- package/build/dist/Server/Utils/Environment.js +19 -0
- package/build/dist/Server/Utils/Environment.js.map +1 -0
- package/build/dist/Server/Utils/Errors.js +20 -0
- package/build/dist/Server/Utils/Errors.js.map +1 -0
- package/build/dist/Server/Utils/Execute.js +18 -0
- package/build/dist/Server/Utils/Execute.js.map +1 -0
- package/build/dist/Server/Utils/Express.js +40 -0
- package/build/dist/Server/Utils/Express.js.map +1 -0
- package/build/dist/Server/Utils/Greenlock/Greenlock.js +197 -0
- package/build/dist/Server/Utils/Greenlock/Greenlock.js.map +1 -0
- package/build/dist/Server/Utils/JsonToCsv.js +13 -0
- package/build/dist/Server/Utils/JsonToCsv.js.map +1 -0
- package/build/dist/Server/Utils/JsonWebToken.js +86 -0
- package/build/dist/Server/Utils/JsonWebToken.js.map +1 -0
- package/build/dist/Server/Utils/LocalFile.js +147 -0
- package/build/dist/Server/Utils/LocalFile.js.map +1 -0
- package/build/dist/Server/Utils/Logger.js +77 -0
- package/build/dist/Server/Utils/Logger.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/APIRequestCriteria.js +128 -0
- package/build/dist/Server/Utils/Monitor/Criteria/APIRequestCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CompareCriteria.js +408 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CompareCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CustomCodeMonitorCriteria.js +79 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CustomCodeMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/EvaluateOverTime.js +85 -0
- package/build/dist/Server/Utils/Monitor/Criteria/EvaluateOverTime.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/IncomingRequestCriteria.js +155 -0
- package/build/dist/Server/Utils/Monitor/Criteria/IncomingRequestCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/LogMonitorCriteria.js +19 -0
- package/build/dist/Server/Utils/Monitor/Criteria/LogMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.js +125 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/ServerMonitorCriteria.js +175 -0
- package/build/dist/Server/Utils/Monitor/Criteria/ServerMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SyntheticMonitor.js +35 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SyntheticMonitor.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.js +19 -0
- package/build/dist/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/DataToProcess.js +2 -0
- package/build/dist/Server/Utils/Monitor/DataToProcess.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/MonitorResource.js +833 -0
- package/build/dist/Server/Utils/Monitor/MonitorResource.js.map +1 -0
- package/build/dist/Server/Utils/Process.js +15 -0
- package/build/dist/Server/Utils/Process.js.map +1 -0
- package/build/dist/Server/Utils/Realtime.js +87 -0
- package/build/dist/Server/Utils/Realtime.js.map +1 -0
- package/build/dist/Server/Utils/Response.js +152 -0
- package/build/dist/Server/Utils/Response.js.map +1 -0
- package/build/dist/Server/Utils/Slack.js +20 -0
- package/build/dist/Server/Utils/Slack.js.map +1 -0
- package/build/dist/Server/Utils/StartServer.js +183 -0
- package/build/dist/Server/Utils/StartServer.js.map +1 -0
- package/build/dist/Server/Utils/Stream.js +21 -0
- package/build/dist/Server/Utils/Stream.js.map +1 -0
- package/build/dist/Server/Utils/Telemetry.js +185 -0
- package/build/dist/Server/Utils/Telemetry.js.map +1 -0
- package/build/dist/Server/Utils/TwoFactorAuth.js +57 -0
- package/build/dist/Server/Utils/TwoFactorAuth.js.map +1 -0
- package/build/dist/Server/Utils/VM/VMAPI.js +124 -0
- package/build/dist/Server/Utils/VM/VMAPI.js.map +1 -0
- package/build/dist/Server/Utils/VM/VMRunner.js +30 -0
- package/build/dist/Server/Utils/VM/VMRunner.js.map +1 -0
- package/build/dist/Tests/Models/File.test.js.map +1 -0
- package/build/dist/Tests/Server/API/BaseAPI.test.js +566 -0
- package/build/dist/Tests/Server/API/BaseAPI.test.js.map +1 -0
- package/build/dist/Tests/Server/API/Helpers.js +27 -0
- package/build/dist/Tests/Server/API/Helpers.js.map +1 -0
- package/build/dist/Tests/Server/API/ProbeAPI.test.js +84 -0
- package/build/dist/Tests/Server/API/ProbeAPI.test.js.map +1 -0
- package/build/dist/Tests/Server/API/ProjectAPI.test.js +170 -0
- package/build/dist/Tests/Server/API/ProjectAPI.test.js.map +1 -0
- package/build/dist/Tests/Server/API/UserSmsApi.test.js +177 -0
- package/build/dist/Tests/Server/API/UserSmsApi.test.js.map +1 -0
- package/build/dist/Tests/Server/Middleware/BearerTokenAuthorization.test.js +63 -0
- package/build/dist/Tests/Server/Middleware/BearerTokenAuthorization.test.js.map +1 -0
- package/build/dist/Tests/Server/Middleware/ClusterKeyAuthorization.test.js +58 -0
- package/build/dist/Tests/Server/Middleware/ClusterKeyAuthorization.test.js.map +1 -0
- package/build/dist/Tests/Server/Middleware/NotificationMiddleware.test.js +100 -0
- package/build/dist/Tests/Server/Middleware/NotificationMiddleware.test.js.map +1 -0
- package/build/dist/Tests/Server/Middleware/ProjectAuthorization.test.js +169 -0
- package/build/dist/Tests/Server/Middleware/ProjectAuthorization.test.js.map +1 -0
- package/build/dist/Tests/Server/Middleware/UserAuthorization.test.js +417 -0
- package/build/dist/Tests/Server/Middleware/UserAuthorization.test.js.map +1 -0
- package/build/dist/Tests/Server/Services/AnalyticsDatabaseService.test.js +195 -0
- package/build/dist/Tests/Server/Services/AnalyticsDatabaseService.test.js.map +1 -0
- package/build/dist/Tests/Server/Services/BillingService.test.js +907 -0
- package/build/dist/Tests/Server/Services/BillingService.test.js.map +1 -0
- package/build/dist/Tests/Server/Services/ProbeService.test.js +719 -0
- package/build/dist/Tests/Server/Services/ProbeService.test.js.map +1 -0
- package/build/dist/Tests/Server/Services/ScheduledMaintenanceService.test.js +95 -0
- package/build/dist/Tests/Server/Services/ScheduledMaintenanceService.test.js.map +1 -0
- package/build/dist/Tests/Server/Services/TeamMemberService.test.js +852 -0
- package/build/dist/Tests/Server/Services/TeamMemberService.test.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Init.js +4 -0
- package/build/dist/Tests/Server/TestingUtils/Init.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Postgres/TestDataSourceOptions.js +9 -0
- package/build/dist/Tests/Server/TestingUtils/Postgres/TestDataSourceOptions.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Redis/TestRedisOptions.js +16 -0
- package/build/dist/Tests/Server/TestingUtils/Redis/TestRedisOptions.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/BillingServiceHelper.js +123 -0
- package/build/dist/Tests/Server/TestingUtils/Services/BillingServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/ProjectServiceHelper.js +39 -0
- package/build/dist/Tests/Server/TestingUtils/Services/ProjectServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/ScheduledMaintenanceServiceHelper.js +20 -0
- package/build/dist/Tests/Server/TestingUtils/Services/ScheduledMaintenanceServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/ScheduledMaintenanceStateServiceHelper.js +31 -0
- package/build/dist/Tests/Server/TestingUtils/Services/ScheduledMaintenanceStateServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/TeamMemberServiceHelper.js +14 -0
- package/build/dist/Tests/Server/TestingUtils/Services/TeamMemberServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/TeamServiceHelper.js +21 -0
- package/build/dist/Tests/Server/TestingUtils/Services/TeamServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/Types.js +2 -0
- package/build/dist/Tests/Server/TestingUtils/Services/Types.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/Services/UserServiceHelper.js +37 -0
- package/build/dist/Tests/Server/TestingUtils/Services/UserServiceHelper.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/__mocks__/Stripe.mock.js +13 -0
- package/build/dist/Tests/Server/TestingUtils/__mocks__/Stripe.mock.js.map +1 -0
- package/build/dist/Tests/Server/TestingUtils/__mocks__/TestDatabase.mock.js +22 -0
- package/build/dist/Tests/Server/TestingUtils/__mocks__/TestDatabase.mock.js.map +1 -0
- package/build/dist/Tests/Server/Utils/AnalyticsDatabase/Statement.test.js +94 -0
- package/build/dist/Tests/Server/Utils/AnalyticsDatabase/Statement.test.js.map +1 -0
- package/build/dist/Tests/Server/Utils/AnalyticsDatabase/StatementGenerator.test.js +298 -0
- package/build/dist/Tests/Server/Utils/AnalyticsDatabase/StatementGenerator.test.js.map +1 -0
- package/build/dist/Tests/Server/Utils/Cookie.test.js +77 -0
- package/build/dist/Tests/Server/Utils/Cookie.test.js.map +1 -0
- package/build/dist/Tests/Server/Utils/CronTab.test.js +29 -0
- package/build/dist/Tests/Server/Utils/CronTab.test.js.map +1 -0
- package/build/dist/Tests/Server/Utils/JsonToCsv.test.js +114 -0
- package/build/dist/Tests/Server/Utils/JsonToCsv.test.js.map +1 -0
- package/build/dist/Tests/Types/API/Headers.test.js +1 -1
- package/build/dist/Tests/Types/API/Headers.test.js.map +1 -1
- package/build/dist/Tests/Types/ArrayUtil.test.js +1 -1
- package/build/dist/Tests/Types/ArrayUtil.test.js.map +1 -1
- package/build/dist/Tests/Types/Database/Date.test.js +12 -10
- package/build/dist/Tests/Types/Database/Date.test.js.map +1 -1
- package/build/dist/Tests/Types/Sleep.test.js +3 -7
- package/build/dist/Tests/Types/Sleep.test.js.map +1 -1
- package/build/dist/Tests/UI/Components/404.test.js +54 -0
- package/build/dist/Tests/UI/Components/404.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Alert.test.js +83 -0
- package/build/dist/Tests/UI/Components/Alert.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Badge.test.js +59 -0
- package/build/dist/Tests/UI/Components/Badge.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/BasicForm.test.js +92 -0
- package/build/dist/Tests/UI/Components/BasicForm.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Breadcrumbs.test.js +65 -0
- package/build/dist/Tests/UI/Components/Breadcrumbs.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Button.test.js +104 -0
- package/build/dist/Tests/UI/Components/Button.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Card.test.js +83 -0
- package/build/dist/Tests/UI/Components/Card.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/ColorViewer.test.js +42 -0
- package/build/dist/Tests/UI/Components/ColorViewer.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/ComponentsModal.test.js +224 -0
- package/build/dist/Tests/UI/Components/ComponentsModal.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/ConfirmModal.test.js +57 -0
- package/build/dist/Tests/UI/Components/ConfirmModal.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/DictionaryOfStrings.test.js +82 -0
- package/build/dist/Tests/UI/Components/DictionaryOfStrings.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Dropdown.test.js +130 -0
- package/build/dist/Tests/UI/Components/Dropdown.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/DuplicateModel.test.js +219 -0
- package/build/dist/Tests/UI/Components/DuplicateModel.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/EmptyState/EmptyState.test.js +26 -0
- package/build/dist/Tests/UI/Components/EmptyState/EmptyState.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/ErrorBoundary.test.js +32 -0
- package/build/dist/Tests/UI/Components/ErrorBoundary.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/FilePicker.test.js +249 -0
- package/build/dist/Tests/UI/Components/FilePicker.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/HiddenText.test.js +51 -0
- package/build/dist/Tests/UI/Components/HiddenText.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Input.test.js +197 -0
- package/build/dist/Tests/UI/Components/Input.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Item.test.js +58 -0
- package/build/dist/Tests/UI/Components/Item.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/List.test.js +81 -0
- package/build/dist/Tests/UI/Components/List.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Loader.test.js +19 -0
- package/build/dist/Tests/UI/Components/Loader.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/MasterPage.test.js +46 -0
- package/build/dist/Tests/UI/Components/MasterPage.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Modal.test.js +127 -0
- package/build/dist/Tests/UI/Components/Modal.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/NavBar.test.js +33 -0
- package/build/dist/Tests/UI/Components/NavBar.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/OrderedStatesList.test.js +86 -0
- package/build/dist/Tests/UI/Components/OrderedStatesList.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Pagination.test.js +133 -0
- package/build/dist/Tests/UI/Components/Pagination.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Pill.test.js +49 -0
- package/build/dist/Tests/UI/Components/Pill.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Probe.test.js +52 -0
- package/build/dist/Tests/UI/Components/Probe.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/ProgressBar.test.js +44 -0
- package/build/dist/Tests/UI/Components/ProgressBar.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/RadioButtons.test.js +66 -0
- package/build/dist/Tests/UI/Components/RadioButtons.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/SideMenuItem.test.js +98 -0
- package/build/dist/Tests/UI/Components/SideMenuItem.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/SideOver.test.js +77 -0
- package/build/dist/Tests/UI/Components/SideOver.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Tabs.test.js +56 -0
- package/build/dist/Tests/UI/Components/Tabs.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Template/Template.test.js +15 -0
- package/build/dist/Tests/UI/Components/Template/Template.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/TextArea.test.js +97 -0
- package/build/dist/Tests/UI/Components/TextArea.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Toast.test.js +48 -0
- package/build/dist/Tests/UI/Components/Toast.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/Toggle.test.js +95 -0
- package/build/dist/Tests/UI/Components/Toggle.test.js.map +1 -0
- package/build/dist/Tests/UI/Components/TopSection.test.js +33 -0
- package/build/dist/Tests/UI/Components/TopSection.test.js.map +1 -0
- package/build/dist/Tests/UI/Index.js +2 -0
- package/build/dist/Tests/UI/Index.js.map +1 -0
- package/build/dist/Tests/UI/Mocks/FileMock.js +3 -0
- package/build/dist/Tests/UI/Mocks/FileMock.js.map +1 -0
- package/build/dist/Tests/Utils/API.test.js +1 -1
- package/build/dist/Tests/Utils/API.test.js.map +1 -1
- package/build/dist/Tests/Utils/Faker.test.js +1 -1
- package/build/dist/Tests/Utils/Faker.test.js.map +1 -1
- package/build/dist/Types/API/HTTPErrorResponse.js.map +1 -1
- package/build/dist/Types/API/HTTPMethod.js +1 -0
- package/build/dist/Types/API/HTTPMethod.js.map +1 -1
- package/build/dist/Types/API/HTTPResponse.js.map +1 -1
- package/build/dist/Types/API/Hostname.js.map +1 -1
- package/build/dist/Types/API/Route.js.map +1 -1
- package/build/dist/Types/API/StatusCode.js.map +1 -1
- package/build/dist/Types/API/URL.js.map +1 -1
- package/build/dist/Types/AnalyticsDatabase/TableColumn.js.map +1 -1
- package/build/dist/Types/ArrayUtil.js.map +1 -1
- package/build/dist/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js.map +1 -1
- package/build/dist/Types/BaseDatabase/EqualToOrNull.js.map +1 -1
- package/build/dist/Types/BaseDatabase/GreaterThan.js.map +1 -1
- package/build/dist/Types/BaseDatabase/GreaterThanOrEqual.js.map +1 -1
- package/build/dist/Types/BaseDatabase/InBetween.js +2 -14
- package/build/dist/Types/BaseDatabase/InBetween.js.map +1 -1
- package/build/dist/Types/BaseDatabase/Includes.js.map +1 -1
- package/build/dist/Types/BaseDatabase/IsNull.js.map +1 -1
- package/build/dist/Types/BaseDatabase/LessThan.js.map +1 -1
- package/build/dist/Types/BaseDatabase/LessThanOrEqual.js.map +1 -1
- package/build/dist/Types/BaseDatabase/ModelPermission.js.map +1 -1
- package/build/dist/Types/BaseDatabase/NotEqual.js.map +1 -1
- package/build/dist/Types/BaseDatabase/NotNull.js.map +1 -1
- package/build/dist/Types/BaseDatabase/Search.js.map +1 -1
- package/build/dist/Types/Billing/SubscriptionPlan.js.map +1 -1
- package/build/dist/Types/Billing/SubscriptionStatus.js.map +1 -1
- package/build/dist/Types/Call/CallRequest.js.map +1 -1
- package/build/dist/Types/Color.js.map +1 -1
- package/build/dist/Types/Currency.js.map +1 -1
- package/build/dist/Types/Database/AccessControl/ColumnAccessControl.js.map +1 -1
- package/build/dist/Types/Database/AccessControl/ColumnBillingAccessControl.js.map +1 -1
- package/build/dist/Types/Database/AccessControl/TableAccessControl.js.map +1 -1
- package/build/dist/Types/Database/AccessControl/TableBillingAccessControl.js.map +1 -1
- package/build/dist/Types/Database/CanAccessIfCanReadOn.js.map +1 -1
- package/build/dist/Types/Database/ColumnLength.js.map +1 -1
- package/build/dist/Types/Database/CompareBase.js.map +1 -1
- package/build/dist/Types/Database/DatabaseProperty.js.map +1 -1
- package/build/dist/Types/Database/Date.js.map +1 -1
- package/build/dist/Types/Database/IsPermissionsIf.js.map +1 -1
- package/build/dist/Types/Database/TableColumn.js.map +1 -1
- package/build/dist/Types/Database/UniqueColumnBy.js.map +1 -1
- package/build/dist/Types/Date.js.map +1 -1
- package/build/dist/Types/Day/DayOfWeek.js.map +1 -1
- package/build/dist/Types/Decimal.js.map +1 -1
- package/build/dist/Types/DiskSize.js.map +1 -1
- package/build/dist/Types/Domain.js +1 -1
- package/build/dist/Types/Domain.js.map +1 -1
- package/build/dist/Types/Email.js.map +1 -1
- package/build/dist/Types/EmailWithName.js.map +1 -1
- package/build/dist/Types/Events/Recurring.js.map +1 -1
- package/build/dist/Types/Exception/ApiException.js.map +1 -1
- package/build/dist/Types/Exception/SsoAuthorizationException.js +2 -1
- package/build/dist/Types/Exception/SsoAuthorizationException.js.map +1 -1
- package/build/dist/Types/HashCode.js.map +1 -1
- package/build/dist/Types/HashedString.js.map +1 -1
- package/build/dist/Types/IP/IP.js.map +1 -1
- package/build/dist/Types/IP/IPv4.js.map +1 -1
- package/build/dist/Types/IP/IPv6.js.map +1 -1
- package/build/dist/Types/JSONFunctions.js +3 -0
- package/build/dist/Types/JSONFunctions.js.map +1 -1
- package/build/dist/Types/Monitor/CriteriaFilter.js +2 -0
- package/build/dist/Types/Monitor/CriteriaFilter.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorCriteria.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js +49 -0
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStep.js +18 -1
- package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStepLogMonitor.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStepTraceMonitor.js +59 -0
- package/build/dist/Types/Monitor/MonitorStepTraceMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorSteps.js +3 -0
- package/build/dist/Types/Monitor/MonitorSteps.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorType.js +5 -6
- package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
- package/build/dist/Types/Monitor/TraceMonitor/TraceMonitorResponse.js +2 -0
- package/build/dist/Types/Monitor/TraceMonitor/TraceMonitorResponse.js.map +1 -0
- package/build/dist/Types/Name.js.map +1 -1
- package/build/dist/Types/ObjectID.js.map +1 -1
- package/build/dist/Types/OnCallDutyPolicy/Layer.js +1 -1
- package/build/dist/Types/OnCallDutyPolicy/Layer.js.map +1 -1
- package/build/dist/Types/OnCallDutyPolicy/RestrictionTimes.js.map +1 -1
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/Phone.js.map +1 -1
- package/build/dist/Types/Port.js.map +1 -1
- package/build/dist/Types/PositiveNumber.js.map +1 -1
- package/build/dist/Types/SerializableObjectDictionary.js +2 -0
- package/build/dist/Types/SerializableObjectDictionary.js.map +1 -1
- package/build/dist/Types/StatusPage/UptimePrecision.js +9 -0
- package/build/dist/Types/StatusPage/UptimePrecision.js.map +1 -0
- package/build/dist/Types/Text.js.map +1 -1
- package/build/dist/Types/Version.js.map +1 -1
- package/build/dist/Types/WebsiteRequest.js.map +1 -1
- package/build/dist/Types/Workflow/ComponentID.js +1 -0
- package/build/dist/Types/Workflow/ComponentID.js.map +1 -1
- package/build/dist/Types/Workflow/Components/API.js +84 -0
- package/build/dist/Types/Workflow/Components/API.js.map +1 -1
- package/build/dist/Types/Workflow/Components/BaseModel.js.map +1 -1
- package/build/dist/Types/XML.js.map +1 -1
- package/build/dist/UI/Components/404.js +25 -0
- package/build/dist/UI/Components/404.js.map +1 -0
- package/build/dist/UI/Components/Accordion/Accordion.js +51 -0
- package/build/dist/UI/Components/Accordion/Accordion.js.map +1 -0
- package/build/dist/UI/Components/Accordion/AccordionGroup.js +6 -0
- package/build/dist/UI/Components/Accordion/AccordionGroup.js.map +1 -0
- package/build/dist/UI/Components/ActionButton/ActionButtonSchema.js +2 -0
- package/build/dist/UI/Components/ActionButton/ActionButtonSchema.js.map +1 -0
- package/build/dist/UI/Components/Alerts/Alert.js +72 -0
- package/build/dist/UI/Components/Alerts/Alert.js.map +1 -0
- package/build/dist/UI/Components/AuthContainer/AuthContainer.js +6 -0
- package/build/dist/UI/Components/AuthContainer/AuthContainer.js.map +1 -0
- package/build/dist/UI/Components/Badge/Badge.js +25 -0
- package/build/dist/UI/Components/Badge/Badge.js.map +1 -0
- package/build/dist/UI/Components/Banner/Banner.js +19 -0
- package/build/dist/UI/Components/Banner/Banner.js.map +1 -0
- package/build/dist/UI/Components/Breadcrumbs/Breadcrumbs.js +25 -0
- package/build/dist/UI/Components/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/build/dist/UI/Components/BulkUpdate/BulkUpdateForm.js +139 -0
- package/build/dist/UI/Components/BulkUpdate/BulkUpdateForm.js.map +1 -0
- package/build/dist/UI/Components/Button/Button.js +137 -0
- package/build/dist/UI/Components/Button/Button.js.map +1 -0
- package/build/dist/UI/Components/Button/ButtonTypes.js +8 -0
- package/build/dist/UI/Components/Button/ButtonTypes.js.map +1 -0
- package/build/dist/UI/Components/Calendar/Calendar.js +55 -0
- package/build/dist/UI/Components/Calendar/Calendar.js.map +1 -0
- package/build/dist/UI/Components/Card/Card.js +31 -0
- package/build/dist/UI/Components/Card/Card.js.map +1 -0
- package/build/dist/UI/Components/Card/CardButtons/Refresh.js +12 -0
- package/build/dist/UI/Components/Card/CardButtons/Refresh.js.map +1 -0
- package/build/dist/UI/Components/CategoryCheckbox/Category.js +79 -0
- package/build/dist/UI/Components/CategoryCheckbox/Category.js.map +1 -0
- package/build/dist/UI/Components/CategoryCheckbox/CategoryCheckboxTypes.js +2 -0
- package/build/dist/UI/Components/CategoryCheckbox/CategoryCheckboxTypes.js.map +1 -0
- package/build/dist/UI/Components/CategoryCheckbox/CheckboxList.js +54 -0
- package/build/dist/UI/Components/CategoryCheckbox/CheckboxList.js.map +1 -0
- package/build/dist/UI/Components/CategoryCheckbox/Index.js +80 -0
- package/build/dist/UI/Components/CategoryCheckbox/Index.js.map +1 -0
- package/build/dist/UI/Components/Charts/Bar/Bar.js +2 -0
- package/build/dist/UI/Components/Charts/Bar/Bar.js.map +1 -0
- package/build/dist/UI/Components/Charts/Base/BaseChart.js +2 -0
- package/build/dist/UI/Components/Charts/Base/BaseChart.js.map +1 -0
- package/build/dist/UI/Components/Charts/ChartGroup/ChartGroup.js +30 -0
- package/build/dist/UI/Components/Charts/ChartGroup/ChartGroup.js.map +1 -0
- package/build/dist/UI/Components/Charts/Line/LineChart.js +139 -0
- package/build/dist/UI/Components/Charts/Line/LineChart.js.map +1 -0
- package/build/dist/UI/Components/Charts/Tooltip/Tooltip.js +34 -0
- package/build/dist/UI/Components/Charts/Tooltip/Tooltip.js.map +1 -0
- package/build/dist/UI/Components/Checkbox/Checkbox.js +30 -0
- package/build/dist/UI/Components/Checkbox/Checkbox.js.map +1 -0
- package/build/dist/UI/Components/Checkbox/CheckboxViewer.js +12 -0
- package/build/dist/UI/Components/Checkbox/CheckboxViewer.js.map +1 -0
- package/build/dist/UI/Components/CodeBlock/CodeBlock.js +8 -0
- package/build/dist/UI/Components/CodeBlock/CodeBlock.js.map +1 -0
- package/build/dist/UI/Components/CodeEditor/CodeEditor.js +129 -0
- package/build/dist/UI/Components/CodeEditor/CodeEditor.js.map +1 -0
- package/build/dist/UI/Components/ColorCircle/ColorCircle.js +10 -0
- package/build/dist/UI/Components/ColorCircle/ColorCircle.js.map +1 -0
- package/build/dist/UI/Components/ColorSquareCube/ColorSquareCube.js +10 -0
- package/build/dist/UI/Components/ColorSquareCube/ColorSquareCube.js.map +1 -0
- package/build/dist/UI/Components/ColorViewer/ColorViewer.js +22 -0
- package/build/dist/UI/Components/ColorViewer/ColorViewer.js.map +1 -0
- package/build/dist/UI/Components/ComingSoon/ComingSoon.js +8 -0
- package/build/dist/UI/Components/ComingSoon/ComingSoon.js.map +1 -0
- package/build/dist/UI/Components/ComponentLoader/CompactLoader.js +9 -0
- package/build/dist/UI/Components/ComponentLoader/CompactLoader.js.map +1 -0
- package/build/dist/UI/Components/ComponentLoader/ComponentLoader.js +8 -0
- package/build/dist/UI/Components/ComponentLoader/ComponentLoader.js.map +1 -0
- package/build/dist/UI/Components/CopyTextButton/CopyTextButton.js +18 -0
- package/build/dist/UI/Components/CopyTextButton/CopyTextButton.js.map +1 -0
- package/build/dist/UI/Components/CopyableButton/CopyableButton.js +24 -0
- package/build/dist/UI/Components/CopyableButton/CopyableButton.js.map +1 -0
- package/build/dist/UI/Components/CustomFields/CustomFieldsDetail.js +120 -0
- package/build/dist/UI/Components/CustomFields/CustomFieldsDetail.js.map +1 -0
- package/build/dist/UI/Components/Date/StartAndEndDate.js +199 -0
- package/build/dist/UI/Components/Date/StartAndEndDate.js.map +1 -0
- package/build/dist/UI/Components/Detail/Detail.js +231 -0
- package/build/dist/UI/Components/Detail/Detail.js.map +1 -0
- package/build/dist/UI/Components/Detail/Field.js +2 -0
- package/build/dist/UI/Components/Detail/Field.js.map +1 -0
- package/build/dist/UI/Components/Detail/FieldLabel.js +19 -0
- package/build/dist/UI/Components/Detail/FieldLabel.js.map +1 -0
- package/build/dist/UI/Components/Detail/PlaceholderText.js +6 -0
- package/build/dist/UI/Components/Detail/PlaceholderText.js.map +1 -0
- package/build/dist/UI/Components/Dictionary/Dictionary.js +175 -0
- package/build/dist/UI/Components/Dictionary/Dictionary.js.map +1 -0
- package/build/dist/UI/Components/Dictionary/DictionaryOfStingsViewer.js +29 -0
- package/build/dist/UI/Components/Dictionary/DictionaryOfStingsViewer.js.map +1 -0
- package/build/dist/UI/Components/Dictionary/DictionaryOfStrings.js +21 -0
- package/build/dist/UI/Components/Dictionary/DictionaryOfStrings.js.map +1 -0
- package/build/dist/UI/Components/Divider/Divider.js +6 -0
- package/build/dist/UI/Components/Divider/Divider.js.map +1 -0
- package/build/dist/UI/Components/Dropdown/Dropdown.js +107 -0
- package/build/dist/UI/Components/Dropdown/Dropdown.js.map +1 -0
- package/build/dist/UI/Components/DuplicateModel/DuplicateModel.js +86 -0
- package/build/dist/UI/Components/DuplicateModel/DuplicateModel.js.map +1 -0
- package/build/dist/UI/Components/EmptyState/EmptyState.js +13 -0
- package/build/dist/UI/Components/EmptyState/EmptyState.js.map +1 -0
- package/build/dist/UI/Components/Error/PageError.js +18 -0
- package/build/dist/UI/Components/Error/PageError.js.map +1 -0
- package/build/dist/UI/Components/ErrorBoundary.js +22 -0
- package/build/dist/UI/Components/ErrorBoundary.js.map +1 -0
- package/build/dist/UI/Components/ErrorMessage/ErrorMessage.js +12 -0
- package/build/dist/UI/Components/ErrorMessage/ErrorMessage.js.map +1 -0
- package/build/dist/UI/Components/EventHistoryList/EventHistoryDayList.js +22 -0
- package/build/dist/UI/Components/EventHistoryList/EventHistoryDayList.js.map +1 -0
- package/build/dist/UI/Components/EventHistoryList/EventHistoryList.js +9 -0
- package/build/dist/UI/Components/EventHistoryList/EventHistoryList.js.map +1 -0
- package/build/dist/UI/Components/EventHistoryList/NoEventDay.js +16 -0
- package/build/dist/UI/Components/EventHistoryList/NoEventDay.js.map +1 -0
- package/build/dist/UI/Components/EventItem/EventItem.js +112 -0
- package/build/dist/UI/Components/EventItem/EventItem.js.map +1 -0
- package/build/dist/UI/Components/Events/RecurringFieldElement.js +42 -0
- package/build/dist/UI/Components/Events/RecurringFieldElement.js.map +1 -0
- package/build/dist/UI/Components/Events/RecurringViewElement.js +17 -0
- package/build/dist/UI/Components/Events/RecurringViewElement.js.map +1 -0
- package/build/dist/UI/Components/FilePicker/FilePicker.js +149 -0
- package/build/dist/UI/Components/FilePicker/FilePicker.js.map +1 -0
- package/build/dist/UI/Components/Filters/BooleanFilter.js +35 -0
- package/build/dist/UI/Components/Filters/BooleanFilter.js.map +1 -0
- package/build/dist/UI/Components/Filters/DateFilter.js +23 -0
- package/build/dist/UI/Components/Filters/DateFilter.js.map +1 -0
- package/build/dist/UI/Components/Filters/DropdownFilter.js +40 -0
- package/build/dist/UI/Components/Filters/DropdownFilter.js.map +1 -0
- package/build/dist/UI/Components/Filters/EntityFilter.js +40 -0
- package/build/dist/UI/Components/Filters/EntityFilter.js.map +1 -0
- package/build/dist/UI/Components/Filters/FilterModal.js +2 -0
- package/build/dist/UI/Components/Filters/FilterModal.js.map +1 -0
- package/build/dist/UI/Components/Filters/FilterViewer.js +232 -0
- package/build/dist/UI/Components/Filters/FilterViewer.js.map +1 -0
- package/build/dist/UI/Components/Filters/FilterViewerItem.js +11 -0
- package/build/dist/UI/Components/Filters/FilterViewerItem.js.map +1 -0
- package/build/dist/UI/Components/Filters/FiltersForm.js +55 -0
- package/build/dist/UI/Components/Filters/FiltersForm.js.map +1 -0
- package/build/dist/UI/Components/Filters/JSONFilter.js +24 -0
- package/build/dist/UI/Components/Filters/JSONFilter.js.map +1 -0
- package/build/dist/UI/Components/Filters/TextFilter.js +59 -0
- package/build/dist/UI/Components/Filters/TextFilter.js.map +1 -0
- package/build/dist/UI/Components/Filters/Types/Filter.js +2 -0
- package/build/dist/UI/Components/Filters/Types/Filter.js.map +1 -0
- package/build/dist/UI/Components/Filters/Types/FilterData.js +2 -0
- package/build/dist/UI/Components/Filters/Types/FilterData.js.map +1 -0
- package/build/dist/UI/Components/Footer/Footer.js +17 -0
- package/build/dist/UI/Components/Footer/Footer.js.map +1 -0
- package/build/dist/UI/Components/FormModal/BasicFormModal.js +26 -0
- package/build/dist/UI/Components/FormModal/BasicFormModal.js.map +1 -0
- package/build/dist/UI/Components/Forms/BasicForm.js +339 -0
- package/build/dist/UI/Components/Forms/BasicForm.js.map +1 -0
- package/build/dist/UI/Components/Forms/BasicModelForm.js +30 -0
- package/build/dist/UI/Components/Forms/BasicModelForm.js.map +1 -0
- package/build/dist/UI/Components/Forms/Fields/ColorPicker.js +58 -0
- package/build/dist/UI/Components/Forms/Fields/ColorPicker.js.map +1 -0
- package/build/dist/UI/Components/Forms/Fields/FieldLabel.js +16 -0
- package/build/dist/UI/Components/Forms/Fields/FieldLabel.js.map +1 -0
- package/build/dist/UI/Components/Forms/Fields/FormField.js +329 -0
- package/build/dist/UI/Components/Forms/Fields/FormField.js.map +1 -0
- package/build/dist/UI/Components/Forms/ModelForm.js +429 -0
- package/build/dist/UI/Components/Forms/ModelForm.js.map +1 -0
- package/build/dist/UI/Components/Forms/Steps/Step.js +27 -0
- package/build/dist/UI/Components/Forms/Steps/Step.js.map +1 -0
- package/build/dist/UI/Components/Forms/Steps/Steps.js +33 -0
- package/build/dist/UI/Components/Forms/Steps/Steps.js.map +1 -0
- package/build/dist/UI/Components/Forms/Types/Field.js +7 -0
- package/build/dist/UI/Components/Forms/Types/Field.js.map +1 -0
- package/build/dist/UI/Components/Forms/Types/Fields.js +2 -0
- package/build/dist/UI/Components/Forms/Types/Fields.js.map +1 -0
- package/build/dist/UI/Components/Forms/Types/FormFieldSchemaType.js +41 -0
- package/build/dist/UI/Components/Forms/Types/FormFieldSchemaType.js.map +1 -0
- package/build/dist/UI/Components/Forms/Types/FormFieldsSchema.js +2 -0
- package/build/dist/UI/Components/Forms/Types/FormFieldsSchema.js.map +1 -0
- package/build/dist/UI/Components/Forms/Types/FormStep.js +7 -0
- package/build/dist/UI/Components/Forms/Types/FormStep.js.map +1 -0
- package/build/dist/UI/Components/Forms/Types/FormValues.js +2 -0
- package/build/dist/UI/Components/Forms/Types/FormValues.js.map +1 -0
- package/build/dist/UI/Components/Forms/Validation.js +247 -0
- package/build/dist/UI/Components/Forms/Validation.js.map +1 -0
- package/build/dist/UI/Components/Forms/WizardForm.js +2 -0
- package/build/dist/UI/Components/Forms/WizardForm.js.map +1 -0
- package/build/dist/UI/Components/FullPageModal/FullPageModal.js +13 -0
- package/build/dist/UI/Components/FullPageModal/FullPageModal.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Bar/BarLabel.js +8 -0
- package/build/dist/UI/Components/GanttChart/Bar/BarLabel.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Bar/Index.js +55 -0
- package/build/dist/UI/Components/GanttChart/Bar/Index.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/ChartContainer.js +24 -0
- package/build/dist/UI/Components/GanttChart/ChartContainer.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Index.js +35 -0
- package/build/dist/UI/Components/GanttChart/Index.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Row/Index.js +7 -0
- package/build/dist/UI/Components/GanttChart/Row/Index.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Row/Row.js +53 -0
- package/build/dist/UI/Components/GanttChart/Row/Row.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Row/RowLabel.js +10 -0
- package/build/dist/UI/Components/GanttChart/Row/RowLabel.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Rows.js +15 -0
- package/build/dist/UI/Components/GanttChart/Rows.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Timeline/Index.js +16 -0
- package/build/dist/UI/Components/GanttChart/Timeline/Index.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Timeline/TimelineInterval.js +13 -0
- package/build/dist/UI/Components/GanttChart/Timeline/TimelineInterval.js.map +1 -0
- package/build/dist/UI/Components/GanttChart/Timeline/TimelineIntervalMarks.js +13 -0
- package/build/dist/UI/Components/GanttChart/Timeline/TimelineIntervalMarks.js.map +1 -0
- package/build/dist/UI/Components/Graphs/DayUptimeGraph.js +114 -0
- package/build/dist/UI/Components/Graphs/DayUptimeGraph.js.map +1 -0
- package/build/dist/UI/Components/Header/Header.js +10 -0
- package/build/dist/UI/Components/Header/Header.js.map +1 -0
- package/build/dist/UI/Components/Header/HeaderIconDropdown/HeaderIconDropdown.js +2 -0
- package/build/dist/UI/Components/Header/HeaderIconDropdown/HeaderIconDropdown.js.map +1 -0
- package/build/dist/UI/Components/Header/HeaderIconDropdownButton.js +32 -0
- package/build/dist/UI/Components/Header/HeaderIconDropdownButton.js.map +1 -0
- package/build/dist/UI/Components/Header/IconDropdown/IconDropdownItem.js +10 -0
- package/build/dist/UI/Components/Header/IconDropdown/IconDropdownItem.js.map +1 -0
- package/build/dist/UI/Components/Header/IconDropdown/IconDropdownMenu.js +6 -0
- package/build/dist/UI/Components/Header/IconDropdown/IconDropdownMenu.js.map +1 -0
- package/build/dist/UI/Components/Header/IconDropdown/IconDropdownRow.js +6 -0
- package/build/dist/UI/Components/Header/IconDropdown/IconDropdownRow.js.map +1 -0
- package/build/dist/UI/Components/Header/Notifications/NotificationItem.js +24 -0
- package/build/dist/UI/Components/Header/Notifications/NotificationItem.js.map +1 -0
- package/build/dist/UI/Components/Header/Notifications/Notifications.js +41 -0
- package/build/dist/UI/Components/Header/Notifications/Notifications.js.map +1 -0
- package/build/dist/UI/Components/Header/ProjectPicker/CreateNewProjectButton.js +13 -0
- package/build/dist/UI/Components/Header/ProjectPicker/CreateNewProjectButton.js.map +1 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPicker.js +49 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPicker.js.map +1 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerFilterBox.js +12 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerFilterBox.js.map +1 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerMenu.js +11 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerMenu.js.map +1 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerMenuItem.js +18 -0
- package/build/dist/UI/Components/Header/ProjectPicker/ProjectPickerMenuItem.js.map +1 -0
- package/build/dist/UI/Components/Header/SearchBox.js +14 -0
- package/build/dist/UI/Components/Header/SearchBox.js.map +1 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfile.js +17 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfile.js.map +1 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfileDropdownDivider.js +6 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfileDropdownDivider.js.map +1 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfileMenu.js +12 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfileMenu.js.map +1 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfileMenuItem.js +16 -0
- package/build/dist/UI/Components/Header/UserProfile/UserProfileMenuItem.js.map +1 -0
- package/build/dist/UI/Components/HeaderAlert/HeaderAlert.js +14 -0
- package/build/dist/UI/Components/HeaderAlert/HeaderAlert.js.map +1 -0
- package/build/dist/UI/Components/HeaderAlert/HeaderModelAlert.js +52 -0
- package/build/dist/UI/Components/HeaderAlert/HeaderModelAlert.js.map +1 -0
- package/build/dist/UI/Components/HiddenText/HiddenText.js +24 -0
- package/build/dist/UI/Components/HiddenText/HiddenText.js.map +1 -0
- package/build/dist/UI/Components/HorizontalRule/HorizontalRule.js +6 -0
- package/build/dist/UI/Components/HorizontalRule/HorizontalRule.js.map +1 -0
- package/build/dist/UI/Components/Icon/CircularIconImage.js +15 -0
- package/build/dist/UI/Components/Icon/CircularIconImage.js.map +1 -0
- package/build/dist/UI/Components/Icon/Icon.js +460 -0
- package/build/dist/UI/Components/Icon/Icon.js.map +1 -0
- package/build/dist/UI/Components/Image/Image.js +28 -0
- package/build/dist/UI/Components/Image/Image.js.map +1 -0
- package/build/dist/UI/Components/ImageTiles/ImageTiles.js +21 -0
- package/build/dist/UI/Components/ImageTiles/ImageTiles.js.map +1 -0
- package/build/dist/UI/Components/InfoCard/InfoCard.js +10 -0
- package/build/dist/UI/Components/InfoCard/InfoCard.js.map +1 -0
- package/build/dist/UI/Components/InlineCode/InlineCode.js +6 -0
- package/build/dist/UI/Components/InlineCode/InlineCode.js.map +1 -0
- package/build/dist/UI/Components/Input/Input.js +159 -0
- package/build/dist/UI/Components/Input/Input.js.map +1 -0
- package/build/dist/UI/Components/Link/Link.js +48 -0
- package/build/dist/UI/Components/Link/Link.js.map +1 -0
- package/build/dist/UI/Components/List/List.js +44 -0
- package/build/dist/UI/Components/List/List.js.map +1 -0
- package/build/dist/UI/Components/List/ListBody.js +19 -0
- package/build/dist/UI/Components/List/ListBody.js.map +1 -0
- package/build/dist/UI/Components/List/ListRow.js +58 -0
- package/build/dist/UI/Components/List/ListRow.js.map +1 -0
- package/build/dist/UI/Components/Loader/Loader.js +22 -0
- package/build/dist/UI/Components/Loader/Loader.js.map +1 -0
- package/build/dist/UI/Components/Loader/PageLoader.js +12 -0
- package/build/dist/UI/Components/Loader/PageLoader.js.map +1 -0
- package/build/dist/UI/Components/LogsViewer/LogItem.js +114 -0
- package/build/dist/UI/Components/LogsViewer/LogItem.js.map +1 -0
- package/build/dist/UI/Components/LogsViewer/LogsViewer.js +152 -0
- package/build/dist/UI/Components/LogsViewer/LogsViewer.js.map +1 -0
- package/build/dist/UI/Components/Markdown.tsx/LazyMarkdownViewer.js +10 -0
- package/build/dist/UI/Components/Markdown.tsx/LazyMarkdownViewer.js.map +1 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownEditor.js +7 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownEditor.js.map +1 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownViewer.js +90 -0
- package/build/dist/UI/Components/Markdown.tsx/MarkdownViewer.js.map +1 -0
- package/build/dist/UI/Components/MasterPage/MasterPage.js +22 -0
- package/build/dist/UI/Components/MasterPage/MasterPage.js.map +1 -0
- package/build/dist/UI/Components/Modal/ConfirmModal.js +11 -0
- package/build/dist/UI/Components/Modal/ConfirmModal.js.map +1 -0
- package/build/dist/UI/Components/Modal/Modal.js +64 -0
- package/build/dist/UI/Components/Modal/Modal.js.map +1 -0
- package/build/dist/UI/Components/Modal/ModalBody.js +9 -0
- package/build/dist/UI/Components/Modal/ModalBody.js.map +1 -0
- package/build/dist/UI/Components/Modal/ModalFooter.js +18 -0
- package/build/dist/UI/Components/Modal/ModalFooter.js.map +1 -0
- package/build/dist/UI/Components/ModelDelete/ModelDelete.js +54 -0
- package/build/dist/UI/Components/ModelDelete/ModelDelete.js.map +1 -0
- package/build/dist/UI/Components/ModelDetail/CardModelDetail.js +71 -0
- package/build/dist/UI/Components/ModelDetail/CardModelDetail.js.map +1 -0
- package/build/dist/UI/Components/ModelDetail/Field.js +2 -0
- package/build/dist/UI/Components/ModelDetail/Field.js.map +1 -0
- package/build/dist/UI/Components/ModelDetail/ModelDetail.js +160 -0
- package/build/dist/UI/Components/ModelDetail/ModelDetail.js.map +1 -0
- package/build/dist/UI/Components/ModelFilter/Filter.js +2 -0
- package/build/dist/UI/Components/ModelFilter/Filter.js.map +1 -0
- package/build/dist/UI/Components/ModelFormModal/ModelFormModal.js +41 -0
- package/build/dist/UI/Components/ModelFormModal/ModelFormModal.js.map +1 -0
- package/build/dist/UI/Components/ModelList/ModelList.js +177 -0
- package/build/dist/UI/Components/ModelList/ModelList.js.map +1 -0
- package/build/dist/UI/Components/ModelList/StaticModelList.js +67 -0
- package/build/dist/UI/Components/ModelList/StaticModelList.js.map +1 -0
- package/build/dist/UI/Components/ModelListModal/ModelListModal.js +17 -0
- package/build/dist/UI/Components/ModelListModal/ModelListModal.js.map +1 -0
- package/build/dist/UI/Components/ModelProgress/ModelProgress.js +40 -0
- package/build/dist/UI/Components/ModelProgress/ModelProgress.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/AnalyticsModelTable.js +56 -0
- package/build/dist/UI/Components/ModelTable/AnalyticsModelTable.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js +988 -0
- package/build/dist/UI/Components/ModelTable/BaseModelTable.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/Column.js +2 -0
- package/build/dist/UI/Components/ModelTable/Column.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/Columns.js +2 -0
- package/build/dist/UI/Components/ModelTable/Columns.js.map +1 -0
- package/build/dist/UI/Components/ModelTable/ModelTable.js +87 -0
- package/build/dist/UI/Components/ModelTable/ModelTable.js.map +1 -0
- package/build/dist/UI/Components/MonitorGraphs/Uptime.js +35 -0
- package/build/dist/UI/Components/MonitorGraphs/Uptime.js.map +1 -0
- package/build/dist/UI/Components/MonitorGraphs/UptimeUtil.js +3 -0
- package/build/dist/UI/Components/MonitorGraphs/UptimeUtil.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBar.js +9 -0
- package/build/dist/UI/Components/Navbar/NavBar.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBarItem.js +33 -0
- package/build/dist/UI/Components/Navbar/NavBarItem.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBarMenu.js +21 -0
- package/build/dist/UI/Components/Navbar/NavBarMenu.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuItem.js +14 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuItem.js.map +1 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuSubItem.js +7 -0
- package/build/dist/UI/Components/Navbar/NavBarMenuSubItem.js.map +1 -0
- package/build/dist/UI/Components/ObjectID/IDGenerator.js +37 -0
- package/build/dist/UI/Components/ObjectID/IDGenerator.js.map +1 -0
- package/build/dist/UI/Components/OrderedStatesList/Item.js +46 -0
- package/build/dist/UI/Components/OrderedStatesList/Item.js.map +1 -0
- package/build/dist/UI/Components/OrderedStatesList/OrderedStatesList.js +63 -0
- package/build/dist/UI/Components/OrderedStatesList/OrderedStatesList.js.map +1 -0
- package/build/dist/UI/Components/Page/ModelPage.js +42 -0
- package/build/dist/UI/Components/Page/ModelPage.js.map +1 -0
- package/build/dist/UI/Components/Page/Page.js +40 -0
- package/build/dist/UI/Components/Page/Page.js.map +1 -0
- package/build/dist/UI/Components/Pagination/Pagination.js +138 -0
- package/build/dist/UI/Components/Pagination/Pagination.js.map +1 -0
- package/build/dist/UI/Components/Pill/Pill.js +35 -0
- package/build/dist/UI/Components/Pill/Pill.js.map +1 -0
- package/build/dist/UI/Components/Probe/Probe.js +32 -0
- package/build/dist/UI/Components/Probe/Probe.js.map +1 -0
- package/build/dist/UI/Components/ProgressBar/ProgressBar.js +43 -0
- package/build/dist/UI/Components/ProgressBar/ProgressBar.js.map +1 -0
- package/build/dist/UI/Components/QR/QR.js +22 -0
- package/build/dist/UI/Components/QR/QR.js.map +1 -0
- package/build/dist/UI/Components/Radio/Radio.js +20 -0
- package/build/dist/UI/Components/Radio/Radio.js.map +1 -0
- package/build/dist/UI/Components/RadioButtons/BasicRadioButtons.js +37 -0
- package/build/dist/UI/Components/RadioButtons/BasicRadioButtons.js.map +1 -0
- package/build/dist/UI/Components/RadioButtons/GroupRadioButtons.js +47 -0
- package/build/dist/UI/Components/RadioButtons/GroupRadioButtons.js.map +1 -0
- package/build/dist/UI/Components/ResetObjectID/ResetObjectID.js +73 -0
- package/build/dist/UI/Components/ResetObjectID/ResetObjectID.js.map +1 -0
- package/build/dist/UI/Components/ShortcutKey/Shortcut.js +8 -0
- package/build/dist/UI/Components/ShortcutKey/Shortcut.js.map +1 -0
- package/build/dist/UI/Components/ShortcutKey/ShortcutKey.js +9 -0
- package/build/dist/UI/Components/ShortcutKey/ShortcutKey.js.map +1 -0
- package/build/dist/UI/Components/SideMenu/CountModelSideMenuItem.js +43 -0
- package/build/dist/UI/Components/SideMenu/CountModelSideMenuItem.js.map +1 -0
- package/build/dist/UI/Components/SideMenu/SideMenu.js +16 -0
- package/build/dist/UI/Components/SideMenu/SideMenu.js.map +1 -0
- package/build/dist/UI/Components/SideMenu/SideMenuItem.js +88 -0
- package/build/dist/UI/Components/SideMenu/SideMenuItem.js.map +1 -0
- package/build/dist/UI/Components/SideMenu/SideMenuSection.js +8 -0
- package/build/dist/UI/Components/SideMenu/SideMenuSection.js.map +1 -0
- package/build/dist/UI/Components/SideOver/SideOver.js +53 -0
- package/build/dist/UI/Components/SideOver/SideOver.js.map +1 -0
- package/build/dist/UI/Components/SimpleLogViewer/SimpleLogViewer.js +6 -0
- package/build/dist/UI/Components/SimpleLogViewer/SimpleLogViewer.js.map +1 -0
- package/build/dist/UI/Components/StatusBubble/StatusBubble.js +21 -0
- package/build/dist/UI/Components/StatusBubble/StatusBubble.js.map +1 -0
- package/build/dist/UI/Components/Table/Table.js +113 -0
- package/build/dist/UI/Components/Table/Table.js.map +1 -0
- package/build/dist/UI/Components/Table/TableBody.js +26 -0
- package/build/dist/UI/Components/Table/TableBody.js.map +1 -0
- package/build/dist/UI/Components/Table/TableCard.js +9 -0
- package/build/dist/UI/Components/Table/TableCard.js.map +1 -0
- package/build/dist/UI/Components/Table/TableHeader.js +59 -0
- package/build/dist/UI/Components/Table/TableHeader.js.map +1 -0
- package/build/dist/UI/Components/Table/TableRow.js +97 -0
- package/build/dist/UI/Components/Table/TableRow.js.map +1 -0
- package/build/dist/UI/Components/Table/Types/Column.js +2 -0
- package/build/dist/UI/Components/Table/Types/Column.js.map +1 -0
- package/build/dist/UI/Components/Table/Types/Columns.js +2 -0
- package/build/dist/UI/Components/Table/Types/Columns.js.map +1 -0
- package/build/dist/UI/Components/TableColumnList/TableColumnListComponent.js +36 -0
- package/build/dist/UI/Components/TableColumnList/TableColumnListComponent.js.map +1 -0
- package/build/dist/UI/Components/Tabs/Tab.js +28 -0
- package/build/dist/UI/Components/Tabs/Tab.js.map +1 -0
- package/build/dist/UI/Components/Tabs/Tabs.js +23 -0
- package/build/dist/UI/Components/Tabs/Tabs.js.map +1 -0
- package/build/dist/UI/Components/Template/Template.js +6 -0
- package/build/dist/UI/Components/Template/Template.js.map +1 -0
- package/build/dist/UI/Components/TextArea/TextArea.js +49 -0
- package/build/dist/UI/Components/TextArea/TextArea.js.map +1 -0
- package/build/dist/UI/Components/Toast/Toast.js +67 -0
- package/build/dist/UI/Components/Toast/Toast.js.map +1 -0
- package/build/dist/UI/Components/Toast/ToastInit.js +31 -0
- package/build/dist/UI/Components/Toast/ToastInit.js.map +1 -0
- package/build/dist/UI/Components/Toggle/Toggle.js +55 -0
- package/build/dist/UI/Components/Toggle/Toggle.js.map +1 -0
- package/build/dist/UI/Components/Tooltip/Tooltip.js +11 -0
- package/build/dist/UI/Components/Tooltip/Tooltip.js.map +1 -0
- package/build/dist/UI/Components/TopAlert/TopAlert.js +20 -0
- package/build/dist/UI/Components/TopAlert/TopAlert.js.map +1 -0
- package/build/dist/UI/Components/TopSection/TopSection.js +9 -0
- package/build/dist/UI/Components/TopSection/TopSection.js.map +1 -0
- package/build/dist/UI/Components/Types/FieldType.js +40 -0
- package/build/dist/UI/Components/Types/FieldType.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ArgumentsForm.js +73 -0
- package/build/dist/UI/Components/Workflow/ArgumentsForm.js.map +1 -0
- package/build/dist/UI/Components/Workflow/Component.js +174 -0
- package/build/dist/UI/Components/Workflow/Component.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ComponentArgumentsViewer.js +32 -0
- package/build/dist/UI/Components/Workflow/ComponentArgumentsViewer.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ComponentPortViewer.js +26 -0
- package/build/dist/UI/Components/Workflow/ComponentPortViewer.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ComponentReturnValueViewer.js +30 -0
- package/build/dist/UI/Components/Workflow/ComponentReturnValueViewer.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ComponentSettingsModal.js +68 -0
- package/build/dist/UI/Components/Workflow/ComponentSettingsModal.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ComponentValuePickerModal.js +94 -0
- package/build/dist/UI/Components/Workflow/ComponentValuePickerModal.js.map +1 -0
- package/build/dist/UI/Components/Workflow/ComponentsModal.js +109 -0
- package/build/dist/UI/Components/Workflow/ComponentsModal.js.map +1 -0
- package/build/dist/UI/Components/Workflow/DocumentationViewer.js +47 -0
- package/build/dist/UI/Components/Workflow/DocumentationViewer.js.map +1 -0
- package/build/dist/UI/Components/Workflow/RunForm.js +37 -0
- package/build/dist/UI/Components/Workflow/RunForm.js.map +1 -0
- package/build/dist/UI/Components/Workflow/RunModal.js +56 -0
- package/build/dist/UI/Components/Workflow/RunModal.js.map +1 -0
- package/build/dist/UI/Components/Workflow/Utils.js +205 -0
- package/build/dist/UI/Components/Workflow/Utils.js.map +1 -0
- package/build/dist/UI/Components/Workflow/VariableModal.js +30 -0
- package/build/dist/UI/Components/Workflow/VariableModal.js.map +1 -0
- package/build/dist/UI/Components/Workflow/Workflow.js +306 -0
- package/build/dist/UI/Components/Workflow/Workflow.js.map +1 -0
- package/build/dist/UI/Components/Workflow/WorkflowStatus.js +27 -0
- package/build/dist/UI/Components/Workflow/WorkflowStatus.js.map +1 -0
- package/build/dist/UI/Config.js +79 -0
- package/build/dist/UI/Config.js.map +1 -0
- package/build/dist/UI/Container.js +9 -0
- package/build/dist/UI/Container.js.map +1 -0
- package/build/dist/UI/Types/AlignItem.js +8 -0
- package/build/dist/UI/Types/AlignItem.js.map +1 -0
- package/build/dist/UI/Types/EntityFieldType.js +2 -0
- package/build/dist/UI/Types/EntityFieldType.js.map +1 -0
- package/build/dist/UI/Types/FunctionTypes.js +2 -0
- package/build/dist/UI/Types/FunctionTypes.js.map +1 -0
- package/build/dist/UI/Types/HtmlEvents.js +2 -0
- package/build/dist/UI/Types/HtmlEvents.js.map +1 -0
- package/build/dist/UI/Types/RequiredEntityFields.js +2 -0
- package/build/dist/UI/Types/RequiredEntityFields.js.map +1 -0
- package/build/dist/UI/Types/SelectEntityField.js +2 -0
- package/build/dist/UI/Types/SelectEntityField.js.map +1 -0
- package/build/dist/UI/Types/UseComponentOutsideClick.js +19 -0
- package/build/dist/UI/Types/UseComponentOutsideClick.js.map +1 -0
- package/build/dist/UI/Utils/API/API.js +86 -0
- package/build/dist/UI/Utils/API/API.js.map +1 -0
- package/build/dist/UI/Utils/API/ApiDocsAPI.js +10 -0
- package/build/dist/UI/Utils/API/ApiDocsAPI.js.map +1 -0
- package/build/dist/UI/Utils/API/DashboardAPI.js +10 -0
- package/build/dist/UI/Utils/API/DashboardAPI.js.map +1 -0
- package/build/dist/UI/Utils/API/DashboardFrontendAPI.js +9 -0
- package/build/dist/UI/Utils/API/DashboardFrontendAPI.js.map +1 -0
- package/build/dist/UI/Utils/API/HelmAPI.js +9 -0
- package/build/dist/UI/Utils/API/HelmAPI.js.map +1 -0
- package/build/dist/UI/Utils/API/IdentityAPI.js +10 -0
- package/build/dist/UI/Utils/API/IdentityAPI.js.map +1 -0
- package/build/dist/UI/Utils/API/IntegrationAPI.js +9 -0
- package/build/dist/UI/Utils/API/IntegrationAPI.js.map +1 -0
- package/build/dist/UI/Utils/Analytics.js +5 -0
- package/build/dist/UI/Utils/Analytics.js.map +1 -0
- package/build/dist/UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.js +237 -0
- package/build/dist/UI/Utils/AnalyticsModelAPI/AnalyticsModelAPI.js.map +1 -0
- package/build/dist/UI/Utils/BaseDatabase/GroupBy.js +2 -0
- package/build/dist/UI/Utils/BaseDatabase/GroupBy.js.map +1 -0
- package/build/dist/UI/Utils/BaseDatabase/ListResult.js +2 -0
- package/build/dist/UI/Utils/BaseDatabase/ListResult.js.map +1 -0
- package/build/dist/UI/Utils/BaseDatabase/Query.js +2 -0
- package/build/dist/UI/Utils/BaseDatabase/Query.js.map +1 -0
- package/build/dist/UI/Utils/BaseDatabase/RequestOptions.js +2 -0
- package/build/dist/UI/Utils/BaseDatabase/RequestOptions.js.map +1 -0
- package/build/dist/UI/Utils/BaseDatabase/Select.js +2 -0
- package/build/dist/UI/Utils/BaseDatabase/Select.js.map +1 -0
- package/build/dist/UI/Utils/BaseDatabase/Sort.js +2 -0
- package/build/dist/UI/Utils/BaseDatabase/Sort.js.map +1 -0
- package/build/dist/UI/Utils/Clipboard.js +7 -0
- package/build/dist/UI/Utils/Clipboard.js.map +1 -0
- package/build/dist/UI/Utils/Cookie.js +44 -0
- package/build/dist/UI/Utils/Cookie.js.map +1 -0
- package/build/dist/UI/Utils/Dropdown.js +46 -0
- package/build/dist/UI/Utils/Dropdown.js.map +1 -0
- package/build/dist/UI/Utils/File.js +10 -0
- package/build/dist/UI/Utils/File.js.map +1 -0
- package/build/dist/UI/Utils/GlobalEvents.js +17 -0
- package/build/dist/UI/Utils/GlobalEvents.js.map +1 -0
- package/build/dist/UI/Utils/History.js +3 -0
- package/build/dist/UI/Utils/History.js.map +1 -0
- package/build/dist/UI/Utils/JWT.js +7 -0
- package/build/dist/UI/Utils/JWT.js.map +1 -0
- package/build/dist/UI/Utils/JsonWebToken.js +10 -0
- package/build/dist/UI/Utils/JsonWebToken.js.map +1 -0
- package/build/dist/UI/Utils/LocalStorage.js +33 -0
- package/build/dist/UI/Utils/LocalStorage.js.map +1 -0
- package/build/dist/UI/Utils/Logger.js +19 -0
- package/build/dist/UI/Utils/Logger.js.map +1 -0
- package/build/dist/UI/Utils/Login.js +26 -0
- package/build/dist/UI/Utils/Login.js.map +1 -0
- package/build/dist/UI/Utils/ModelAPI/ModelAPI.js +232 -0
- package/build/dist/UI/Utils/ModelAPI/ModelAPI.js.map +1 -0
- package/build/dist/UI/Utils/Navigation.js +167 -0
- package/build/dist/UI/Utils/Navigation.js.map +1 -0
- package/build/dist/UI/Utils/Permission.js +56 -0
- package/build/dist/UI/Utils/Permission.js.map +1 -0
- package/build/dist/UI/Utils/PricingPlan.js +108 -0
- package/build/dist/UI/Utils/PricingPlan.js.map +1 -0
- package/build/dist/UI/Utils/Project.js +38 -0
- package/build/dist/UI/Utils/Project.js.map +1 -0
- package/build/dist/UI/Utils/Realtime.js +71 -0
- package/build/dist/UI/Utils/Realtime.js.map +1 -0
- package/build/dist/UI/Utils/StatusPage.js +79 -0
- package/build/dist/UI/Utils/StatusPage.js.map +1 -0
- package/build/dist/UI/Utils/Tailwind.js +6 -0
- package/build/dist/UI/Utils/Tailwind.js.map +1 -0
- package/build/dist/UI/Utils/Telemetry.js +37 -0
- package/build/dist/UI/Utils/Telemetry.js.map +1 -0
- package/build/dist/UI/Utils/Timezone.js +25 -0
- package/build/dist/UI/Utils/Timezone.js.map +1 -0
- package/build/dist/UI/Utils/User.js +138 -0
- package/build/dist/UI/Utils/User.js.map +1 -0
- package/build/dist/Utils/API.js +6 -0
- package/build/dist/Utils/API.js.map +1 -1
- package/build/dist/Utils/Analytics.js.map +1 -1
- package/build/dist/Utils/Faker.js +16 -4
- package/build/dist/Utils/Faker.js.map +1 -1
- package/build/dist/Utils/Slug.js +1 -1
- package/build/dist/Utils/Slug.js.map +1 -1
- package/build/dist/Utils/TechStack.js.map +1 -1
- package/build/dist/Utils/Uptime/UptimeUtil.js +72 -5
- package/build/dist/Utils/Uptime/UptimeUtil.js.map +1 -1
- package/jest.config.json +2 -6
- package/package.json +109 -8
- package/test-setup.sh +58 -0
- package/build/dist/Tests/AppModels/File.test.js.map +0 -1
- /package/Tests/{AppModels → Models}/File.test.ts +0 -0
- /package/build/dist/Tests/{AppModels → Models}/File.test.js +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import Pill, { PillSize } from "../../../UI/Components/Pill/Pill";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { render, screen } from "@testing-library/react";
|
|
4
|
+
import Color from "Common/Types/Color";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { describe, expect, test } from "@jest/globals";
|
|
7
|
+
describe("<Pill />", () => {
|
|
8
|
+
test("Checking text", () => {
|
|
9
|
+
const color = new Color("#807149");
|
|
10
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.Small }));
|
|
11
|
+
expect(screen.getByTestId("pill")).toHaveTextContent("Love");
|
|
12
|
+
});
|
|
13
|
+
test("Test for font-size(Small) ", () => {
|
|
14
|
+
const color = new Color("#807149");
|
|
15
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.Small }));
|
|
16
|
+
expect(screen.getByTestId("pill")).toHaveStyle("fontSize: 10px");
|
|
17
|
+
});
|
|
18
|
+
test("Test for font-size(Normal) ", () => {
|
|
19
|
+
const color = new Color("#807149");
|
|
20
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.Normal }));
|
|
21
|
+
expect(screen.getByTestId("pill")).toHaveStyle("fontSize: 13px");
|
|
22
|
+
});
|
|
23
|
+
test("Test for font-size(Large) ", () => {
|
|
24
|
+
const color = new Color("#807149");
|
|
25
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.Large }));
|
|
26
|
+
expect(screen.getByTestId("pill")).toHaveStyle("fontSize: 15px");
|
|
27
|
+
});
|
|
28
|
+
test("Test for font-size(Extra-large) ", () => {
|
|
29
|
+
const color = new Color("#807149");
|
|
30
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.ExtraLarge }));
|
|
31
|
+
expect(screen.getByTestId("pill")).toHaveStyle("fontSize: 18px");
|
|
32
|
+
});
|
|
33
|
+
test("Checking for color #fffff", () => {
|
|
34
|
+
const color = new Color("#ffffff");
|
|
35
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.ExtraLarge }));
|
|
36
|
+
expect(screen.getByTestId("pill")).toHaveStyle("backgroundColor: #ffffff");
|
|
37
|
+
});
|
|
38
|
+
test("Checking for color #ff0000", () => {
|
|
39
|
+
const color = new Color("#ff0000");
|
|
40
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.ExtraLarge }));
|
|
41
|
+
expect(screen.getByTestId("pill")).toHaveStyle("backgroundColor: #ff0000");
|
|
42
|
+
});
|
|
43
|
+
test("Checking for color #786598", () => {
|
|
44
|
+
const color = new Color("#786598");
|
|
45
|
+
render(React.createElement(Pill, { text: "Love", color: color, size: PillSize.ExtraLarge }));
|
|
46
|
+
expect(screen.getByTestId("pill")).toHaveStyle("backgroundColor: #786598");
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=Pill.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pill.test.js","sourceRoot":"","sources":["../../../../../Tests/UI/Components/Pill.test.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,MAAM,oBAAoB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEvD,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,IAAI,CAAC,eAAe,EAAE,GAAG,EAAE;QACzB,MAAM,KAAK,GAAU,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1C,MAAM,CAAC,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,KAAK,GAAI,CAAC,CAAC;QACjE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,4BAA4B,EAAE,GAAG,EAAE;QACtC,MAAM,KAAK,GAAU,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1C,MAAM,CAAC,oBAAC,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|
1
|
+
import ProbeElement from "../../../UI/Components/Probe/Probe";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { render, screen } from "@testing-library/react";
|
|
4
|
+
import ObjectID from "Common/Types/ObjectID";
|
|
5
|
+
import Probe from "Common/Models/DatabaseModels/Probe";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { describe, expect, test } from "@jest/globals";
|
|
8
|
+
describe("ProbeElement Component", () => {
|
|
9
|
+
const mockProbe = new Probe();
|
|
10
|
+
mockProbe.name = "Test Probe";
|
|
11
|
+
mockProbe.iconFileId = new ObjectID("12345");
|
|
12
|
+
test("should display the probe name", () => {
|
|
13
|
+
render(React.createElement(ProbeElement, { probe: mockProbe }));
|
|
14
|
+
const probeName = screen.getByTestId("probe-name");
|
|
15
|
+
expect(probeName).toBeInTheDocument();
|
|
16
|
+
});
|
|
17
|
+
test("should display the image when iconFileId is present", () => {
|
|
18
|
+
render(React.createElement(ProbeElement, { probe: mockProbe }));
|
|
19
|
+
const imageElement = screen.getByTestId("probe-image");
|
|
20
|
+
expect(imageElement).toBeInTheDocument();
|
|
21
|
+
expect(imageElement).toHaveAttribute("alt", "Test Probe");
|
|
22
|
+
});
|
|
23
|
+
test("should display the default icon when iconFileId is not present", () => {
|
|
24
|
+
const probeWithoutIcon = new Probe();
|
|
25
|
+
probeWithoutIcon.name = "Test Probe";
|
|
26
|
+
render(React.createElement(ProbeElement, { probe: probeWithoutIcon }));
|
|
27
|
+
const iconElement = screen.getByTestId("probe-icon");
|
|
28
|
+
expect(iconElement).toBeInTheDocument();
|
|
29
|
+
});
|
|
30
|
+
test('should display "No probe found" when no probe is provided', () => {
|
|
31
|
+
render(React.createElement(ProbeElement, { probe: null }));
|
|
32
|
+
const noProbeText = screen.getByTestId("probe-not-found");
|
|
33
|
+
expect(noProbeText).toBeInTheDocument();
|
|
34
|
+
});
|
|
35
|
+
test("should display the image with correct src when iconFileId is present", () => {
|
|
36
|
+
const probeWithIcon = new Probe();
|
|
37
|
+
probeWithIcon.iconFileId = new ObjectID("icon123");
|
|
38
|
+
probeWithIcon.name = "Probe with Icon";
|
|
39
|
+
render(React.createElement(ProbeElement, { probe: probeWithIcon }));
|
|
40
|
+
const imageElement = screen.getByTestId("probe-image");
|
|
41
|
+
expect(imageElement).toBeInTheDocument();
|
|
42
|
+
expect(imageElement).toHaveAttribute("src", expect.stringContaining("icon123"));
|
|
43
|
+
});
|
|
44
|
+
test("should display the default icon when iconFileId is not present", () => {
|
|
45
|
+
const probeWithoutIcon = new Probe();
|
|
46
|
+
probeWithoutIcon.name = "Probe without Icon";
|
|
47
|
+
render(React.createElement(ProbeElement, { probe: probeWithoutIcon }));
|
|
48
|
+
const iconElement = screen.getByTestId("probe-icon");
|
|
49
|
+
expect(iconElement).toBeInTheDocument();
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=Probe.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Probe.test.js","sourceRoot":"","sources":["../../../../../Tests/UI/Components/Probe.test.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oCAAoC,CAAC;AAC9D,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,KAAK,MAAM,oCAAoC,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEvD,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,MAAM,SAAS,GAAU,IAAI,KAAK,EAAE,CAAC;IACrC,SAAS,CAAC,IAAI,GAAG,YAAY,CAAC;IAC9B,SAAS,CAAC,UAAU,GAAG,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC;IAE7C,IAAI,CAAC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C;IAEH,IAAI,CAAC,sEAAsE,EAAE,GAAG,EAAE;QAChF,MAAM,aAAa,GAAU,IAAI,KAAK,EAAE,CAAC;QACzC,aAAa,CAAC,UAAU,GAAG,IAAI,QAAQ,CAAC,SAAS,CAAC,CAAC;QACnD,aAAa,CAAC,IAAI,GAAG,iBAAiB,CAAC;QAEvC,MAAM,CAAC,oBAAC,YAAY,IAAC,KAAK,EAAE,aAAa,GAAI,CAAC,CAAC;QAC/C,MAAM,YAAY,GAAqB,MAAM,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QACzE,MAAM,CAAC,YAAY,CAAC,CAAC,iBAAiB,EAAE,CAAC;QACzC,MAAM,CAAC,YAAY,CAAC,CAAC,eAAe,CAClC,KAAK,EACL,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,CACnC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,gEAAgE,EAAE,GAAG,EAAE;QAC1E,MAAM,gBAAgB,GAAU,IAAI,KAAK,EAAE,CAAC;QAC5C,gBAAgB,CAAC,IAAI,GAAG,oBAAoB,CAAC;QAE7C,MAAM,CAAC,oBAAC,YAAY,IAAC,KAAK,EAAE,gBAAgB,GAAI,CAAC,CAAC;QAClD,MAAM,WAAW,GAAgB,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAClE,MAAM,CAAC,WAAW,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAC1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ProgressBar from "../../../UI/Components/ProgressBar/ProgressBar";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { render, screen } from "@testing-library/react";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { describe, expect, test } from "@jest/globals";
|
|
6
|
+
describe("ProgressBar Component", () => {
|
|
7
|
+
function getProgressBar() {
|
|
8
|
+
const element = screen.getByTestId("progress-bar");
|
|
9
|
+
if (!element) {
|
|
10
|
+
throw "Not Found";
|
|
11
|
+
}
|
|
12
|
+
return element;
|
|
13
|
+
}
|
|
14
|
+
test("should calculate and display the correct percentage", () => {
|
|
15
|
+
render(React.createElement(ProgressBar, { count: 0, totalCount: 100, suffix: "items" }));
|
|
16
|
+
const progressBar = getProgressBar();
|
|
17
|
+
expect(progressBar).toHaveStyle({ width: "0%" });
|
|
18
|
+
});
|
|
19
|
+
test("should display the correct count and total count with suffix", () => {
|
|
20
|
+
render(React.createElement(ProgressBar, { count: 30, totalCount: 99, suffix: "items" }));
|
|
21
|
+
const countText = screen.getByTestId("progress-bar-count");
|
|
22
|
+
const totalCountText = screen.getByTestId("progress-bar-total-count");
|
|
23
|
+
expect(countText).toBeInTheDocument();
|
|
24
|
+
expect(totalCountText).toBeInTheDocument();
|
|
25
|
+
expect(countText.innerHTML).toEqual("30 items");
|
|
26
|
+
expect(totalCountText.innerHTML).toEqual("99 items");
|
|
27
|
+
});
|
|
28
|
+
test("should handle zero total count without crashing", () => {
|
|
29
|
+
render(React.createElement(ProgressBar, { count: 30, totalCount: 0, suffix: "items" }));
|
|
30
|
+
const progressBar = getProgressBar();
|
|
31
|
+
expect(progressBar).toHaveStyle({ width: "100%" });
|
|
32
|
+
});
|
|
33
|
+
test("should round up the percentage to the nearest integer", () => {
|
|
34
|
+
render(React.createElement(ProgressBar, { count: 33, totalCount: 100, suffix: "items" }));
|
|
35
|
+
const progressBar = getProgressBar();
|
|
36
|
+
expect(progressBar).toHaveStyle({ width: "33%" });
|
|
37
|
+
});
|
|
38
|
+
test("should cap the percentage at 100 if count exceeds total count", () => {
|
|
39
|
+
render(React.createElement(ProgressBar, { count: 150, totalCount: 100, suffix: "items" }));
|
|
40
|
+
const progressBar = getProgressBar();
|
|
41
|
+
expect(progressBar).toHaveStyle({ width: "100%" });
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=ProgressBar.test.js.map
|
|
@@ -0,0 +1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ACrD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import RadioButtons from "../../../UI/Components/RadioButtons/GroupRadioButtons";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { fireEvent, render } from "@testing-library/react";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { describe, expect, test } from "@jest/globals";
|
|
6
|
+
import getJestMockFunction from "Common/Tests/MockType";
|
|
7
|
+
describe("RadioButtons", () => {
|
|
8
|
+
const options = [
|
|
9
|
+
{
|
|
10
|
+
title: "title 1",
|
|
11
|
+
description: "description 1",
|
|
12
|
+
value: "1",
|
|
13
|
+
sideTitle: "side title 1",
|
|
14
|
+
sideDescription: "side description 1",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
title: "title 2",
|
|
18
|
+
description: "description 2",
|
|
19
|
+
value: "2",
|
|
20
|
+
sideTitle: "side title 2",
|
|
21
|
+
sideDescription: "side description 2",
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
test("renders with required props only", () => {
|
|
25
|
+
const { getByRole } = render(React.createElement(RadioButtons, { onChange: () => { }, options: options }));
|
|
26
|
+
const radioButtonsGroup = getByRole("radiogroup");
|
|
27
|
+
expect(radioButtonsGroup).toBeInTheDocument();
|
|
28
|
+
});
|
|
29
|
+
test("renders with all props", () => {
|
|
30
|
+
const { getByRole } = render(React.createElement(RadioButtons, { onChange: () => { }, options: options, initialValue: "1", error: "error" }));
|
|
31
|
+
const radioButtonsGroup = getByRole("radiogroup");
|
|
32
|
+
expect(radioButtonsGroup).toBeInTheDocument();
|
|
33
|
+
});
|
|
34
|
+
test("sets options", () => {
|
|
35
|
+
const { getAllByRole } = render(React.createElement(RadioButtons, { onChange: () => { }, options: options }));
|
|
36
|
+
const radioButtons = getAllByRole("radio");
|
|
37
|
+
expect(radioButtons).toHaveLength(2);
|
|
38
|
+
});
|
|
39
|
+
test("sets initial value", () => {
|
|
40
|
+
const { getByLabelText } = render(React.createElement(RadioButtons, { onChange: () => { }, options: options, initialValue: "1" }));
|
|
41
|
+
const radioButton = getByLabelText("title 1");
|
|
42
|
+
expect(radioButton).toBeChecked();
|
|
43
|
+
});
|
|
44
|
+
test("displays error", () => {
|
|
45
|
+
const { queryByText, rerender, getByText } = render(React.createElement(RadioButtons, { onChange: () => { }, options: options, initialValue: "1" }));
|
|
46
|
+
expect(queryByText("error")).toBeNull();
|
|
47
|
+
rerender(React.createElement(RadioButtons, { onChange: () => { }, options: options, error: "error" }));
|
|
48
|
+
expect(getByText("error")).toBeInTheDocument();
|
|
49
|
+
});
|
|
50
|
+
test("displays titles and descriptions", () => {
|
|
51
|
+
const { getByText, getByLabelText } = render(React.createElement(RadioButtons, { onChange: () => { }, options: [options[0]] }));
|
|
52
|
+
expect(getByLabelText("title 1")).toBeInTheDocument();
|
|
53
|
+
expect(getByText("description 1")).toBeInTheDocument();
|
|
54
|
+
expect(getByText("side title 1")).toBeInTheDocument();
|
|
55
|
+
expect(getByText("side description 1")).toBeInTheDocument();
|
|
56
|
+
});
|
|
57
|
+
test("calls onChange", () => {
|
|
58
|
+
const onChange = getJestMockFunction();
|
|
59
|
+
const { getByLabelText } = render(React.createElement(RadioButtons, { onChange: onChange, options: options }));
|
|
60
|
+
const radioButton = getByLabelText("title 1");
|
|
61
|
+
fireEvent.click(radioButton);
|
|
62
|
+
expect(onChange).toHaveBeenCalled();
|
|
63
|
+
expect(onChange).toHaveBeenCalledWith("1");
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
//# sourceMappingURL=RadioButtons.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButtons.test.js","sourceRoot":"","sources":["../../../../../Tests/UI/Components/RadioButtons.test.tsx"],"names":[],"mappings":"AAAA,OAAO,YAEN,MAAM,uDAAuD,CAAC;AAC/D,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,E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enu/SideMenuItem";
|
|
5
|
+
import * as Navigation from "../../../UI/Utils/Navigation";
|
|
6
|
+
import { describe, expect, afterEach, jest } from "@jest/globals";
|
|
7
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
8
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
9
|
+
// Types
|
|
10
|
+
import Route from "Common/Types/API/Route";
|
|
11
|
+
import IconProp from "Common/Types/Icon/IconProp";
|
|
12
|
+
import React from "react";
|
|
13
|
+
import getJestMockFunction from "Common/Tests/MockType";
|
|
14
|
+
const highlightClassList = "bg-gray-100 text-indigo-600 hover:bg-white group rounded-md px-3 py-2 flex items-center text-sm font-medium";
|
|
15
|
+
jest.mock("../../../UI/Utils/Navigation.ts", () => {
|
|
16
|
+
return {
|
|
17
|
+
isOnThisPage: jest.fn().mockReturnValue(false),
|
|
18
|
+
navigate: jest.fn(),
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
describe("Side Menu Item", () => {
|
|
22
|
+
afterEach(() => {
|
|
23
|
+
jest.clearAllMocks();
|
|
24
|
+
});
|
|
25
|
+
const defaultProps = {
|
|
26
|
+
link: {
|
|
27
|
+
title: "Home",
|
|
28
|
+
to: new Route("/home"),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
it("Should render the main link with given title", () => {
|
|
32
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps)));
|
|
33
|
+
const mainLink = screen
|
|
34
|
+
.getByText(defaultProps.link.title)
|
|
35
|
+
.closest("a");
|
|
36
|
+
expect(mainLink).toBeInTheDocument();
|
|
37
|
+
});
|
|
38
|
+
it("Should call navigate function when clicked", () => {
|
|
39
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps)));
|
|
40
|
+
const mainLink = screen
|
|
41
|
+
.getByText(defaultProps.link.title)
|
|
42
|
+
.closest("a");
|
|
43
|
+
fireEvent.click(mainLink);
|
|
44
|
+
expect(Navigation.default.navigate).toHaveBeenCalledTimes(1);
|
|
45
|
+
});
|
|
46
|
+
it("Should render icon if provided", () => {
|
|
47
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps, { icon: IconProp.Home })));
|
|
48
|
+
expect(screen.getByRole("icon")).toBeInTheDocument();
|
|
49
|
+
});
|
|
50
|
+
it("Should render the sub item link with given title and Icon", () => {
|
|
51
|
+
const subLink = {
|
|
52
|
+
title: "Sub Page",
|
|
53
|
+
to: new Route("/sub-page"),
|
|
54
|
+
};
|
|
55
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps, { subItemLink: subLink, icon: IconProp.Home, subItemIcon: IconProp.ExternalLink })));
|
|
56
|
+
const subLinkElement = screen
|
|
57
|
+
.getByText(subLink.title)
|
|
58
|
+
.closest("a");
|
|
59
|
+
expect(subLinkElement).toBeInTheDocument();
|
|
60
|
+
expect(screen.getAllByRole("icon")).toHaveLength(2);
|
|
61
|
+
});
|
|
62
|
+
it("Should render link badge if provided", () => {
|
|
63
|
+
const badgeCount = 2;
|
|
64
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps, { badge: badgeCount, badgeType: BadgeType.SUCCESS })));
|
|
65
|
+
expect(screen.getByText(badgeCount)).toBeInTheDocument();
|
|
66
|
+
});
|
|
67
|
+
it("Should show alert", () => {
|
|
68
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps, { showAlert: true })));
|
|
69
|
+
expect(screen.getByRole("icon")).toBeInTheDocument();
|
|
70
|
+
});
|
|
71
|
+
it("Should show warning", () => {
|
|
72
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps, { showWarning: true })));
|
|
73
|
+
expect(screen.getByRole("icon")).toBeInTheDocument();
|
|
74
|
+
});
|
|
75
|
+
it("Should highlights the main link when on the same page", () => {
|
|
76
|
+
Navigation.default.isOnThisPage.mockReturnValue(true);
|
|
77
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps)));
|
|
78
|
+
const mainLink = screen
|
|
79
|
+
.getByText(defaultProps.link.title)
|
|
80
|
+
.closest("a");
|
|
81
|
+
expect(mainLink).toHaveClass(highlightClassList);
|
|
82
|
+
});
|
|
83
|
+
it("Should highlights sub item link when on the same page", () => {
|
|
84
|
+
const subLink = {
|
|
85
|
+
title: "Sub Page",
|
|
86
|
+
to: new Route("/sub-page"),
|
|
87
|
+
};
|
|
88
|
+
Navigation.default.isOnThisPage = getJestMockFunction().mockImplementation((to) => {
|
|
89
|
+
return to === subLink.to;
|
|
90
|
+
});
|
|
91
|
+
render(React.createElement(SideMenuItem, Object.assign({}, defaultProps, { subItemLink: subLink, icon: IconProp.Home, subItemIcon: IconProp.ExternalLink })));
|
|
92
|
+
const subLinkElement = screen
|
|
93
|
+
.getByText(subLink.title)
|
|
94
|
+
.closest("a");
|
|
95
|
+
expect(subLinkElement).toHaveClass(highlightClassList);
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
//# sourceMappingURL=SideMenuItem.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideMenuItem.test.js","sourceRoot":"","sources":["../../../../../Tests/UI/Components/SideMenuItem.test.tsx"],"names":[],"mappings":"AAAA,YAAY;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,aAAa;AACb,OAAO,YAEN,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACnE,QAAQ;AACR,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,QAAQ,MAAM,4BAA4B,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,kBAA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AE,QAAQ,CAAC,IAAI,EACnB,WAAW,EAAE,QAAQ,CAAC,YAAY,IAClC,CACH,CAAC;QAEF,MAAM,cAAc,GAA6B,MAAM;aACpD,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC;aACxB,OAAO,CAAC,GAAG,CAAC,CAAC;QAChB,MAAM,CAAC,cAAc,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import SideOver from "../../../UI/Components/SideOver/SideOver";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { describe, expect, test, afterEach, jest } from "@jest/globals";
|
|
6
|
+
describe("SideOver", () => {
|
|
7
|
+
const childElementText = "child element";
|
|
8
|
+
const childElement = React.createElement("div", { key: 0 }, childElementText);
|
|
9
|
+
const props = {
|
|
10
|
+
title: "title",
|
|
11
|
+
description: "description",
|
|
12
|
+
onClose: jest.fn(),
|
|
13
|
+
onSubmit: jest.fn(),
|
|
14
|
+
children: childElement,
|
|
15
|
+
};
|
|
16
|
+
const renderComponent = (props) => {
|
|
17
|
+
render(React.createElement(SideOver, Object.assign({}, props)));
|
|
18
|
+
};
|
|
19
|
+
afterEach(() => {
|
|
20
|
+
jest.clearAllMocks();
|
|
21
|
+
});
|
|
22
|
+
test("should display title", () => {
|
|
23
|
+
renderComponent(props);
|
|
24
|
+
const title = screen.getByText(props.title);
|
|
25
|
+
expect(title).toBeInTheDocument();
|
|
26
|
+
expect(title).toHaveClass("text-lg font-medium text-gray-900");
|
|
27
|
+
});
|
|
28
|
+
test("should display description", () => {
|
|
29
|
+
renderComponent(props);
|
|
30
|
+
const description = screen.getByText(props.description);
|
|
31
|
+
expect(description).toBeInTheDocument();
|
|
32
|
+
expect(description).toHaveClass("text-sm text-gray-500");
|
|
33
|
+
});
|
|
34
|
+
test("should close the call onClose when 'Close Panel' button is clicked", () => {
|
|
35
|
+
renderComponent(props);
|
|
36
|
+
const closePanelButton = screen.getByText("Close panel");
|
|
37
|
+
expect(closePanelButton).toBeInTheDocument();
|
|
38
|
+
fireEvent.click(closePanelButton);
|
|
39
|
+
expect(props.onClose).toHaveBeenCalled();
|
|
40
|
+
});
|
|
41
|
+
test("should render children component passed in the props", () => {
|
|
42
|
+
renderComponent(props);
|
|
43
|
+
expect(screen.getByText(childElementText)).toBeInTheDocument();
|
|
44
|
+
});
|
|
45
|
+
test("should render leftFooterElement when passed in the props", () => {
|
|
46
|
+
const leftFooterElementText = "left element";
|
|
47
|
+
const leftFooterElement = (React.createElement("div", { key: 0 }, leftFooterElementText));
|
|
48
|
+
renderComponent(Object.assign(Object.assign({}, props), { leftFooterElement }));
|
|
49
|
+
expect(screen.getByText(leftFooterElementText)).toBeInTheDocument();
|
|
50
|
+
});
|
|
51
|
+
test("should call onClose when Close button is clicked", () => {
|
|
52
|
+
renderComponent(props);
|
|
53
|
+
const cancelButton = screen.getByText("Close");
|
|
54
|
+
expect(cancelButton).toBeInTheDocument();
|
|
55
|
+
fireEvent.click(cancelButton);
|
|
56
|
+
expect(props.onClose).toHaveBeenCalled();
|
|
57
|
+
});
|
|
58
|
+
test("should use submitButtonText value passed in the props for submit button text", () => {
|
|
59
|
+
const submitButtonText = "Submit";
|
|
60
|
+
renderComponent(Object.assign(Object.assign({}, props), { submitButtonText }));
|
|
61
|
+
expect(screen.getByText(submitButtonText)).toBeInTheDocument();
|
|
62
|
+
});
|
|
63
|
+
test("should disable Save button", () => {
|
|
64
|
+
renderComponent(Object.assign(Object.assign({}, props), { submitButtonDisabled: true }));
|
|
65
|
+
const saveButton = screen.getByText("Save");
|
|
66
|
+
expect(saveButton).toBeInTheDocument();
|
|
67
|
+
expect(saveButton).toBeDisabled();
|
|
68
|
+
});
|
|
69
|
+
test("should call onSubmit when Save button is clicked", () => {
|
|
70
|
+
renderComponent(props);
|
|
71
|
+
const saveButton = screen.getByText("Save");
|
|
72
|
+
expect(saveButton).toBeInTheDocument();
|
|
73
|
+
fireEvent.click(saveButton);
|
|
74
|
+
expect(props.onSubmit).toHaveBeenCalled();
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
//# sourceMappingURL=SideOver.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideOver.test.js","sourceRoot":"","sources":["../../../../../Tests/UI/Components/SideOver.test.tsx"],"names":[],"mappings":"AAAA,OAAO,QAEN,MAAM,0CAA0C,CAAC;AAClD,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAExE,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,MAAM,gBAAgB,GAAW,eAAe,CAAC;IACjD,MAAM,YAAY,GAAiB,6BAAK,GAAG,EAAE,CAAC,IAAG,gBAAgB,CAAO,CAAC;IAEzE,MAAM,KAAK,GAAmB;QAC5B,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE;QAClB,QAAQ,EAAE,IAAI,CAAC,EAAE,EAAE;QACnB,QAAQ,EAAE,YAAY;KACvB,CAAC;IAIF,MAAM,eAAe,GAA4B,CAC/C,KAAqB,EACf,EAAE;QACR,MAAM,CAAC,oBAAC,QAAQ,oBAAK,KAAK,EAAI,CAAC,CAAC;IAClC,CAAC,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,sBAAsB,EAAE,GAAG,EAAE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,CAAC;QAEvB,MAAM,UAAU,GAAgB,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACzD,MAAM,CAAC,UAAU,CAAC,CAAC,iBAAiB,EAAE,CAAC;QAEvC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5B,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,gBAAgB,EAAE,CAAC;IAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import Tabs from "../../../UI/Components/Tabs/Tabs";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { fireEvent, render } from "@testing-library/react";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { describe, expect, test } from "@jest/globals";
|
|
6
|
+
import getJestMockFunction from "Common/Tests/MockType";
|
|
7
|
+
describe("Tabs", () => {
|
|
8
|
+
const activeClass = "bg-gray-100 text-gray-700";
|
|
9
|
+
const tab1 = {
|
|
10
|
+
name: "tab1",
|
|
11
|
+
children: React.createElement("div", null, "tab 1 content"),
|
|
12
|
+
};
|
|
13
|
+
const tab2 = {
|
|
14
|
+
name: "tab2",
|
|
15
|
+
children: React.createElement("div", null, "tab 2 content"),
|
|
16
|
+
};
|
|
17
|
+
const tabs = [tab1, tab2];
|
|
18
|
+
test("it should render all props passed", () => {
|
|
19
|
+
const onTabChange = getJestMockFunction();
|
|
20
|
+
const { getByTestId } = render(React.createElement(Tabs, { tabs: tabs, onTabChange: onTabChange }));
|
|
21
|
+
expect(getByTestId("tab-tab1")).toBeInTheDocument();
|
|
22
|
+
expect(getByTestId("tab-tab2")).toBeInTheDocument();
|
|
23
|
+
});
|
|
24
|
+
test("it should render the first tab as active by default", () => {
|
|
25
|
+
const onTabChange = getJestMockFunction();
|
|
26
|
+
const { getByTestId } = render(React.createElement(Tabs, { tabs: tabs, onTabChange: onTabChange }));
|
|
27
|
+
expect(getByTestId("tab-tab1")).toHaveClass(activeClass);
|
|
28
|
+
});
|
|
29
|
+
test("it should call onTabChange with the correct tab when a tab is clicked", () => {
|
|
30
|
+
const onTabChange = getJestMockFunction();
|
|
31
|
+
const { getByTestId } = render(React.createElement(Tabs, { tabs: tabs, onTabChange: onTabChange }));
|
|
32
|
+
fireEvent.click(getByTestId("tab-tab1"));
|
|
33
|
+
expect(onTabChange).toHaveBeenCalledWith(tab1);
|
|
34
|
+
fireEvent.click(getByTestId("tab-tab2"));
|
|
35
|
+
expect(onTabChange).toHaveBeenCalledWith(tab2);
|
|
36
|
+
});
|
|
37
|
+
test("it should show the correct tab as active when a tab is clicked", () => {
|
|
38
|
+
const onTabChange = getJestMockFunction();
|
|
39
|
+
const { getByTestId } = render(React.createElement(Tabs, { tabs: tabs, onTabChange: onTabChange }));
|
|
40
|
+
fireEvent.click(getByTestId("tab-tab2"));
|
|
41
|
+
expect(getByTestId("tab-tab1")).not.toHaveClass(activeClass);
|
|
42
|
+
expect(getByTestId("tab-tab2")).toHaveClass(activeClass);
|
|
43
|
+
});
|
|
44
|
+
test("it should handle empty tabs array gracefully", () => {
|
|
45
|
+
const tabs = [];
|
|
46
|
+
const onTabChange = getJestMockFunction();
|
|
47
|
+
const { getByTestId } = render(React.createElement(Tabs, { tabs: tabs, onTabChange: onTabChange }));
|
|
48
|
+
expect(() => {
|
|
49
|
+
return getByTestId("tab-tab1");
|
|
50
|
+
}).toThrow();
|
|
51
|
+
expect(() => {
|
|
52
|
+
return getByTestId("tab-tab2");
|
|
53
|
+
}).toThrow();
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=Tabs.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.test.js","sourceRoot":"","sources":["../../../../../Tests/UI/Components/Tabs.test.tsx"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,kCAAkC,CAAC;AACpD,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,SAAS,EA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AE,WAAW,EAAE,WAAW,GAAI,CAC/C,CAAC;QAEF,MAAM,CAAC,GAAG,EAAE;YACV,OAAO,WAAW,CAAC,UAAU,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,MAAM,CAAC,GAAG,EAAE;YACV,OAAO,WAAW,CAAC,UAAU,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Component from "../../../../UI/Components/Template/Template";
|
|
2
|
+
import { describe, expect, it } from "@jest/globals";
|
|
3
|
+
import "@testing-library/jest-dom";
|
|
4
|
+
import { render, screen } from "@testing-library/react";
|
|
5
|
+
import React from "react";
|
|
6
|
+
describe("Template Component", () => {
|
|
7
|
+
const props = {
|
|
8
|
+
title: "Template title",
|
|
9
|
+
};
|
|
10
|
+
it("should render component with the correct title", () => {
|
|
11
|
+
render(React.createElement(Component, Object.assign({}, props)));
|
|
12
|
+
expect(screen.getByText(props.title)).toBeInTheDocument();
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=Template.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Template.test.js","sourceRoot":"","sources":["../../../../../../Tests/UI/Components/Template/Template.test.tsx"],"names":[],"mappings":"AAAA,OAAO,SAEN,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,MAAM,KAAK,GAAmB;QAC5B,KAAK,EAAE,gBAAgB;KACxB,CAAC;IACF,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;QACxD,MAAM,CAAC,oBAAC,SAAS,oBAAK,KAAK,EAAI,CAAC,CAAC;QACjC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAC5D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import TextArea from "../../../UI/Components/TextArea/TextArea";
|
|
2
|
+
import "@testing-library/jest-dom/extend-expect";
|
|
3
|
+
import { fireEvent, render } from "@testing-library/react";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { describe, expect, test } from "@jest/globals";
|
|
6
|
+
import getJestMockFunction from "Common/Tests/MockType";
|
|
7
|
+
describe("TextArea", () => {
|
|
8
|
+
test("renders textarea element with initialValue only", () => {
|
|
9
|
+
const { getByRole } = render(React.createElement(TextArea, { initialValue: "initial value" }));
|
|
10
|
+
const textarea = getByRole("textbox");
|
|
11
|
+
expect(textarea).toBeInTheDocument();
|
|
12
|
+
});
|
|
13
|
+
test("renders textarea element with all props", () => {
|
|
14
|
+
const { getByRole } = render(React.createElement(TextArea, { onChange: () => { }, onFocus: () => { }, onBlur: () => { }, initialValue: "initial value", placeholder: "placeholder", className: "class-name", tabIndex: 1, error: "error", autoFocus: true }));
|
|
15
|
+
const textarea = getByRole("textbox");
|
|
16
|
+
expect(textarea).toBeInTheDocument();
|
|
17
|
+
});
|
|
18
|
+
test("calls onChange event", () => {
|
|
19
|
+
const onChange = getJestMockFunction();
|
|
20
|
+
const { getByRole } = render(React.createElement(TextArea, { initialValue: "initial value", onChange: onChange }));
|
|
21
|
+
const textarea = getByRole("textbox");
|
|
22
|
+
fireEvent.change(textarea, { target: { value: "new value" } });
|
|
23
|
+
expect(onChange).toHaveBeenCalledTimes(1);
|
|
24
|
+
expect(onChange).toHaveBeenCalledWith("new value");
|
|
25
|
+
});
|
|
26
|
+
test("calls onFocus event", () => {
|
|
27
|
+
const onFocus = getJestMockFunction();
|
|
28
|
+
const { getByRole } = render(React.createElement(TextArea, { initialValue: "initial value", onFocus: onFocus }));
|
|
29
|
+
const textarea = getByRole("textbox");
|
|
30
|
+
fireEvent.focus(textarea);
|
|
31
|
+
expect(onFocus).toHaveBeenCalledTimes(1);
|
|
32
|
+
});
|
|
33
|
+
test("calls onBlur event", () => {
|
|
34
|
+
const onBlur = getJestMockFunction();
|
|
35
|
+
const { getByRole } = render(React.createElement(TextArea, { initialValue: "initial value", onBlur: onBlur }));
|
|
36
|
+
const textarea = getByRole("textbox");
|
|
37
|
+
fireEvent.blur(textarea);
|
|
38
|
+
expect(onBlur).toHaveBeenCalledTimes(1);
|
|
39
|
+
});
|
|
40
|
+
test("sets initialValue", () => {
|
|
41
|
+
const { getByDisplayValue } = render(React.createElement(TextArea, { initialValue: "initial value" }));
|
|
42
|
+
expect(getByDisplayValue("initial value")).toBeInTheDocument();
|
|
43
|
+
});
|
|
44
|
+
test("sets placeholder", () => {
|
|
45
|
+
const { getByPlaceholderText } = render(React.createElement(TextArea, { placeholder: "placeholder", initialValue: "" }));
|
|
46
|
+
expect(getByPlaceholderText("placeholder")).toBeInTheDocument();
|
|
47
|
+
});
|
|
48
|
+
test("sets className", () => {
|
|
49
|
+
const { getByRole } = render(React.createElement(TextArea, { className: "class-name", initialValue: "" }));
|
|
50
|
+
expect(getByRole("textbox")).toHaveClass("class-name");
|
|
51
|
+
});
|
|
52
|
+
test("sets default className", () => {
|
|
53
|
+
const { getByRole } = render(React.createElement(TextArea, { initialValue: "" }));
|
|
54
|
+
expect(getByRole("textbox").classList.length).toBeGreaterThan(0);
|
|
55
|
+
});
|
|
56
|
+
test("sets tabIndex", () => {
|
|
57
|
+
const { getByRole } = render(React.createElement(TextArea, { tabIndex: 1, initialValue: "" }));
|
|
58
|
+
expect(getByRole("textbox")).toHaveAttribute("tabindex", "1");
|
|
59
|
+
});
|
|
60
|
+
test("sets autoFocus", () => {
|
|
61
|
+
const { getByRole } = render(React.createElement(TextArea, { autoFocus: true, initialValue: "" }));
|
|
62
|
+
expect(getByRole("textbox")).toHaveFocus();
|
|
63
|
+
});
|
|
64
|
+
test("displays error", () => {
|
|
65
|
+
const errorTestId = "error-message";
|
|
66
|
+
const { getByText, getByTestId } = render(React.createElement(TextArea, { error: "error", initialValue: "" }));
|
|
67
|
+
expect(getByText("error")).toBeInTheDocument();
|
|
68
|
+
expect(getByTestId(errorTestId)).toBeInTheDocument();
|
|
69
|
+
});
|
|
70
|
+
test("displays error icon", () => {
|
|
71
|
+
const { getByRole } = render(React.createElement(TextArea, { error: "error", initialValue: "" }));
|
|
72
|
+
expect(getByRole("icon")).toBeInTheDocument();
|
|
73
|
+
});
|
|
74
|
+
test("does not display error icon without error", () => {
|
|
75
|
+
const { queryByRole } = render(React.createElement(TextArea, { initialValue: "" }));
|
|
76
|
+
expect(queryByRole("icon")).not.toBeInTheDocument();
|
|
77
|
+
});
|
|
78
|
+
test("applies error styles", () => {
|
|
79
|
+
const { getByRole } = render(React.createElement(TextArea, { error: "error", initialValue: "" }));
|
|
80
|
+
expect(getByRole("textbox")).toHaveClass("border-red-300");
|
|
81
|
+
});
|
|
82
|
+
test("does not apply error styles without error", () => {
|
|
83
|
+
const { getByRole } = render(React.createElement(TextArea, { initialValue: "" }));
|
|
84
|
+
expect(getByRole("textbox")).not.toHaveClass("border-red-300");
|
|
85
|
+
});
|
|
86
|
+
test("parses sole initial newline as empty string", () => {
|
|
87
|
+
const onChange = getJestMockFunction();
|
|
88
|
+
const { getByRole, getByDisplayValue, queryByDisplayValue } = render(React.createElement(TextArea, { initialValue: "initial value", onChange: onChange }));
|
|
89
|
+
const textarea = getByRole("textbox");
|
|
90
|
+
fireEvent.change(textarea, { target: { value: "\n" } });
|
|
91
|
+
expect(onChange).toHaveBeenCalled();
|
|
92
|
+
expect(onChange).toHaveBeenCalledWith("");
|
|
93
|
+
expect(getByDisplayValue("")).toBeInTheDocument();
|
|
94
|
+
expect(queryByDisplayValue("\n")).not.toBeInTheDocument();
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
//# sourceMappingURL=TextArea.test.js.map
|