@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/automation/index.js~
packages/ari/automation/index.jsModified+3−13
Index: package/packages/ari/automation/index.js
===================================================================
--- package/packages/ari/automation/index.js
+++ package/packages/ari/automation/index.js
@@ -284,25 +284,21 @@
var automationAutomationRuleAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: AutomationAutomationRuleAriResourceOwner,
resourceType: AutomationAutomationRuleAriResourceType,
resourceIdSlug: "{ruleId}/partition/{partitionId}",
resourceIdSegmentFormats: {
ruleId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
partitionId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/automation/automation-rule/index.ts
var AutomationAutomationRuleAri = class _AutomationAutomationRuleAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._ruleId = opts.resourceIdSegmentValues.ruleId, this._partitionId = opts.resourceIdSegmentValues.partitionId;
+ super(opts), this._ruleId = opts.resourceIdSegmentValues.ruleId, this._partitionId = opts.resourceIdSegmentValues.partitionId;
}
get ruleId() {
return this._ruleId;
}
@@ -343,23 +339,20 @@
var automationRoleAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: AutomationRoleAriResourceOwner,
resourceType: AutomationRoleAriResourceType,
resourceIdSlug: "{roleId}",
resourceIdSegmentFormats: {
roleId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/automation/role/index.ts
var AutomationRoleAri = class _AutomationRoleAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._roleId = opts.resourceIdSegmentValues.roleId;
+ super(opts), this._roleId = opts.resourceIdSegmentValues.roleId;
}
get roleId() {
return this._roleId;
}
@@ -395,23 +388,20 @@
var automationRuleAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: AutomationRuleAriResourceOwner,
resourceType: AutomationRuleAriResourceType,
resourceIdSlug: "{ruleId}",
resourceIdSegmentFormats: {
ruleId: /[0-9]+/
- // eslint-disable-line no-useless-escape
}
};
// src/automation/rule/index.ts
var AutomationRuleAri = class _AutomationRuleAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._ruleId = opts.resourceIdSegmentValues.ruleId;
+ super(opts), this._ruleId = opts.resourceIdSegmentValues.ruleId;
}
get ruleId() {
return this._ruleId;
}