@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/trello/attachment/index.js~
packages/ari/trello/attachment/index.jsModified+1−6
Index: package/packages/ari/trello/attachment/index.js
===================================================================
--- package/packages/ari/trello/attachment/index.js
+++ package/packages/ari/trello/attachment/index.js
@@ -284,27 +284,22 @@
var trelloAttachmentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: TrelloAttachmentAriResourceOwner,
resourceType: TrelloAttachmentAriResourceType,
resourceIdSlug: "card/workspace/{workspaceId}/{cardId}/{attachmentId}",
resourceIdSegmentFormats: {
workspaceId: /[a-zA-Z0-9\-_.]*/,
- // eslint-disable-line no-useless-escape
cardId: /[a-zA-Z0-9\-_.]*/,
- // eslint-disable-line no-useless-escape
attachmentId: /[a-zA-Z0-9\-_.]*/
- // eslint-disable-line no-useless-escape
}
};
// src/trello/attachment/index.ts
var TrelloAttachmentAri = class _TrelloAttachmentAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._cardId = opts.resourceIdSegmentValues.cardId, this._attachmentId = opts.resourceIdSegmentValues.attachmentId;
+ super(opts), this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._cardId = opts.resourceIdSegmentValues.cardId, this._attachmentId = opts.resourceIdSegmentValues.attachmentId;
}
get workspaceId() {
return this._workspaceId;
}