@forge/cli-shared 8.0.1-next.6 → 8.1.0-next.7-experimental-effab31

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,41 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 8.1.0-next.7-experimental-effab31
4
+
5
+ ### Minor Changes
6
+
7
+ - effab31: Bumped cheerio from 0.22 to 1.1
8
+ - 620aea7: Added support for Dashboards context for app creation
9
+
10
+ ### Patch Changes
11
+
12
+ - 25a3da2: Update attribution header
13
+ - 195411c: patch dependencies
14
+ - Updated dependencies [effab31]
15
+ - Updated dependencies [5d07fbf]
16
+ - Updated dependencies [4b15e26]
17
+ - Updated dependencies [634d7b9]
18
+ - Updated dependencies [b9574d4]
19
+ - Updated dependencies [195411c]
20
+ - Updated dependencies [d97a252]
21
+ - Updated dependencies [1479d2d]
22
+ - Updated dependencies [ca7e661]
23
+ - Updated dependencies [5ab2c49]
24
+ - @forge/manifest@10.0.1-next.7-experimental-effab31
25
+ - @forge/i18n@0.0.7-next.0-experimental-effab31
26
+ - @forge/util@1.4.10-next.0-experimental-effab31
27
+
28
+ ## 8.1.0-next.7
29
+
30
+ ### Minor Changes
31
+
32
+ - 620aea7: Added support for Dashboards context for app creation
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [634d7b9]
37
+ - @forge/manifest@10.0.1-next.7
38
+
3
39
  ## 8.0.1-next.6
4
40
 
5
41
  ### Patch Changes
@@ -23,6 +23,6 @@ export declare class CreateAppCommand {
23
23
  constructor(templater: Templater, registerAppCommand: RegisterAppCommand, packageInstaller: PackageInstaller, statsig: StatsigService);
24
24
  execute({ name, description, template, directory, requiredProduct }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
25
25
  getAvailableTemplates(): Promise<string[]>;
26
- filterAvailableProducts<T extends string>(products: T[], teamworkGraph: T, crossContext: T): Promise<T[]>;
26
+ filterAvailableProducts<T extends string>(products: T[], teamworkGraph: T, crossContext: T, dashboards: T): Promise<T[]>;
27
27
  }
28
28
  //# sourceMappingURL=create-an-app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-an-app.d.ts","sourceRoot":"","sources":["../../src/apps/create-an-app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,gBAAiB,SAAQ,KAAK;;CAI1C;AAED,oBAAY,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,SAAS,EAAE;QACT,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAHP,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,cAAc;IAG7B,OAAO,CAAC,EACnB,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,SAAS,EACT,eAAe,EAChB,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAa7C,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAS1C,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACnD,QA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EACnD,QAAQ,EAAE,CAAC,EAAE,EACb,aAAa,EAAE,CAAC,EAChB,YAAY,EAAE,CAAC,EACf,UAAU,EAAE,CAAC,GACZ,OAAO,CAAC,CAAC,EAAE,CAAC;CAkBhB"}
@@ -38,15 +38,18 @@ class CreateAppCommand {
38
38
  }
39
39
  return availableTemplates;
40
40
  }
41
- async filterAvailableProducts(products, teamworkGraph, crossContext) {
41
+ async filterAvailableProducts(products, teamworkGraph, crossContext, dashboards) {
42
42
  const useTeamworkGraph = await this.statsig.isTeamworkGraphProductSupported();
43
43
  const useCrossProduct = await this.statsig.enableCrossProductAppInstallation();
44
+ const useDashboards = await this.statsig.isDashboardsContextSupported();
44
45
  return products.filter((product) => {
45
46
  switch (product) {
46
47
  case teamworkGraph:
47
48
  return useTeamworkGraph;
48
49
  case crossContext:
49
50
  return useCrossProduct;
51
+ case dashboards:
52
+ return useDashboards;
50
53
  default:
51
54
  return true;
52
55
  }