@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-3LWPGCUZ.mjs
packages/ari/chunk-3LWPGCUZ.mjsDeleted
−60
Index: package/packages/ari/chunk-3LWPGCUZ.mjs
===================================================================
--- package/packages/ari/chunk-3LWPGCUZ.mjs
+++ package/packages/ari/chunk-3LWPGCUZ.mjs
@@ -1,60 +0,0 @@
-import {
-  SupportCustomerAriResourceOwner,
-  SupportCustomerAriResourceType
-} from "./chunk-PHBXUJAW.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/support/customer/manifest.ts
-var supportCustomerAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: SupportCustomerAriResourceOwner,
-  resourceType: SupportCustomerAriResourceType,
-  resourceIdSlug: "{resourceName}",
-  resourceIdSegmentFormats: {
-    resourceName: /[a-zA-Z0-9\-_.]*/
-  }
-};
-
-// src/support/customer/index.ts
-var SupportCustomerAri = class _SupportCustomerAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._resourceName = opts.resourceIdSegmentValues.resourceName;
-  }
-  get resourceName() {
-    return this._resourceName;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: supportCustomerAriStaticOpts.qualifier,
-      platformQualifier: supportCustomerAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: supportCustomerAriStaticOpts.resourceOwner,
-      resourceType: supportCustomerAriStaticOpts.resourceType,
-      resourceId: `${opts.resourceName}`,
-      resourceIdSegmentValues: {
-        resourceName: opts.resourceName || ""
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, supportCustomerAriStaticOpts);
-    return new _SupportCustomerAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, supportCustomerAriStaticOpts);
-    return new _SupportCustomerAri(opts);
-  }
-  getVariables() {
-    return {
-      resourceName: this.resourceName
-    };
-  }
-};
-
-export {
-  SupportCustomerAri
-};