@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/identity/third-party-group/index.js~
packages/ari/identity/third-party-group/index.jsModified+5−1
Index: package/packages/ari/identity/third-party-group/index.js
===================================================================
--- package/packages/ari/identity/third-party-group/index.js
+++ package/packages/ari/identity/third-party-group/index.js
@@ -284,21 +284,25 @@
var identityThirdPartyGroupAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: IdentityThirdPartyGroupAriResourceOwner,
resourceType: IdentityThirdPartyGroupAriResourceType,
resourceIdSlug: "{directoryId}/{groupId}",
resourceIdSegmentFormats: {
directoryId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,
+ // eslint-disable-line no-useless-escape
groupId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
+ // eslint-disable-line no-useless-escape
}
};
// src/identity/third-party-group/index.ts
var IdentityThirdPartyGroupAri = class _IdentityThirdPartyGroupAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._directoryId = opts.resourceIdSegmentValues.directoryId, this._groupId = opts.resourceIdSegmentValues.groupId;
+ super(opts);
+ this._directoryId = opts.resourceIdSegmentValues.directoryId, this._groupId = opts.resourceIdSegmentValues.groupId;
}
get directoryId() {
return this._directoryId;
}