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