Remove unnecessary whitespace

This commit is contained in:
Simon Larsen 2024-04-06 12:03:44 +01:00
parent fd5e7272de
commit 74ad8fc725
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
75 changed files with 34 additions and 190 deletions

View File

@ -1100,7 +1100,7 @@ export class PermissionHelper {
description:
'This permission can create Workflow in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
permission: Permission.CanDeleteWorkflow,
@ -1108,7 +1108,7 @@ export class PermissionHelper {
description:
'This permission can delete Workflow in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
permission: Permission.CanEditWorkflow,
@ -1116,7 +1116,7 @@ export class PermissionHelper {
description:
'This permission can edit Workflow in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
permission: Permission.CanReadWorkflow,
@ -1124,7 +1124,7 @@ export class PermissionHelper {
description:
'This permission can read Workflow in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
@ -1287,7 +1287,7 @@ export class PermissionHelper {
description:
'This permission can create Monitor Group in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
permission: Permission.CanDeleteMonitorGroup,
@ -1295,7 +1295,7 @@ export class PermissionHelper {
description:
'This permission can delete Monitor Group in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
permission: Permission.CanEditMonitorGroup,
@ -1303,7 +1303,7 @@ export class PermissionHelper {
description:
'This permission can edit Monitor Group in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
permission: Permission.CanReadMonitorGroup,
@ -1311,7 +1311,7 @@ export class PermissionHelper {
description:
'This permission can read Monitor Group in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
isAccessControlPermission: true,
},
{
@ -1728,7 +1728,7 @@ export class PermissionHelper {
description:
'This permission can read teams in on-call duty execution log timeline.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
@ -1738,7 +1738,7 @@ export class PermissionHelper {
description:
'This permission can read teams in on-call duty execution log.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
@ -1748,7 +1748,7 @@ export class PermissionHelper {
description:
'This permission can create teams in on-call duty escalation rule this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1757,7 +1757,7 @@ export class PermissionHelper {
description:
'This permission can delete teams in on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1766,7 +1766,7 @@ export class PermissionHelper {
description:
'This permission can edit teams in on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1775,7 +1775,7 @@ export class PermissionHelper {
description:
'This permission can read teams in on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
@ -1785,7 +1785,7 @@ export class PermissionHelper {
description:
'This permission can create teams in on-call duty escalation rule schedule this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1794,7 +1794,7 @@ export class PermissionHelper {
description:
'This permission can delete teams in on-call duty escalation rule schedule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1803,7 +1803,7 @@ export class PermissionHelper {
description:
'This permission can edit teams in on-call duty escalation rule schedule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1812,7 +1812,7 @@ export class PermissionHelper {
description:
'This permission can read teams in on-call duty escalation rule schedule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
@ -1822,7 +1822,7 @@ export class PermissionHelper {
description:
'This permission can create on-call duty escalation rule this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1831,7 +1831,7 @@ export class PermissionHelper {
description:
'This permission can delete on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1840,7 +1840,7 @@ export class PermissionHelper {
description:
'This permission can edit on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1849,7 +1849,7 @@ export class PermissionHelper {
description:
'This permission can read on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
@ -1859,7 +1859,7 @@ export class PermissionHelper {
description:
'This permission can create on-call duty escalation rule this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1868,7 +1868,7 @@ export class PermissionHelper {
description:
'This permission can delete on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1877,7 +1877,7 @@ export class PermissionHelper {
description:
'This permission can edit on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{
permission:
@ -1886,7 +1886,7 @@ export class PermissionHelper {
description:
'This permission can read on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
isAccessControlPermission: false,
},
{

View File

@ -385,7 +385,4 @@ export default class ApiKey extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public apiKey?: ObjectID = undefined;
}

View File

@ -409,6 +409,4 @@ export default class APIKeyPermission extends BaseModel {
},
})
public labels?: Array<Label> = undefined;
}

View File

@ -338,6 +338,4 @@ export default class BillingInvoice extends BaseModel {
unique: false,
})
public paymentProviderInvoiceId?: string = undefined;
}

View File

@ -344,6 +344,4 @@ export default class BillingPaymentMethod extends BaseModel {
unique: false,
})
public isDefault?: boolean = undefined;
}

View File

@ -258,12 +258,9 @@ export default class CallLog extends BaseModel {
})
public callCostInUSDCents?: number = undefined;
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -353,6 +353,4 @@ export default class Domain extends BaseModel {
unique: true,
})
public domainVerificationText?: string = undefined;
}

View File

@ -295,9 +295,7 @@ export default class EmailLog extends BaseModel {
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -117,9 +117,7 @@ export default class EmailVerificationToken extends BaseModel {
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -368,5 +368,4 @@ export default class GlobalConfig extends GlobalConfigModel {
transformer: Email.getDatabaseTransformer(),
})
public adminNotificationEmail?: Email = undefined;
}

View File

@ -1016,6 +1016,4 @@ export default class Incident extends BaseModel {
default: false,
})
public isCreatedAutomatically?: boolean = undefined;
}

View File

@ -370,7 +370,4 @@ export default class IncidentInternalNote extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -343,6 +343,4 @@ export default class IncidentNoteTemplate extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public deletedByUserId?: ObjectID = undefined;
}

View File

@ -417,6 +417,4 @@ export default class IncidentOwnerTeam extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -416,6 +416,4 @@ export default class IncidentOwnerUser extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -451,6 +451,4 @@ export default class IncidentPublicNote extends BaseModel {
unique: false,
})
public postedAt?: Date = undefined;
}

