@forge/cli-shared 3.0.0 → 3.1.0-next.2
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 +20 -0
- package/out/config/config-file.d.ts +4 -3
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +18 -25
- package/out/config/config.d.ts +2 -1
- package/out/config/config.d.ts.map +1 -1
- package/out/graphql/graphql-types.d.ts +231 -10
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +7 -3
- package/out/graphql/mutation-aware-graphql-client.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 3.1.0-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [237e3c72]
|
|
8
|
+
- @forge/manifest@4.2.0-next.1
|
|
9
|
+
|
|
10
|
+
## 3.1.0-next.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [151c4d8]
|
|
15
|
+
- @forge/manifest@4.2.0-next.0
|
|
16
|
+
|
|
17
|
+
## 3.1.0-next.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 89ae99e0: Add support for auto-bundling resources
|
|
22
|
+
|
|
3
23
|
## 3.0.0
|
|
4
24
|
|
|
5
25
|
### Major Changes
|
|
@@ -10,7 +10,7 @@ export interface ConfigInteractor {
|
|
|
10
10
|
snapshotsEnabled(): Promise<boolean>;
|
|
11
11
|
}
|
|
12
12
|
export declare type Resource = Resources[0];
|
|
13
|
-
export declare type ResourceType = 'customUI' | 'default';
|
|
13
|
+
export declare type ResourceType = 'customUI' | 'nativeUI' | 'default';
|
|
14
14
|
export interface ResourceDetails extends Resource {
|
|
15
15
|
resourceType: ResourceType;
|
|
16
16
|
}
|
|
@@ -25,8 +25,8 @@ export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInt
|
|
|
25
25
|
private makeManifestUnique;
|
|
26
26
|
prependAppNameToModules(name: string): Promise<void>;
|
|
27
27
|
writeToConfigFile<K extends string, V>(configKey: K, config: V): Promise<void>;
|
|
28
|
-
private
|
|
29
|
-
private
|
|
28
|
+
private getHostedResourceModules;
|
|
29
|
+
private assertNoMissingResources;
|
|
30
30
|
private getRemoteFromEgressPermission;
|
|
31
31
|
private instanceOfRemote;
|
|
32
32
|
getEgressPermissions(): Promise<{
|
|
@@ -39,5 +39,6 @@ export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInt
|
|
|
39
39
|
}>>;
|
|
40
40
|
getResources(): Promise<ResourceDetails[]>;
|
|
41
41
|
getConnectKey(): Promise<string | undefined>;
|
|
42
|
+
private getResourceType;
|
|
42
43
|
}
|
|
43
44
|
//# sourceMappingURL=config-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAAA,OAAa,EAAwB,QAAQ,EAAE,MAAM,MAAM,CAAC;AAI5D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EAEL,cAAc,EACd,SAAS,
|
|
1
|
+
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAAA,OAAa,EAAwB,QAAQ,EAAE,MAAM,MAAM,CAAC;AAI5D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EAEL,cAAc,EACd,SAAS,EAOV,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,8BAA+B,SAAQ,KAAK;gBAC3C,SAAS,EAAE,MAAM,EAAE;CAGhC;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACtC;AAED,oBAAY,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,oBAAY,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AAC/D,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,qBAAa,UAAW,YAAW,YAAY,EAAE,YAAY,EAAE,gBAAgB;IACjE,OAAO,CAAC,QAAQ,CAAC,UAAU;IAAoB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAzD,UAAU,EAAE,gBAAgB,EAAmB,UAAU,EAAE,gBAAgB;IAE3F,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IASxC,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC;IAUrC,oBAAoB,IAAI,OAAO,CAAC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;IAW5D,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC;IAMjD,OAAO,CAAC,kBAAkB;IAmBb,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAapD,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe3F,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,wBAAwB;IAShC,OAAO,CAAC,6BAA6B;IAYrC,OAAO,CAAC,gBAAgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAoClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;IAgB1C,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CAcxB"}
|
|
@@ -97,20 +97,15 @@ class ConfigFile {
|
|
|
97
97
|
currentConfigDoc.set(configKey, config);
|
|
98
98
|
this.fileWriter.writeStringToFile(currentConfigDoc.toString(), _1.manifestFileName);
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
modules[moduleKey].forEach((module) => {
|
|
104
|
-
if (config_1.isHostedResourceModule(module)) {
|
|
105
|
-
resourceKeys.push(module.resource);
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
return resourceKeys;
|
|
100
|
+
getHostedResourceModules(modules) {
|
|
101
|
+
const modulesArray = Object.values(modules).flat();
|
|
102
|
+
return modulesArray.filter((module) => config_1.isHostedResourceModule(module));
|
|
110
103
|
}
|
|
111
|
-
|
|
112
|
-
const
|
|
113
|
-
|
|
104
|
+
assertNoMissingResources(modules, resources) {
|
|
105
|
+
const missingResources = modules.filter(({ resource }) => !resources.some(({ key }) => resource === key));
|
|
106
|
+
if (missingResources.length > 0) {
|
|
107
|
+
throw new ResourceDefinitionMissingError(missingResources.map((m) => m.resource));
|
|
108
|
+
}
|
|
114
109
|
}
|
|
115
110
|
getRemoteFromEgressPermission(remoteEgressPermission, remotes) {
|
|
116
111
|
if (!remotes) {
|
|
@@ -170,20 +165,11 @@ class ConfigFile {
|
|
|
170
165
|
}
|
|
171
166
|
async getResources() {
|
|
172
167
|
const { modules, resources } = await this.readConfig();
|
|
173
|
-
const
|
|
168
|
+
const hostedResourceModules = modules ? this.getHostedResourceModules(modules) : [];
|
|
174
169
|
const maybeResources = resources || [];
|
|
175
170
|
const validResources = maybeResources.filter(config_1.validateResource);
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
throw new ResourceDefinitionMissingError(missingResources);
|
|
179
|
-
}
|
|
180
|
-
const getResourceType = (resourceKey) => {
|
|
181
|
-
if (hostedResourceKeys.includes(resourceKey)) {
|
|
182
|
-
return 'customUI';
|
|
183
|
-
}
|
|
184
|
-
return 'default';
|
|
185
|
-
};
|
|
186
|
-
const validResourcesWithDetails = validResources.map((resource) => (Object.assign(Object.assign({}, resource), { resourceType: getResourceType(resource.key) })));
|
|
171
|
+
this.assertNoMissingResources(hostedResourceModules, validResources);
|
|
172
|
+
const validResourcesWithDetails = validResources.map((resource) => (Object.assign(Object.assign({}, resource), { resourceType: this.getResourceType(resource, hostedResourceModules) })));
|
|
187
173
|
return validResourcesWithDetails || [];
|
|
188
174
|
}
|
|
189
175
|
async getConnectKey() {
|
|
@@ -191,5 +177,12 @@ class ConfigFile {
|
|
|
191
177
|
const { app } = await this.readConfig();
|
|
192
178
|
return (_a = app.connect) === null || _a === void 0 ? void 0 : _a.key;
|
|
193
179
|
}
|
|
180
|
+
getResourceType({ key: resourceKey }, allModules) {
|
|
181
|
+
const linkedModule = allModules.find((m) => m.resource === resourceKey);
|
|
182
|
+
if (!linkedModule) {
|
|
183
|
+
return 'default';
|
|
184
|
+
}
|
|
185
|
+
return linkedModule.render === 'native' ? 'nativeUI' : 'customUI';
|
|
186
|
+
}
|
|
194
187
|
}
|
|
195
188
|
exports.ConfigFile = ConfigFile;
|
package/out/config/config.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export interface BaseModule {
|
|
|
5
5
|
key: string;
|
|
6
6
|
}
|
|
7
7
|
export interface HostedResourcesModule extends BaseModule {
|
|
8
|
-
resource
|
|
8
|
+
resource: string;
|
|
9
|
+
render?: 'default' | 'native';
|
|
9
10
|
}
|
|
10
11
|
export interface ConfigReader {
|
|
11
12
|
readConfig(): Promise<ManifestSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5D,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,UAAuE,CAAC;AAExG,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACvD,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5D,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,UAAuE,CAAC;AAExG,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC/B;AAED,MAAM,WAAW,YAAY;IAC3B,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,YAAY;IAC3B,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9F,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,aAAc,GAAG,0BAG7C,CAAC;AAEF,eAAO,MAAM,sBAAsB,WAAY,GAAG,oCAGjD,CAAC"}
|
|
@@ -1637,6 +1637,17 @@ export declare type CompassAcknowledgeAnnouncementPayload = Payload & {
|
|
|
1637
1637
|
success: Scalars['Boolean'];
|
|
1638
1638
|
errors?: Maybe<Array<MutationError>>;
|
|
1639
1639
|
};
|
|
1640
|
+
export declare type CompassAddTeamLabelsInput = {
|
|
1641
|
+
cloudId: Scalars['ID'];
|
|
1642
|
+
teamId: Scalars['ID'];
|
|
1643
|
+
labels: Array<Scalars['String']>;
|
|
1644
|
+
};
|
|
1645
|
+
export declare type CompassAddTeamLabelsPayload = Payload & {
|
|
1646
|
+
__typename?: 'CompassAddTeamLabelsPayload';
|
|
1647
|
+
success: Scalars['Boolean'];
|
|
1648
|
+
errors?: Maybe<Array<MutationError>>;
|
|
1649
|
+
addedLabels?: Maybe<Array<CompassTeamLabel>>;
|
|
1650
|
+
};
|
|
1640
1651
|
export declare type CompassAlertEvent = CompassEvent & {
|
|
1641
1652
|
__typename?: 'CompassAlertEvent';
|
|
1642
1653
|
eventType: CompassEventType;
|
|
@@ -1755,6 +1766,8 @@ export declare type CompassCatalogMutationApi = {
|
|
|
1755
1766
|
createTeamCheckin?: Maybe<CompassCreateTeamCheckinPayload>;
|
|
1756
1767
|
updateTeamCheckin?: Maybe<CompassUpdateTeamCheckinPayload>;
|
|
1757
1768
|
deleteTeamCheckin?: Maybe<CompassDeleteTeamCheckinPayload>;
|
|
1769
|
+
addTeamLabels?: Maybe<CompassAddTeamLabelsPayload>;
|
|
1770
|
+
removeTeamLabels?: Maybe<CompassRemoveTeamLabelsPayload>;
|
|
1758
1771
|
createMetricDefinition?: Maybe<CompassCreateMetricDefinitionPayload>;
|
|
1759
1772
|
updateMetricDefinition?: Maybe<CompassUpdateMetricDefinitionPayload>;
|
|
1760
1773
|
deleteMetricDefinition?: Maybe<CompassDeleteMetricDefinitionPayload>;
|
|
@@ -1903,6 +1916,12 @@ export declare type CompassCatalogMutationApiUpdateTeamCheckinArgs = {
|
|
|
1903
1916
|
export declare type CompassCatalogMutationApiDeleteTeamCheckinArgs = {
|
|
1904
1917
|
input: CompassDeleteTeamCheckinInput;
|
|
1905
1918
|
};
|
|
1919
|
+
export declare type CompassCatalogMutationApiAddTeamLabelsArgs = {
|
|
1920
|
+
input: CompassAddTeamLabelsInput;
|
|
1921
|
+
};
|
|
1922
|
+
export declare type CompassCatalogMutationApiRemoveTeamLabelsArgs = {
|
|
1923
|
+
input: CompassRemoveTeamLabelsInput;
|
|
1924
|
+
};
|
|
1906
1925
|
export declare type CompassCatalogMutationApiCreateMetricDefinitionArgs = {
|
|
1907
1926
|
input: CompassCreateMetricDefinitionInput;
|
|
1908
1927
|
};
|
|
@@ -1947,6 +1966,7 @@ export declare type CompassCatalogQueryApi = {
|
|
|
1947
1966
|
scorecards?: Maybe<CompassScorecardsQueryResult>;
|
|
1948
1967
|
starredComponents?: Maybe<CompassStarredComponentQueryResult>;
|
|
1949
1968
|
teamCheckins?: Maybe<Array<CompassTeamCheckin>>;
|
|
1969
|
+
teamData?: Maybe<CompassTeamDataResult>;
|
|
1950
1970
|
metricDefinitions?: Maybe<CompassMetricDefinitionsQueryResult>;
|
|
1951
1971
|
metricDefinition?: Maybe<CompassMetricDefinitionResult>;
|
|
1952
1972
|
eventSource?: Maybe<CompassEventSourceResult>;
|
|
@@ -1987,6 +2007,9 @@ export declare type CompassCatalogQueryApiStarredComponentsArgs = {
|
|
|
1987
2007
|
export declare type CompassCatalogQueryApiTeamCheckinsArgs = {
|
|
1988
2008
|
input: CompassTeamCheckinsInput;
|
|
1989
2009
|
};
|
|
2010
|
+
export declare type CompassCatalogQueryApiTeamDataArgs = {
|
|
2011
|
+
input: CompassTeamDataInput;
|
|
2012
|
+
};
|
|
1990
2013
|
export declare type CompassCatalogQueryApiMetricDefinitionsArgs = {
|
|
1991
2014
|
query: CompassMetricDefinitionsQuery;
|
|
1992
2015
|
};
|
|
@@ -2367,6 +2390,14 @@ export declare type CompassCustomFieldInput = {
|
|
|
2367
2390
|
textField?: Maybe<CompassCustomTextFieldInput>;
|
|
2368
2391
|
numberField?: Maybe<CompassCustomNumberFieldInput>;
|
|
2369
2392
|
};
|
|
2393
|
+
export declare type CompassCustomFieldScorecardCriteria = {
|
|
2394
|
+
id: Scalars['ID'];
|
|
2395
|
+
weight: Scalars['Int'];
|
|
2396
|
+
scorecardCriteriaScore?: Maybe<CompassScorecardCriteriaScore>;
|
|
2397
|
+
};
|
|
2398
|
+
export declare type CompassCustomFieldScorecardCriteriaScorecardCriteriaScoreArgs = {
|
|
2399
|
+
query?: Maybe<CompassScorecardCriteriaScoreQuery>;
|
|
2400
|
+
};
|
|
2370
2401
|
export declare type CompassCustomNumberField = CompassCustomField & {
|
|
2371
2402
|
__typename?: 'CompassCustomNumberField';
|
|
2372
2403
|
definition?: Maybe<CompassCustomNumberFieldDefinition>;
|
|
@@ -2633,7 +2664,7 @@ export declare type CompassFlagEventProperties = {
|
|
|
2633
2664
|
id: Scalars['ID'];
|
|
2634
2665
|
status?: Maybe<Scalars['String']>;
|
|
2635
2666
|
};
|
|
2636
|
-
export declare type CompassHasCustomBooleanFieldScorecardCriteria = CompassScorecardCriteria & {
|
|
2667
|
+
export declare type CompassHasCustomBooleanFieldScorecardCriteria = CompassScorecardCriteria & CompassCustomFieldScorecardCriteria & {
|
|
2637
2668
|
__typename?: 'CompassHasCustomBooleanFieldScorecardCriteria';
|
|
2638
2669
|
id: Scalars['ID'];
|
|
2639
2670
|
weight: Scalars['Int'];
|
|
@@ -2645,7 +2676,7 @@ export declare type CompassHasCustomBooleanFieldScorecardCriteria = CompassScore
|
|
|
2645
2676
|
export declare type CompassHasCustomBooleanFieldScorecardCriteriaScorecardCriteriaScoreArgs = {
|
|
2646
2677
|
query?: Maybe<CompassScorecardCriteriaScoreQuery>;
|
|
2647
2678
|
};
|
|
2648
|
-
export declare type CompassHasCustomNumberFieldScorecardCriteria = CompassScorecardCriteria & {
|
|
2679
|
+
export declare type CompassHasCustomNumberFieldScorecardCriteria = CompassScorecardCriteria & CompassCustomFieldScorecardCriteria & {
|
|
2649
2680
|
__typename?: 'CompassHasCustomNumberFieldScorecardCriteria';
|
|
2650
2681
|
id: Scalars['ID'];
|
|
2651
2682
|
weight: Scalars['Int'];
|
|
@@ -2657,7 +2688,7 @@ export declare type CompassHasCustomNumberFieldScorecardCriteria = CompassScorec
|
|
|
2657
2688
|
export declare type CompassHasCustomNumberFieldScorecardCriteriaScorecardCriteriaScoreArgs = {
|
|
2658
2689
|
query?: Maybe<CompassScorecardCriteriaScoreQuery>;
|
|
2659
2690
|
};
|
|
2660
|
-
export declare type CompassHasCustomTextFieldScorecardCriteria = CompassScorecardCriteria & {
|
|
2691
|
+
export declare type CompassHasCustomTextFieldScorecardCriteria = CompassScorecardCriteria & CompassCustomFieldScorecardCriteria & {
|
|
2661
2692
|
__typename?: 'CompassHasCustomTextFieldScorecardCriteria';
|
|
2662
2693
|
id: Scalars['ID'];
|
|
2663
2694
|
weight: Scalars['Int'];
|
|
@@ -2979,6 +3010,17 @@ export declare type CompassRelationshipQueryFilters = {
|
|
|
2979
3010
|
export declare enum CompassRelationshipType {
|
|
2980
3011
|
DependsOn = "DEPENDS_ON"
|
|
2981
3012
|
}
|
|
3013
|
+
export declare type CompassRemoveTeamLabelsInput = {
|
|
3014
|
+
cloudId: Scalars['ID'];
|
|
3015
|
+
teamId: Scalars['ID'];
|
|
3016
|
+
labels: Array<Scalars['String']>;
|
|
3017
|
+
};
|
|
3018
|
+
export declare type CompassRemoveTeamLabelsPayload = Payload & {
|
|
3019
|
+
__typename?: 'CompassRemoveTeamLabelsPayload';
|
|
3020
|
+
success: Scalars['Boolean'];
|
|
3021
|
+
errors?: Maybe<Array<MutationError>>;
|
|
3022
|
+
removedLabels?: Maybe<Array<CompassTeamLabel>>;
|
|
3023
|
+
};
|
|
2982
3024
|
export declare type CompassRichTextObject = {
|
|
2983
3025
|
__typename?: 'CompassRichTextObject';
|
|
2984
3026
|
adf?: Maybe<Scalars['String']>;
|
|
@@ -3171,6 +3213,20 @@ export declare type CompassTeamCheckinsInput = {
|
|
|
3171
3213
|
cloudId: Scalars['ID'];
|
|
3172
3214
|
teamId: Scalars['ID'];
|
|
3173
3215
|
};
|
|
3216
|
+
export declare type CompassTeamData = {
|
|
3217
|
+
__typename?: 'CompassTeamData';
|
|
3218
|
+
teamId?: Maybe<Scalars['ID']>;
|
|
3219
|
+
labels?: Maybe<Array<CompassTeamLabel>>;
|
|
3220
|
+
};
|
|
3221
|
+
export declare type CompassTeamDataInput = {
|
|
3222
|
+
cloudId: Scalars['ID'];
|
|
3223
|
+
teamId: Scalars['ID'];
|
|
3224
|
+
};
|
|
3225
|
+
export declare type CompassTeamDataResult = CompassTeamData | QueryError;
|
|
3226
|
+
export declare type CompassTeamLabel = {
|
|
3227
|
+
__typename?: 'CompassTeamLabel';
|
|
3228
|
+
name: Scalars['String'];
|
|
3229
|
+
};
|
|
3174
3230
|
export declare type CompassUpdateAnnouncementInput = {
|
|
3175
3231
|
cloudId: Scalars['ID'];
|
|
3176
3232
|
id: Scalars['ID'];
|
|
@@ -6386,7 +6442,7 @@ export declare type DirectoryMutationRemoveUserFromOrganizationArgs = {
|
|
|
6386
6442
|
};
|
|
6387
6443
|
export declare type DirectoryQuery = {
|
|
6388
6444
|
__typename?: 'DirectoryQuery';
|
|
6389
|
-
|
|
6445
|
+
_version?: Maybe<Scalars['String']>;
|
|
6390
6446
|
};
|
|
6391
6447
|
export declare type DirectoryRemoveUserInput = {
|
|
6392
6448
|
orgId: Scalars['ID'];
|
|
@@ -6607,8 +6663,10 @@ export declare type ForgeAlertsActivitiesResult = ForgeAlertsActivityConnection
|
|
|
6607
6663
|
export declare type ForgeAlertsActivity = {
|
|
6608
6664
|
__typename?: 'ForgeAlertsActivity';
|
|
6609
6665
|
activityMessage: Scalars['String'];
|
|
6610
|
-
timestamp: Scalars['
|
|
6666
|
+
timestamp: Scalars['String'];
|
|
6611
6667
|
type: ForgeAlertsActivityType;
|
|
6668
|
+
isMuted: Scalars['Boolean'];
|
|
6669
|
+
status: ForgeAlertsStatus;
|
|
6612
6670
|
};
|
|
6613
6671
|
export declare type ForgeAlertsActivityConnection = {
|
|
6614
6672
|
__typename?: 'ForgeAlertsActivityConnection';
|
|
@@ -6626,7 +6684,8 @@ export declare enum ForgeAlertsActivityType {
|
|
|
6626
6684
|
AlertMuted = "ALERT_MUTED",
|
|
6627
6685
|
AlertOpened = "ALERT_OPENED",
|
|
6628
6686
|
AlertResolved = "ALERT_RESOLVED",
|
|
6629
|
-
|
|
6687
|
+
AlertSentFiring = "ALERT_SENT_FIRING",
|
|
6688
|
+
AlertSentResolved = "ALERT_SENT_RESOLVED",
|
|
6630
6689
|
AlertUnmuted = "ALERT_UNMUTED",
|
|
6631
6690
|
AlertUpdated = "ALERT_UPDATED"
|
|
6632
6691
|
}
|
|
@@ -6976,15 +7035,19 @@ export declare type FortifiedMetricsSuccessRateSeries = {
|
|
|
6976
7035
|
};
|
|
6977
7036
|
export declare type FortifiedSuccessRateMetricQuery = {
|
|
6978
7037
|
__typename?: 'FortifiedSuccessRateMetricQuery';
|
|
6979
|
-
|
|
7038
|
+
successRate?: Maybe<FortifiedMetricsSuccessRateResult>;
|
|
6980
7039
|
alertConditionSuccessRate?: Maybe<FortifiedMetricsSuccessRateResult>;
|
|
7040
|
+
serviceLevelObjectiveSuccessRate?: Maybe<FortifiedMetricsSuccessRateResult>;
|
|
6981
7041
|
};
|
|
6982
|
-
export declare type
|
|
7042
|
+
export declare type FortifiedSuccessRateMetricQuerySuccessRateArgs = {
|
|
6983
7043
|
query: FortifiedMetricsQueryInput;
|
|
6984
7044
|
};
|
|
6985
7045
|
export declare type FortifiedSuccessRateMetricQueryAlertConditionSuccessRateArgs = {
|
|
6986
7046
|
query: FortifiedMetricsQueryInput;
|
|
6987
7047
|
};
|
|
7048
|
+
export declare type FortifiedSuccessRateMetricQueryServiceLevelObjectiveSuccessRateArgs = {
|
|
7049
|
+
query: FortifiedMetricsQueryInput;
|
|
7050
|
+
};
|
|
6988
7051
|
export declare type FunctionDescription = {
|
|
6989
7052
|
__typename?: 'FunctionDescription';
|
|
6990
7053
|
key: Scalars['String'];
|
|
@@ -8432,6 +8495,16 @@ export declare type JiraCustomFilterEditGrantsArgs = {
|
|
|
8432
8495
|
last?: Maybe<Scalars['Int']>;
|
|
8433
8496
|
before?: Maybe<Scalars['String']>;
|
|
8434
8497
|
};
|
|
8498
|
+
export declare type JiraDateFieldOperationInput = {
|
|
8499
|
+
operation: JiraSingleValueFieldOperations;
|
|
8500
|
+
date?: Maybe<Scalars['Date']>;
|
|
8501
|
+
};
|
|
8502
|
+
export declare type JiraDateFieldPayload = Payload & {
|
|
8503
|
+
__typename?: 'JiraDateFieldPayload';
|
|
8504
|
+
success: Scalars['Boolean'];
|
|
8505
|
+
errors?: Maybe<Array<MutationError>>;
|
|
8506
|
+
field?: Maybe<JiraDatePickerField>;
|
|
8507
|
+
};
|
|
8435
8508
|
export declare type JiraDatePickerField = Node & JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & {
|
|
8436
8509
|
__typename?: 'JiraDatePickerField';
|
|
8437
8510
|
id: Scalars['ID'];
|
|
@@ -8444,6 +8517,16 @@ export declare type JiraDatePickerField = Node & JiraIssueField & JiraIssueField
|
|
|
8444
8517
|
fieldConfig?: Maybe<JiraFieldConfig>;
|
|
8445
8518
|
userFieldConfig?: Maybe<JiraUserFieldConfig>;
|
|
8446
8519
|
};
|
|
8520
|
+
export declare type JiraDateTimeFieldOperationInput = {
|
|
8521
|
+
operation: JiraSingleValueFieldOperations;
|
|
8522
|
+
datetime?: Maybe<Scalars['DateTime']>;
|
|
8523
|
+
};
|
|
8524
|
+
export declare type JiraDateTimeFieldPayload = Payload & {
|
|
8525
|
+
__typename?: 'JiraDateTimeFieldPayload';
|
|
8526
|
+
success: Scalars['Boolean'];
|
|
8527
|
+
errors?: Maybe<Array<MutationError>>;
|
|
8528
|
+
field?: Maybe<JiraDateTimePickerField>;
|
|
8529
|
+
};
|
|
8447
8530
|
export declare type JiraDateTimePickerField = Node & JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & {
|
|
8448
8531
|
__typename?: 'JiraDateTimePickerField';
|
|
8449
8532
|
id: Scalars['ID'];
|
|
@@ -9397,8 +9480,7 @@ export declare type JiraIssueItemTabContainerItemEdge = {
|
|
|
9397
9480
|
};
|
|
9398
9481
|
export declare enum JiraIssueLifecycleState {
|
|
9399
9482
|
Active = "ACTIVE",
|
|
9400
|
-
Archived = "ARCHIVED"
|
|
9401
|
-
HardDeleted = "HARD_DELETED"
|
|
9483
|
+
Archived = "ARCHIVED"
|
|
9402
9484
|
}
|
|
9403
9485
|
export declare type JiraIssueLink = {
|
|
9404
9486
|
__typename?: 'JiraIssueLink';
|
|
@@ -10363,6 +10445,9 @@ export declare type JiraMutation = {
|
|
|
10363
10445
|
jiraFilterMutation?: Maybe<JiraFilterMutation>;
|
|
10364
10446
|
setApplicationProperties?: Maybe<JiraSetApplicationPropertiesPayload>;
|
|
10365
10447
|
updateLabelsField?: Maybe<JiraLabelsFieldPayload>;
|
|
10448
|
+
updateDateField?: Maybe<JiraDateFieldPayload>;
|
|
10449
|
+
updateDateTimeField?: Maybe<JiraDateTimeFieldPayload>;
|
|
10450
|
+
updateNumberField?: Maybe<JiraNumberFieldPayload>;
|
|
10366
10451
|
addPermissionSchemeGrants?: Maybe<JiraPermissionSchemeAddGrantPayload>;
|
|
10367
10452
|
removePermissionSchemeGrants?: Maybe<JiraPermissionSchemeRemoveGrantPayload>;
|
|
10368
10453
|
updateIssueHierarchyConfig?: Maybe<JiraIssueHierarchyConfigurationMutationResult>;
|
|
@@ -10387,6 +10472,15 @@ export declare type JiraMutationSetApplicationPropertiesArgs = {
|
|
|
10387
10472
|
export declare type JiraMutationUpdateLabelsFieldArgs = {
|
|
10388
10473
|
input: JiraUpdateLabelsFieldInput;
|
|
10389
10474
|
};
|
|
10475
|
+
export declare type JiraMutationUpdateDateFieldArgs = {
|
|
10476
|
+
input: JiraUpdateDateFieldInput;
|
|
10477
|
+
};
|
|
10478
|
+
export declare type JiraMutationUpdateDateTimeFieldArgs = {
|
|
10479
|
+
input: JiraUpdateDateTimeFieldInput;
|
|
10480
|
+
};
|
|
10481
|
+
export declare type JiraMutationUpdateNumberFieldArgs = {
|
|
10482
|
+
input?: Maybe<JiraUpdateNumberFieldInput>;
|
|
10483
|
+
};
|
|
10390
10484
|
export declare type JiraMutationAddPermissionSchemeGrantsArgs = {
|
|
10391
10485
|
input: JiraPermissionSchemeAddGrantInput;
|
|
10392
10486
|
};
|
|
@@ -10438,6 +10532,16 @@ export declare type JiraNumberField = Node & JiraIssueField & JiraIssueFieldConf
|
|
|
10438
10532
|
userFieldConfig?: Maybe<JiraUserFieldConfig>;
|
|
10439
10533
|
isStoryPointField?: Maybe<Scalars['Boolean']>;
|
|
10440
10534
|
};
|
|
10535
|
+
export declare type JiraNumberFieldOperationInput = {
|
|
10536
|
+
operation: JiraSingleValueFieldOperations;
|
|
10537
|
+
number?: Maybe<Scalars['Float']>;
|
|
10538
|
+
};
|
|
10539
|
+
export declare type JiraNumberFieldPayload = Payload & {
|
|
10540
|
+
__typename?: 'JiraNumberFieldPayload';
|
|
10541
|
+
success: Scalars['Boolean'];
|
|
10542
|
+
errors?: Maybe<Array<MutationError>>;
|
|
10543
|
+
field?: Maybe<JiraNumberField>;
|
|
10544
|
+
};
|
|
10441
10545
|
export declare type JiraOAuthAppsApp = {
|
|
10442
10546
|
__typename?: 'JiraOAuthAppsApp';
|
|
10443
10547
|
id: Scalars['ID'];
|
|
@@ -10940,6 +11044,7 @@ export declare type JiraProject = Node & {
|
|
|
10940
11044
|
canSetIssueRestriction?: Maybe<Scalars['Boolean']>;
|
|
10941
11045
|
navigationMetadata?: Maybe<JiraProjectNavigationMetadata>;
|
|
10942
11046
|
action?: Maybe<JiraProjectAction>;
|
|
11047
|
+
virtualAgentConfiguration?: Maybe<VirtualAgentConfigurationResult>;
|
|
10943
11048
|
devOpsToolRelationships?: Maybe<JiraProjectAndDevOpsToolRelationshipConnection>;
|
|
10944
11049
|
devOpsEntityRelationships?: Maybe<AriGraphRelationshipConnection>;
|
|
10945
11050
|
repositoryRelationships?: Maybe<JiraProjectAndRepositoryRelationshipConnection>;
|
|
@@ -12496,6 +12601,9 @@ export declare type JiraSingleSelectUserPickerFieldUsersArgs = {
|
|
|
12496
12601
|
before?: Maybe<Scalars['String']>;
|
|
12497
12602
|
suggested?: Maybe<Scalars['Boolean']>;
|
|
12498
12603
|
};
|
|
12604
|
+
export declare enum JiraSingleValueFieldOperations {
|
|
12605
|
+
Set = "SET"
|
|
12606
|
+
}
|
|
12499
12607
|
export declare type JiraSingleVersionPickerField = Node & JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & {
|
|
12500
12608
|
__typename?: 'JiraSingleVersionPickerField';
|
|
12501
12609
|
id: Scalars['ID'];
|
|
@@ -12786,10 +12894,22 @@ export declare type JiraUpdateCustomFilterPayload = Payload & {
|
|
|
12786
12894
|
errors?: Maybe<Array<MutationError>>;
|
|
12787
12895
|
filter?: Maybe<JiraCustomFilter>;
|
|
12788
12896
|
};
|
|
12897
|
+
export declare type JiraUpdateDateFieldInput = {
|
|
12898
|
+
id: Scalars['ID'];
|
|
12899
|
+
operation: JiraDateFieldOperationInput;
|
|
12900
|
+
};
|
|
12901
|
+
export declare type JiraUpdateDateTimeFieldInput = {
|
|
12902
|
+
id: Scalars['ID'];
|
|
12903
|
+
operation: JiraDateTimeFieldOperationInput;
|
|
12904
|
+
};
|
|
12789
12905
|
export declare type JiraUpdateLabelsFieldInput = {
|
|
12790
12906
|
id: Scalars['ID'];
|
|
12791
12907
|
operations: Array<JiraLabelsFieldOperationInput>;
|
|
12792
12908
|
};
|
|
12909
|
+
export declare type JiraUpdateNumberFieldInput = {
|
|
12910
|
+
id: Scalars['ID'];
|
|
12911
|
+
operation: JiraNumberFieldOperationInput;
|
|
12912
|
+
};
|
|
12793
12913
|
export declare type JiraUpdateReleaseNotesConfigurationInput = {
|
|
12794
12914
|
id: Scalars['ID'];
|
|
12795
12915
|
issueFieldIds: Array<Scalars['ID']>;
|
|
@@ -13530,6 +13650,105 @@ export declare enum MembershipState {
|
|
|
13530
13650
|
Alumni = "ALUMNI",
|
|
13531
13651
|
RequestingToJoin = "REQUESTING_TO_JOIN"
|
|
13532
13652
|
}
|
|
13653
|
+
export declare type MercuryAddGoalsToStrategyInput = {
|
|
13654
|
+
strategyId: Scalars['ID'];
|
|
13655
|
+
goals?: Maybe<Array<MercuryLinkGoalInput>>;
|
|
13656
|
+
};
|
|
13657
|
+
export declare type MercuryAtlasGoal = Node & {
|
|
13658
|
+
__typename?: 'MercuryAtlasGoal';
|
|
13659
|
+
id: Scalars['ID'];
|
|
13660
|
+
};
|
|
13661
|
+
export declare type MercuryCreateStrategyInput = {
|
|
13662
|
+
name: Scalars['String'];
|
|
13663
|
+
description?: Maybe<Scalars['String']>;
|
|
13664
|
+
createdBy: Scalars['String'];
|
|
13665
|
+
goals?: Maybe<Array<Maybe<MercuryLinkGoalInput>>>;
|
|
13666
|
+
};
|
|
13667
|
+
export declare type MercuryDeleteStrategyInput = {
|
|
13668
|
+
strategyId: Scalars['ID'];
|
|
13669
|
+
};
|
|
13670
|
+
export declare type MercuryLinkGoalInput = {
|
|
13671
|
+
goalId: Scalars['ID'];
|
|
13672
|
+
};
|
|
13673
|
+
export declare type MercuryMutationApi = {
|
|
13674
|
+
__typename?: 'MercuryMutationApi';
|
|
13675
|
+
createStrategy?: Maybe<MercuryStrategyMutationPayload>;
|
|
13676
|
+
updateStrategy?: Maybe<MercuryStrategyMutationPayload>;
|
|
13677
|
+
deleteStrategy?: Maybe<MercuryStrategyDeletePayload>;
|
|
13678
|
+
addGoalsToStrategy?: Maybe<MercuryStrategyMutationPayload>;
|
|
13679
|
+
removeGoalsFromStrategy?: Maybe<MercuryStrategyMutationPayload>;
|
|
13680
|
+
};
|
|
13681
|
+
export declare type MercuryMutationApiCreateStrategyArgs = {
|
|
13682
|
+
input: MercuryCreateStrategyInput;
|
|
13683
|
+
};
|
|
13684
|
+
export declare type MercuryMutationApiUpdateStrategyArgs = {
|
|
13685
|
+
input: MercuryUpdateStrategyInput;
|
|
13686
|
+
};
|
|
13687
|
+
export declare type MercuryMutationApiDeleteStrategyArgs = {
|
|
13688
|
+
input: MercuryDeleteStrategyInput;
|
|
13689
|
+
};
|
|
13690
|
+
export declare type MercuryMutationApiAddGoalsToStrategyArgs = {
|
|
13691
|
+
input: MercuryAddGoalsToStrategyInput;
|
|
13692
|
+
};
|
|
13693
|
+
export declare type MercuryMutationApiRemoveGoalsFromStrategyArgs = {
|
|
13694
|
+
input?: Maybe<MercuryRemoveGoalsFromStrategyInput>;
|
|
13695
|
+
};
|
|
13696
|
+
export declare type MercuryQueryApi = {
|
|
13697
|
+
__typename?: 'MercuryQueryApi';
|
|
13698
|
+
strategies?: Maybe<MercuryStrategyConnection>;
|
|
13699
|
+
strategy?: Maybe<MercuryStrategy>;
|
|
13700
|
+
};
|
|
13701
|
+
export declare type MercuryQueryApiStrategiesArgs = {
|
|
13702
|
+
first?: Maybe<Scalars['Int']>;
|
|
13703
|
+
after?: Maybe<Scalars['String']>;
|
|
13704
|
+
};
|
|
13705
|
+
export declare type MercuryQueryApiStrategyArgs = {
|
|
13706
|
+
id: Scalars['ID'];
|
|
13707
|
+
};
|
|
13708
|
+
export declare type MercuryRemoveGoalsFromStrategyInput = {
|
|
13709
|
+
strategyId: Scalars['ID'];
|
|
13710
|
+
goals?: Maybe<Array<MercuryLinkGoalInput>>;
|
|
13711
|
+
};
|
|
13712
|
+
export declare type MercuryStrategy = Node & {
|
|
13713
|
+
__typename?: 'MercuryStrategy';
|
|
13714
|
+
id: Scalars['ID'];
|
|
13715
|
+
name: Scalars['String'];
|
|
13716
|
+
description?: Maybe<Scalars['String']>;
|
|
13717
|
+
createdBy: Scalars['String'];
|
|
13718
|
+
goals?: Maybe<Array<Maybe<MercuryAtlasGoal>>>;
|
|
13719
|
+
};
|
|
13720
|
+
export declare type MercuryStrategyConnection = {
|
|
13721
|
+
__typename?: 'MercuryStrategyConnection';
|
|
13722
|
+
edges?: Maybe<Array<Maybe<MercuryStrategyEdge>>>;
|
|
13723
|
+
nodes?: Maybe<Array<Maybe<MercuryStrategy>>>;
|
|
13724
|
+
pageInfo: PageInfo;
|
|
13725
|
+
};
|
|
13726
|
+
export declare type MercuryStrategyDeletePayload = Payload & {
|
|
13727
|
+
__typename?: 'MercuryStrategyDeletePayload';
|
|
13728
|
+
success: Scalars['Boolean'];
|
|
13729
|
+
errors?: Maybe<Array<MutationError>>;
|
|
13730
|
+
statusCode: Scalars['Int'];
|
|
13731
|
+
message: Scalars['String'];
|
|
13732
|
+
};
|
|
13733
|
+
export declare type MercuryStrategyEdge = {
|
|
13734
|
+
__typename?: 'MercuryStrategyEdge';
|
|
13735
|
+
cursor: Scalars['String'];
|
|
13736
|
+
node?: Maybe<MercuryStrategy>;
|
|
13737
|
+
};
|
|
13738
|
+
export declare type MercuryStrategyMutationPayload = Payload & {
|
|
13739
|
+
__typename?: 'MercuryStrategyMutationPayload';
|
|
13740
|
+
strategy: MercuryStrategy;
|
|
13741
|
+
success: Scalars['Boolean'];
|
|
13742
|
+
errors?: Maybe<Array<MutationError>>;
|
|
13743
|
+
statusCode: Scalars['Int'];
|
|
13744
|
+
message: Scalars['String'];
|
|
13745
|
+
};
|
|
13746
|
+
export declare type MercuryUpdateStrategyInput = {
|
|
13747
|
+
strategyId: Scalars['ID'];
|
|
13748
|
+
name?: Maybe<Scalars['String']>;
|
|
13749
|
+
description?: Maybe<Scalars['String']>;
|
|
13750
|
+
createdBy?: Maybe<Scalars['String']>;
|
|
13751
|
+
};
|
|
13533
13752
|
export declare type MigrationKeys = {
|
|
13534
13753
|
__typename?: 'MigrationKeys';
|
|
13535
13754
|
jira: Scalars['String'];
|
|
@@ -13653,6 +13872,7 @@ export declare type Mutation = {
|
|
|
13653
13872
|
watchMarketplaceApp?: Maybe<WatchMarketplaceAppPayload>;
|
|
13654
13873
|
unwatchMarketplaceApp?: Maybe<UnwatchMarketplaceAppPayload>;
|
|
13655
13874
|
compass?: Maybe<CompassCatalogMutationApi>;
|
|
13875
|
+
mercury?: Maybe<MercuryMutationApi>;
|
|
13656
13876
|
shepherd?: Maybe<ShepherdMutation>;
|
|
13657
13877
|
directory?: Maybe<DirectoryMutation>;
|
|
13658
13878
|
helpObjectStore?: Maybe<HelpObjectStoreMutationApi>;
|
|
@@ -15475,6 +15695,7 @@ export declare type Query = {
|
|
|
15475
15695
|
node?: Maybe<Node>;
|
|
15476
15696
|
activities?: Maybe<Activities>;
|
|
15477
15697
|
activity?: Maybe<Activity>;
|
|
15698
|
+
mercury?: Maybe<MercuryQueryApi>;
|
|
15478
15699
|
devOpsMetrics?: Maybe<DevOpsMetrics>;
|
|
15479
15700
|
shepherd?: Maybe<ShepherdQuery>;
|
|
15480
15701
|
directory?: Maybe<DirectoryQuery>;
|