@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/mercury/comment/index.js~
packages/ari/mercury/comment/index.jsModified+1−4
Index: package/packages/ari/mercury/comment/index.js
===================================================================
--- package/packages/ari/mercury/comment/index.js
+++ package/packages/ari/mercury/comment/index.js
@@ -284,25 +284,22 @@
var mercuryCommentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: MercuryCommentAriResourceOwner,
resourceType: MercuryCommentAriResourceType,
resourceIdSlug: "workspace/{workspaceId}/{commentUuid}",
resourceIdSegmentFormats: {
workspaceId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
commentUuid: /[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
}
};
// src/mercury/comment/index.ts
var MercuryCommentAri = class _MercuryCommentAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._commentUuid = opts.resourceIdSegmentValues.commentUuid;
+ super(opts), this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._commentUuid = opts.resourceIdSegmentValues.commentUuid;
}
get siteId() {
return this._siteId;
}