refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files

This commit is contained in:
Simon Larsen
2024-06-14 12:01:14 +01:00
parent 8ce432256c
commit 2999e539b3
106 changed files with 445 additions and 443 deletions

View File

@@ -108,7 +108,7 @@ export default class AcmeCertificate extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -84,7 +84,7 @@ export default class AcmeChallenge extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -93,7 +93,7 @@ export default class ApiKey extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -242,7 +242,7 @@ export default class ApiKey extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -294,7 +294,7 @@ export default class ApiKey extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -109,7 +109,7 @@ export default class APIKeyPermission extends BaseModel {
'Relation to API Key resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ApiKey;
},
{
@@ -173,7 +173,7 @@ export default class APIKeyPermission extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -238,7 +238,7 @@ export default class APIKeyPermission extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -298,7 +298,7 @@ export default class APIKeyPermission extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -70,7 +70,7 @@ export default class BillingInvoice extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -126,7 +126,7 @@ export default class BillingInvoice extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -178,7 +178,7 @@ export default class BillingInvoice extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -68,7 +68,7 @@ export default class BillingPaymentMethod extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -136,7 +136,7 @@ export default class BillingPaymentMethod extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -196,7 +196,7 @@ export default class BillingPaymentMethod extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -71,7 +71,7 @@ export default class CallLog extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -271,7 +271,7 @@ export default class CallLog extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -114,7 +114,7 @@ export default class CodeRepository extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -279,7 +279,7 @@ export default class CodeRepository extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -340,7 +340,7 @@ export default class CodeRepository extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -74,7 +74,7 @@ export default class CopilotEvent extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -132,7 +132,7 @@ export default class CopilotEvent extends BaseModel {
'Relation to CodeRepository Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return CodeRepository;
},
{
@@ -190,7 +190,7 @@ export default class CopilotEvent extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -244,7 +244,7 @@ export default class CopilotEvent extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -367,7 +367,7 @@ export default class CopilotEvent extends BaseModel {
'Relation to Service Catalog Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ServiceCatalog;
},
{
@@ -425,7 +425,7 @@ export default class CopilotEvent extends BaseModel {
'Relation to Service Repository Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ServiceRepository;
},
{

View File

@@ -105,7 +105,7 @@ export default class DataMigration extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -149,7 +149,7 @@ export default class DataMigration extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -81,7 +81,7 @@ export default class Domain extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -205,7 +205,7 @@ export default class Domain extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -263,7 +263,7 @@ export default class Domain extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -72,7 +72,7 @@ export default class EmailLog extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -254,7 +254,7 @@ export default class EmailLog extends BaseModel {
'Relation to ProjectSmtpConfig resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ProjectSmtpConfig;
},
{
@@ -306,7 +306,7 @@ export default class EmailLog extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -44,7 +44,7 @@ export default class EmailVerificationToken extends BaseModel {
modelType: User,
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -129,7 +129,7 @@ export default class EmailVerificationToken extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -83,7 +83,7 @@ export default class GreenlockCertificate extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -84,7 +84,7 @@ export default class GreenlockChallenge extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -110,7 +110,7 @@ export default class Incident extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -277,7 +277,7 @@ export default class Incident extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -331,7 +331,7 @@ export default class Incident extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -531,7 +531,7 @@ export default class Incident extends BaseModel {
'Current state of this incident. Is the incident acknowledged? or resolved?. This is related to Incident State',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentState;
},
{
@@ -606,7 +606,7 @@ export default class Incident extends BaseModel {
'How severe is this incident. Is it critical? or a minor incident?. This is related to Incident Severity.',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentSeverity;
},
{
@@ -676,7 +676,7 @@ export default class Incident extends BaseModel {
'Relation to Monitor Status Object. All monitors connected to this incident will be changed to this status when the incident is created.',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorStatus;
},
{
@@ -955,7 +955,7 @@ export default class Incident extends BaseModel {
'If this incident was created by a Probe, this is the probe that created it.',
})
@ManyToOne(
(_type: string) => {
() => {
return Probe;
},
{

View File

@@ -87,7 +87,7 @@ export default class IncidentCustomField extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -245,7 +245,7 @@ export default class IncidentCustomField extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -303,7 +303,7 @@ export default class IncidentCustomField extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -90,7 +90,7 @@ export default class IncidentInternalNote extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -157,7 +157,7 @@ export default class IncidentInternalNote extends BaseModel {
description: 'Relation to Incident in which this resource belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -223,7 +223,7 @@ export default class IncidentInternalNote extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -277,7 +277,7 @@ export default class IncidentInternalNote extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -88,7 +88,7 @@ export default class IncidentNoteTemplate extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -258,7 +258,7 @@ export default class IncidentNoteTemplate extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -312,7 +312,7 @@ export default class IncidentNoteTemplate extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -89,7 +89,7 @@ export default class IncidentOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -157,7 +157,7 @@ export default class IncidentOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -224,7 +224,7 @@ export default class IncidentOwnerTeam extends BaseModel {
'Relation to Incident Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -292,7 +292,7 @@ export default class IncidentOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -351,7 +351,7 @@ export default class IncidentOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -88,7 +88,7 @@ export default class IncidentOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -156,7 +156,7 @@ export default class IncidentOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -223,7 +223,7 @@ export default class IncidentOwnerUser extends BaseModel {
'Relation to Incident Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -291,7 +291,7 @@ export default class IncidentOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -350,7 +350,7 @@ export default class IncidentOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -90,7 +90,7 @@ export default class IncidentPublicNote extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -157,7 +157,7 @@ export default class IncidentPublicNote extends BaseModel {
description: 'Relation to Incident in which this resource belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -223,7 +223,7 @@ export default class IncidentPublicNote extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -277,7 +277,7 @@ export default class IncidentPublicNote extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -101,7 +101,7 @@ export default class IncidentSeverity extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -261,7 +261,7 @@ export default class IncidentSeverity extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -320,7 +320,7 @@ export default class IncidentSeverity extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -101,7 +101,7 @@ export default class IncidentState extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -261,7 +261,7 @@ export default class IncidentState extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -320,7 +320,7 @@ export default class IncidentState extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -93,7 +93,7 @@ export default class IncidentStateTimeline extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -160,7 +160,7 @@ export default class IncidentStateTimeline extends BaseModel {
description: 'Relation to Incident in which this resource belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -226,7 +226,7 @@ export default class IncidentStateTimeline extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -280,7 +280,7 @@ export default class IncidentStateTimeline extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -341,7 +341,7 @@ export default class IncidentStateTimeline extends BaseModel {
'Incident State Relation. Which incident state does this incident change to?',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentState;
},
{

View File

@@ -107,7 +107,7 @@ export default class IncidentTemplate extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -342,7 +342,7 @@ export default class IncidentTemplate extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -396,7 +396,7 @@ export default class IncidentTemplate extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -596,7 +596,7 @@ export default class IncidentTemplate extends BaseModel {
'How severe is this incident. Is it critical? or a minor incident?. This is related to Incident Severity.',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentSeverity;
},
{
@@ -666,7 +666,7 @@ export default class IncidentTemplate extends BaseModel {
'Relation to Monitor Status Object. All monitors connected to this incident will be changed to this status when the incident is created.',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorStatus;
},
{

View File

@@ -89,7 +89,7 @@ export default class IncidentTemplateOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -157,7 +157,7 @@ export default class IncidentTemplateOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -224,7 +224,7 @@ export default class IncidentTemplateOwnerTeam extends BaseModel {
'Relation to IncidentTemplate Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentTemplate;
},
{
@@ -292,7 +292,7 @@ export default class IncidentTemplateOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -351,7 +351,7 @@ export default class IncidentTemplateOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -90,7 +90,7 @@ export default class IncidentTemplateOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -160,7 +160,7 @@ export default class IncidentTemplateOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -229,7 +229,7 @@ export default class IncidentTemplateOwnerUser extends BaseModel {
'Relation to Incident Template Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentTemplate;
},
{
@@ -299,7 +299,7 @@ export default class IncidentTemplateOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -360,7 +360,7 @@ export default class IncidentTemplateOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -97,7 +97,7 @@ export default class Label extends AccessControlModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -251,7 +251,7 @@ export default class Label extends AccessControlModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -309,7 +309,7 @@ export default class Label extends AccessControlModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -108,7 +108,7 @@ export default class Monitor extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -275,7 +275,7 @@ export default class Monitor extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -329,7 +329,7 @@ export default class Monitor extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -464,7 +464,7 @@ export default class Monitor extends BaseModel {
description: 'Whats the current status of this monitor?',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorStatus;
},
{

View File

@@ -87,7 +87,7 @@ export default class MonitorCustomField extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -245,7 +245,7 @@ export default class MonitorCustomField extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -303,7 +303,7 @@ export default class MonitorCustomField extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -110,7 +110,7 @@ export default class MonitorGroup extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -277,7 +277,7 @@ export default class MonitorGroup extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -331,7 +331,7 @@ export default class MonitorGroup extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -97,7 +97,7 @@ export default class MonitorGroupOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -165,7 +165,7 @@ export default class MonitorGroupOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -232,7 +232,7 @@ export default class MonitorGroupOwnerTeam extends BaseModel {
'Relation to MonitorGroup Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorGroup;
},
{
@@ -300,7 +300,7 @@ export default class MonitorGroupOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -359,7 +359,7 @@ export default class MonitorGroupOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -96,7 +96,7 @@ export default class MonitorGroupOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -164,7 +164,7 @@ export default class MonitorGroupOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -231,7 +231,7 @@ export default class MonitorGroupOwnerUser extends BaseModel {
'Relation to MonitorGroup Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorGroup;
},
{
@@ -299,7 +299,7 @@ export default class MonitorGroupOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -358,7 +358,7 @@ export default class MonitorGroupOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -91,7 +91,7 @@ export default class MonitorGroupResource extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -159,7 +159,7 @@ export default class MonitorGroupResource extends BaseModel {
'Relation to Monitor Group Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorGroup;
},
{
@@ -231,7 +231,7 @@ export default class MonitorGroupResource extends BaseModel {
'Relation to Monitor Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Monitor;
},
{
@@ -303,7 +303,7 @@ export default class MonitorGroupResource extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -357,7 +357,7 @@ export default class MonitorGroupResource extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -97,7 +97,7 @@ export default class MonitorOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -165,7 +165,7 @@ export default class MonitorOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -232,7 +232,7 @@ export default class MonitorOwnerTeam extends BaseModel {
'Relation to Monitor Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Monitor;
},
{
@@ -300,7 +300,7 @@ export default class MonitorOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -359,7 +359,7 @@ export default class MonitorOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -96,7 +96,7 @@ export default class MonitorOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -164,7 +164,7 @@ export default class MonitorOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -231,7 +231,7 @@ export default class MonitorOwnerUser extends BaseModel {
'Relation to Monitor Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Monitor;
},
{
@@ -299,7 +299,7 @@ export default class MonitorOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -358,7 +358,7 @@ export default class MonitorOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -90,7 +90,7 @@ export default class MonitorProbe extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -155,7 +155,7 @@ export default class MonitorProbe extends BaseModel {
description: 'Relation to Probe Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Probe;
},
{
@@ -220,7 +220,7 @@ export default class MonitorProbe extends BaseModel {
'Relation to Monitor Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Monitor;
},
{
@@ -333,7 +333,7 @@ export default class MonitorProbe extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -391,7 +391,7 @@ export default class MonitorProbe extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -103,7 +103,7 @@ export default class MonitorSecret extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -308,7 +308,7 @@ export default class MonitorSecret extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -366,7 +366,7 @@ export default class MonitorSecret extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -101,7 +101,7 @@ export default class MonitorStatus extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -261,7 +261,7 @@ export default class MonitorStatus extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -320,7 +320,7 @@ export default class MonitorStatus extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -95,7 +95,7 @@ export default class MonitorStatusTimeline extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -163,7 +163,7 @@ export default class MonitorStatusTimeline extends BaseModel {
'Relation to Monitor Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Monitor;
},
{
@@ -230,7 +230,7 @@ export default class MonitorStatusTimeline extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -284,7 +284,7 @@ export default class MonitorStatusTimeline extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -345,7 +345,7 @@ export default class MonitorStatusTimeline extends BaseModel {
'Relation to Monitor Status Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorStatus;
},
{

View File

@@ -96,7 +96,7 @@ export default class OnCallDutyPolicy extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -310,7 +310,7 @@ export default class OnCallDutyPolicy extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -364,7 +364,7 @@ export default class OnCallDutyPolicy extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -87,7 +87,7 @@ export default class OnCallDutyPolicyCustomField extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -245,7 +245,7 @@ export default class OnCallDutyPolicyCustomField extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -303,7 +303,7 @@ export default class OnCallDutyPolicyCustomField extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -83,7 +83,7 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -151,7 +151,7 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -287,7 +287,7 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -341,7 +341,7 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -84,7 +84,7 @@ export default class OnCallDutyPolicyEscalationRuleSchedule extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -152,7 +152,7 @@ export default class OnCallDutyPolicyEscalationRuleSchedule extends BaseModel {
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -220,7 +220,7 @@ export default class OnCallDutyPolicyEscalationRuleSchedule extends BaseModel {
'Relation to On Call Policy Schedule who is in this escalation rule.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicySchedule;
},
{
@@ -285,7 +285,7 @@ export default class OnCallDutyPolicyEscalationRuleSchedule extends BaseModel {
'Relation to On-Call Policy Escalation Rule where this user belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyEscalationRule;
},
{
@@ -353,7 +353,7 @@ export default class OnCallDutyPolicyEscalationRuleSchedule extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -407,7 +407,7 @@ export default class OnCallDutyPolicyEscalationRuleSchedule extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -84,7 +84,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -152,7 +152,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -219,7 +219,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
description: 'Relation to Team who is in this escalation rule.',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -283,7 +283,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
'Relation to On-Call Policy Escalation Rule where this user belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyEscalationRule;
},
{
@@ -351,7 +351,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -405,7 +405,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -83,7 +83,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -151,7 +151,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -219,7 +219,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
'Relation to On-Call Policy Escalation Rule where this user belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyEscalationRule;
},
{
@@ -286,7 +286,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
description: 'Relation to User who is in this escalation rule.',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -350,7 +350,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -404,7 +404,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -75,7 +75,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -133,7 +133,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to On-Call Policy which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -191,7 +191,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to Incident which triggered this on-call duty policy.',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -318,7 +318,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -367,7 +367,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -423,7 +423,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to User who acknowledged this policy execution (if this policy was acknowledged by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -492,7 +492,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to Team who acknowledged this policy execution (if this policy was acknowledged by a Team)',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -586,7 +586,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
'Relation to On-Call Policy Last Executed Escalation Rule.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyEscalationRule;
},
{

View File

@@ -77,7 +77,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -135,7 +135,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to on-call duty policy Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -193,7 +193,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to Incident Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -251,7 +251,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to On-Call Policy Execution Log where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyExecutionLog;
},
{
@@ -309,7 +309,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to On-Call Policy Escalation Rule where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyEscalationRule;
},
{
@@ -366,7 +366,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
description: 'Relation to User who we sent alert to.',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -444,7 +444,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Which team did the user belong to when the alert was sent?',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -499,7 +499,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Which schedule did the user belong to when the alert was sent?',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicySchedule;
},
{
@@ -602,7 +602,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -651,7 +651,7 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -103,7 +103,7 @@ export default class OnCallDutyPolicySchedule extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -317,7 +317,7 @@ export default class OnCallDutyPolicySchedule extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -371,7 +371,7 @@ export default class OnCallDutyPolicySchedule extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -91,7 +91,7 @@ export default class OnCallDutyPolicyScheduleLayer extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -159,7 +159,7 @@ export default class OnCallDutyPolicyScheduleLayer extends BaseModel {
'Relation to On-Call Policy Schedule where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicySchedule;
},
{
@@ -294,7 +294,7 @@ export default class OnCallDutyPolicyScheduleLayer extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -353,7 +353,7 @@ export default class OnCallDutyPolicyScheduleLayer extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -88,7 +88,7 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -156,7 +156,7 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
'Relation to On-Call Policy Schedule where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicySchedule;
},
{
@@ -224,7 +224,7 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
'Relation to On-Call Policy Schedule Layer where this belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyScheduleLayer;
},
{
@@ -292,7 +292,7 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -351,7 +351,7 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -449,7 +449,7 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
description: 'User who belongs to this layer.',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -235,7 +235,7 @@ export default class Probe extends BaseModel {
description: 'Probe Icon',
})
@ManyToOne(
(_type: string) => {
() => {
return File;
},
{
@@ -297,7 +297,7 @@ export default class Probe extends BaseModel {
modelType: Project,
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -340,7 +340,7 @@ export default class Probe extends BaseModel {
})
@TableColumn({ type: TableColumnType.Entity, modelType: User })
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -384,7 +384,7 @@ export default class Probe extends BaseModel {
})
@TableColumn({ type: TableColumnType.Entity, modelType: User })
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -331,7 +331,7 @@ export default class Model extends TenantModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -382,7 +382,7 @@ export default class Model extends TenantModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -1016,7 +1016,7 @@ export default class Model extends TenantModel {
'Relation to Reseller Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Reseller;
},
{
@@ -1071,7 +1071,7 @@ export default class Model extends TenantModel {
'Relation to ResellerPlan Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ResellerPlan;
},
{

View File

@@ -87,7 +87,7 @@ export default class ProjectCallSMSConfig extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -239,7 +239,7 @@ export default class ProjectCallSMSConfig extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -297,7 +297,7 @@ export default class ProjectCallSMSConfig extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -89,7 +89,7 @@ export default class ProjectSmtpConfig extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -241,7 +241,7 @@ export default class ProjectSmtpConfig extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -299,7 +299,7 @@ export default class ProjectSmtpConfig extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -100,7 +100,7 @@ export default class ProjectSSO extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -434,7 +434,7 @@ export default class ProjectSSO extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -494,7 +494,7 @@ export default class ProjectSSO extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -121,7 +121,7 @@ export default class PromoCode extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -179,7 +179,7 @@ export default class PromoCode extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -230,7 +230,7 @@ export default class PromoCode extends BaseModel {
'Relation to Reseller Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Reseller;
},
{
@@ -278,7 +278,7 @@ export default class PromoCode extends BaseModel {
'Relation to ResellerPlan Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ResellerPlan;
},
{
@@ -380,7 +380,7 @@ export default class PromoCode extends BaseModel {
'If promo code is used for a specific project, please specify here.',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{

View File

@@ -143,7 +143,7 @@ export default class Reseller extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -187,7 +187,7 @@ export default class Reseller extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -49,7 +49,7 @@ export default class ResellerPlan extends BaseModel {
'Relation to Reseller Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Reseller;
},
{
@@ -211,7 +211,7 @@ export default class ResellerPlan extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -255,7 +255,7 @@ export default class ResellerPlan extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -108,7 +108,7 @@ export default class ScheduledMaintenance extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -275,7 +275,7 @@ export default class ScheduledMaintenance extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -329,7 +329,7 @@ export default class ScheduledMaintenance extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -529,7 +529,7 @@ export default class ScheduledMaintenance extends BaseModel {
'Relation to Scheduled Maintenance State. The state the event currently is in.',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenanceState;
},
{
@@ -600,7 +600,7 @@ export default class ScheduledMaintenance extends BaseModel {
'Relation to Monitor Status Object. All monitors connected to this event will be changed to this status when the event is ongoing.',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorStatus;
},
{

View File

@@ -87,7 +87,7 @@ export default class ScheduledMaintenanceCustomField extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -245,7 +245,7 @@ export default class ScheduledMaintenanceCustomField extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -303,7 +303,7 @@ export default class ScheduledMaintenanceCustomField extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -89,7 +89,7 @@ export default class ScheduledMaintenanceInternalNote extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -157,7 +157,7 @@ export default class ScheduledMaintenanceInternalNote extends BaseModel {
'Relation to Scheduled Maintenance Event this resource belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenance;
},
{
@@ -223,7 +223,7 @@ export default class ScheduledMaintenanceInternalNote extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -277,7 +277,7 @@ export default class ScheduledMaintenanceInternalNote extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -89,7 +89,7 @@ export default class ScheduledMaintenanceNoteTemplate extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -259,7 +259,7 @@ export default class ScheduledMaintenanceNoteTemplate extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -313,7 +313,7 @@ export default class ScheduledMaintenanceNoteTemplate extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -90,7 +90,7 @@ export default class ScheduledMaintenanceOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -158,7 +158,7 @@ export default class ScheduledMaintenanceOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -225,7 +225,7 @@ export default class ScheduledMaintenanceOwnerTeam extends BaseModel {
'Relation to ScheduledMaintenance Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenance;
},
{
@@ -293,7 +293,7 @@ export default class ScheduledMaintenanceOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -352,7 +352,7 @@ export default class ScheduledMaintenanceOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -89,7 +89,7 @@ export default class ScheduledMaintenanceOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -157,7 +157,7 @@ export default class ScheduledMaintenanceOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -224,7 +224,7 @@ export default class ScheduledMaintenanceOwnerUser extends BaseModel {
'Relation to ScheduledMaintenance Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenance;
},
{
@@ -292,7 +292,7 @@ export default class ScheduledMaintenanceOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -351,7 +351,7 @@ export default class ScheduledMaintenanceOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -90,7 +90,7 @@ export default class ScheduledMaintenancePublicNote extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -158,7 +158,7 @@ export default class ScheduledMaintenancePublicNote extends BaseModel {
'Relation to Scheduled Maintenance Event this resource belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenance;
},
{
@@ -224,7 +224,7 @@ export default class ScheduledMaintenancePublicNote extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -278,7 +278,7 @@ export default class ScheduledMaintenancePublicNote extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -101,7 +101,7 @@ export default class ScheduledMaintenanceState extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -261,7 +261,7 @@ export default class ScheduledMaintenanceState extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -320,7 +320,7 @@ export default class ScheduledMaintenanceState extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -91,7 +91,7 @@ export default class ScheduledMaintenanceStateTimeline extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -159,7 +159,7 @@ export default class ScheduledMaintenanceStateTimeline extends BaseModel {
'Relation to Scheduled Maintenance Event this resource belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenance;
},
{
@@ -225,7 +225,7 @@ export default class ScheduledMaintenanceStateTimeline extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -279,7 +279,7 @@ export default class ScheduledMaintenanceStateTimeline extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -340,7 +340,7 @@ export default class ScheduledMaintenanceStateTimeline extends BaseModel {
'Which state does this event belongs to?. Relation to Scheduled Maintenance State',
})
@ManyToOne(
(_type: string) => {
() => {
return ScheduledMaintenanceState;
},
{

View File

@@ -115,7 +115,7 @@ export default class ServiceCatalog extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -280,7 +280,7 @@ export default class ServiceCatalog extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -341,7 +341,7 @@ export default class ServiceCatalog extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -97,7 +97,7 @@ export default class ServiceCatalogOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -165,7 +165,7 @@ export default class ServiceCatalogOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -232,7 +232,7 @@ export default class ServiceCatalogOwnerTeam extends BaseModel {
'Relation to Service Catalog Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ServiceCatalog;
},
{
@@ -300,7 +300,7 @@ export default class ServiceCatalogOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -359,7 +359,7 @@ export default class ServiceCatalogOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -96,7 +96,7 @@ export default class ServiceCatalogOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -164,7 +164,7 @@ export default class ServiceCatalogOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -231,7 +231,7 @@ export default class ServiceCatalogOwnerUser extends BaseModel {
'Relation to Service Catalog Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ServiceCatalog;
},
{
@@ -299,7 +299,7 @@ export default class ServiceCatalogOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -358,7 +358,7 @@ export default class ServiceCatalogOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -103,7 +103,7 @@ export default class ServiceRepository extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -285,7 +285,7 @@ export default class ServiceRepository extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -346,7 +346,7 @@ export default class ServiceRepository extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -414,7 +414,7 @@ export default class ServiceRepository extends BaseModel {
'Relation to CodeRepository Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return CodeRepository;
},
{
@@ -494,7 +494,7 @@ export default class ServiceRepository extends BaseModel {
'Relation to Service Catalog Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return ServiceCatalog;
},
{

View File

@@ -85,7 +85,7 @@ export default class ShortLink extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -71,7 +71,7 @@ export default class SmsLog extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -271,7 +271,7 @@ export default class SmsLog extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -110,7 +110,7 @@ export default class StatusPage extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -344,7 +344,7 @@ export default class StatusPage extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -445,7 +445,7 @@ export default class StatusPage extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -507,7 +507,7 @@ export default class StatusPage extends BaseModel {
description: 'Status Page Favicon',
})
@ManyToOne(
(_type: string) => {
() => {
return File;
},
{
@@ -580,7 +580,7 @@ export default class StatusPage extends BaseModel {
description: 'Status Page Logo',
})
@ManyToOne(
(_type: string) => {
() => {
return File;
},
{
@@ -653,7 +653,7 @@ export default class StatusPage extends BaseModel {
description: 'Status Page Cover Image',
})
@ManyToOne(
(_type: string) => {
() => {
return File;
},
{
@@ -1227,7 +1227,7 @@ export default class StatusPage extends BaseModel {
'Relation to SMTP Config Resource which is used to send email to subscribers.',
})
@ManyToOne(
(_type: string) => {
() => {
return ProjectSmtpConfig;
},
{
@@ -1305,7 +1305,7 @@ export default class StatusPage extends BaseModel {
'Relation to Call/SMS Config Resource which is used to send SMS to subscribers.',
})
@ManyToOne(
(_type: string) => {
() => {
return ProjectCallSMSConfig;
},
{

View File

@@ -109,7 +109,7 @@ export default class StatusPageAnnouncement extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -347,7 +347,7 @@ export default class StatusPageAnnouncement extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -406,7 +406,7 @@ export default class StatusPageAnnouncement extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -87,7 +87,7 @@ export default class StatusPageCustomField extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -245,7 +245,7 @@ export default class StatusPageCustomField extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -303,7 +303,7 @@ export default class StatusPageCustomField extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -93,7 +93,7 @@ export default class StatusPageDomain extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -158,7 +158,7 @@ export default class StatusPageDomain extends BaseModel {
modelType: Domain,
})
@ManyToOne(
(_type: string) => {
() => {
return Domain;
},
{
@@ -219,7 +219,7 @@ export default class StatusPageDomain extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -349,7 +349,7 @@ export default class StatusPageDomain extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -408,7 +408,7 @@ export default class StatusPageDomain extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -98,7 +98,7 @@ export default class StatusPageFooterLink extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -166,7 +166,7 @@ export default class StatusPageFooterLink extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -300,7 +300,7 @@ export default class StatusPageFooterLink extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -359,7 +359,7 @@ export default class StatusPageFooterLink extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -103,7 +103,7 @@ export default class StatusPageGroup extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -171,7 +171,7 @@ export default class StatusPageGroup extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -330,7 +330,7 @@ export default class StatusPageGroup extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -448,7 +448,7 @@ export default class StatusPageGroup extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -98,7 +98,7 @@ export default class StatusPageHeaderLink extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -166,7 +166,7 @@ export default class StatusPageHeaderLink extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -300,7 +300,7 @@ export default class StatusPageHeaderLink extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -359,7 +359,7 @@ export default class StatusPageHeaderLink extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -94,7 +94,7 @@ export default class StatusPageHistoryChartBarColorRule extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -162,7 +162,7 @@ export default class StatusPageHistoryChartBarColorRule extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -300,7 +300,7 @@ export default class StatusPageHistoryChartBarColorRule extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -385,7 +385,7 @@ export default class StatusPageHistoryChartBarColorRule extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -97,7 +97,7 @@ export default class StatusPageOwnerTeam extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -165,7 +165,7 @@ export default class StatusPageOwnerTeam extends BaseModel {
'Team that is the owner. All users in this team will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -232,7 +232,7 @@ export default class StatusPageOwnerTeam extends BaseModel {
'Relation to StatusPage Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -300,7 +300,7 @@ export default class StatusPageOwnerTeam extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -359,7 +359,7 @@ export default class StatusPageOwnerTeam extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -96,7 +96,7 @@ export default class StatusPageOwnerUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -164,7 +164,7 @@ export default class StatusPageOwnerUser extends BaseModel {
'User that is the owner. This user will receive notifications. ',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -231,7 +231,7 @@ export default class StatusPageOwnerUser extends BaseModel {
'Relation to StatusPage Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -299,7 +299,7 @@ export default class StatusPageOwnerUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -358,7 +358,7 @@ export default class StatusPageOwnerUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -103,7 +103,7 @@ export default class StatusPagePrivateUser extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -171,7 +171,7 @@ export default class StatusPagePrivateUser extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -347,7 +347,7 @@ export default class StatusPagePrivateUser extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -406,7 +406,7 @@ export default class StatusPagePrivateUser extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -103,7 +103,7 @@ export default class StatusPageResource extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -171,7 +171,7 @@ export default class StatusPageResource extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -243,7 +243,7 @@ export default class StatusPageResource extends BaseModel {
'Relation to Monitor Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Monitor;
},
{
@@ -320,7 +320,7 @@ export default class StatusPageResource extends BaseModel {
'Relation to Monitor Group Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return MonitorGroup;
},
{
@@ -397,7 +397,7 @@ export default class StatusPageResource extends BaseModel {
'Does this monitor belong to a status page group? If so - which one is it?',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPageGroup;
},
{
@@ -697,7 +697,7 @@ export default class StatusPageResource extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -782,7 +782,7 @@ export default class StatusPageResource extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -92,7 +92,7 @@ export default class StatusPageSSO extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -160,7 +160,7 @@ export default class StatusPageSSO extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -441,7 +441,7 @@ export default class StatusPageSSO extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -499,7 +499,7 @@ export default class StatusPageSSO extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -106,7 +106,7 @@ export default class StatusPageSubscriber extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -174,7 +174,7 @@ export default class StatusPageSubscriber extends BaseModel {
'Relation to Status Page Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return StatusPage;
},
{
@@ -345,7 +345,7 @@ export default class StatusPageSubscriber extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -404,7 +404,7 @@ export default class StatusPageSubscriber extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -98,7 +98,7 @@ export default class Team extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -258,7 +258,7 @@ export default class Team extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -311,7 +311,7 @@ export default class Team extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -97,7 +97,7 @@ export default class TeamMember extends BaseModel {
description: 'Team this permission belongs in.',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -164,7 +164,7 @@ export default class TeamMember extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -232,7 +232,7 @@ export default class TeamMember extends BaseModel {
description: 'User who belongs to this team.',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -288,7 +288,7 @@ export default class TeamMember extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -332,7 +332,7 @@ export default class TeamMember extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -107,7 +107,7 @@ export default class TeamPermission extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -174,7 +174,7 @@ export default class TeamPermission extends BaseModel {
description: 'Team this permission belongs in.',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -238,7 +238,7 @@ export default class TeamPermission extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -300,7 +300,7 @@ export default class TeamPermission extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -106,7 +106,7 @@ export default class TelemetryService extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -271,7 +271,7 @@ export default class TelemetryService extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -332,7 +332,7 @@ export default class TelemetryService extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -63,7 +63,7 @@ export default class TelemetryUsageBilling extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -254,7 +254,7 @@ export default class TelemetryUsageBilling extends BaseModel {
'Relation to Telemetry Service Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return TelemetryService;
},
{
@@ -328,7 +328,7 @@ export default class TelemetryUsageBilling extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -380,7 +380,7 @@ export default class TelemetryUsageBilling extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -245,7 +245,7 @@ class User extends UserModel {
modelType: File,
})
@ManyToOne(
(_type: string) => {
() => {
return File;
},
{
@@ -670,7 +670,7 @@ class User extends UserModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -55,7 +55,7 @@ class UserCall extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -123,7 +123,7 @@ class UserCall extends BaseModel {
description: 'Relation to User who this email belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -168,7 +168,7 @@ class UserCall extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -212,7 +212,7 @@ class UserCall extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -55,7 +55,7 @@ class UserEmail extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -123,7 +123,7 @@ class UserEmail extends BaseModel {
description: 'Relation to User who this email belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -168,7 +168,7 @@ class UserEmail extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -212,7 +212,7 @@ class UserEmail extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -58,7 +58,7 @@ class UserNotificationRule extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -125,7 +125,7 @@ class UserNotificationRule extends BaseModel {
description: 'Relation to User who this email belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -170,7 +170,7 @@ class UserNotificationRule extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -214,7 +214,7 @@ class UserNotificationRule extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -260,7 +260,7 @@ class UserNotificationRule extends BaseModel {
'Relation to User Call Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return UserCall;
},
{
@@ -307,7 +307,7 @@ class UserNotificationRule extends BaseModel {
'Relation to User SMS Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return UserSMS;
},
{
@@ -354,7 +354,7 @@ class UserNotificationRule extends BaseModel {
'Relation to User Email Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return UserEmail;
},
{
@@ -423,7 +423,7 @@ class UserNotificationRule extends BaseModel {
'Relation to Incident Severity Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return IncidentSeverity;
},
{

View File

@@ -54,7 +54,7 @@ class UserNotificationSetting extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -121,7 +121,7 @@ class UserNotificationSetting extends BaseModel {
description: 'Relation to User who this email belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -166,7 +166,7 @@ class UserNotificationSetting extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -210,7 +210,7 @@ class UserNotificationSetting extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{

View File

@@ -68,7 +68,7 @@ export default class UserOnCallLog extends BaseModel {
description: 'Relation to User who this log belongs to',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -112,7 +112,7 @@ export default class UserOnCallLog extends BaseModel {
'Which team did the user belong to when the alert was sent?',
})
@ManyToOne(
(_type: string) => {
() => {
return Team;
},
{
@@ -157,7 +157,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to Project Resource in which this object belongs',
})
@ManyToOne(
(_type: string) => {
() => {
return Project;
},
{
@@ -205,7 +205,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to On-Call Policy which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicy;
},
{
@@ -253,7 +253,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to On-Call Policy Execution Log which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyExecutionLog;
},
{
@@ -301,7 +301,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to On-Call Policy Escalation Rule which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyEscalationRule;
},
{
@@ -349,7 +349,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to Incident which triggered this on-call duty policy.',
})
@ManyToOne(
(_type: string) => {
() => {
return Incident;
},
{
@@ -432,7 +432,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to On-Call Policy Execution Log Timeline where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicyExecutionLogTimeline;
},
{
@@ -500,7 +500,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to User who created this object (if this object was created by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -544,7 +544,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to User who deleted this object (if this object was deleted by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -589,7 +589,7 @@ export default class UserOnCallLog extends BaseModel {
'Relation to User who acknowledged this policy execution (if this policy was acknowledged by a User)',
})
@ManyToOne(
(_type: string) => {
() => {
return User;
},
{
@@ -669,7 +669,7 @@ export default class UserOnCallLog extends BaseModel {
'Which schedule did the user belong to when the alert was sent?',
})
@ManyToOne(
(_type: string) => {
() => {
return OnCallDutyPolicySchedule;
},
{

Some files were not shown because too many files have changed in this diff Show More