@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/exus-external/index.js~
packages/ari/exus-external/index.jsModified+5−1
Index: package/packages/ari/exus-external/index.js
===================================================================
--- package/packages/ari/exus-external/index.js
+++ package/packages/ari/exus-external/index.js
@@ -282,21 +282,25 @@
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;
}