@oneuptime/cli 14.0.92 → 14.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/Index.js +187 -26
- package/package.json +1 -1
package/build/dist/Index.js
CHANGED
|
@@ -133169,7 +133169,13 @@ var MonitorTypeHelper = class {
|
|
|
133169
133169
|
{
|
|
133170
133170
|
monitorType: "Traces" /* Traces */,
|
|
133171
133171
|
title: "Traces",
|
|
133172
|
-
|
|
133172
|
+
/*
|
|
133173
|
+
* A Traces monitor counts the spans that match its filters (its one
|
|
133174
|
+
* criteria is Span Count): it cannot read a span's duration, so its
|
|
133175
|
+
* card promises no latency. Latency is alerted on through a Metrics
|
|
133176
|
+
* monitor on a request duration metric, which answers "latency".
|
|
133177
|
+
*/
|
|
133178
|
+
description: "Alert on the number of matching spans, like failed requests, from any source.",
|
|
133173
133179
|
icon: IconProp_default.Waterfall,
|
|
133174
133180
|
keywords: [
|
|
133175
133181
|
"trace",
|
|
@@ -133178,7 +133184,9 @@ var MonitorTypeHelper = class {
|
|
|
133178
133184
|
"opentelemetry",
|
|
133179
133185
|
"distributed tracing",
|
|
133180
133186
|
"apm",
|
|
133181
|
-
"
|
|
133187
|
+
"span count",
|
|
133188
|
+
"failed requests",
|
|
133189
|
+
"error spans"
|
|
133182
133190
|
]
|
|
133183
133191
|
},
|
|
133184
133192
|
{
|
|
@@ -133194,7 +133202,9 @@ var MonitorTypeHelper = class {
|
|
|
133194
133202
|
"counter",
|
|
133195
133203
|
"histogram",
|
|
133196
133204
|
"timeseries",
|
|
133197
|
-
"prometheus"
|
|
133205
|
+
"prometheus",
|
|
133206
|
+
"latency",
|
|
133207
|
+
"request duration"
|
|
133198
133208
|
]
|
|
133199
133209
|
},
|
|
133200
133210
|
{
|
|
@@ -137861,7 +137871,7 @@ var databaseMetricCatalog = [
|
|
|
137861
137871
|
id: "database-rollback-percent",
|
|
137862
137872
|
metricType: MonitorMetricType_default.DatabaseRollbackPercent,
|
|
137863
137873
|
friendlyName: "Rollback Ratio",
|
|
137864
|
-
description: "Share of transactions that rolled back rather than committed. A step change usually means the application started throwing where it used to succeed.",
|
|
137874
|
+
description: "Share of transactions since the previous check that rolled back rather than committed. A step change usually means the application started throwing where it used to succeed.",
|
|
137865
137875
|
category: "Throughput" /* Throughput */,
|
|
137866
137876
|
group: "Throughput" /* Throughput */,
|
|
137867
137877
|
defaultAggregation: AggregationType_default.Avg,
|
|
@@ -137951,7 +137961,7 @@ var databaseMetricCatalog = [
|
|
|
137951
137961
|
id: "database-cache-hit-percent",
|
|
137952
137962
|
metricType: MonitorMetricType_default.DatabaseCacheHitPercent,
|
|
137953
137963
|
friendlyName: "Cache Hit Ratio",
|
|
137954
|
-
description: "Share of block reads served from the buffer cache instead of disk. A sustained fall means the working set no longer fits in memory.",
|
|
137964
|
+
description: "Share of block reads since the previous check served from the buffer cache instead of disk. A sustained fall means the working set no longer fits in memory.",
|
|
137955
137965
|
category: "Cache and I/O" /* CacheAndIo */,
|
|
137956
137966
|
group: "Throughput" /* Throughput */,
|
|
137957
137967
|
defaultAggregation: AggregationType_default.Avg,
|
|
@@ -180374,14 +180384,14 @@ __decorateClass([
|
|
|
180374
180384
|
]
|
|
180375
180385
|
}),
|
|
180376
180386
|
TableColumn_default({
|
|
180377
|
-
required:
|
|
180387
|
+
required: false,
|
|
180378
180388
|
type: TableColumnType_default.LongText,
|
|
180379
180389
|
canReadOnRelationQuery: true,
|
|
180380
180390
|
title: "Template Description",
|
|
180381
|
-
description: "
|
|
180391
|
+
description: "What the template is for, shown in the template list. Optional."
|
|
180382
180392
|
}),
|
|
180383
180393
|
Column({
|
|
180384
|
-
nullable:
|
|
180394
|
+
nullable: true,
|
|
180385
180395
|
type: ColumnType_default.LongText,
|
|
180386
180396
|
length: ColumnLength_default.LongText
|
|
180387
180397
|
})
|
|
@@ -194426,8 +194436,8 @@ __decorateClass([
|
|
|
194426
194436
|
required: false,
|
|
194427
194437
|
type: TableColumnType_default.Boolean,
|
|
194428
194438
|
canReadOnRelationQuery: true,
|
|
194429
|
-
title: "
|
|
194430
|
-
description: "
|
|
194439
|
+
title: "SNMP Scan",
|
|
194440
|
+
description: "The scan method: true for an SNMP scan (the default), which also asks each host that answers ping for its name and vendor over SNMP; false for an ICMP scan, which only pings.",
|
|
194431
194441
|
defaultValue: true
|
|
194432
194442
|
}),
|
|
194433
194443
|
Column({
|
|
@@ -194514,7 +194524,7 @@ __decorateClass([
|
|
|
194514
194524
|
type: TableColumnType_default.ShortText,
|
|
194515
194525
|
canReadOnRelationQuery: true,
|
|
194516
194526
|
title: "SNMP Version",
|
|
194517
|
-
description: "SNMP version tried against every host in the subnet (V1, V2c, V3). Ignored
|
|
194527
|
+
description: "SNMP version tried against every host in the subnet (V1, V2c, V3). Ignored on an ICMP scan.",
|
|
194518
194528
|
example: "V2c"
|
|
194519
194529
|
}),
|
|
194520
194530
|
Column({
|
|
@@ -194555,7 +194565,7 @@ __decorateClass([
|
|
|
194555
194565
|
required: false,
|
|
194556
194566
|
type: TableColumnType_default.ShortText,
|
|
194557
194567
|
title: "SNMP Community String",
|
|
194558
|
-
description: "Community string tried against every host in the subnet (SNMP v1/v2c). Ignored
|
|
194568
|
+
description: "Community string tried against every host in the subnet (SNMP v1/v2c). Ignored on an ICMP scan.",
|
|
194559
194569
|
example: "public"
|
|
194560
194570
|
}),
|
|
194561
194571
|
Column({
|
|
@@ -194597,7 +194607,7 @@ __decorateClass([
|
|
|
194597
194607
|
required: false,
|
|
194598
194608
|
type: TableColumnType_default.Number,
|
|
194599
194609
|
title: "SNMP Port",
|
|
194600
|
-
description: "UDP port tried against every host in the subnet. Ignored
|
|
194610
|
+
description: "UDP port tried against every host in the subnet. Ignored on an ICMP scan.",
|
|
194601
194611
|
example: "161"
|
|
194602
194612
|
}),
|
|
194603
194613
|
Column({
|
|
@@ -194639,7 +194649,7 @@ __decorateClass([
|
|
|
194639
194649
|
required: false,
|
|
194640
194650
|
type: TableColumnType_default.ShortText,
|
|
194641
194651
|
title: "SNMP v3 Security Level",
|
|
194642
|
-
description: "SNMP v3 security level tried against every host: noAuthNoPriv, authNoPriv, or authPriv. Ignored
|
|
194652
|
+
description: "SNMP v3 security level tried against every host: noAuthNoPriv, authNoPriv, or authPriv. Ignored on an ICMP scan.",
|
|
194643
194653
|
example: "authPriv"
|
|
194644
194654
|
}),
|
|
194645
194655
|
Column({
|
|
@@ -194681,7 +194691,7 @@ __decorateClass([
|
|
|
194681
194691
|
required: false,
|
|
194682
194692
|
type: TableColumnType_default.ShortText,
|
|
194683
194693
|
title: "SNMP v3 Username",
|
|
194684
|
-
description: "SNMP v3 security name (username) tried against every host. Ignored
|
|
194694
|
+
description: "SNMP v3 security name (username) tried against every host. Ignored on an ICMP scan.",
|
|
194685
194695
|
example: "monitoring"
|
|
194686
194696
|
}),
|
|
194687
194697
|
Column({
|
|
@@ -194723,7 +194733,7 @@ __decorateClass([
|
|
|
194723
194733
|
required: false,
|
|
194724
194734
|
type: TableColumnType_default.ShortText,
|
|
194725
194735
|
title: "SNMP v3 Authentication Protocol",
|
|
194726
|
-
description: "SNMP v3 authentication protocol: MD5, SHA, SHA256, or SHA512. Ignored
|
|
194736
|
+
description: "SNMP v3 authentication protocol: MD5, SHA, SHA256, or SHA512. Ignored on an ICMP scan.",
|
|
194727
194737
|
example: "SHA"
|
|
194728
194738
|
}),
|
|
194729
194739
|
Column({
|
|
@@ -194763,7 +194773,7 @@ __decorateClass([
|
|
|
194763
194773
|
required: false,
|
|
194764
194774
|
type: TableColumnType_default.LongText,
|
|
194765
194775
|
title: "SNMP v3 Authentication Key",
|
|
194766
|
-
description: "SNMP v3 authentication passphrase tried against every host. Ignored
|
|
194776
|
+
description: "SNMP v3 authentication passphrase tried against every host. Ignored on an ICMP scan."
|
|
194767
194777
|
}),
|
|
194768
194778
|
Column({
|
|
194769
194779
|
nullable: true,
|
|
@@ -194803,7 +194813,7 @@ __decorateClass([
|
|
|
194803
194813
|
required: false,
|
|
194804
194814
|
type: TableColumnType_default.ShortText,
|
|
194805
194815
|
title: "SNMP v3 Privacy Protocol",
|
|
194806
|
-
description: "SNMP v3 privacy (encryption) protocol: DES, AES, or AES256. Ignored
|
|
194816
|
+
description: "SNMP v3 privacy (encryption) protocol: DES, AES, or AES256. Ignored on an ICMP scan.",
|
|
194807
194817
|
example: "AES"
|
|
194808
194818
|
}),
|
|
194809
194819
|
Column({
|
|
@@ -194843,7 +194853,7 @@ __decorateClass([
|
|
|
194843
194853
|
required: false,
|
|
194844
194854
|
type: TableColumnType_default.LongText,
|
|
194845
194855
|
title: "SNMP v3 Privacy Key",
|
|
194846
|
-
description: "SNMP v3 privacy (encryption) passphrase tried against every host. Ignored
|
|
194856
|
+
description: "SNMP v3 privacy (encryption) passphrase tried against every host. Ignored on an ICMP scan."
|
|
194847
194857
|
}),
|
|
194848
194858
|
Column({
|
|
194849
194859
|
nullable: true,
|
|
@@ -195025,7 +195035,7 @@ __decorateClass([
|
|
|
195025
195035
|
type: TableColumnType_default.Number,
|
|
195026
195036
|
required: false,
|
|
195027
195037
|
title: "Responded Host Count",
|
|
195028
|
-
description: "Number of hosts that answered the check this scan performed: SNMP responders on
|
|
195038
|
+
description: "Number of hosts that answered the check this scan performed: SNMP responders on an SNMP scan, hosts that answered the ping sweep on an ICMP scan. Managed by the scanning probe."
|
|
195029
195039
|
}),
|
|
195030
195040
|
Column({
|
|
195031
195041
|
type: ColumnType_default.Number,
|
|
@@ -195402,7 +195412,7 @@ NetworkDeviceDiscoveryScan = __decorateClass([
|
|
|
195402
195412
|
singularName: "Network Device Discovery Scan",
|
|
195403
195413
|
pluralName: "Network Device Discovery Scans",
|
|
195404
195414
|
icon: IconProp_default.Search,
|
|
195405
|
-
tableDescription: "Network discovery scans that sweep an address space \u2014 a CIDR subnet or an octet range \u2014 from a probe and report the hosts found, so they can be imported as Network Devices. Every sweep pings;
|
|
195415
|
+
tableDescription: "Network discovery scans that sweep an address space \u2014 a CIDR subnet or an octet range \u2014 from a probe and report the hosts found, so they can be imported as Network Devices. Every sweep pings; an SNMP scan also queries each live host over SNMP, an ICMP scan asks nothing more."
|
|
195406
195416
|
}),
|
|
195407
195417
|
Entity({
|
|
195408
195418
|
name: "NetworkDeviceDiscoveryScan"
|
|
@@ -236482,7 +236492,7 @@ __decorateClass([
|
|
|
236482
236492
|
type: TableColumnType_default.Number,
|
|
236483
236493
|
canReadOnRelationQuery: true,
|
|
236484
236494
|
title: "Repeat Policy Times If No One Acknowledges",
|
|
236485
|
-
description: "
|
|
236495
|
+
description: "How many more times the policy starts again from its first escalation rule when nobody acknowledges: a whole number of 1 or more while Repeat Policy If No One Acknowledges is on.",
|
|
236486
236496
|
defaultValue: 0
|
|
236487
236497
|
}),
|
|
236488
236498
|
Column({
|
|
@@ -244718,6 +244728,8 @@ var StatusPage = class extends DatabaseBaseModel {
|
|
|
244718
244728
|
this.faviconFileId = void 0;
|
|
244719
244729
|
this.logoFile = void 0;
|
|
244720
244730
|
this.logoFileId = void 0;
|
|
244731
|
+
this.darkThemeLogoFile = void 0;
|
|
244732
|
+
this.darkThemeLogoFileId = void 0;
|
|
244721
244733
|
this.coverImageFile = void 0;
|
|
244722
244734
|
this.coverImageFileId = void 0;
|
|
244723
244735
|
this.headerHTML = void 0;
|
|
@@ -245594,6 +245606,94 @@ __decorateClass([
|
|
|
245594
245606
|
transformer: ObjectID.getDatabaseTransformer()
|
|
245595
245607
|
})
|
|
245596
245608
|
], StatusPage.prototype, "logoFileId", 2);
|
|
245609
|
+
__decorateClass([
|
|
245610
|
+
ColumnAccessControl_default({
|
|
245611
|
+
create: [
|
|
245612
|
+
Permission_default.ProjectOwner,
|
|
245613
|
+
Permission_default.ProjectAdmin,
|
|
245614
|
+
Permission_default.ProjectMember,
|
|
245615
|
+
Permission_default.StatusPageAdmin,
|
|
245616
|
+
Permission_default.StatusPageMember,
|
|
245617
|
+
Permission_default.CreateProjectStatusPage
|
|
245618
|
+
],
|
|
245619
|
+
read: [
|
|
245620
|
+
Permission_default.ProjectOwner,
|
|
245621
|
+
Permission_default.ProjectAdmin,
|
|
245622
|
+
Permission_default.ProjectMember,
|
|
245623
|
+
Permission_default.Viewer,
|
|
245624
|
+
Permission_default.StatusPageAdmin,
|
|
245625
|
+
Permission_default.StatusPageMember,
|
|
245626
|
+
Permission_default.StatusPageViewer,
|
|
245627
|
+
Permission_default.ReadProjectStatusPage
|
|
245628
|
+
],
|
|
245629
|
+
update: [
|
|
245630
|
+
Permission_default.ProjectOwner,
|
|
245631
|
+
Permission_default.ProjectAdmin,
|
|
245632
|
+
Permission_default.ProjectMember,
|
|
245633
|
+
Permission_default.StatusPageAdmin,
|
|
245634
|
+
Permission_default.StatusPageMember,
|
|
245635
|
+
Permission_default.EditProjectStatusPage
|
|
245636
|
+
]
|
|
245637
|
+
}),
|
|
245638
|
+
TableColumn_default({
|
|
245639
|
+
manyToOneRelationColumn: "darkThemeLogoFileId",
|
|
245640
|
+
type: TableColumnType_default.Entity,
|
|
245641
|
+
modelType: File2,
|
|
245642
|
+
title: "Dark Theme Logo",
|
|
245643
|
+
description: "The logo shown where the status page is dark. Without one, the logo is shown on a light backdrop there."
|
|
245644
|
+
}),
|
|
245645
|
+
ManyToOne(
|
|
245646
|
+
() => {
|
|
245647
|
+
return File2;
|
|
245648
|
+
},
|
|
245649
|
+
{
|
|
245650
|
+
eager: false,
|
|
245651
|
+
nullable: true,
|
|
245652
|
+
onDelete: "SET NULL"
|
|
245653
|
+
}
|
|
245654
|
+
),
|
|
245655
|
+
JoinColumn({ name: "darkThemeLogoFileId" })
|
|
245656
|
+
], StatusPage.prototype, "darkThemeLogoFile", 2);
|
|
245657
|
+
__decorateClass([
|
|
245658
|
+
ColumnAccessControl_default({
|
|
245659
|
+
create: [
|
|
245660
|
+
Permission_default.ProjectOwner,
|
|
245661
|
+
Permission_default.ProjectAdmin,
|
|
245662
|
+
Permission_default.ProjectMember,
|
|
245663
|
+
Permission_default.StatusPageAdmin,
|
|
245664
|
+
Permission_default.StatusPageMember,
|
|
245665
|
+
Permission_default.CreateProjectStatusPage
|
|
245666
|
+
],
|
|
245667
|
+
read: [
|
|
245668
|
+
Permission_default.ProjectOwner,
|
|
245669
|
+
Permission_default.ProjectAdmin,
|
|
245670
|
+
Permission_default.ProjectMember,
|
|
245671
|
+
Permission_default.Viewer,
|
|
245672
|
+
Permission_default.StatusPageAdmin,
|
|
245673
|
+
Permission_default.StatusPageMember,
|
|
245674
|
+
Permission_default.StatusPageViewer,
|
|
245675
|
+
Permission_default.ReadProjectStatusPage
|
|
245676
|
+
],
|
|
245677
|
+
update: [
|
|
245678
|
+
Permission_default.ProjectOwner,
|
|
245679
|
+
Permission_default.ProjectAdmin,
|
|
245680
|
+
Permission_default.ProjectMember,
|
|
245681
|
+
Permission_default.StatusPageAdmin,
|
|
245682
|
+
Permission_default.StatusPageMember,
|
|
245683
|
+
Permission_default.EditProjectStatusPage
|
|
245684
|
+
]
|
|
245685
|
+
}),
|
|
245686
|
+
TableColumn_default({
|
|
245687
|
+
type: TableColumnType_default.ObjectID,
|
|
245688
|
+
title: "Dark Theme Logo",
|
|
245689
|
+
description: "Status Page Dark Theme Logo File ID"
|
|
245690
|
+
}),
|
|
245691
|
+
Column({
|
|
245692
|
+
type: ColumnType_default.ObjectID,
|
|
245693
|
+
nullable: true,
|
|
245694
|
+
transformer: ObjectID.getDatabaseTransformer()
|
|
245695
|
+
})
|
|
245696
|
+
], StatusPage.prototype, "darkThemeLogoFileId", 2);
|
|
245597
245697
|
__decorateClass([
|
|
245598
245698
|
ColumnAccessControl_default({
|
|
245599
245699
|
create: [
|
|
@@ -258884,7 +258984,14 @@ __decorateClass([
|
|
|
258884
258984
|
Permission_default.AlertViewer,
|
|
258885
258985
|
Permission_default.ReadAlert
|
|
258886
258986
|
],
|
|
258887
|
-
update: [
|
|
258987
|
+
update: [
|
|
258988
|
+
Permission_default.ProjectOwner,
|
|
258989
|
+
Permission_default.ProjectAdmin,
|
|
258990
|
+
Permission_default.ProjectMember,
|
|
258991
|
+
Permission_default.AlertAdmin,
|
|
258992
|
+
Permission_default.AlertMember,
|
|
258993
|
+
Permission_default.EditAlert
|
|
258994
|
+
]
|
|
258888
258995
|
}),
|
|
258889
258996
|
TableColumn_default({
|
|
258890
258997
|
type: TableColumnType_default.Markdown,
|
|
@@ -322514,7 +322621,7 @@ __decorateClass([
|
|
|
322514
322621
|
isDefaultValueColumn: true,
|
|
322515
322622
|
type: TableColumnType_default.Number,
|
|
322516
322623
|
title: "Repeat Policy Times",
|
|
322517
|
-
description: "
|
|
322624
|
+
description: "How many more times the escalation rules ring again from the first when nobody answers: a whole number of 1 or more while Repeat Policy If No One Answers is on.",
|
|
322518
322625
|
defaultValue: 1
|
|
322519
322626
|
}),
|
|
322520
322627
|
Column({
|
|
@@ -336570,7 +336677,7 @@ __decorateClass([
|
|
|
336570
336677
|
required: false,
|
|
336571
336678
|
type: TableColumnType_default.ShortText,
|
|
336572
336679
|
title: "Model Name",
|
|
336573
|
-
description: "The model to use (e.g., gpt-5.1, claude-sonnet-5-5, llama3.1). For Azure OpenAI / Microsoft Foundry, the deployment's name."
|
|
336680
|
+
description: "The model to use (e.g., gpt-5.1, claude-sonnet-5-5, llama3.1). For Azure OpenAI / Microsoft Foundry, the deployment's name. Optional: left empty, the provider's default model is used, and an OpenAI-compatible server is asked for the first model it lists."
|
|
336574
336681
|
}),
|
|
336575
336682
|
Column({
|
|
336576
336683
|
nullable: true,
|
|
@@ -402220,6 +402327,7 @@ var AlertEpisodeMember = class extends DatabaseBaseModel {
|
|
|
402220
402327
|
this.createdByUser = void 0;
|
|
402221
402328
|
this.createdByUserId = void 0;
|
|
402222
402329
|
this.isOwnerNotifiedOfAlertAdded = void 0;
|
|
402330
|
+
this.isFirstMembership = void 0;
|
|
402223
402331
|
this.deletedByUser = void 0;
|
|
402224
402332
|
this.deletedByUserId = void 0;
|
|
402225
402333
|
}
|
|
@@ -402794,6 +402902,28 @@ __decorateClass([
|
|
|
402794
402902
|
default: false
|
|
402795
402903
|
})
|
|
402796
402904
|
], AlertEpisodeMember.prototype, "isOwnerNotifiedOfAlertAdded", 2);
|
|
402905
|
+
__decorateClass([
|
|
402906
|
+
ColumnAccessControl_default({
|
|
402907
|
+
create: [],
|
|
402908
|
+
read: [],
|
|
402909
|
+
update: []
|
|
402910
|
+
}),
|
|
402911
|
+
TableColumn_default({
|
|
402912
|
+
type: TableColumnType_default.Boolean,
|
|
402913
|
+
computed: true,
|
|
402914
|
+
hideColumnInDocumentation: true,
|
|
402915
|
+
required: true,
|
|
402916
|
+
isDefaultValueColumn: true,
|
|
402917
|
+
title: "Is First Membership",
|
|
402918
|
+
description: "Whether the alert was in no other episode when it was added to this one. Set by the server.",
|
|
402919
|
+
defaultValue: false
|
|
402920
|
+
}),
|
|
402921
|
+
Column({
|
|
402922
|
+
type: ColumnType_default.Boolean,
|
|
402923
|
+
nullable: false,
|
|
402924
|
+
default: false
|
|
402925
|
+
})
|
|
402926
|
+
], AlertEpisodeMember.prototype, "isFirstMembership", 2);
|
|
402797
402927
|
__decorateClass([
|
|
402798
402928
|
ColumnAccessControl_default({
|
|
402799
402929
|
create: [],
|
|
@@ -402917,6 +403047,10 @@ AlertEpisodeMember = __decorateClass([
|
|
|
402917
403047
|
Index(["alertEpisodeId", "alertId", "projectId"]),
|
|
402918
403048
|
Index(["isOwnerNotifiedOfAlertAdded"], {
|
|
402919
403049
|
where: '"isOwnerNotifiedOfAlertAdded" = false AND "deletedAt" IS NULL'
|
|
403050
|
+
}),
|
|
403051
|
+
Index("IDX_AlertEpisodeMember_first_membership", ["alertId"], {
|
|
403052
|
+
unique: true,
|
|
403053
|
+
where: '"isFirstMembership" = true AND "deletedAt" IS NULL'
|
|
402920
403054
|
})
|
|
402921
403055
|
], AlertEpisodeMember);
|
|
402922
403056
|
|
|
@@ -411713,6 +411847,7 @@ var IncidentEpisodeMember = class extends DatabaseBaseModel {
|
|
|
411713
411847
|
this.createdByUser = void 0;
|
|
411714
411848
|
this.createdByUserId = void 0;
|
|
411715
411849
|
this.isOwnerNotifiedOfIncidentAdded = void 0;
|
|
411850
|
+
this.isFirstMembership = void 0;
|
|
411716
411851
|
this.deletedByUser = void 0;
|
|
411717
411852
|
this.deletedByUserId = void 0;
|
|
411718
411853
|
}
|
|
@@ -412287,6 +412422,28 @@ __decorateClass([
|
|
|
412287
412422
|
default: false
|
|
412288
412423
|
})
|
|
412289
412424
|
], IncidentEpisodeMember.prototype, "isOwnerNotifiedOfIncidentAdded", 2);
|
|
412425
|
+
__decorateClass([
|
|
412426
|
+
ColumnAccessControl_default({
|
|
412427
|
+
create: [],
|
|
412428
|
+
read: [],
|
|
412429
|
+
update: []
|
|
412430
|
+
}),
|
|
412431
|
+
TableColumn_default({
|
|
412432
|
+
type: TableColumnType_default.Boolean,
|
|
412433
|
+
computed: true,
|
|
412434
|
+
hideColumnInDocumentation: true,
|
|
412435
|
+
required: true,
|
|
412436
|
+
isDefaultValueColumn: true,
|
|
412437
|
+
title: "Is First Membership",
|
|
412438
|
+
description: "Whether the incident was in no other episode when it was added to this one. Set by the server.",
|
|
412439
|
+
defaultValue: false
|
|
412440
|
+
}),
|
|
412441
|
+
Column({
|
|
412442
|
+
type: ColumnType_default.Boolean,
|
|
412443
|
+
nullable: false,
|
|
412444
|
+
default: false
|
|
412445
|
+
})
|
|
412446
|
+
], IncidentEpisodeMember.prototype, "isFirstMembership", 2);
|
|
412290
412447
|
__decorateClass([
|
|
412291
412448
|
ColumnAccessControl_default({
|
|
412292
412449
|
create: [],
|
|
@@ -412410,6 +412567,10 @@ IncidentEpisodeMember = __decorateClass([
|
|
|
412410
412567
|
Index(["incidentEpisodeId", "incidentId", "projectId"]),
|
|
412411
412568
|
Index(["isOwnerNotifiedOfIncidentAdded"], {
|
|
412412
412569
|
where: '"isOwnerNotifiedOfIncidentAdded" = false AND "deletedAt" IS NULL'
|
|
412570
|
+
}),
|
|
412571
|
+
Index("IDX_IncidentEpisodeMember_first_membership", ["incidentId"], {
|
|
412572
|
+
unique: true,
|
|
412573
|
+
where: '"isFirstMembership" = true AND "deletedAt" IS NULL'
|
|
412413
412574
|
})
|
|
412414
412575
|
], IncidentEpisodeMember);
|
|
412415
412576
|
|
|
@@ -437577,7 +437738,7 @@ __decorateClass([
|
|
|
437577
437738
|
required: true,
|
|
437578
437739
|
type: TableColumnType_default.ShortText,
|
|
437579
437740
|
title: "Stop Reminders When",
|
|
437580
|
-
description: "Stop sending reminders once the scheduled maintenance event reaches this state. Select Ongoing to stop reminders when the event starts, or Completed to keep reminding until the event is completed.",
|
|
437741
|
+
description: "Stop sending reminders once the scheduled maintenance event reaches this state. Select Ongoing to stop reminders when the event starts, or Completed to keep reminding until the event is completed. Ongoing needs Remind While Event is Scheduled on: a rule that waits for the event to start and stops when it starts would never remind, so it is refused.",
|
|
437581
437742
|
defaultValue: ScheduledMaintenanceReminderStopState_default.Completed,
|
|
437582
437743
|
isDefaultValueColumn: true,
|
|
437583
437744
|
canReadOnRelationQuery: true
|