@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/workday/cost-center/index.js~
packages/ari/workday/cost-center/index.jsModified+1−5
Index: package/packages/ari/workday/cost-center/index.js
===================================================================
--- package/packages/ari/workday/cost-center/index.js
+++ package/packages/ari/workday/cost-center/index.js
@@ -284,25 +284,21 @@
var workdayCostCenterAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdayCostCenterAriResourceOwner,
resourceType: WorkdayCostCenterAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{costCenterWorkdayId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
costCenterWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/cost-center/index.ts
var WorkdayCostCenterAri = class _WorkdayCostCenterAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._costCenterWorkdayId = opts.resourceIdSegmentValues.costCenterWorkdayId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._costCenterWorkdayId = opts.resourceIdSegmentValues.costCenterWorkdayId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}