View File

@ -425,6 +425,4 @@ export default class IncidentSeverity extends BaseModel {
type: ColumnType.SmallNumber,
})
public order?: number = undefined;
}

View File

@ -525,6 +525,4 @@ export default class IncidentState extends BaseModel {
type: ColumnType.SmallNumber,
})
public order?: number = undefined;
}

View File

@ -579,6 +579,4 @@ export default class IncidentStateTimeline extends BaseModel {
unique: false,
})
public startsAt?: Date = undefined;
}

View File

@ -745,6 +745,4 @@ export default class IncidentTemplate extends BaseModel {
nullable: true,
})
public customFields?: JSONObject = undefined;
}

View File

@ -417,6 +417,4 @@ export default class IncidentTemplateOwnerTeam extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -428,6 +428,4 @@ export default class IncidentTemplateOwnerUser extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -393,6 +393,4 @@ export default class Label extends AccessControlModel {
transformer: Color.getDatabaseTransformer(),
})
public color?: Color = undefined;
}

View File

@ -868,6 +868,4 @@ export default class Monitor extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public incomingRequestSecretKey?: ObjectID = undefined;
}

View File

@ -409,8 +409,4 @@ export default class MonitorGroup extends BaseModel {
},
})
public labels?: Array<Label> = undefined;
}

View File

@ -417,6 +417,4 @@ export default class MonitorGroupOwnerTeam extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -416,8 +416,4 @@ export default class MonitorGroupOwnerUser extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -346,9 +346,7 @@ export default class MonitorGroupResource extends BaseModel {
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -417,7 +417,4 @@ export default class MonitorOwnerTeam extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -416,6 +416,4 @@ export default class MonitorOwnerUser extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -478,6 +478,4 @@ export default class MonitorProbe extends BaseModel {
unique: false,
})
public lastMonitoringLog?: JSONObject = undefined;
}

View File

@ -492,6 +492,4 @@ export default class MonitorStatus extends BaseModel {
type: ColumnType.Number,
})
public priority?: number = undefined;
}

View File

@ -528,6 +528,4 @@ export default class MonitorStatusTimeline extends BaseModel {
unique: false,
})
public startsAt?: Date = undefined;
}

View File

@ -498,6 +498,4 @@ export default class OnCallDutyPolicy extends BaseModel {
nullable: true,
})
public customFields?: JSONObject = undefined;
}

View File

@ -339,6 +339,4 @@ export default class OnCallDutyPolicyCustomField extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public deletedByUserId?: ObjectID = undefined;
}

View File

@ -438,6 +438,4 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
type: ColumnType.Number,
})
public order?: number = undefined;
}

View File

@ -664,6 +664,4 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
default: 1,
})
public onCallPolicyExecutionRepeatCount?: number = undefined;
}

View File

@ -726,6 +726,4 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public deletedByUserId?: ObjectID = undefined;
}

View File

@ -556,6 +556,4 @@ export default class OnCallDutyPolicyScheduleLayer extends BaseModel {
transformer: RestrictionTimes.getDatabaseTransformer(),
})
public restrictionTimes?: RestrictionTimes = undefined;
}

View File

@ -494,6 +494,4 @@ export default class OnCallDutyPolicyScheduleLayerUser extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public userId?: ObjectID = undefined;
}

View File

@ -470,6 +470,4 @@ export default class Probe extends BaseModel {
default: false,
})
public shouldAutoEnableProbeOnNewMonitors?: boolean = undefined;
}

View File

@ -1123,6 +1123,4 @@ export default class Model extends TenantModel {
length: ColumnLength.ShortText,
})
public resellerLicenseId?: string = undefined;
}

View File

@ -430,6 +430,4 @@ export default class ProjectCallSMSConfig extends BaseModel {
transformer: Phone.getDatabaseTransformer(),
})
public twilioPhoneNumber?: Phone = undefined;
}

View File

@ -521,6 +521,4 @@ export default class ProjectSmtpConfig extends BaseModel {
default: true,
})
public secure?: boolean = undefined;
}

View File

@ -581,6 +581,4 @@ export default class ProjectSSO extends BaseModel {
default: false,
})
public isTested?: boolean = undefined;
}

