@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/workato/recipe/index.js~
packages/ari/workato/recipe/index.jsModified+1−5
Index: package/packages/ari/workato/recipe/index.js
===================================================================
--- package/packages/ari/workato/recipe/index.js
+++ package/packages/ari/workato/recipe/index.js
@@ -284,25 +284,21 @@
var workatoRecipeAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkatoRecipeAriResourceOwner,
resourceType: WorkatoRecipeAriResourceType,
resourceIdSlug: "{workatoTenantKey}/{recipeId}",
resourceIdSegmentFormats: {
workatoTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
recipeId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workato/recipe/index.ts
var WorkatoRecipeAri = class _WorkatoRecipeAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workatoTenantKey = opts.resourceIdSegmentValues.workatoTenantKey, this._recipeId = opts.resourceIdSegmentValues.recipeId;
+ super(opts), this._workatoTenantKey = opts.resourceIdSegmentValues.workatoTenantKey, this._recipeId = opts.resourceIdSegmentValues.recipeId;
}
get workatoTenantKey() {
return this._workatoTenantKey;
}