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