View File

@ -881,6 +881,4 @@ export default class ScheduledMaintenance extends BaseModel {
default: false,
})
public isOwnerNotifiedOfResourceCreation?: boolean = undefined;
}

View File

@ -370,7 +370,4 @@ export default class ScheduledMaintenanceInternalNote extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -452,6 +452,4 @@ export default class ScheduledMaintenancePublicNote extends BaseModel {
unique: false,
})
public postedAt?: Date = undefined;
}

View File

@ -558,6 +558,4 @@ export default class ScheduledMaintenanceState extends BaseModel {
type: ColumnType.SmallNumber,
})
public order?: number = undefined;
}

View File

@ -527,5 +527,4 @@ export default class ScheduledMaintenanceStateTimeline extends BaseModel {
unique: false,
})
public startsAt?: Date = undefined;
}

View File

@ -74,9 +74,7 @@ export default class ShortLink extends BaseModel {
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -260,9 +260,7 @@ export default class SmsLog extends BaseModel {
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -1647,6 +1647,4 @@ export default class StatusPage extends BaseModel {
},
})
public downtimeMonitorStatuses?: Array<MonitorStatus> = undefined;
}

View File

@ -511,7 +511,4 @@ export default class StatusPageAnnouncement extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -404,7 +404,6 @@ export default class StatusPageFooterLink extends BaseModel {
})
public order?: number = undefined;
@ColumnAccessControl({
create: [],
read: [],

View File

@ -404,7 +404,6 @@ export default class StatusPageHeaderLink extends BaseModel {
})
public order?: number = undefined;
@ColumnAccessControl({
create: [],
read: [],

View File

@ -372,12 +372,9 @@ export default class StatusPageHistoryChartBarColorRule extends BaseModel {
})
public order?: number = undefined;
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({

View File

@ -415,6 +415,4 @@ export default class StatusPageOwnerTeam extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -414,6 +414,4 @@ export default class StatusPageOwnerUser extends BaseModel {
default: false,
})
public isOwnerNotified?: boolean = undefined;
}

View File

@ -447,7 +447,6 @@ export default class StatusPagePrivateUser extends BaseModel {
})
public isSsoUser?: boolean = undefined;
@ColumnAccessControl({
create: [],
read: [],

View File

@ -813,7 +813,4 @@ export default class StatusPageResource extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public deletedByUserId?: ObjectID = undefined;
}

View File

@ -583,6 +583,4 @@ export default class StatusPageSSO extends BaseModel {
default: false,
})
public isTested?: boolean = undefined;
}

View File

@ -550,7 +550,4 @@ export default class StatusPageSubscriber extends BaseModel {
},
})
public statusPageResources?: Array<StatusPageResource> = undefined;
}

View File

@ -438,6 +438,4 @@ export default class Team extends BaseModel {
default: true,
})
public isTeamEditable?: boolean = undefined;
}

View File

@ -421,6 +421,4 @@ export default class TeamMember extends BaseModel {
unique: false,
})
public invitationAcceptedAt?: Date = undefined;
}

View File

@ -413,6 +413,4 @@ export default class TeamPermission extends BaseModel {
},
})
public labels?: Array<Label> = undefined;
}

View File

@ -486,6 +486,4 @@ export default class TelemetryService extends BaseModel {
default: 15,
})
public retainTelemetryDataForDays?: number = undefined;
}

View File

@ -282,8 +282,6 @@ class UserCall extends BaseModel {
length: ColumnLength.ShortText,
})
public verificationCode?: string = undefined;
}
export default UserCall;

View File

@ -282,8 +282,6 @@ class UserEmail extends BaseModel {
length: ColumnLength.ShortText,
})
public verificationCode?: string = undefined;
}
export default UserEmail;

View File

@ -455,8 +455,6 @@ class UserNotificationRule extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public incidentSeverityId?: ObjectID = undefined;
}
export default UserNotificationRule;

View File

@ -277,8 +277,6 @@ class UserNotificationSetting extends BaseModel {
default: false,
})
public alertByCall?: boolean = undefined;
}
export default UserNotificationSetting;

View File

@ -699,6 +699,4 @@ export default class UserOnCallLog extends BaseModel {
transformer: ObjectID.getDatabaseTransformer(),
})
public onCallDutyScheduleId?: ObjectID = undefined;
}

View File

@ -282,8 +282,6 @@ class UserSMS extends BaseModel {
length: ColumnLength.ShortText,
})
public verificationCode?: string = undefined;
}
export default UserSMS;

View File

@ -523,6 +523,4 @@ export default class Workflow extends BaseModel {
nullable: true,
})
public repeatableJobKey?: string = undefined;
}

View File

@ -259,9 +259,7 @@ export default class WorkflowLog extends BaseModel {
@ColumnAccessControl({
create: [],
read: [
],
read: [],
update: [],
})
@TableColumn({