@forge/cli-shared 3.13.0-next.2 → 3.13.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,18 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 3.13.0-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [44042371]
8
+ - @forge/manifest@4.14.0-next.1
9
+
10
+ ## 3.13.0-next.3
11
+
12
+ ### Minor Changes
13
+
14
+ - 7f658b1: Refactor and cleanup usages of environmentToOption
15
+
3
16
  ## 3.13.0-next.2
4
17
 
5
18
  ### Minor 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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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;
@@ -6711,6 +6711,14 @@ export declare type DevOpsBuildProvider = DevOpsDataProvider & {
6711
6711
  documentationUrl?: Maybe<Scalars['URL']>;
6712
6712
  appInstallationId?: Maybe<Scalars['ID']>;
6713
6713
  };
6714
+ export declare enum DevOpsBuildState {
6715
+ Pending = "PENDING",
6716
+ InProgress = "IN_PROGRESS",
6717
+ Successful = "SUCCESSFUL",
6718
+ Failed = "FAILED",
6719
+ Cancelled = "CANCELLED",
6720
+ Unknown = "UNKNOWN"
6721
+ }
6714
6722
  export declare type DevOpsContainerRelationshipEntityPropertyInput = {
6715
6723
  key: Scalars['String'];
6716
6724
  value: Scalars['JSON'];
@@ -7470,6 +7478,22 @@ export declare type DevOpsServicesFilterInput = {
7470
7478
  nameContains?: Maybe<Scalars['String']>;
7471
7479
  tierLevelIn?: Maybe<Array<Scalars['Int']>>;
7472
7480
  };
7481
+ export declare type DevOpsSummarisedBuildState = {
7482
+ __typename?: 'DevOpsSummarisedBuildState';
7483
+ count?: Maybe<Scalars['Int']>;
7484
+ lastUpdated?: Maybe<Scalars['DateTime']>;
7485
+ state?: Maybe<DevOpsBuildState>;
7486
+ url?: Maybe<Scalars['URL']>;
7487
+ };
7488
+ export declare type DevOpsSummarisedBuilds = {
7489
+ __typename?: 'DevOpsSummarisedBuilds';
7490
+ state?: Maybe<DevOpsBuildState>;
7491
+ count?: Maybe<Scalars['Int']>;
7492
+ mostRelevantCount?: Maybe<Scalars['Int']>;
7493
+ lastUpdated?: Maybe<Scalars['DateTime']>;
7494
+ singleClickUrl?: Maybe<Scalars['URL']>;
7495
+ buildStates?: Maybe<Array<Maybe<DevOpsSummarisedBuildState>>>;
7496
+ };
7473
7497
  export declare type DevOpsSummarisedDeployments = {
7474
7498
  __typename?: 'DevOpsSummarisedDeployments';
7475
7499
  entityId: Scalars['ID'];
@@ -7484,6 +7508,7 @@ export declare type DevOpsSummarisedEntities = {
7484
7508
  __typename?: 'DevOpsSummarisedEntities';
7485
7509
  entityId: Scalars['ID'];
7486
7510
  providers?: Maybe<DevOpsProviders>;
7511
+ summarisedBuilds?: Maybe<DevOpsSummarisedBuilds>;
7487
7512
  summarisedDeployments?: Maybe<DevOpsSummarisedDeployments>;
7488
7513
  summarisedFeatureFlags?: Maybe<DevOpsSummarisedFeatureFlags>;
7489
7514
  };
@@ -8937,6 +8962,7 @@ export declare type HelpCenter = Node & {
8937
8962
  __typename?: 'HelpCenter';
8938
8963
  id: Scalars['ID'];
8939
8964
  type?: Maybe<HelpCenterType>;
8965
+ name?: Maybe<HelpCenterName>;
8940
8966
  slug?: Maybe<Scalars['String']>;
8941
8967
  topics?: Maybe<Array<HelpCenterTopic>>;
8942
8968
  homePageLayout?: Maybe<HelpCenterHomePageLayout>;
@@ -8981,6 +9007,7 @@ export declare type HelpCenterMutationApi = {
8981
9007
  updateTopic?: Maybe<HelpCenterDeleteUpdateTopicPayload>;
8982
9008
  updateTopicsOrder?: Maybe<HelpCenterUpdateTopicsOrderPayload>;
8983
9009
  deleteTopic?: Maybe<HelpCenterDeleteUpdateTopicPayload>;
9010
+ updateHelpCenter?: Maybe<HelpCenterUpdatePayload>;
8984
9011
  };
8985
9012
  export declare type HelpCenterMutationApiCreateTopicArgs = {
8986
9013
  input: HelpCenterBulkCreateTopicsInput;
@@ -8994,6 +9021,16 @@ export declare type HelpCenterMutationApiUpdateTopicsOrderArgs = {
8994
9021
  export declare type HelpCenterMutationApiDeleteTopicArgs = {
8995
9022
  input: HelpCenterBulkDeleteTopicInput;
8996
9023
  };
9024
+ export declare type HelpCenterMutationApiUpdateHelpCenterArgs = {
9025
+ input: HelpCenterUpdateInput;
9026
+ };
9027
+ export declare type HelpCenterName = {
9028
+ __typename?: 'HelpCenterName';
9029
+ default: Scalars['String'];
9030
+ };
9031
+ export declare type HelpCenterNameInput = {
9032
+ default: Scalars['String'];
9033
+ };
8997
9034
  export declare type HelpCenterQueryApi = {
8998
9035
  __typename?: 'HelpCenterQueryApi';
8999
9036
  helpCenterFromProductName?: Maybe<HelpCenterQueryResult>;
@@ -9069,6 +9106,16 @@ export declare enum HelpCenterType {
9069
9106
  Advanced = "ADVANCED",
9070
9107
  Basic = "BASIC"
9071
9108
  }
9109
+ export declare type HelpCenterUpdateInput = {
9110
+ id: Scalars['ID'];
9111
+ name?: Maybe<HelpCenterNameInput>;
9112
+ slug?: Maybe<Scalars['String']>;
9113
+ };
9114
+ export declare type HelpCenterUpdatePayload = Payload & {
9115
+ __typename?: 'HelpCenterUpdatePayload';
9116
+ success: Scalars['Boolean'];
9117
+ errors?: Maybe<Array<MutationError>>;
9118
+ };
9072
9119
  export declare type HelpCenterUpdateTopicInput = {
9073
9120
  productName: Scalars['String'];
9074
9121
  topicId: Scalars['ID'];
@@ -10594,6 +10641,7 @@ export declare type JiraCommentConnection = {
10594
10641
  indicativeCount?: Maybe<Scalars['Int']>;
10595
10642
  pageInfo: PageInfo;
10596
10643
  edges?: Maybe<Array<Maybe<JiraCommentEdge>>>;
10644
+ pageItemCount?: Maybe<Scalars['Int']>;
10597
10645
  };
10598
10646
  export declare type JiraCommentEdge = {
10599
10647
  __typename?: 'JiraCommentEdge';
@@ -14332,6 +14380,7 @@ export declare type JiraQuery = {
14332
14380
  jwmNavigationByProjectId?: Maybe<JiraWorkManagementNavigation>;
14333
14381
  jwmNavigationByProjectKey?: Maybe<JiraWorkManagementNavigation>;
14334
14382
  issueByKey?: Maybe<JiraIssue>;
14383
+ issuesByKey?: Maybe<Array<Maybe<JiraIssue>>>;
14335
14384
  issueById?: Maybe<JiraIssue>;
14336
14385
  issue?: Maybe<JiraIssue>;
14337
14386
  screenIdByIssueId?: Maybe<Scalars['Long']>;
@@ -14574,6 +14623,10 @@ export declare type JiraQueryIssueByKeyArgs = {
14574
14623
  key: Scalars['String'];
14575
14624
  cloudId: Scalars['ID'];
14576
14625
  };
14626
+ export declare type JiraQueryIssuesByKeyArgs = {
14627
+ keys: Array<Scalars['String']>;
14628
+ cloudId: Scalars['ID'];
14629
+ };
14577
14630
  export declare type JiraQueryIssueByIdArgs = {
14578
14631
  id: Scalars['ID'];
14579
14632
  };
@@ -22305,6 +22358,7 @@ export declare enum ShepherdAlertTemplateType {
22305
22358
  JiraIssueCrawling = "JIRA_ISSUE_CRAWLING",
22306
22359
  OrgLoggedInAsUser = "ORG_LOGGED_IN_AS_USER",
22307
22360
  RotateScimDirectoryToken = "ROTATE_SCIM_DIRECTORY_TOKEN",
22361
+ TestAlert = "TEST_ALERT",
22308
22362
  TokenCreated = "TOKEN_CREATED",
22309
22363
  UpdatedAuthPolicy = "UPDATED_AUTH_POLICY",
22310
22364
  UpdatedPolicy = "UPDATED_POLICY",
@@ -22382,6 +22436,11 @@ export declare type ShepherdCreateWebhookInput = {
22382
22436
  status?: Maybe<ShepherdSubscriptionStatus>;
22383
22437
  type?: Maybe<ShepherdWebhookType>;
22384
22438
  };
22439
+ export declare type ShepherdCurrentUser = {
22440
+ __typename?: 'ShepherdCurrentUser';
22441
+ isOrgAdmin?: Maybe<Scalars['Boolean']>;
22442
+ user?: Maybe<ShepherdUser>;
22443
+ };
22385
22444
  export declare type ShepherdDescriptionTemplate = {
22386
22445
  __typename?: 'ShepherdDescriptionTemplate';
22387
22446
  text?: Maybe<Scalars['JSON']>;
@@ -22705,6 +22764,7 @@ export declare type ShepherdWorkspace = {
22705
22764
  actor?: Maybe<ShepherdUser>;
22706
22765
  cloudId: Scalars['ID'];
22707
22766
  cloudName?: Maybe<Scalars['String']>;
22767
+ currentUser?: Maybe<ShepherdCurrentUser>;
22708
22768
  detections: Array<ShepherdDetection>;
22709
22769
  id: Scalars['ID'];
22710
22770
  orgId: Scalars['ID'];
@@ -24081,7 +24141,7 @@ export declare type TransitionFilter = {
24081
24141
  };
24082
24142
  export declare type TrelloAttachment = {
24083
24143
  __typename?: 'TrelloAttachment';
24084
- objectId: Scalars['String'];
24144
+ objectId: Scalars['ID'];
24085
24145
  };
24086
24146
  export declare type TrelloBoard = Node & {
24087
24147
  __typename?: 'TrelloBoard';
@@ -24176,7 +24236,7 @@ export declare type TrelloCard = Node & {
24176
24236
  list?: Maybe<TrelloList>;
24177
24237
  location?: Maybe<TrelloCardLocation>;
24178
24238
  name?: Maybe<Scalars['String']>;
24179
- objectId: Scalars['String'];
24239
+ objectId: Scalars['ID'];
24180
24240
  position?: Maybe<Scalars['Float']>;
24181
24241
  role?: Maybe<TrelloCardRole>;
24182
24242
  shortId?: Maybe<Scalars['Int']>;
@@ -24303,6 +24363,28 @@ export declare enum TrelloCardRole {
24303
24363
  Mirror = "MIRROR",
24304
24364
  Separator = "SEPARATOR"
24305
24365
  }
24366
+ export declare type TrelloCardUpdated = {
24367
+ __typename?: 'TrelloCardUpdated';
24368
+ closed?: Maybe<Scalars['Boolean']>;
24369
+ description?: Maybe<Scalars['String']>;
24370
+ id: Scalars['ID'];
24371
+ name?: Maybe<Scalars['String']>;
24372
+ };
24373
+ export declare type TrelloCardUpdatedConnection = {
24374
+ __typename?: 'TrelloCardUpdatedConnection';
24375
+ nodes?: Maybe<Array<TrelloCardUpdated>>;
24376
+ };
24377
+ export declare type TrelloCardUpdatedConnectionDeltas = {
24378
+ __typename?: 'TrelloCardUpdatedConnectionDeltas';
24379
+ nodes: Array<TrelloCardUpdatedDeltas>;
24380
+ };
24381
+ export declare type TrelloCardUpdatedDeltas = {
24382
+ __typename?: 'TrelloCardUpdatedDeltas';
24383
+ closed?: Maybe<Scalars['Boolean']>;
24384
+ description?: Maybe<Scalars['Boolean']>;
24385
+ id?: Maybe<Scalars['Boolean']>;
24386
+ name?: Maybe<Scalars['Boolean']>;
24387
+ };
24306
24388
  export declare type TrelloCardViewer = {
24307
24389
  __typename?: 'TrelloCardViewer';
24308
24390
  subscribed?: Maybe<Scalars['Boolean']>;
@@ -24361,7 +24443,7 @@ export declare type TrelloList = Node & {
24361
24443
  id: Scalars['ID'];
24362
24444
  limits?: Maybe<TrelloListLimits>;
24363
24445
  name: Scalars['String'];
24364
- objectId: Scalars['String'];
24446
+ objectId: Scalars['ID'];
24365
24447
  position: Scalars['Float'];
24366
24448
  softLimit?: Maybe<Scalars['Int']>;
24367
24449
  viewer?: Maybe<TrelloListViewer>;
@@ -24399,6 +24481,7 @@ export declare type TrelloListLimits = {
24399
24481
  };
24400
24482
  export declare type TrelloListUpdated = {
24401
24483
  __typename?: 'TrelloListUpdated';
24484
+ cards?: Maybe<TrelloCardUpdatedConnection>;
24402
24485
  closed?: Maybe<Scalars['Boolean']>;
24403
24486
  id: Scalars['ID'];
24404
24487
  name?: Maybe<Scalars['String']>;
@@ -24415,7 +24498,9 @@ export declare type TrelloListUpdatedConnectionDeltas = {
24415
24498
  };
24416
24499
  export declare type TrelloListUpdatedDeltas = {
24417
24500
  __typename?: 'TrelloListUpdatedDeltas';
24501
+ cards?: Maybe<TrelloCardUpdatedConnectionDeltas>;
24418
24502
  closed?: Maybe<Scalars['Boolean']>;
24503
+ id?: Maybe<Scalars['Boolean']>;
24419
24504
  name?: Maybe<Scalars['Boolean']>;
24420
24505
  position?: Maybe<Scalars['Boolean']>;
24421
24506
  softLimit?: Maybe<Scalars['Boolean']>;
@@ -24531,7 +24616,7 @@ export declare type TrelloTemplateGalleryLanguage = {
24531
24616
  };
24532
24617
  export declare type TrelloUploadedBackground = {
24533
24618
  __typename?: 'TrelloUploadedBackground';
24534
- objectId: Scalars['String'];
24619
+ objectId: Scalars['ID'];
24535
24620
  };
24536
24621
  export declare type TrelloWorkspace = Node & {
24537
24622
  __typename?: 'TrelloWorkspace';