@forge/cli-shared 3.16.0-next.17 → 3.16.0-next.18
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/ari/ari.d.ts.map +1 -1
- package/out/ari/ari.js +3 -6
- package/out/graphql/graphql-types.d.ts +27 -6
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +1 -0
- package/out/service/feature-flag-service.d.ts +2 -0
- package/out/service/feature-flag-service.d.ts.map +1 -1
- package/out/service/feature-flag-service.js +4 -0
- package/out/shared/product.d.ts +5 -2
- package/out/shared/product.d.ts.map +1 -1
- package/out/shared/product.js +28 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/out/ari/ari.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/ari/ari.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAsB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/ari/ari.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAsB,MAAM,6BAA6B,CAAC;AAGtE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD;AAID,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,GAAG,CAMrE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,GAAG,CAMhG;AAGD,wBAAgB,aAAa,CAAC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,MAAM,CAKlE"}
|
package/out/ari/ari.js
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.encodeContext = exports.buildExtensionAri = exports.buildContextAri = exports.appIdToAriString = void 0;
|
|
4
4
|
const cs_ari_1 = require("@forge/util/packages/cs-ari");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
5
6
|
function appIdToAriString(appId) {
|
|
6
7
|
return `ari:cloud:ecosystem::app/${appId}`;
|
|
7
8
|
}
|
|
8
9
|
exports.appIdToAriString = appIdToAriString;
|
|
9
10
|
function buildContextAri(cloudId, product) {
|
|
10
11
|
return new cs_ari_1.ResourceIdentifier({
|
|
11
|
-
resourceOwner:
|
|
12
|
+
resourceOwner: (0, shared_1.ariResourceOwner)(product),
|
|
12
13
|
resourceType: 'site',
|
|
13
14
|
resourceId: cloudId
|
|
14
15
|
});
|
|
@@ -24,10 +25,6 @@ function buildExtensionAri(appId, environmentId, functionKey) {
|
|
|
24
25
|
exports.buildExtensionAri = buildExtensionAri;
|
|
25
26
|
function encodeContext(context, extension) {
|
|
26
27
|
const serialised = JSON.stringify({ ctx: context.toString(), ext: extension.toString() });
|
|
27
|
-
return Buffer.from(serialised, 'utf-8')
|
|
28
|
-
.toString('base64')
|
|
29
|
-
.replace(/=/g, '')
|
|
30
|
-
.replace(/\+/g, '-')
|
|
31
|
-
.replace(/\//g, '_');
|
|
28
|
+
return Buffer.from(serialised, 'utf-8').toString('base64').replace(/=/g, '').replace(/\+/g, '-').replace(/\//g, '_');
|
|
32
29
|
}
|
|
33
30
|
exports.encodeContext = encodeContext;
|
|
@@ -412,9 +412,11 @@ export declare type AppContributor = {
|
|
|
412
412
|
status: Scalars['String'];
|
|
413
413
|
isOwner?: Maybe<Scalars['Boolean']>;
|
|
414
414
|
avatarUrl?: Maybe<Scalars['String']>;
|
|
415
|
+
role?: Maybe<Scalars['String']>;
|
|
415
416
|
};
|
|
416
417
|
export declare enum AppContributorRole {
|
|
417
|
-
Admin = "ADMIN"
|
|
418
|
+
Admin = "ADMIN",
|
|
419
|
+
Developer = "DEVELOPER"
|
|
418
420
|
}
|
|
419
421
|
export declare type AppDeployment = {
|
|
420
422
|
__typename?: 'AppDeployment';
|
|
@@ -8544,6 +8546,7 @@ export declare type ForgeAuditLog = {
|
|
|
8544
8546
|
actorId: Scalars['ID'];
|
|
8545
8547
|
actorName: Scalars['String'];
|
|
8546
8548
|
contributor?: Maybe<User>;
|
|
8549
|
+
role?: Maybe<Scalars['String']>;
|
|
8547
8550
|
timestamp: Scalars['String'];
|
|
8548
8551
|
};
|
|
8549
8552
|
export declare type ForgeAuditLogEdge = {
|
|
@@ -10562,7 +10565,7 @@ export declare type JiraBooleanField = Node & JiraIssueField & JiraIssueFieldCon
|
|
|
10562
10565
|
export declare type JiraBulkEditField = {
|
|
10563
10566
|
__typename?: 'JiraBulkEditField';
|
|
10564
10567
|
field?: Maybe<JiraIssueField>;
|
|
10565
|
-
bulkEditMultiSelectFieldOptions?: Maybe<JiraBulkEditMultiSelectFieldOptions
|
|
10568
|
+
bulkEditMultiSelectFieldOptions?: Maybe<Array<Maybe<JiraBulkEditMultiSelectFieldOptions>>>;
|
|
10566
10569
|
unavailableMessage?: Maybe<Scalars['String']>;
|
|
10567
10570
|
};
|
|
10568
10571
|
export declare type JiraBulkEditFieldsConnection = HasTotal & HasPageInfo & {
|
|
@@ -10827,6 +10830,16 @@ export declare type JiraCheckboxesFieldFieldOptionsArgs = {
|
|
|
10827
10830
|
last?: Maybe<Scalars['Int']>;
|
|
10828
10831
|
before?: Maybe<Scalars['String']>;
|
|
10829
10832
|
};
|
|
10833
|
+
export declare type JiraCheckboxesFieldOperationInput = {
|
|
10834
|
+
operation: JiraMultiValueFieldOperations;
|
|
10835
|
+
ids: Array<Scalars['ID']>;
|
|
10836
|
+
};
|
|
10837
|
+
export declare type JiraCheckboxesFieldPayload = Payload & {
|
|
10838
|
+
__typename?: 'JiraCheckboxesFieldPayload';
|
|
10839
|
+
success: Scalars['Boolean'];
|
|
10840
|
+
errors?: Maybe<Array<MutationError>>;
|
|
10841
|
+
field?: Maybe<JiraCheckboxesField>;
|
|
10842
|
+
};
|
|
10830
10843
|
export declare type JiraChildIssues = JiraChildIssuesWithinLimit | JiraChildIssuesExceedingLimit;
|
|
10831
10844
|
export declare type JiraChildIssuesExceedingLimit = {
|
|
10832
10845
|
__typename?: 'JiraChildIssuesExceedingLimit';
|
|
@@ -13687,6 +13700,7 @@ export declare type JiraMutation = {
|
|
|
13687
13700
|
updateProjectField?: Maybe<JiraProjectFieldPayload>;
|
|
13688
13701
|
updateTeamField?: Maybe<JiraTeamFieldPayload>;
|
|
13689
13702
|
updateResolutionField?: Maybe<JiraResolutionFieldPayload>;
|
|
13703
|
+
updateCheckboxesField?: Maybe<JiraCheckboxesFieldPayload>;
|
|
13690
13704
|
addPermissionSchemeGrants?: Maybe<JiraPermissionSchemeAddGrantPayload>;
|
|
13691
13705
|
removePermissionSchemeGrants?: Maybe<JiraPermissionSchemeRemoveGrantPayload>;
|
|
13692
13706
|
updateIssueHierarchyConfig?: Maybe<JiraIssueHierarchyConfigurationMutationResult>;
|
|
@@ -13879,6 +13893,9 @@ export declare type JiraMutationUpdateTeamFieldArgs = {
|
|
|
13879
13893
|
export declare type JiraMutationUpdateResolutionFieldArgs = {
|
|
13880
13894
|
input: JiraUpdateResolutionFieldInput;
|
|
13881
13895
|
};
|
|
13896
|
+
export declare type JiraMutationUpdateCheckboxesFieldArgs = {
|
|
13897
|
+
input: JiraUpdateCheckboxesFieldInput;
|
|
13898
|
+
};
|
|
13882
13899
|
export declare type JiraMutationAddPermissionSchemeGrantsArgs = {
|
|
13883
13900
|
input: JiraPermissionSchemeAddGrantInput;
|
|
13884
13901
|
};
|
|
@@ -14988,11 +15005,11 @@ export declare type JiraQuery = {
|
|
|
14988
15005
|
__typename?: 'JiraQuery';
|
|
14989
15006
|
globalTimeTrackingSettings?: Maybe<JiraTimeTrackingSettings>;
|
|
14990
15007
|
projectListViewTemplates?: Maybe<JiraProjectListViewTemplateConnection>;
|
|
15008
|
+
jiraBulkEditFields?: Maybe<JiraBulkEditResponse>;
|
|
14991
15009
|
applicationPropertiesByKey?: Maybe<Array<JiraApplicationProperty>>;
|
|
14992
15010
|
userSegmentation?: Maybe<JiraUserSegmentation>;
|
|
14993
15011
|
first100JsmWorkflowTemplates?: Maybe<Array<JiraServiceManagementWorkflowTemplateMetadata>>;
|
|
14994
15012
|
bulkOperationsMetadata?: Maybe<JiraIssueBulkOperationsMetadata>;
|
|
14995
|
-
jiraBulkEditFields?: Maybe<JiraBulkEditResponse>;
|
|
14996
15013
|
allJiraProjectTypes?: Maybe<JiraProjectTypeDetailsConnection>;
|
|
14997
15014
|
jiraProject?: Maybe<JiraProject>;
|
|
14998
15015
|
allJiraProjects?: Maybe<JiraProjectConnection>;
|
|
@@ -15078,6 +15095,9 @@ export declare type JiraQueryProjectListViewTemplatesArgs = {
|
|
|
15078
15095
|
cloudId: Scalars['ID'];
|
|
15079
15096
|
experimentKey?: Maybe<Scalars['String']>;
|
|
15080
15097
|
};
|
|
15098
|
+
export declare type JiraQueryJiraBulkEditFieldsArgs = {
|
|
15099
|
+
issueIds: Array<Scalars['ID']>;
|
|
15100
|
+
};
|
|
15081
15101
|
export declare type JiraQueryApplicationPropertiesByKeyArgs = {
|
|
15082
15102
|
cloudId: Scalars['ID'];
|
|
15083
15103
|
keys: Array<Scalars['String']>;
|
|
@@ -15094,9 +15114,6 @@ export declare type JiraQueryFirst100JsmWorkflowTemplatesArgs = {
|
|
|
15094
15114
|
export declare type JiraQueryBulkOperationsMetadataArgs = {
|
|
15095
15115
|
cloudId: Scalars['ID'];
|
|
15096
15116
|
};
|
|
15097
|
-
export declare type JiraQueryJiraBulkEditFieldsArgs = {
|
|
15098
|
-
issueIds: Array<Scalars['ID']>;
|
|
15099
|
-
};
|
|
15100
15117
|
export declare type JiraQueryAllJiraProjectTypesArgs = {
|
|
15101
15118
|
cloudId: Scalars['ID'];
|
|
15102
15119
|
first?: Maybe<Scalars['Int']>;
|
|
@@ -17177,6 +17194,10 @@ export declare type JiraUpdateCascadingSelectFieldInput = {
|
|
|
17177
17194
|
id: Scalars['ID'];
|
|
17178
17195
|
operation: JiraCascadingSelectFieldOperationInput;
|
|
17179
17196
|
};
|
|
17197
|
+
export declare type JiraUpdateCheckboxesFieldInput = {
|
|
17198
|
+
id: Scalars['ID'];
|
|
17199
|
+
operations: Array<JiraCheckboxesFieldOperationInput>;
|
|
17200
|
+
};
|
|
17180
17201
|
export declare type JiraUpdateColorFieldInput = {
|
|
17181
17202
|
id: Scalars['ID'];
|
|
17182
17203
|
operation: JiraColorFieldOperationInput;
|