@firestartr/cli 2.7.0-snapshot-9 → 2.7.0-snapshot-10

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/build/index.js CHANGED
@@ -286844,6 +286844,17 @@ function toJson_FirestartrGithubRepositorySpecPagesSource(obj) {
286844
286844
  // filter undefined values
286845
286845
  return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {});
286846
286846
  }
286847
+ /* eslint-enable max-len, @stylistic/max-len, quote-props, @stylistic/quote-props */
286848
+ /**
286849
+ * @schema FirestartrGithubRepositorySpecPagesBuildType
286850
+ */
286851
+ var FirestartrGithubRepositorySpecPagesBuildType;
286852
+ (function (FirestartrGithubRepositorySpecPagesBuildType) {
286853
+ /** workflow */
286854
+ FirestartrGithubRepositorySpecPagesBuildType["WORKFLOW"] = "workflow";
286855
+ /** legacy */
286856
+ FirestartrGithubRepositorySpecPagesBuildType["LEGACY"] = "legacy";
286857
+ })(FirestartrGithubRepositorySpecPagesBuildType || (FirestartrGithubRepositorySpecPagesBuildType = {}));
286847
286858
  /**
286848
286859
  * Converts an object of type 'FirestartrGithubRepositorySpecPermissionsRef' to JSON representation.
286849
286860
  */
@@ -300860,7 +300871,7 @@ class EntityGHRepo extends base_Entity {
300860
300871
  provisionPages() {
300861
300872
  if (this.cr.spec.pages) {
300862
300873
  const source = this.cr.spec.pages.source ?? {};
300863
- const buildType = this.cr.spec.pages.buildType || 'legacy';
300874
+ const buildType = this.cr.spec.pages.buildType ?? 'legacy';
300864
300875
  this.patchData({
300865
300876
  path: '/config/pages',
300866
300877
  op: PatchOperations.add,
@@ -303579,7 +303590,7 @@ const crs_analyzerSubcommand = {
303579
303590
  };
303580
303591
 
303581
303592
  ;// CONCATENATED MODULE: ./package.json
303582
- const package_namespaceObject = JSON.parse('{"i8":"2.7.0-snapshot-9"}');
303593
+ const package_namespaceObject = JSON.parse('{"i8":"2.7.0-snapshot-10"}');
303583
303594
  ;// CONCATENATED MODULE: ../../package.json
303584
303595
  const package_namespaceObject_1 = {"i8":"2.6.4"};
303585
303596
  ;// CONCATENATED MODULE: ./src/subcommands/index.ts
@@ -1450,7 +1450,7 @@ export interface FirestartrGithubRepositorySpecPages {
1450
1450
  /**
1451
1451
  * @schema FirestartrGithubRepositorySpecPages#buildType
1452
1452
  */
1453
- readonly buildType?: string;
1453
+ readonly buildType?: FirestartrGithubRepositorySpecPagesBuildType;
1454
1454
  }
1455
1455
  /**
1456
1456
  * Converts an object of type 'FirestartrGithubRepositorySpecPages' to JSON representation.
@@ -1684,6 +1684,15 @@ export interface FirestartrGithubRepositorySpecPagesSource {
1684
1684
  * Converts an object of type 'FirestartrGithubRepositorySpecPagesSource' to JSON representation.
1685
1685
  */
1686
1686
  export declare function toJson_FirestartrGithubRepositorySpecPagesSource(obj: FirestartrGithubRepositorySpecPagesSource | undefined): Record<string, any> | undefined;
1687
+ /**
1688
+ * @schema FirestartrGithubRepositorySpecPagesBuildType
1689
+ */
1690
+ export declare enum FirestartrGithubRepositorySpecPagesBuildType {
1691
+ /** workflow */
1692
+ WORKFLOW = "workflow",
1693
+ /** legacy */
1694
+ LEGACY = "legacy"
1695
+ }
1687
1696
  /**
1688
1697
  * @schema FirestartrGithubRepositorySpecPermissionsRef
1689
1698
  */
@@ -1,5 +1,5 @@
1
1
  import { BranchStrategy } from 'catalog_common';
2
- import { FirestartrGithubRepositorySpecRepoVisibility } from '../../../imports/firestartr.dev';
2
+ import { FirestartrGithubRepositorySpecPagesBuildType, FirestartrGithubRepositorySpecRepoVisibility } from '../../../imports/firestartr.dev';
3
3
  import { IClaimInstalledFeature } from '../base';
4
4
  import { IComponentClaim } from '../base/component';
5
5
  export interface IGithubRepositoryClaim extends IComponentClaim {
@@ -49,12 +49,12 @@ interface IComponentClaimActions {
49
49
  };
50
50
  }
51
51
  interface IRepositoryPage {
52
- cname: string;
53
- source: {
52
+ cname?: string;
53
+ source?: {
54
54
  branch: string;
55
55
  path: string;
56
56
  };
57
- buildType?: string;
57
+ buildType?: FirestartrGithubRepositorySpecPagesBuildType;
58
58
  }
59
59
  interface IComponentClaimLabel {
60
60
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "2.7.0-snapshot-9",
3
+ "version": "2.7.0-snapshot-10",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",