@forge/cli-shared 3.14.0-next.3 → 3.14.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 3.14.0-next.4
4
+
5
+ ### Minor Changes
6
+
7
+ - 85bf4a8: Refactor and cleanup usages of environmentToOption
8
+
3
9
  ## 3.14.0-next.3
4
10
 
5
11
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"app-environment-graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/app-environment-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD,qBAAa,eAAgB,SAAQ,SAAS;;CAI7C;AAED,qBAAa,0BAA2B,SAAQ,SAAS;gBAC3C,MAAM,EAAE,MAAM;CAG3B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,kBAAkB,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAChF,wBAAwB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACrG;AAED,qBAAa,4BAA6B,YAAW,oBAAoB;IAC3D,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA2B3E,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAiC9G"}
1
+ {"version":3,"file":"app-environment-graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/app-environment-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,qBAAa,eAAgB,SAAQ,SAAS;;CAI7C;AAED,qBAAa,0BAA2B,SAAQ,SAAS;gBAC3C,MAAM,EAAE,MAAM;CAG3B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,kBAAkB,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAChF,wBAAwB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACrG;AAED,qBAAa,4BAA6B,YAAW,oBAAoB;IAC3D,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA2B3E,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAiC9G"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AppEnvironmentsGraphqlClient = exports.MissingAppEnvironmentError = exports.MissingAppError = void 0;
4
4
  const ui_1 = require("../ui");
5
5
  const error_handling_1 = require("../shared/error-handling");
6
- const environment_1 = require("../shared/environment");
7
6
  class MissingAppError extends error_handling_1.UserError {
8
7
  constructor() {
9
8
  super(ui_1.Text.env.error.appNotExist);
@@ -12,7 +11,7 @@ class MissingAppError extends error_handling_1.UserError {
12
11
  exports.MissingAppError = MissingAppError;
13
12
  class MissingAppEnvironmentError extends error_handling_1.UserError {
14
13
  constructor(envKey) {
15
- super(ui_1.Text.env.error.envNotExist(envKey, environment_1.environmentToOption));
14
+ super(ui_1.Text.env.error.envNotExist(envKey));
16
15
  }
17
16
  }
18
17
  exports.MissingAppEnvironmentError = MissingAppEnvironmentError;
@@ -6841,7 +6841,6 @@ export declare type DevOpsDocumentationProvider = DevOpsDataProvider & {
6841
6841
  logoUrl?: Maybe<Scalars['URL']>;
6842
6842
  documentationUrl?: Maybe<Scalars['URL']>;
6843
6843
  appInstallationId?: Maybe<Scalars['ID']>;
6844
- check3LOUrl?: Maybe<Scalars['String']>;
6845
6844
  grant3LOUrl?: Maybe<Scalars['String']>;
6846
6845
  linkedContainers?: Maybe<AriGraphRelationshipConnection>;
6847
6846
  };
@@ -16747,6 +16746,7 @@ export declare type JiraVersion = Node & {
16747
16746
  canViewVersionDetailsPage?: Maybe<Scalars['Boolean']>;
16748
16747
  warningsCount?: Maybe<Scalars['Long']>;
16749
16748
  contributors?: Maybe<JiraVersionContributorConnection>;
16749
+ hasReleaseNote?: Maybe<Scalars['Boolean']>;
16750
16750
  driver?: Maybe<User>;
16751
16751
  statistics?: Maybe<JiraVersionStatistics>;
16752
16752
  releaseNotesConfiguration?: Maybe<JiraReleaseNotesConfiguration>;
@@ -23947,6 +23947,7 @@ export declare type Toolchain = {
23947
23947
  containers?: Maybe<ToolchainContainerConnection>;
23948
23948
  workspaces?: Maybe<ToolchainWorkspaceConnection>;
23949
23949
  syncStatus?: Maybe<ToolchainSyncStatus>;
23950
+ check3LO?: Maybe<ToolchainCheck3Lo>;
23950
23951
  };
23951
23952
  export declare type ToolchainContainersArgs = {
23952
23953
  cloudId?: Maybe<Scalars['ID']>;
@@ -23969,6 +23970,10 @@ export declare type ToolchainSyncStatusArgs = {
23969
23970
  jiraProjectId: Scalars['ID'];
23970
23971
  containerId: Scalars['ID'];
23971
23972
  };
23973
+ export declare type ToolchainCheck3LoArgs = {
23974
+ cloudId: Scalars['ID'];
23975
+ providerId: Scalars['String'];
23976
+ };
23972
23977
  export declare type ToolchainAssociateContainerInput = {
23973
23978
  jiraProjectId: Scalars['ID'];
23974
23979
  workspaceId?: Maybe<Scalars['ID']>;
@@ -23986,6 +23991,10 @@ export declare type ToolchainAssociateContainersPayload = Payload & {
23986
23991
  containers?: Maybe<Array<ToolchainAssociatedContainer>>;
23987
23992
  };
23988
23993
  export declare type ToolchainAssociatedContainer = DevOpsDocument;
23994
+ export declare type ToolchainCheck3Lo = {
23995
+ __typename?: 'ToolchainCheck3LO';
23996
+ authorized: Scalars['Boolean'];
23997
+ };
23989
23998
  export declare type ToolchainContainer = Node & {
23990
23999
  __typename?: 'ToolchainContainer';
23991
24000
  id: Scalars['ID'];