@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/chunk-J6J2O6PQ.mjs−
packages/ari/chunk-J6J2O6PQ.mjsDeleted−70
Index: package/packages/ari/chunk-J6J2O6PQ.mjs
===================================================================
--- package/packages/ari/chunk-J6J2O6PQ.mjs
+++ package/packages/ari/chunk-J6J2O6PQ.mjs
@@ -1,70 +0,0 @@
-import {
- WorkdayJobProfileAriResourceOwner,
- WorkdayJobProfileAriResourceType
-} from "./chunk-UO33O7I4.mjs";
-import {
- RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
- AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/workday/job-profile/manifest.ts
-var workdayJobProfileAriStaticOpts = {
- qualifier: "ari",
- platformQualifier: "third-party",
- cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
- resourceOwner: WorkdayJobProfileAriResourceOwner,
- resourceType: WorkdayJobProfileAriResourceType,
- resourceIdSlug: "{workdayTenantKey}/{jobProfileWorkdayId}",
- resourceIdSegmentFormats: {
- workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
- jobProfileWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
- }
-};
-
-// src/workday/job-profile/index.ts
-var WorkdayJobProfileAri = class _WorkdayJobProfileAri extends RegisteredAri {
- constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._jobProfileWorkdayId = opts.resourceIdSegmentValues.jobProfileWorkdayId;
- }
- get workdayTenantKey() {
- return this._workdayTenantKey;
- }
- get jobProfileWorkdayId() {
- return this._jobProfileWorkdayId;
- }
- static create(opts) {
- let derivedOpts = {
- qualifier: workdayJobProfileAriStaticOpts.qualifier,
- platformQualifier: workdayJobProfileAriStaticOpts.platformQualifier,
- cloudId: void 0,
- resourceOwner: workdayJobProfileAriStaticOpts.resourceOwner,
- resourceType: workdayJobProfileAriStaticOpts.resourceType,
- resourceId: `${opts.workdayTenantKey}/${opts.jobProfileWorkdayId}`,
- resourceIdSegmentValues: {
- workdayTenantKey: opts.workdayTenantKey,
- jobProfileWorkdayId: opts.jobProfileWorkdayId
- }
- }, ariOpts = AriParser.fromOpts(derivedOpts, workdayJobProfileAriStaticOpts);
- return new _WorkdayJobProfileAri(ariOpts);
- }
- static parse(maybeAri) {
- let opts = AriParser.fromString(maybeAri, workdayJobProfileAriStaticOpts);
- return new _WorkdayJobProfileAri(opts);
- }
- getVariables() {
- return {
- workdayTenantKey: this.workdayTenantKey,
- jobProfileWorkdayId: this.jobProfileWorkdayId
- };
- }
-};
-
-export {
- WorkdayJobProfileAri
-};