@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/beacon/detection/index.js~
packages/ari/beacon/detection/index.jsModified+4−1
Index: package/packages/ari/beacon/detection/index.js
===================================================================
--- package/packages/ari/beacon/detection/index.js
+++ package/packages/ari/beacon/detection/index.js
@@ -284,22 +284,25 @@
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;
}