@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/beacon/alert/index.js~
packages/ari/beacon/alert/index.jsModified+1−4
Index: package/packages/ari/beacon/alert/index.js
===================================================================
--- package/packages/ari/beacon/alert/index.js
+++ package/packages/ari/beacon/alert/index.js
@@ -284,25 +284,22 @@
var beaconAlertAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: BeaconAlertAriResourceOwner,
resourceType: BeaconAlertAriResourceType,
resourceIdSlug: "{workspaceId}/{alertId}",
resourceIdSegmentFormats: {
workspaceId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
alertId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/beacon/alert/index.ts
var BeaconAlertAri = class _BeaconAlertAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._alertId = opts.resourceIdSegmentValues.alertId;
+ super(opts), this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._alertId = opts.resourceIdSegmentValues.alertId;
}
get siteId() {
return this._siteId;
}