@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/ml-registry/artifact/index.js~
packages/ari/ml-registry/artifact/index.jsModified+1−4
Index: package/packages/ari/ml-registry/artifact/index.js
===================================================================
--- package/packages/ari/ml-registry/artifact/index.js
+++ package/packages/ari/ml-registry/artifact/index.js
@@ -284,23 +284,20 @@
var mlRegistryArtifactAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: MlRegistryArtifactAriResourceOwner,
resourceType: MlRegistryArtifactAriResourceType,
resourceIdSlug: "{artifactId}",
resourceIdSegmentFormats: {
artifactId: /[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/ml-registry/artifact/index.ts
var MlRegistryArtifactAri = class _MlRegistryArtifactAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._artifactId = opts.resourceIdSegmentValues.artifactId;
+ super(opts), this._artifactId = opts.resourceIdSegmentValues.artifactId;
}
get artifactId() {
return this._artifactId;
}