@forge/cli-shared 8.15.3-next.0 → 8.15.3-next.1
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 +6 -0
- package/out/auth/instruction.js +5 -5
- package/out/auth/personal/me-graphql-client.d.ts +0 -3
- package/out/auth/personal/me-graphql-client.d.ts.map +1 -1
- package/out/auth/personal/me-graphql-client.js +1 -10
- package/out/graphql/graphql-types.d.ts +13 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/minimal-graphql-runner.d.ts +3 -0
- package/out/graphql/minimal-graphql-runner.d.ts.map +1 -1
- package/out/graphql/minimal-graphql-runner.js +11 -1
- package/out/ui/text.d.ts +1 -3
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +4 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/out/auth/instruction.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getInstructionsUrl = void 0;
|
|
4
4
|
const gateway_1 = require("../graphql/gateway");
|
|
5
5
|
const INSTRUCTION_URLS = {
|
|
6
|
-
DEV: 'https://
|
|
7
|
-
STG: 'https://
|
|
8
|
-
PROD: 'https://
|
|
9
|
-
FEDRAMP_MODERATE_STAGING: 'https://
|
|
10
|
-
FEDRAMP_MODERATE_PROD: 'https://
|
|
6
|
+
DEV: 'https://go.atlassian.com/forge-cli-api-token-stg',
|
|
7
|
+
STG: 'https://go.atlassian.com/forge-cli-api-token-stg',
|
|
8
|
+
PROD: 'https://go.atlassian.com/forge-cli-api-token',
|
|
9
|
+
FEDRAMP_MODERATE_STAGING: 'https://go.atlassian.com/forge-cli-api-token-federal-stg',
|
|
10
|
+
FEDRAMP_MODERATE_PROD: 'https://go.atlassian.com/forge-cli-api-token-federal'
|
|
11
11
|
};
|
|
12
12
|
function getInstructionsUrl() {
|
|
13
13
|
return (0, gateway_1.getEnvironmentConfig)(INSTRUCTION_URLS);
|
|
@@ -3,9 +3,6 @@ import { UserError } from '../../shared';
|
|
|
3
3
|
import { Logger } from '../../ui';
|
|
4
4
|
export declare class UserNotFoundError extends UserError {
|
|
5
5
|
}
|
|
6
|
-
export declare class ScopedTokenError extends UserError {
|
|
7
|
-
constructor();
|
|
8
|
-
}
|
|
9
6
|
export declare class MeGraphqlClient {
|
|
10
7
|
private readonly graphqlClient;
|
|
11
8
|
private readonly logger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,SAAS;CAAG;AAEnD,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM;IAGpB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAwBtC"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MeGraphqlClient = exports.
|
|
3
|
+
exports.MeGraphqlClient = exports.UserNotFoundError = void 0;
|
|
4
4
|
const shared_1 = require("../../shared");
|
|
5
5
|
const ui_1 = require("../../ui");
|
|
6
6
|
class UserNotFoundError extends shared_1.UserError {
|
|
7
7
|
}
|
|
8
8
|
exports.UserNotFoundError = UserNotFoundError;
|
|
9
|
-
class ScopedTokenError extends shared_1.UserError {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(ui_1.Text.login.scopedToken.error);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.ScopedTokenError = ScopedTokenError;
|
|
15
9
|
class MeGraphqlClient {
|
|
16
10
|
graphqlClient;
|
|
17
11
|
logger;
|
|
@@ -38,9 +32,6 @@ class MeGraphqlClient {
|
|
|
38
32
|
}
|
|
39
33
|
catch (error) {
|
|
40
34
|
this.logger.debug((0, ui_1.errorMessage)(error));
|
|
41
|
-
if ((0, ui_1.errorMessage)(error).includes('This request does not contain the right authorisation scopes')) {
|
|
42
|
-
throw new ScopedTokenError();
|
|
43
|
-
}
|
|
44
35
|
}
|
|
45
36
|
throw new UserNotFoundError();
|
|
46
37
|
}
|
|
@@ -35685,6 +35685,7 @@ export declare type DevAiRovoDevIssueViewResponseSessionsArgs = {
|
|
|
35685
35685
|
cloudId?: InputMaybe<Scalars['ID']['input']>;
|
|
35686
35686
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
35687
35687
|
issueKey?: InputMaybe<Scalars['String']['input']>;
|
|
35688
|
+
sort?: InputMaybe<DevAiRovoDevSessionSort>;
|
|
35688
35689
|
statusCategoryFilter?: InputMaybe<DevAiSessionStatusCategoryFilter>;
|
|
35689
35690
|
};
|
|
35690
35691
|
export declare enum DevAiRovoDevPrStatus {
|
|
@@ -103755,8 +103756,10 @@ export declare type JiraFieldSchemeAssociatedFieldsEdge = {
|
|
|
103755
103756
|
node?: Maybe<JiraFieldSchemeAssociatedField>;
|
|
103756
103757
|
};
|
|
103757
103758
|
export declare type JiraFieldSchemeAssociatedFieldsInput = {
|
|
103759
|
+
associatedIssueTypesFilter?: InputMaybe<Array<JiraFieldsAssociatedIssueTypesFilterInput>>;
|
|
103758
103760
|
fieldTypeGroupsFilter?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
103759
103761
|
nameOrDescriptionFilter?: InputMaybe<Scalars['String']['input']>;
|
|
103762
|
+
requiredOnIssueTypesFilter?: InputMaybe<Array<JiraFieldsRequiredOnIssueTypesFilterInput>>;
|
|
103760
103763
|
schemeId: Scalars['ID']['input'];
|
|
103761
103764
|
};
|
|
103762
103765
|
export declare type JiraFieldSchemeAssociatedIssueTypesInput = {
|
|
@@ -103992,6 +103995,14 @@ export declare type JiraFieldWorkTypeRequiredOnCustomizationInput = {
|
|
|
103992
103995
|
isRequired: Scalars['Boolean']['input'];
|
|
103993
103996
|
workTypeIds: Array<Scalars['ID']['input']>;
|
|
103994
103997
|
};
|
|
103998
|
+
export declare type JiraFieldsAssociatedIssueTypesFilterInput = {
|
|
103999
|
+
allIssueTypes?: InputMaybe<Scalars['Boolean']['input']>;
|
|
104000
|
+
issueTypeId?: InputMaybe<Scalars['String']['input']>;
|
|
104001
|
+
};
|
|
104002
|
+
export declare type JiraFieldsRequiredOnIssueTypesFilterInput = {
|
|
104003
|
+
allIssueTypes?: InputMaybe<Scalars['Boolean']['input']>;
|
|
104004
|
+
issueTypeId?: InputMaybe<Scalars['String']['input']>;
|
|
104005
|
+
};
|
|
103995
104006
|
export declare type JiraFilter = {
|
|
103996
104007
|
filterId: Scalars['String']['output'];
|
|
103997
104008
|
filterUrl?: Maybe<Scalars['URL']['output']>;
|
|
@@ -144702,6 +144713,7 @@ export declare type QueryDevai_RovodevSessionsByIssueKeyArgs = {
|
|
|
144702
144713
|
cloudId?: InputMaybe<Scalars['ID']['input']>;
|
|
144703
144714
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
144704
144715
|
issueKey?: InputMaybe<Scalars['String']['input']>;
|
|
144716
|
+
sort?: InputMaybe<DevAiRovoDevSessionSort>;
|
|
144705
144717
|
statusCategoryFilter?: InputMaybe<DevAiSessionStatusCategoryFilter>;
|
|
144706
144718
|
};
|
|
144707
144719
|
export declare type QueryDevai_SavedPromptsArgs = {
|
|
@@ -175991,6 +176003,7 @@ export declare type TownsquareGoalsCreateGoalTypePairInput = {
|
|
|
175991
176003
|
};
|
|
175992
176004
|
export declare type TownsquareGoalsCreateInput = {
|
|
175993
176005
|
containerId: Scalars['ID']['input'];
|
|
176006
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
175994
176007
|
goalTypeId: Scalars['ID']['input'];
|
|
175995
176008
|
name: Scalars['String']['input'];
|
|
175996
176009
|
ownerId?: InputMaybe<Scalars['ID']['input']>;
|