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