@forge/cli-shared 9.2.0 → 9.3.0-next.0-experimental-620648d

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,28 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.3.0-next.0-experimental-620648d
4
+
5
+ ### Minor Changes
6
+
7
+ - 5c2457b: Display deeplinks to installed modules after a successful `forge install`
8
+ - ca4fa27: Add utility function to check if a UI Kit resource needs to be bundled
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [d706cd8]
13
+ - @forge/manifest@13.3.0-next.0-experimental-620648d
14
+
15
+ ## 9.3.0-next.0
16
+
17
+ ### Minor Changes
18
+
19
+ - ca4fa27: Add utility function to check if a UI Kit resource needs to be bundled
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [d706cd8]
24
+ - @forge/manifest@13.3.0-next.0
25
+
3
26
  ## 9.2.0
4
27
 
5
28
  ### Minor Changes
@@ -1,4 +1,5 @@
1
1
  import { ManifestSchema, Resources } from '@forge/manifest';
2
+ import { type ResourceDetails } from './config-file';
2
3
  export declare const manifestFileName = "manifest.yml";
3
4
  export declare const dependencyFileNames: string[];
4
5
  export declare const ModuleEntryPoints: readonly ["view", "edit", "create", "contextConfig", "config", "target"];
@@ -23,4 +24,5 @@ export interface ConfigWriter {
23
24
  }
24
25
  export declare const validateResource: (resource: any) => resource is Resources;
25
26
  export declare const isHostedResourceModule: (module: any) => module is HostedResourcesModule;
27
+ export declare const shouldBundleResource: (resource: ResourceDetails) => boolean;
26
28
  //# sourceMappingURL=config.d.ts.map
@@ -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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AqD,CAAC;AAEtF,eAAO,MAAM,iBAAiB,0EAA2E,CAAC;AAC1G,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG;KACD,UAAU,IAAI,gBAAgB,CAAC,CAAC,EAAE,UAAU;CAC9C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC/B,GAAG;KACD,UAAU,IAAI,gBAAgB,CAAC,CAAC,EAAE,qBAAqB;CACzD,CAAC;AAEF,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,GAAI,UAAU,GAAG,KAAG,QAAQ,IAAI,SAG5D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,QAAQ,GAAG,KAAG,MAAM,IAAI,qBAG9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,UAAU,eAAe,KAAG,OAEhE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isHostedResourceModule = exports.validateResource = exports.ModuleEntryPoints = exports.dependencyFileNames = exports.manifestFileName = void 0;
3
+ exports.shouldBundleResource = exports.isHostedResourceModule = exports.validateResource = exports.ModuleEntryPoints = exports.dependencyFileNames = exports.manifestFileName = void 0;
4
4
  exports.manifestFileName = 'manifest.yml';
5
5
  exports.dependencyFileNames = ['package.json', 'package-lock.json', 'yarn.lock'];
6
6
  exports.ModuleEntryPoints = ['view', 'edit', 'create', 'contextConfig', 'config', 'target'];
@@ -14,3 +14,7 @@ const isHostedResourceModule = (module) => {
14
14
  return resource !== undefined || exports.ModuleEntryPoints.some((entryPoint) => module[entryPoint]?.resource !== undefined);
15
15
  };
16
16
  exports.isHostedResourceModule = isHostedResourceModule;
17
+ const shouldBundleResource = (resource) => {
18
+ return resource.resourceType === 'nativeUI' && !resource.package;
19
+ };
20
+ exports.shouldBundleResource = shouldBundleResource;
@@ -6616,6 +6616,11 @@ export type AgentStudioDeleteAgentPayload = Payload & {
6616
6616
  errors?: Maybe<Array<MutationError>>;
6617
6617
  success: Scalars['Boolean']['output'];
6618
6618
  };
