@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/platform/product/index.js~
packages/ari/platform/product/index.jsModified+1−5
Index: package/packages/ari/platform/product/index.js
===================================================================
--- package/packages/ari/platform/product/index.js
+++ package/packages/ari/platform/product/index.js
@@ -284,25 +284,21 @@
var platformProductAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: PlatformProductAriResourceOwner,
resourceType: PlatformProductAriResourceType,
resourceIdSlug: "{integrationKey}/{productKey}",
resourceIdSegmentFormats: {
integrationKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
productKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/platform/product/index.ts
var PlatformProductAri = class _PlatformProductAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._integrationKey = opts.resourceIdSegmentValues.integrationKey, this._productKey = opts.resourceIdSegmentValues.productKey;
+ super(opts), this._integrationKey = opts.resourceIdSegmentValues.integrationKey, this._productKey = opts.resourceIdSegmentValues.productKey;
}
get integrationKey() {
return this._integrationKey;
}