@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-O4IETORU.mjs
packages/ari/chunk-O4IETORU.mjsDeleted
−67
Index: package/packages/ari/chunk-O4IETORU.mjs
===================================================================
--- package/packages/ari/chunk-O4IETORU.mjs
+++ package/packages/ari/chunk-O4IETORU.mjs
@@ -1,67 +0,0 @@
-import {
-  GrowthPlatformContentAriResourceOwner,
-  GrowthPlatformContentAriResourceType
-} from "./chunk-MSVM4X2E.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/growth-platform/content/manifest.ts
-var growthPlatformContentAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: GrowthPlatformContentAriResourceOwner,
-  resourceType: GrowthPlatformContentAriResourceType,
-  resourceIdSlug: "activation/{activationId}/{contentId}",
-  resourceIdSegmentFormats: {
-    activationId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    contentId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
-  }
-};
-
-// src/growth-platform/content/index.ts
-var GrowthPlatformContentAri = class _GrowthPlatformContentAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._contentId = opts.resourceIdSegmentValues.contentId;
-  }
-  get activationId() {
-    return this._activationId;
-  }
-  get contentId() {
-    return this._contentId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: growthPlatformContentAriStaticOpts.qualifier,
-      platformQualifier: growthPlatformContentAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: growthPlatformContentAriStaticOpts.resourceOwner,
-      resourceType: growthPlatformContentAriStaticOpts.resourceType,
-      resourceId: `activation/${opts.activationId}/${opts.contentId}`,
-      resourceIdSegmentValues: {
-        activationId: opts.activationId,
-        contentId: opts.contentId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, growthPlatformContentAriStaticOpts);
-    return new _GrowthPlatformContentAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, growthPlatformContentAriStaticOpts);
-    return new _GrowthPlatformContentAri(opts);
-  }
-  getVariables() {
-    return {
-      activationId: this.activationId,
-      contentId: this.contentId
-    };
-  }
-};
-
-export {
-  GrowthPlatformContentAri
-};