@forge/cli-shared 2.2.1-next.6 → 2.2.1-next.7

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,13 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 2.2.1-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [037c31a]
8
+ - @forge/manifest@3.1.0-next.7
9
+ - @forge/util@1.1.0-next.0
10
+
3
11
  ## 2.2.1-next.6
4
12
 
5
13
  ### Patch Changes
@@ -4,6 +4,12 @@ export declare type Exact<T extends {
4
4
  }> = {
5
5
  [K in keyof T]: T[K];
6
6
  };
7
+ export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
8
+ [SubKey in K]?: Maybe<T[SubKey]>;
9
+ };
10
+ export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
11
+ [SubKey in K]: Maybe<T[SubKey]>;
12
+ };
7
13
  export declare type Scalars = {
8
14
  ID: string;
9
15
  String: string;
@@ -294,6 +300,7 @@ export declare enum ApiContext {
294
300
  }
295
301
  export declare enum ApiGroup {
296
302
  Compass = "COMPASS",
303
+ Confluence = "CONFLUENCE",
297
304
  Jira = "JIRA",
298
305
  Forge = "FORGE",
299
306
  Polaris = "POLARIS",
@@ -1612,7 +1619,7 @@ export declare type CompassCatalogMutationApiCreateDeploymentEventArgs = {
1612
1619
  input: CreateDeploymentEventInput;
1613
1620
  };
1614
1621
  export declare type CompassCatalogMutationApiCreateCompassEventArgs = {
1615
- input: CompassEventInput;
1622
+ input: CompassCreateEventInput;
1616
1623
  };
1617
1624
  export declare type CompassCatalogMutationApiAttachEventSourceArgs = {
1618
1625
  input: AttachEventSourceInput;
@@ -1668,7 +1675,6 @@ export declare type CompassCatalogQueryApi = {
1668
1675
  teamCheckins?: Maybe<Array<CompassTeamCheckin>>;
1669
1676
  metricDefinitions?: Maybe<CompassMetricDefinitionsQueryResult>;
1670
1677
  metricDefinition?: Maybe<CompassMetricDefinitionResult>;
1671
- builtinMetricDefinitions: Array<CompassMetricDefinition>;
1672
1678
  eventSource?: Maybe<CompassEventSourceResult>;
1673
1679
  };
1674
1680
  export declare type CompassCatalogQueryApiComponentArgs = {
@@ -1793,7 +1799,6 @@ export declare enum CompassComponentType {
1793
1799
  Other = "OTHER"
1794
1800
  }
1795
1801
  export declare type CompassCreateAlertEventInput = {
1796
- cloudId: Scalars['ID'];
1797
1802
  eventType: CompassEventType;
1798
1803
  displayName: Scalars['String'];
1799
1804
  lastUpdated: Scalars['DateTime'];
@@ -1816,7 +1821,6 @@ export declare type CompassCreateAnnouncementPayload = Payload & {
1816
1821
  errors?: Maybe<Array<MutationError>>;
1817
1822
  };
1818
1823
  export declare type CompassCreateCustomEventInput = {
1819
- cloudId: Scalars['ID'];
1820
1824
  eventType: CompassEventType;
1821
1825
  displayName: Scalars['String'];
1822
1826
  lastUpdated: Scalars['DateTime'];
@@ -1824,11 +1828,10 @@ export declare type CompassCreateCustomEventInput = {
1824
1828
  updateSequenceNumber: Scalars['Long'];
1825
1829
  description?: Maybe<Scalars['String']>;
1826
1830
  url?: Maybe<Scalars['URL']>;
1827
- icon?: Maybe<CompassCustomEventIcon>;
1831
+ icon: CompassCustomEventIcon;
1828
1832
  externalEventSourceId: Scalars['ID'];
1829
1833
  };
1830
1834
  export declare type CompassCreateDeploymentEventInput = {
1831
- cloudId: Scalars['ID'];
1832
1835
  deploymentSequenceNumber: Scalars['Long'];
1833
1836
  updateSequenceNumber: Scalars['Long'];
1834
1837
  displayName: Scalars['String'];
@@ -1840,13 +1843,16 @@ export declare type CompassCreateDeploymentEventInput = {
1840
1843
  environment: CompassDeploymentEventEnvironmentInput;
1841
1844
  externalEventSourceId: Scalars['ID'];
1842
1845
  };
1846
+ export declare type CompassCreateEventInput = {
1847
+ cloudId: Scalars['ID'];
1848
+ event: CompassEventInput;
1849
+ };
1843
1850
  export declare type CompassCreateEventsPayload = Payload & {
1844
1851
  __typename?: 'CompassCreateEventsPayload';
1845
1852
  success: Scalars['Boolean'];
1846
1853
  errors?: Maybe<Array<MutationError>>;
1847
1854
  };
1848
1855
  export declare type CompassCreateFlagEventInput = {
1849
- cloudId: Scalars['ID'];
1850
1856
  eventType: CompassEventType;
1851
1857
  displayName: Scalars['String'];
1852
1858
  lastUpdated: Scalars['DateTime'];
@@ -1858,7 +1864,6 @@ export declare type CompassCreateFlagEventInput = {
1858
1864
  externalEventSourceId: Scalars['ID'];
1859
1865
  };
1860
1866
  export declare type CompassCreateIncidentEventInput = {
1861
- cloudId: Scalars['ID'];
1862
1867
  eventType: CompassEventType;
1863
1868
  displayName: Scalars['String'];
1864
1869
  lastUpdated: Scalars['DateTime'];
@@ -1866,19 +1871,18 @@ export declare type CompassCreateIncidentEventInput = {
1866
1871
  updateSequenceNumber: Scalars['Long'];
1867
1872
  description?: Maybe<Scalars['String']>;
1868
1873
  url?: Maybe<Scalars['URL']>;
1869
- state?: Maybe<CompassIncidentEventState>;
1874
+ state: CompassIncidentEventState;
1870
1875
  externalEventSourceId: Scalars['ID'];
1871
1876
  };
1872
1877
  export declare type CompassCreateLifecycleEventInput = {
1873
- cloudId: Scalars['ID'];
1874
1878
  eventType: CompassEventType;
1875
1879
  displayName: Scalars['String'];
1876
1880
  lastUpdated: Scalars['DateTime'];
1877
- lifecycle: Scalars['ID'];
1881
+ lifecycleId: Scalars['ID'];
1878
1882
  updateSequenceNumber: Scalars['Long'];
1879
1883
  description?: Maybe<Scalars['String']>;
1880
1884
  url?: Maybe<Scalars['URL']>;
1881
- stage?: Maybe<CompassLifecycleEventStage>;
1885
+ stage: CompassLifecycleEventStage;
1882
1886
  externalEventSourceId: Scalars['ID'];
1883
1887
  };
1884
1888
  export declare type CompassCreateMetricDefinitionInput = {
@@ -5421,11 +5425,8 @@ export declare type InvokeAuxEffectsInput = {
5421
5425
  entryPoint?: Maybe<Scalars['String']>;
5422
5426
  payload: AuxEffectsInvocationPayload;
5423
5427
  };
5424
- export declare type InvokeAuxEffectsResponse = MutationResponse & Payload & {
5428
+ export declare type InvokeAuxEffectsResponse = Payload & {
5425
5429
  __typename?: 'InvokeAuxEffectsResponse';
5426
- statusCode: Scalars['Int'];
5427
- message: Scalars['String'];
5428
- errorDetails?: Maybe<ErrorDetails>;
5429
5430
  success: Scalars['Boolean'];
5430
5431
  errors?: Maybe<Array<MutationError>>;
5431
5432
  result?: Maybe<AuxEffectsResult>;
@@ -5448,11 +5449,8 @@ export declare type InvokeExtensionPayloadErrorExtensionFields = {
5448
5449
  __typename?: 'InvokeExtensionPayloadErrorExtensionFields';
5449
5450
  authInfoUrl?: Maybe<Scalars['String']>;
5450
5451
  };
5451
- export declare type InvokeExtensionResponse = MutationResponse & Payload & {
5452
+ export declare type InvokeExtensionResponse = Payload & {
5452
5453
  __typename?: 'InvokeExtensionResponse';
5453
- statusCode: Scalars['Int'];
5454
- message: Scalars['String'];
5455
- errorDetails?: Maybe<ErrorDetails>;
5456
5454
  success: Scalars['Boolean'];
5457
5455
  errors?: Maybe<Array<MutationError>>;
5458
5456
  response?: Maybe<InvocationResponsePayload>;
@@ -9089,8 +9087,8 @@ export declare enum JiraReviewState {
9089
9087
  }
9090
9088
  export declare type JiraRichText = {
9091
9089
  __typename?: 'JiraRichText';
9092
- plainText?: Maybe<Scalars['String']>;
9093
9090
  adfValue?: Maybe<JiraAdf>;
9091
+ plainText?: Maybe<Scalars['String']>;
9094
9092
  wikiValue?: Maybe<Scalars['String']>;
9095
9093
  };
9096
9094
  export declare type JiraRichTextField = Node & JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & {
@@ -9886,6 +9884,26 @@ export declare type JiraTeamFieldTeamsArgs = {
9886
9884
  last?: Maybe<Scalars['Int']>;
9887
9885
  before?: Maybe<Scalars['String']>;
9888
9886
  };
9887
+ export declare type JiraTeamView = {
9888
+ __typename?: 'JiraTeamView';
9889
+ jiraSuppliedId?: Maybe<Scalars['String']>;
9890
+ jiraSuppliedName?: Maybe<Scalars['String']>;
9891
+ jiraSuppliedAvatar?: Maybe<JiraAvatar>;
9892
+ fullTeam?: Maybe<Team>;
9893
+ };
9894
+ export declare type JiraTeamViewField = Node & JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & {
9895
+ __typename?: 'JiraTeamViewField';
9896
+ id: Scalars['ID'];
9897
+ fieldId: Scalars['String'];
9898
+ aliasFieldId?: Maybe<Scalars['ID']>;
9899
+ type: Scalars['String'];
9900
+ name: Scalars['String'];
9901
+ description?: Maybe<Scalars['String']>;
9902
+ selectedTeam?: Maybe<JiraTeamView>;
9903
+ searchUrl?: Maybe<Scalars['String']>;
9904
+ fieldConfig?: Maybe<JiraFieldConfig>;
9905
+ userFieldConfig?: Maybe<JiraUserFieldConfig>;
9906
+ };
9889
9907
  export declare enum JiraTimeFormat {
9890
9908
  Pretty = "PRETTY",
9891
9909
  Days = "DAYS",
@@ -13157,20 +13175,54 @@ export declare enum Scope {
13157
13175
  ReadCompassMetric = "READ_COMPASS_METRIC",
13158
13176
  WriteCompassMetric = "WRITE_COMPASS_METRIC",
13159
13177
  ConfluenceAtlassianExternal = "CONFLUENCE_ATLASSIAN_EXTERNAL",
13160
- ReadConfluenceContentAll = "READ_CONFLUENCE_CONTENT_ALL",
13161
- ReadConfluenceContentSummary = "READ_CONFLUENCE_CONTENT_SUMMARY",
13162
- WriteConfluenceContent = "WRITE_CONFLUENCE_CONTENT",
13163
- ReadConfluenceSpaceSummary = "READ_CONFLUENCE_SPACE_SUMMARY",
13178
+ ReadConfluenceContentAnalytics = "READ_CONFLUENCE_CONTENT_ANALYTICS",
13179
+ ReadConfluenceAuditLog = "READ_CONFLUENCE_AUDIT_LOG",
13180
+ WriteConfluenceAuditLog = "WRITE_CONFLUENCE_AUDIT_LOG",
13181
+ ReadConfluenceConfiguration = "READ_CONFLUENCE_CONFIGURATION",
13182
+ WriteConfluenceConfiguration = "WRITE_CONFLUENCE_CONFIGURATION",
13183
+ ReadConfluencePage = "READ_CONFLUENCE_PAGE",
13184
+ WriteConfluencePage = "WRITE_CONFLUENCE_PAGE",
13185
+ DeleteConfluencePage = "DELETE_CONFLUENCE_PAGE",
13186
+ ReadConfluenceBlogpost = "READ_CONFLUENCE_BLOGPOST",
13187
+ WriteConfluenceBlogpost = "WRITE_CONFLUENCE_BLOGPOST",
13188
+ DeleteConfluenceBlogpost = "DELETE_CONFLUENCE_BLOGPOST",
13189
+ ReadConfluenceCustomContent = "READ_CONFLUENCE_CUSTOM_CONTENT",
13190
+ WriteConfluenceCustomContent = "WRITE_CONFLUENCE_CUSTOM_CONTENT",
13191
+ DeleteConfluenceCustomContent = "DELETE_CONFLUENCE_CUSTOM_CONTENT",
13192
+ ReadConfluenceAttachment = "READ_CONFLUENCE_ATTACHMENT",
13193
+ WriteConfluenceAttachment = "WRITE_CONFLUENCE_ATTACHMENT",
13194
+ DeleteConfluenceAttachment = "DELETE_CONFLUENCE_ATTACHMENT",
13195
+ ReadConfluenceComment = "READ_CONFLUENCE_COMMENT",
13196
+ WriteConfluenceComment = "WRITE_CONFLUENCE_COMMENT",
13197
+ DeleteConfluenceComment = "DELETE_CONFLUENCE_COMMENT",
13198
+ ReadConfluenceTemplate = "READ_CONFLUENCE_TEMPLATE",
13199
+ WriteConfluenceTemplate = "WRITE_CONFLUENCE_TEMPLATE",
13200
+ ReadConfluenceLabel = "READ_CONFLUENCE_LABEL",
13201
+ WriteConfluenceLabel = "WRITE_CONFLUENCE_LABEL",
13202
+ ReadConfluenceContentPermission = "READ_CONFLUENCE_CONTENT_PERMISSION",
13203
+ ReadConfluenceContentProperty = "READ_CONFLUENCE_CONTENT_PROPERTY",
13204
+ WriteConfluenceContentProperty = "WRITE_CONFLUENCE_CONTENT_PROPERTY",
13205
+ ReadConfluenceContentRestriction = "READ_CONFLUENCE_CONTENT_RESTRICTION",
13206
+ WriteConfluenceContentRestriction = "WRITE_CONFLUENCE_CONTENT_RESTRICTION",
13207
+ ReadConfluenceContentMetadata = "READ_CONFLUENCE_CONTENT_METADATA",
13208
+ ReadConfluenceWatcher = "READ_CONFLUENCE_WATCHER",
13209
+ WriteConfluenceWatcher = "WRITE_CONFLUENCE_WATCHER",
13210
+ ReadConfluenceGroup = "READ_CONFLUENCE_GROUP",
13211
+ WriteConfluenceGroup = "WRITE_CONFLUENCE_GROUP",
13212
+ ReadConfluenceInlineTask = "READ_CONFLUENCE_INLINE_TASK",
13213
+ WriteConfluenceInlineTask = "WRITE_CONFLUENCE_INLINE_TASK",
13214
+ ReadConfluenceRelation = "READ_CONFLUENCE_RELATION",
13215
+ WriteConfluenceRelation = "WRITE_CONFLUENCE_RELATION",
13216
+ ReadConfluenceSpace = "READ_CONFLUENCE_SPACE",
13164
13217
  WriteConfluenceSpace = "WRITE_CONFLUENCE_SPACE",
13165
- WriteConfluenceFile = "WRITE_CONFLUENCE_FILE",
13166
- ReadConfluenceProps = "READ_CONFLUENCE_PROPS",
13167
- WriteConfluenceProps = "WRITE_CONFLUENCE_PROPS",
13168
- SearchConfluence = "SEARCH_CONFLUENCE_",
13169
- ManageConfluenceConfiguration = "MANAGE_CONFLUENCE_CONFIGURATION",
13170
- ReadConfluenceGroups = "READ_CONFLUENCE_GROUPS",
13171
- WriteConfluenceGroups = "WRITE_CONFLUENCE_GROUPS",
13218
+ DeleteConfluenceSpace = "DELETE_CONFLUENCE_SPACE",
13219
+ ReadConfluenceSpacePermission = "READ_CONFLUENCE_SPACE_PERMISSION",
13220
+ WriteConfluenceSpacePermission = "WRITE_CONFLUENCE_SPACE_PERMISSION",
13221
+ ReadConfluenceSpaceProperty = "READ_CONFLUENCE_SPACE_PROPERTY",
13222
+ WriteConfluenceSpaceProperty = "WRITE_CONFLUENCE_SPACE_PROPERTY",
13223
+ ReadConfluenceSpaceSetting = "READ_CONFLUENCE_SPACE_SETTING",
13224
+ WriteConfluenceSpaceSetting = "WRITE_CONFLUENCE_SPACE_SETTING",
13172
13225
  ReadConfluenceUser = "READ_CONFLUENCE_USER",
13173
- ReadConfluenceContentPermission = "READ_CONFLUENCE_CONTENT_PERMISSION",
13174
13226
  ManageApp = "MANAGE_APP",
13175
13227
  StorageApp = "STORAGE_APP",
13176
13228
  ReadJiraUser = "READ_JIRA_USER",