@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/project/index.js~
packages/ari/project/index.jsModified+2−7
Index: package/packages/ari/project/index.js
===================================================================
--- package/packages/ari/project/index.js
+++ package/packages/ari/project/index.js
@@ -283,23 +283,20 @@
var projectSiteAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ProjectSiteAriResourceOwner,
resourceType: ProjectSiteAriResourceType,
resourceIdSlug: "{siteId}",
resourceIdSegmentFormats: {
siteId: /[a-zA-Z0-9_\-.]{1,255}/
- // eslint-disable-line no-useless-escape
}
};
// src/project/site/index.ts
var ProjectSiteAri = class _ProjectSiteAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.resourceIdSegmentValues.siteId;
+ super(opts), this._siteId = opts.resourceIdSegmentValues.siteId;
}
get siteId() {
return this._siteId;
}
@@ -335,9 +332,8 @@
var projectWorkspaceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ProjectWorkspaceAriResourceOwner,
resourceType: ProjectWorkspaceAriResourceType,
resourceIdSlug: "{activationId}",
resourceIdSegmentFormats: {
@@ -348,10 +344,9 @@
// src/project/workspace/index.ts
var ProjectWorkspaceAri = class _ProjectWorkspaceAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId;
}
get activationId() {
return this._activationId;
}