@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/ml-registry/artifact/index.js~
packages/ari/ml-registry/artifact/index.jsModified+4−1
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,20 +284,23 @@
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;
}