@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/help/layout/index.js~
packages/ari/help/layout/index.jsModified+1−4
Index: package/packages/ari/help/layout/index.js
===================================================================
--- package/packages/ari/help/layout/index.js
+++ package/packages/ari/help/layout/index.js
@@ -284,25 +284,22 @@
var helpLayoutAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpLayoutAriResourceOwner,
resourceType: HelpLayoutAriResourceType,
resourceIdSlug: "{activationId}/{layoutId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
layoutId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/help/layout/index.ts
var HelpLayoutAri = class _HelpLayoutAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._layoutId = opts.resourceIdSegmentValues.layoutId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._layoutId = opts.resourceIdSegmentValues.layoutId;
}
get activationId() {
return this._activationId;
}