@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/avp/pipeline-query/index.js~
packages/ari/avp/pipeline-query/index.jsModified+2−6
Index: package/packages/ari/avp/pipeline-query/index.js
===================================================================
--- package/packages/ari/avp/pipeline-query/index.js
+++ package/packages/ari/avp/pipeline-query/index.js
@@ -284,27 +284,23 @@
var avpPipelineQueryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
- resourceOwner: AvpPipelineQueryAriResourceOwner,
+ resourceOwner: "avp",
resourceType: AvpPipelineQueryAriResourceType,
resourceIdSlug: "activation/{activationId}/pipeline/{pipelineId}/{pipelineQueryId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
pipelineId: /[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
pipelineQueryId: /[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
}
};
// src/avp/pipeline-query/index.ts
var AvpPipelineQueryAri = class _AvpPipelineQueryAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._pipelineId = opts.resourceIdSegmentValues.pipelineId, this._pipelineQueryId = opts.resourceIdSegmentValues.pipelineQueryId;
+ super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._pipelineId = opts.resourceIdSegmentValues.pipelineId, this._pipelineQueryId = opts.resourceIdSegmentValues.pipelineQueryId;
}
get siteId() {
return this._siteId;
}