@oneuptime/common 7.0.4358 → 7.0.4372
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/ExceptionInstance.ts +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.ts +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.ts +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.ts +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.ts +2 -2
- package/Models/DatabaseModels/Probe.ts +7 -1
- package/Models/DatabaseModels/ServiceCatalog.ts +2 -2
- package/Models/DatabaseModels/ServiceCopilotCodeRepository.ts +2 -2
- package/Server/Utils/OpenAPI.ts +564 -2
- package/Utils/Schema/AnalyticsModelSchema.ts +764 -0
- package/Utils/Schema/BaseSchema.ts +450 -0
- package/Utils/Schema/ModelSchema.ts +176 -407
- package/build/dist/Models/AnalyticsModels/ExceptionInstance.js +2 -2
- package/build/dist/Models/AnalyticsModels/ExceptionInstance.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +2 -2
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +2 -2
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +2 -2
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +2 -2
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Probe.js +7 -1
- package/build/dist/Models/DatabaseModels/Probe.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCatalog.js +2 -2
- package/build/dist/Models/DatabaseModels/ServiceCatalog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/ServiceCopilotCodeRepository.js +2 -2
- package/build/dist/Models/DatabaseModels/ServiceCopilotCodeRepository.js.map +1 -1
- package/build/dist/Server/Utils/OpenAPI.js +445 -2
- package/build/dist/Server/Utils/OpenAPI.js.map +1 -1
- package/build/dist/Utils/Schema/AnalyticsModelSchema.js +636 -0
- package/build/dist/Utils/Schema/AnalyticsModelSchema.js.map +1 -0
- package/build/dist/Utils/Schema/BaseSchema.js +295 -0
- package/build/dist/Utils/Schema/BaseSchema.js.map +1 -0
- package/build/dist/Utils/Schema/ModelSchema.js +155 -337
- package/build/dist/Utils/Schema/ModelSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ export default class ExceptionInstance extends AnalyticsBaseModel {
|
|
|
12
12
|
super({
|
|
13
13
|
tableName: "ExceptionItem",
|
|
14
14
|
tableEngine: AnalyticsTableEngine.MergeTree,
|
|
15
|
-
singularName: "Exception",
|
|
16
|
-
pluralName: "
|
|
15
|
+
singularName: "Exception Instance",
|
|
16
|
+
pluralName: "Exception Instances",
|
|
17
17
|
enableRealtimeEventsOn: {
|
|
18
18
|
create: true,
|
|
19
19
|
},
|
|
@@ -53,8 +53,8 @@ import { Column, Entity, Index, JoinColumn, ManyToOne } from "typeorm";
|
|
|
53
53
|
})
|
|
54
54
|
@TableMetadata({
|
|
55
55
|
tableName: "OnCallDutyPolicyEscalationRuleSchedule",
|
|
56
|
-
singularName: "On-Call Duty Escalation Rule
|
|
57
|
-
pluralName: "On-Call Duty Escalation
|
|
56
|
+
singularName: "Schedule's On-Call Duty Escalation Rule",
|
|
57
|
+
pluralName: "Schedule's On-Call Duty Escalation Rules",
|
|
58
58
|
icon: IconProp.Calendar,
|
|
59
59
|
tableDescription:
|
|
60
60
|
"Manage schedules for on-call duty policy escalation rules.",
|
|
@@ -53,8 +53,8 @@ import { Column, Entity, Index, JoinColumn, ManyToOne } from "typeorm";
|
|
|
53
53
|
})
|
|
54
54
|
@TableMetadata({
|
|
55
55
|
tableName: "OnCallDutyPolicyEscalationRuleTeam",
|
|
56
|
-
singularName: "On-Call Duty Escalation Rule",
|
|
57
|
-
pluralName: "On-Call Duty Escalation Rules",
|
|
56
|
+
singularName: "Team On-Call Duty Escalation Rule",
|
|
57
|
+
pluralName: "Team On-Call Duty Escalation Rules",
|
|
58
58
|
icon: IconProp.Call,
|
|
59
59
|
tableDescription:
|
|
60
60
|
"Manage on-call duty escalation rule for the on-call policy.",
|
|
@@ -52,8 +52,8 @@ import { Column, Entity, Index, JoinColumn, ManyToOne } from "typeorm";
|
|
|
52
52
|
})
|
|
53
53
|
@TableMetadata({
|
|
54
54
|
tableName: "OnCallDutyPolicyEscalationRuleUser",
|
|
55
|
-
singularName: "On-Call Duty Escalation Rule",
|
|
56
|
-
pluralName: "On-Call Duty Esdcalation Rules",
|
|
55
|
+
singularName: "User's On-Call Duty Escalation Rule",
|
|
56
|
+
pluralName: "User's On-Call Duty Esdcalation Rules",
|
|
57
57
|
icon: IconProp.Call,
|
|
58
58
|
tableDescription:
|
|
59
59
|
"Manage on-call duty escalation rule for the on-call policy.",
|
|
@@ -55,8 +55,8 @@ import { PlanType } from "../../Types/Billing/SubscriptionPlan";
|
|
|
55
55
|
})
|
|
56
56
|
@TableMetadata({
|
|
57
57
|
tableName: "OnCallDutyPolicyTimeLog",
|
|
58
|
-
singularName: "
|
|
59
|
-
pluralName: "
|
|
58
|
+
singularName: "On Call Time Log",
|
|
59
|
+
pluralName: "On Call Time Logs",
|
|
60
60
|
icon: IconProp.Call,
|
|
61
61
|
tableDescription:
|
|
62
62
|
"Manage on-call duty user overrides, for example if the user is on leave you can override the on-call duty policy for that user so all the alerts will be routed to the other user.",
|
|
@@ -71,7 +71,13 @@ export enum ProbeConnectionStatus {
|
|
|
71
71
|
Permission.ProjectMember,
|
|
72
72
|
Permission.CreateProjectProbe,
|
|
73
73
|
],
|
|
74
|
-
read: [
|
|
74
|
+
read: [
|
|
75
|
+
Permission.Public,
|
|
76
|
+
Permission.ProjectOwner,
|
|
77
|
+
Permission.ProjectAdmin,
|
|
78
|
+
Permission.ProjectMember,
|
|
79
|
+
Permission.ReadProjectProbe,
|
|
80
|
+
],
|
|
75
81
|
delete: [
|
|
76
82
|
Permission.ProjectOwner,
|
|
77
83
|
Permission.ProjectAdmin,
|
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
@SlugifyColumn("name", "slug")
|
|
81
81
|
@TableMetadata({
|
|
82
82
|
tableName: "ServiceCatalog",
|
|
83
|
-
singularName: "Service",
|
|
84
|
-
pluralName: "Services",
|
|
83
|
+
singularName: "Service in Service Catalog",
|
|
84
|
+
pluralName: "Services in Service Catalog",
|
|
85
85
|
icon: IconProp.SquareStack,
|
|
86
86
|
tableDescription:
|
|
87
87
|
"Service Catalog is a collection of services that you have in your organization. It can be a collection of services that you are monitoring or services that you are providing to your customers. It can be anything that you want to keep track of.",
|
|
@@ -68,8 +68,8 @@ import { Column, Entity, Index, JoinColumn, ManyToOne } from "typeorm";
|
|
|
68
68
|
@CrudApiEndpoint(new Route("/service-copilot-code-repository"))
|
|
69
69
|
@TableMetadata({
|
|
70
70
|
tableName: "ServiceCopilotCodeRepository",
|
|
71
|
-
singularName: "Service",
|
|
72
|
-
pluralName: "
|
|
71
|
+
singularName: "Service Code Repository for Copilot",
|
|
72
|
+
pluralName: "Service Code Repositories for Copilot",
|
|
73
73
|
icon: IconProp.SquareStack,
|
|
74
74
|
tableDescription:
|
|
75
75
|
"Add services to your code repository to categorize and manage them easily. This will help copilot understand and generate code.",
|