@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/trello/label/index.js~
packages/ari/trello/label/index.jsModified+5−1
Index: package/packages/ari/trello/label/index.js
===================================================================
--- package/packages/ari/trello/label/index.js
+++ package/packages/ari/trello/label/index.js
@@ -284,21 +284,25 @@
var trelloLabelAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: TrelloLabelAriResourceOwner,
resourceType: TrelloLabelAriResourceType,
resourceIdSlug: "workspace/{workspaceId}/{labelId}",
resourceIdSegmentFormats: {
workspaceId: /[a-zA-Z0-9\-_.]*/,
+ // eslint-disable-line no-useless-escape
labelId: /[a-zA-Z0-9\-_.]*/
+ // eslint-disable-line no-useless-escape
}
};
// src/trello/label/index.ts
var TrelloLabelAri = class _TrelloLabelAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._labelId = opts.resourceIdSegmentValues.labelId;
+ super(opts);
+ this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._labelId = opts.resourceIdSegmentValues.labelId;
}
get workspaceId() {
return this._workspaceId;
}