6619
+ export type AgentStudioDeleteAgentValueConfigPayload = Payload & {
6620
+ __typename?: 'AgentStudioDeleteAgentValueConfigPayload';
6621
+ errors?: Maybe<Array<MutationError>>;
6622
+ success: Scalars['Boolean']['output'];
6623
+ };
6619
6624
  export type AgentStudioDeleteBatchEvaluationJobRunPayload = Payload & {
6620
6625
  __typename?: 'AgentStudioDeleteBatchEvaluationJobRunPayload';
6621
6626
  errors?: Maybe<Array<MutationError>>;
@@ -122909,6 +122914,7 @@ export type JiraBoardView = JiraView & Node & {
122909
122914
  canScheduleIssues?: Maybe<Scalars['Boolean']['output']>;
122910
122915
  canTransitionIssues?: Maybe<Scalars['Boolean']['output']>;
122911
122916
  cardOptions?: Maybe<JiraBoardViewCardOptionConnection>;
122917
+ columnSizingConfig?: Maybe<JiraViewColumnSizingConfig>;
122912
122918
  columns?: Maybe<JiraBoardViewColumnConnection>;
122913
122919
  completedIssueSearchCutOffInDays?: Maybe<Scalars['Int']['output']>;
122914
122920
  customFilters?: Maybe<JiraSoftwareCustomFilterConnection>;
@@ -143853,6 +143859,18 @@ export type JiraSetBoardViewCardOptionStatePayload = Payload & {
143853
143859
  errors?: Maybe<Array<MutationError>>;
143854
143860
  success: Scalars['Boolean']['output'];
143855
143861
  };
143862
+ export type JiraSetBoardViewColumnSizingInput = {
143863
+ density: JiraBoardViewDensity;
143864
+ responsive: Scalars['Boolean']['input'];
143865
+ settings?: InputMaybe<JiraBoardViewSettings>;
143866
+ viewId: Scalars['ID']['input'];
143867
+ };
143868
+ export type JiraSetBoardViewColumnSizingPayload = Payload & {
143869
+ __typename?: 'JiraSetBoardViewColumnSizingPayload';
143870
+ boardView?: Maybe<JiraBoardView>;
143871
+ errors?: Maybe<Array<MutationError>>;
143872
+ success: Scalars['Boolean']['output'];
143873
+ };
143856
143874
  export type JiraSetBoardViewColumnStateInput = {
143857
143875
  collapsed: Scalars['Boolean']['input'];
143858
143876
  columnId: Scalars['ID']['input'];
@@ -148023,6 +148041,11 @@ export type JiraViewBoardIdAndItemQuery = {
148023
148041
  cloudId: Scalars['ID']['input'];
148024
148042
  itemId: Scalars['String']['input'];
148025
148043
  };
148044
+ export type JiraViewColumnSizingConfig = {
148045
+ __typename?: 'JiraViewColumnSizingConfig';
148046
+ density?: Maybe<JiraBoardViewDensity>;
148047
+ responsive?: Maybe<Scalars['Boolean']['output']>;
148048
+ };
148026
148049
  export type JiraViewFilterConfig = {
148027
148050
  __typename?: 'JiraViewFilterConfig';
148028
148051
  jql?: Maybe<Scalars['String']['output']>;
@@ -169064,6 +169087,7 @@ export type Mutation = {
169064
169087
  agentStudio_createAndRunBatchEvaluationJob?: Maybe<AgentStudioBatchEvalRunJobPayload>;
169065
169088
  agentStudio_createScenario?: Maybe<AgentStudioCreateScenarioPayload>;
169066
169089
  agentStudio_deleteAgent?: Maybe<AgentStudioDeleteAgentPayload>;
169090
+ agentStudio_deleteAgentValueConfig?: Maybe<AgentStudioDeleteAgentValueConfigPayload>;
169067
169091
  agentStudio_deleteScenario?: Maybe<AgentStudioDeleteScenarioPayload>;
169068
169092
  agentStudio_deleteWidget?: Maybe<AgentStudioDeleteWidgetPayload>;
169069
169093
  agentStudio_duplicateAgent?: Maybe<AgentStudioCreateAgentPayload>;
@@ -170099,6 +170123,7 @@ export type Mutation = {
170099
170123
  jira_setBoardIssueCardCover?: Maybe<JiraSetBoardIssueCardCoverPayload>;
170100
170124
  jira_setBoardViewCardFieldSelected?: Maybe<JiraSetBoardViewCardFieldSelectedPayload>;
170101
170125
  jira_setBoardViewCardOptionState?: Maybe<JiraSetBoardViewCardOptionStatePayload>;
170126
+ jira_setBoardViewColumnSizing?: Maybe<JiraSetBoardViewColumnSizingPayload>;
170102
170127
  jira_setBoardViewColumnState?: Maybe<JiraSetBoardViewColumnStatePayload>;
170103
170128
  jira_setBoardViewColumnsOrder?: Maybe<JiraSetBoardViewColumnsOrderPayload>;
170104
170129
  jira_setBoardViewCompletedIssueSearchCutOff?: Maybe<JiraSetBoardViewCompletedIssueSearchCutOffPayload>;
@@ -170900,6 +170925,10 @@ export type MutationAgentStudio_CreateScenarioArgs = {
170900
170925
  export type MutationAgentStudio_DeleteAgentArgs = {
170901
170926
  id: Scalars['ID']['input'];
170902
170927
  };
170928
+ export type MutationAgentStudio_DeleteAgentValueConfigArgs = {
170929
+ cloudId: Scalars['String']['input'];
170930
+ id: Scalars['ID']['input'];
170931
+ };
170903
170932
  export type MutationAgentStudio_DeleteScenarioArgs = {
170904
170933
  id: Scalars['ID']['input'];
170905
170934
  };
@@ -174506,6 +174535,9 @@ export type MutationJira_SetBoardViewCardFieldSelectedArgs = {
174506
174535
  export type MutationJira_SetBoardViewCardOptionStateArgs = {
174507
174536
  input: JiraSetBoardViewCardOptionStateInput;
174508
174537
  };
174538
+ export type MutationJira_SetBoardViewColumnSizingArgs = {
174539
+ input: JiraSetBoardViewColumnSizingInput;
174540
+ };
174509
174541
  export type MutationJira_SetBoardViewColumnStateArgs = {
174510
174542
  input: JiraSetBoardViewColumnStateInput;
174511
174543
  };
@@ -183159,7 +183191,6 @@ export type Query = {
183159
183191
  publicLinksByCriteria?: Maybe<PublicLinkConnection>;
183160
183192
  publishConditions?: Maybe<Array<Maybe<PublishConditions>>>;
183161
183193
  pushNotificationSettings?: Maybe<ConfluencePushNotificationSettings>;
183162
- queuesprioritygroups_priorityGroups?: Maybe<QueuesPriorityGroupsResults>;
183163
183194
  quickReload?: Maybe<QuickReload>;
183164
183195
  radar_aiConnectorById?: Maybe<RadarAiConnector>;
183165
183196
  radar_aiConnectors?: Maybe<RadarAiConnectorsConnection>;
@@ -205091,9 +205122,6 @@ export type QueryPublicLinksByCriteriaArgs = {
205091
205122
  export type QueryPublishConditionsArgs = {
205092
205123
  contentId: Scalars['ID']['input'];
205093
205124
  };
205094
- export type QueryQueuesprioritygroups_PriorityGroupsArgs = {
205095
- projectId: Scalars['ID']['input'];
205096
- };
205097
205125
  export type QueryQuickReloadArgs = {
205098
205126
  pageId: Scalars['Long']['input'];
205099
205127
  since: Scalars['Long']['input'];
@@ -206245,20 +206273,6 @@ export declare enum QueryType {
206245
206273
  Select = "SELECT",
206246
206274
  Update = "UPDATE"
206247
206275
  }
206248
- export type QueuesPriorityGroupsResults = {
206249
- __typename?: 'QueuesPriorityGroupsResults';
206250
- results?: Maybe<Array<Maybe<QueuesPriorityGroupsResultsGroup>>>;
206251
- };
206252
- export type QueuesPriorityGroupsResultsGroup = {
206253
- __typename?: 'QueuesPriorityGroupsResultsGroup';
206254
- category?: Maybe<Scalars['String']['output']>;
206255
- creationMethod?: Maybe<Scalars['String']['output']>;
206256
- id?: Maybe<Scalars['String']['output']>;
206257
- name?: Maybe<Scalars['String']['output']>;
206258
- projectId?: Maybe<Scalars['String']['output']>;
206259
- queueIds?: Maybe<Array<Maybe<Scalars['Int']['output']>>>;
206260
- version?: Maybe<Scalars['Int']['output']>;
206261
- };
206262
206276
  export type QuickReload = {
206263
206277
  __typename?: 'QuickReload';
206264
206278
  comments: Array<QuickReloadComment>;