@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/elevate/index.js~
packages/ari/elevate/index.jsModified+4−18
Index: package/packages/ari/elevate/index.js
===================================================================
--- package/packages/ari/elevate/index.js
+++ package/packages/ari/elevate/index.js
@@ -285,23 +285,20 @@
var elevatePrecalibrationAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ElevatePrecalibrationAriResourceOwner,
resourceType: ElevatePrecalibrationAriResourceType,
resourceIdSlug: "{precalibrationId}",
resourceIdSegmentFormats: {
precalibrationId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/elevate/precalibration/index.ts
var ElevatePrecalibrationAri = class _ElevatePrecalibrationAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._precalibrationId = opts.resourceIdSegmentValues.precalibrationId;
+ super(opts), this._siteId = opts.cloudId || "", this._precalibrationId = opts.resourceIdSegmentValues.precalibrationId;
}
get siteId() {
return this._siteId;
}
@@ -341,25 +338,21 @@
var elevatePrecalibrationPillarAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ElevatePrecalibrationPillarAriResourceOwner,
resourceType: ElevatePrecalibrationPillarAriResourceType,
resourceIdSlug: "{precalibrationId}/{precalibrationPillarId}",
resourceIdSegmentFormats: {
precalibrationId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
precalibrationPillarId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/elevate/precalibration-pillar/index.ts
var ElevatePrecalibrationPillarAri = class _ElevatePrecalibrationPillarAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._precalibrationId = opts.resourceIdSegmentValues.precalibrationId, this._precalibrationPillarId = opts.resourceIdSegmentValues.precalibrationPillarId;
+ super(opts), this._siteId = opts.cloudId || "", this._precalibrationId = opts.resourceIdSegmentValues.precalibrationId, this._precalibrationPillarId = opts.resourceIdSegmentValues.precalibrationPillarId;
}
get siteId() {
return this._siteId;
}
@@ -404,23 +397,20 @@
var elevateSelfAssessmentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ElevateSelfAssessmentAriResourceOwner,
resourceType: ElevateSelfAssessmentAriResourceType,
resourceIdSlug: "{selfAssessmentId}",
resourceIdSegmentFormats: {
selfAssessmentId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/elevate/self-assessment/index.ts
var ElevateSelfAssessmentAri = class _ElevateSelfAssessmentAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._selfAssessmentId = opts.resourceIdSegmentValues.selfAssessmentId;
+ super(opts), this._siteId = opts.cloudId || "", this._selfAssessmentId = opts.resourceIdSegmentValues.selfAssessmentId;
}
get siteId() {
return this._siteId;
}
@@ -460,25 +450,21 @@
var elevateSelfAssessmentPillarAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ElevateSelfAssessmentPillarAriResourceOwner,
resourceType: ElevateSelfAssessmentPillarAriResourceType,
resourceIdSlug: "{selfAssessmentId}/{selfAssessmentPillarId}",
resourceIdSegmentFormats: {
selfAssessmentId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
selfAssessmentPillarId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/elevate/self-assessment-pillar/index.ts
var ElevateSelfAssessmentPillarAri = class _ElevateSelfAssessmentPillarAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._selfAssessmentId = opts.resourceIdSegmentValues.selfAssessmentId, this._selfAssessmentPillarId = opts.resourceIdSegmentValues.selfAssessmentPillarId;
+ super(opts), this._siteId = opts.cloudId || "", this._selfAssessmentId = opts.resourceIdSegmentValues.selfAssessmentId, this._selfAssessmentPillarId = opts.resourceIdSegmentValues.selfAssessmentPillarId;
}
get siteId() {
return this._siteId;
}