@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/exus-external/index.js~
packages/ari/exus-external/index.jsModified+1−5
Index: package/packages/ari/exus-external/index.js
===================================================================
--- package/packages/ari/exus-external/index.js
+++ package/packages/ari/exus-external/index.js
@@ -282,25 +282,21 @@
var exusExternalUserAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: ExusExternalUserAriResourceOwner,
resourceType: ExusExternalUserAriResourceType,
resourceIdSlug: "{thirdPartySource}/{thirdPartyUserId}",
resourceIdSegmentFormats: {
thirdPartySource: /[a-z0-9-]+/,
- // eslint-disable-line no-useless-escape
thirdPartyUserId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/exus-external/user/index.ts
var ExusExternalUserAri = class _ExusExternalUserAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._thirdPartySource = opts.resourceIdSegmentValues.thirdPartySource, this._thirdPartyUserId = opts.resourceIdSegmentValues.thirdPartyUserId;
+ super(opts), this._thirdPartySource = opts.resourceIdSegmentValues.thirdPartySource, this._thirdPartyUserId = opts.resourceIdSegmentValues.thirdPartyUserId;
}
get thirdPartySource() {
return this._thirdPartySource;
}