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