@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/beacon/detection/index.js~
packages/ari/beacon/detection/index.jsModified+1−4
Index: package/packages/ari/beacon/detection/index.js
===================================================================
--- package/packages/ari/beacon/detection/index.js
+++ package/packages/ari/beacon/detection/index.js
@@ -284,25 +284,22 @@
var beaconDetectionAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: BeaconDetectionAriResourceOwner,
resourceType: BeaconDetectionAriResourceType,
resourceIdSlug: "{workspaceId}/{detectionId}",
resourceIdSegmentFormats: {
workspaceId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
detectionId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/beacon/detection/index.ts
var BeaconDetectionAri = class _BeaconDetectionAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._detectionId = opts.resourceIdSegmentValues.detectionId;
+ super(opts), this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._detectionId = opts.resourceIdSegmentValues.detectionId;
}
get workspaceId() {
return this._workspaceId;
}