@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/bitbucket/app/index.js~
packages/ari/bitbucket/app/index.jsModified+2−6
Index: package/packages/ari/bitbucket/app/index.js
===================================================================
--- package/packages/ari/bitbucket/app/index.js
+++ package/packages/ari/bitbucket/app/index.js
@@ -284,25 +284,21 @@
var bitbucketAppAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: BitbucketAppAriResourceOwner,
- resourceType: BitbucketAppAriResourceType,
+ resourceType: "app",
resourceIdSlug: "{workspaceId}/{appId}",
resourceIdSegmentFormats: {
workspaceId: /\{[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}}/,
- // eslint-disable-line no-useless-escape
appId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/bitbucket/app/index.ts
var BitbucketAppAri = class _BitbucketAppAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._appId = opts.resourceIdSegmentValues.appId;
+ super(opts), this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._appId = opts.resourceIdSegmentValues.appId;
}
get workspaceId() {
return this._workspaceId;
}