@firestartr/cli 1.59.0-snapshot-3 → 1.59.0-snapshot-4

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.
Files changed (70) hide show
  1. package/build/index.js +5223 -6985
  2. package/build/packages/catalog_common/index.d.ts +0 -2
  3. package/build/packages/catalog_common/src/logger/logger.d.ts +0 -8
  4. package/build/packages/cdk8s_renderer/index.d.ts +0 -1
  5. package/build/packages/cdk8s_renderer/src/claims/base/schemas/common-meta.schema.d.ts +7 -3
  6. package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +11 -9
  7. package/build/packages/cdk8s_renderer/src/claims/github/component.schema.d.ts +1 -2
  8. package/build/packages/cdk8s_renderer/src/claims/github/group.schema.d.ts +1 -1
  9. package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +4 -6
  10. package/build/packages/cdk8s_renderer/src/claims/github/orgwebhook.schema.d.ts +1 -2
  11. package/build/packages/cdk8s_renderer/src/claims/github/user.schema.d.ts +1 -1
  12. package/build/packages/cdk8s_renderer/src/logger.d.ts +0 -2
  13. package/build/packages/cdk8s_renderer/src/renderer/import-renderer.d.ts +1 -1
  14. package/build/packages/cli/src/logger.d.ts +0 -2
  15. package/build/packages/features_preparer/src/logger.d.ts +0 -2
  16. package/build/packages/features_renderer/src/logger.d.ts +0 -2
  17. package/build/packages/github/src/logger.d.ts +0 -2
  18. package/build/packages/importer/index.d.ts +1 -1
  19. package/build/packages/importer/src/decanter/base.d.ts +1 -5
  20. package/build/packages/importer/src/decanter/index.d.ts +1 -1
  21. package/build/packages/importer/src/logger.d.ts +0 -2
  22. package/build/packages/operator/src/logger.d.ts +0 -2
  23. package/build/packages/operator/src/pr-annotation.d.ts +8 -0
  24. package/build/packages/provisioner/src/logger.d.ts +0 -2
  25. package/build/packages/scaffolder/src/logger.d.ts +0 -2
  26. package/build/packages/terraform_provisioner/index.d.ts +1 -1
  27. package/build/packages/terraform_provisioner/src/logger.d.ts +0 -2
  28. package/build/packages/terraform_provisioner/src/project_tf.d.ts +0 -5
  29. package/build/packages/terraform_provisioner/src/project_tf_remote.d.ts +0 -5
  30. package/build/packages/terraform_provisioner/src/schema.d.ts +0 -3
  31. package/build/packages/terraform_provisioner/src/utils.d.ts +0 -1
  32. package/build/packages/terraform_provisioner/src/writer_terraform.d.ts +0 -3
  33. package/package.json +1 -1
  34. package/build/packages/cdk8s_renderer/src/initializers/needs_re_import.d.ts +0 -8
  35. package/build/packages/gh_provisioner/index.d.ts +0 -5
  36. package/build/packages/gh_provisioner/src/debug.d.ts +0 -5
  37. package/build/packages/gh_provisioner/src/entities/base.d.ts +0 -51
  38. package/build/packages/gh_provisioner/src/entities/cr.d.ts +0 -14
  39. package/build/packages/gh_provisioner/src/entities/ghfeature/helpers/index.d.ts +0 -1
  40. package/build/packages/gh_provisioner/src/entities/ghfeature/helpers/managed_files.d.ts +0 -2
  41. package/build/packages/gh_provisioner/src/entities/ghfeature/index.d.ts +0 -9
  42. package/build/packages/gh_provisioner/src/entities/ghmembership/index.d.ts +0 -8
  43. package/build/packages/gh_provisioner/src/entities/ghorgwebhook/index.d.ts +0 -7
  44. package/build/packages/gh_provisioner/src/entities/ghrepo/helpers/actions_oidc.d.ts +0 -2
  45. package/build/packages/gh_provisioner/src/entities/ghrepo/helpers/codeowners.d.ts +0 -2
  46. package/build/packages/gh_provisioner/src/entities/ghrepo/helpers/default_branch.d.ts +0 -2
  47. package/build/packages/gh_provisioner/src/entities/ghrepo/helpers/index.d.ts +0 -5
  48. package/build/packages/gh_provisioner/src/entities/ghrepo/helpers/teams.d.ts +0 -2
  49. package/build/packages/gh_provisioner/src/entities/ghrepo/helpers/variables.d.ts +0 -2
  50. package/build/packages/gh_provisioner/src/entities/ghrepo/index.d.ts +0 -8
  51. package/build/packages/gh_provisioner/src/entities/ghrepo/post/additional_branches.d.ts +0 -2
  52. package/build/packages/gh_provisioner/src/entities/ghrepo/post/index.d.ts +0 -1
  53. package/build/packages/gh_provisioner/src/entities/ghrepositorysecretssection/index.d.ts +0 -10
  54. package/build/packages/gh_provisioner/src/entities/ghrepositorysecretssection/secrets.d.ts +0 -3
  55. package/build/packages/gh_provisioner/src/entities/group/index.d.ts +0 -8
  56. package/build/packages/gh_provisioner/src/entities/index.d.ts +0 -5
  57. package/build/packages/gh_provisioner/src/index.d.ts +0 -3
  58. package/build/packages/gh_provisioner/src/logger.d.ts +0 -11
  59. package/build/packages/gh_provisioner/src/providers.d.ts +0 -3
  60. package/build/packages/gh_provisioner/src/refs/index.d.ts +0 -9
  61. package/build/packages/gh_provisioner/src/refs/loader.d.ts +0 -8
  62. package/build/packages/gh_provisioner/src/refs/resolved.d.ts +0 -18
  63. package/build/packages/gh_provisioner/src/refs/resolver.d.ts +0 -10
  64. package/build/packages/gh_provisioner/src/terraform.d.ts +0 -1
  65. package/build/packages/gh_provisioner/src/tp_bridge.d.ts +0 -15
  66. package/build/packages/gh_provisioner/src/utils/index.d.ts +0 -1
  67. package/build/packages/gh_provisioner/src/utils/with_env.d.ts +0 -4
  68. package/build/packages/operator/src/gh/ownership.d.ts +0 -2
  69. package/build/packages/operator/src/gh/process-operation.d.ts +0 -8
  70. package/build/packages/terraform_provisioner/src/writer_imports.d.ts +0 -6
@@ -98,8 +98,6 @@ declare const _default: {
98
98
  debug: (...args: any) => void;
99
99
  verbose: (...args: any) => void;
100
100
  silly: (...args: any) => void;
101
- enableFileLogging: typeof import("./src/logger/logger").enableFileLogging;
102
- disableFileLogging: typeof import("./src/logger/logger").disableFileLogging;
103
101
  };
104
102
  cron: {
105
103
  validateCron: typeof validateCron;
@@ -1,9 +1,3 @@
1
- /**
2
- * Enables file logging and sets the file log level to 'silly'.
3
- * @param filename - The path to the log file (e.g., 'combined.log')
4
- */
5
- export declare function enableFileLogging(filename?: string): void;
6
- export declare function disableFileLogging(): void;
7
1
  declare const log: {
8
2
  error: (...args: any) => void;
9
3
  warn: (...args: any) => void;
@@ -11,7 +5,5 @@ declare const log: {
11
5
  debug: (...args: any) => void;
12
6
  verbose: (...args: any) => void;
13
7
  silly: (...args: any) => void;
14
- enableFileLogging: typeof enableFileLogging;
15
- disableFileLogging: typeof disableFileLogging;
16
8
  };
17
9
  export default log;
@@ -2,7 +2,6 @@ export { GlobalSection } from './src/globals/base';
2
2
  export { BranchStrategiesInitializer } from './src/initializers/branchStrategies';
3
3
  export { UUIDInitializer } from './src/initializers/uuid';
4
4
  export { ImportInitializer } from './src/initializers/import';
5
- export { NeedsReImportInitializer } from './src/initializers/needs_re_import';
6
5
  export { NameNormalizer } from './src/normalizers/name';
7
6
  export { GlobalDefault } from './src/defaults/global';
8
7
  export { InitializerDefault } from './src/defaults/initializer';
@@ -7,9 +7,7 @@ declare const _default: {
7
7
  description: string;
8
8
  properties: {
9
9
  name: {
10
- type: string;
11
- pattern: string;
12
- maxLength: number;
10
+ $ref: string;
13
11
  };
14
12
  kind: {
15
13
  type: string;
@@ -68,6 +66,12 @@ declare const _default: {
68
66
  };
69
67
  additionalProperties: boolean;
70
68
  };
69
+ ClaimName: {
70
+ $id: string;
71
+ type: string;
72
+ pattern: string;
73
+ maxLength: number;
74
+ };
71
75
  DomainReference: {
72
76
  $id: string;
73
77
  type: string;
@@ -11,9 +11,7 @@ declare const schemas: {
11
11
  description: string;
12
12
  properties: {
13
13
  name: {
14
- type: string;
15
- pattern: string;
16
- maxLength: number;
14
+ $ref: string;
17
15
  };
18
16
  kind: {
19
17
  type: string;
@@ -72,6 +70,12 @@ declare const schemas: {
72
70
  };
73
71
  additionalProperties: boolean;
74
72
  };
73
+ ClaimName: {
74
+ $id: string;
75
+ type: string;
76
+ pattern: string;
77
+ maxLength: number;
78
+ };
75
79
  DomainReference: {
76
80
  $id: string;
77
81
  type: string;
@@ -398,7 +402,7 @@ declare const schemas: {
398
402
  type: string;
399
403
  };
400
404
  org: {
401
- type: string;
405
+ $ref: string;
402
406
  };
403
407
  };
404
408
  required: string[];
@@ -427,7 +431,7 @@ declare const schemas: {
427
431
  enum: string[];
428
432
  };
429
433
  org: {
430
- type: string;
434
+ $ref: string;
431
435
  };
432
436
  };
433
437
  required: string[];
@@ -497,8 +501,7 @@ declare const schemas: {
497
501
  type: string;
498
502
  properties: {
499
503
  org: {
500
- type: string;
501
- description: string;
504
+ $ref: string;
502
505
  };
503
506
  name: {
504
507
  type: string;
@@ -563,8 +566,7 @@ declare const schemas: {
563
566
  type: string;
564
567
  properties: {
565
568
  orgName: {
566
- type: string;
567
- description: string;
569
+ $ref: string;
568
570
  };
569
571
  webhook: {
570
572
  type: string;
@@ -16,8 +16,7 @@ declare const _default: {
16
16
  type: string;
17
17
  properties: {
18
18
  org: {
19
- type: string;
20
- description: string;
19
+ $ref: string;
21
20
  };
22
21
  name: {
23
22
  type: string;
@@ -22,7 +22,7 @@ declare const _default: {
22
22
  type: string;
23
23
  };
24
24
  org: {
25
- type: string;
25
+ $ref: string;
26
26
  };
27
27
  };
28
28
  required: string[];
@@ -22,7 +22,7 @@ export declare const GithubSchemas: ({
22
22
  type: string;
23
23
  };
24
24
  org: {
25
- type: string;
25
+ $ref: string;
26
26
  };
27
27
  };
28
28
  required: string[];
@@ -51,7 +51,7 @@ export declare const GithubSchemas: ({
51
51
  enum: string[];
52
52
  };
53
53
  org: {
54
- type: string;
54
+ $ref: string;
55
55
  };
56
56
  };
57
57
  required: string[];
@@ -121,8 +121,7 @@ export declare const GithubSchemas: ({
121
121
  type: string;
122
122
  properties: {
123
123
  org: {
124
- type: string;
125
- description: string;
124
+ $ref: string;
126
125
  };
127
126
  name: {
128
127
  type: string;
@@ -187,8 +186,7 @@ export declare const GithubSchemas: ({
187
186
  type: string;
188
187
  properties: {
189
188
  orgName: {
190
- type: string;
191
- description: string;
189
+ $ref: string;
192
190
  };
193
191
  webhook: {
194
192
  type: string;
@@ -15,8 +15,7 @@ declare const _default: {
15
15
  type: string;
16
16
  properties: {
17
17
  orgName: {
18
- type: string;
19
- description: string;
18
+ $ref: string;
20
19
  };
21
20
  webhook: {
22
21
  type: string;
@@ -19,7 +19,7 @@ declare const _default: {
19
19
  enum: string[];
20
20
  };
21
21
  org: {
22
- type: string;
22
+ $ref: string;
23
23
  };
24
24
  };
25
25
  required: string[];
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -1,2 +1,2 @@
1
1
  import { RenderClaims } from './types';
2
- export declare function renderFromImports(rClaims: RenderClaims, crs?: any, catalogOutputDir?: string, crOutputDir?: string, needsReImport?: boolean): Promise<any>;
2
+ export declare function renderFromImports(rClaims: RenderClaims, crs?: any, catalogOutputDir?: string, crOutputDir?: string): Promise<any>;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("packages/catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("packages/catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -6,4 +6,4 @@ declare const _default: {
6
6
  };
7
7
  export default _default;
8
8
  import { AllowedProviders } from 'cdk8s_renderer';
9
- export declare function runImporter(force: boolean, skipPlan: boolean, claimsPath: string, crsPath: string, configPath: string, claimsDefaultsPath: string, org: string, filters: string[], provider?: AllowedProviders, needsReimport?: boolean): Promise<void>;
9
+ export declare function runImporter(force: boolean, skipPlan: boolean, claimsPath: string, crsPath: string, configPath: string, claimsDefaultsPath: string, org: string, filters: string[], provider?: AllowedProviders): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { ImportInitializer, NeedsReImportInitializer, UUIDInitializer, NameNormalizer, InitializerClaimRef, InitializerDefault } from 'cdk8s_renderer';
1
+ import { ImportInitializer, UUIDInitializer, NameNormalizer, InitializerClaimRef, InitializerDefault } from 'cdk8s_renderer';
2
2
  export default class Decanter {
3
3
  data: any;
4
4
  claimKind: string | undefined;
@@ -11,19 +11,15 @@ export default class Decanter {
11
11
  secret: any;
12
12
  };
13
13
  };
14
- _needsReImport: boolean;
15
14
  _postRenderFunctions: Function[];
16
15
  _github: any;
17
16
  set github(githubInstance: any);
18
17
  get github(): any;
19
- set needsReImport(value: boolean);
20
- get needsReImport(): boolean;
21
18
  get postRenderFunctions(): Function[];
22
19
  constructor(data: any);
23
20
  __adaptInitializerTfStateKey(): Promise<UUIDInitializer>;
24
21
  __adaptInitializerClaimRef(): Promise<InitializerClaimRef>;
25
22
  __adaptInitializerImport(): Promise<ImportInitializer>;
26
- __adaptInitializerNeedsReImport(): Promise<NeedsReImportInitializer>;
27
23
  __patchClaim(patch: any): void;
28
24
  __patchCr(cr: any, patches: any): any;
29
25
  __validateEqual(a: any, b: any): boolean;
@@ -10,7 +10,7 @@ export declare const collections: {
10
10
  };
11
11
  export declare function isInPreviousCRs(kind: string, name: string): boolean;
12
12
  export declare function setPreviousCRs(resourcesPath: string): Promise<void>;
13
- export declare function importGithubGitopsRepository(org: string, skipPlan: boolean, claimsPath: string, resourcesPath: string, configPath: string, filters: CollectionFilter[], needsReImport: boolean, force: boolean): Promise<void>;
13
+ export declare function importGithubGitopsRepository(org: string, skipPlan: boolean, claimsPath: string, resourcesPath: string, configPath: string, filters?: CollectionFilter[]): Promise<void>;
14
14
  export declare function getPreviousCrs(crsPath: string): Promise<void>;
15
15
  declare const _default: {
16
16
  importGithubGitopsRepository: typeof importGithubGitopsRepository;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -0,0 +1,8 @@
1
+ export declare const LAST_STATE_PR_ANNOTATION = "firestartr.dev/last-state-pr";
2
+ export type PrAnnotationInfo = {
3
+ annotationValue: string;
4
+ owner: string;
5
+ repo: string;
6
+ prNumber: number;
7
+ };
8
+ export declare function getPrInfoFromAnnotation(item: any, annotation?: string): PrAnnotationInfo | null;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -1,4 +1,4 @@
1
1
  export { TFProjectManager } from './src';
2
2
  export declare function validateContext(context: any): void;
3
3
  export declare function run(): Promise<void>;
4
- export declare function runTerraformProvisioner(context: any, command?: string, streaming?: any, customArgs?: any): Promise<any>;
4
+ export declare function runTerraformProvisioner(context: any, command?: string, streaming?: any): Promise<any>;
@@ -5,7 +5,5 @@ declare const _default: {
5
5
  debug: (...args: any) => void;
6
6
  verbose: (...args: any) => void;
7
7
  silly: (...args: any) => void;
8
- enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
9
- disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
10
8
  };
11
9
  export default _default;
@@ -13,8 +13,6 @@ export declare class TFProjectManager {
13
13
  projectPath: string;
14
14
  tfOutput: any;
15
15
  stream: PassThrough;
16
- customArgs: any[];
17
- onImport: boolean;
18
16
  constructor(ctx: any);
19
17
  setStreamCallbacks(fnData: Function, fnEnd: (...args: any[]) => void, reopen?: boolean): void;
20
18
  getOutput(): any;
@@ -25,9 +23,6 @@ export declare class TFProjectManager {
25
23
  plan(format: 'human' | 'json'): Promise<void>;
26
24
  planDestroy(format: 'human' | 'json'): Promise<void>;
27
25
  apply(): Promise<void>;
28
- customCommand(): Promise<void>;
29
- customImport(): Promise<void>;
30
- destroyStateOnly(): Promise<void>;
31
26
  destroy(): Promise<void>;
32
27
  output(): Promise<unknown>;
33
28
  }
@@ -14,8 +14,6 @@ export declare class TFProjectManagerRemote {
14
14
  projectPath: string;
15
15
  tfOutput: any;
16
16
  stream: PassThrough;
17
- customArgs: any[];
18
- onImport: boolean;
19
17
  constructor(ctx: any);
20
18
  getOutput(): any;
21
19
  setStreamCallbacks(fnData: Function, fnEnd: (...args: any[]) => void, reopen?: boolean): void;
@@ -26,9 +24,6 @@ export declare class TFProjectManagerRemote {
26
24
  validate(): Promise<void>;
27
25
  plan(format: 'human' | 'json'): Promise<void>;
28
26
  apply(): Promise<void>;
29
- customCommand(): Promise<void>;
30
- customImport(): Promise<void>;
31
- destroyStateOnly(): Promise<void>;
32
27
  destroy(): Promise<void>;
33
28
  planDestroy(format: 'human' | 'json'): Promise<void>;
34
29
  output(): Promise<unknown>;
@@ -57,9 +57,6 @@ declare const _default: {
57
57
  tfStateKey: {
58
58
  type: string;
59
59
  };
60
- tfStatePath: {
61
- type: string;
62
- };
63
60
  projectPath: {
64
61
  type: string;
65
62
  };
@@ -5,7 +5,6 @@ export declare function init(path: string, secrets: any[], stream?: PassThrough)
5
5
  export declare function initFromModule(path: string, source: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
6
6
  export declare function plan(path: string, secrets: any[], format: 'human' | 'json', args?: string[], stream?: PassThrough): Promise<any>;
7
7
  export declare function apply(path: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
8
- export declare function customCommand(path: string, secrets: any[], args: any[], stream?: PassThrough): Promise<unknown>;
9
8
  export declare function destroy(path: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
10
9
  export declare function output(path: string, secrets: any[]): Promise<unknown>;
11
10
  export declare function tfExec(path: string, args: Array<string>, secrets: any[], extraArgs?: string[], stream?: PassThrough): Promise<unknown>;
@@ -4,10 +4,7 @@ export declare class WriterTerraform extends Writer {
4
4
  writeRequiredProvidersBlock: boolean;
5
5
  backend: any;
6
6
  tfStateKey: string;
7
- _tfStatePath: string;
8
7
  constructor(requiredProviders: Array<any>, backend: any, tfStateKey: string, writeRequiredProvidersBlock?: boolean);
9
- set tfStatePath(tfStatePath: string);
10
- get tfStatePath(): string;
11
8
  render(renderType?: string): Promise<string>;
12
9
  _renderJson(): Promise<void>;
13
10
  _render(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.59.0-snapshot-3",
3
+ "version": "1.59.0-snapshot-4",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",
@@ -1,8 +0,0 @@
1
- import { InitializerPatches } from './base';
2
- import { ICustomResourcePatch } from '../patches';
3
- export declare class NeedsReImportInitializer extends InitializerPatches {
4
- protected static applicableKinds: string[];
5
- applicableProviders: string[];
6
- __validate(): Promise<boolean>;
7
- __patches(_claim: any, _previousCR: any): Promise<ICustomResourcePatch[]>;
8
- }
@@ -1,5 +0,0 @@
1
- export declare function runGhProvisioner(data: any, opts: any): Promise<any>;
2
- declare const _default: {
3
- runGhProvisioner: typeof runGhProvisioner;
4
- };
5
- export default _default;
@@ -1,5 +0,0 @@
1
- import { Entity } from './entities';
2
- import { Dependencies } from './refs';
3
- export declare function initDebug(entity: Entity, deps: Dependencies): Promise<void>;
4
- export declare function getTFProjectPath(entity: Entity): string;
5
- export declare function endDebug(entity: Entity): Promise<void>;
@@ -1,51 +0,0 @@
1
- import { EntityCR } from './cr';
2
- import type { RefResolver } from '../refs';
3
- declare enum PatchOperations {
4
- add = "add",
5
- replace = "replace",
6
- remove = "remove"
7
- }
8
- type PatchData = {
9
- path: string;
10
- op: PatchOperations;
11
- value?: any;
12
- };
13
- export { PatchOperations, PatchData };
14
- export declare abstract class Entity {
15
- static refResolver: RefResolver;
16
- static setRefResolver(refResolver: RefResolver): void;
17
- _cr: EntityCR;
18
- _document: any;
19
- _importDocument: any;
20
- _deps: any;
21
- _streamGHProvisioner: any;
22
- _streamTFProvisioner: any;
23
- constructor(artifact: any, document?: any);
24
- abstract loadResources(tfOp: string): Promise<void>;
25
- abstract postProvision(tfOp: string): Promise<void>;
26
- abstract loadAddressesToImport(): Promise<void>;
27
- patchData(patch: PatchData): void;
28
- patchImportData(patch: PatchData): void;
29
- set deps(deps: any);
30
- get deps(): any;
31
- set streamGHProvisioner(logStreamCallbacksGHProvisioner: any);
32
- get streamGHProvisioner(): any;
33
- set streamTFProvisioner(logStreamCallbacksTF: any);
34
- get streamTFProvisioner(): any;
35
- synthMessage(msg: string): void;
36
- synthEnd(msg: string): void;
37
- synthError(msg: string): void;
38
- prepareToLoad(tfOp: string): Promise<void>;
39
- get document(): any;
40
- get importDocument(): any;
41
- get k8sId(): string;
42
- get cr(): EntityCR;
43
- get tfStateKey(): any;
44
- get inDebugMode(): boolean;
45
- get terraformModule(): any;
46
- get terraformModuleAsURL(): string;
47
- get backend(): any;
48
- get provider(): any;
49
- runWithGithubProvider(fn: Function): Promise<unknown>;
50
- get githubGithubProviderCredentials(): {};
51
- }
@@ -1,14 +0,0 @@
1
- export declare class EntityCR {
2
- kind: string;
3
- apiVersion: string;
4
- metadata: any;
5
- spec: any;
6
- rawCr: any;
7
- fResolveSelfOutputs: Function;
8
- constructor(cr: any, resolveSelfOutputs: Function);
9
- get name(): any;
10
- get slug(): any;
11
- get externalName(): any;
12
- get id(): any;
13
- get annotations(): any;
14
- }
@@ -1 +0,0 @@
1
- export { provisionManagedFiles } from './managed_files';
@@ -1,2 +0,0 @@
1
- import { EntityGHFeature } from '../';
2
- export declare function provisionManagedFiles(ghFeature: EntityGHFeature): Promise<void>;
@@ -1,9 +0,0 @@
1
- import { Entity } from '../base';
2
- export declare class EntityGHFeature extends Entity {
3
- constructor(artifact: any);
4
- loadResources(tfOp: string): Promise<void>;
5
- postProvision(tfOp: string): Promise<void>;
6
- loadAddressesToImport(): Promise<void>;
7
- keepUntrackedFiles(tfOp: string): Promise<void>;
8
- getFileContentFromProvider(org: string, url: string): Promise<string>;
9
- }
@@ -1,8 +0,0 @@
1
- import { Entity } from '../base';
2
- export declare class EntityGHMembership extends Entity {
3
- constructor(artifact: any);
4
- loadResources(tfOp: string): Promise<void>;
5
- postProvision(tfOp: string): Promise<void>;
6
- loadAddressesToImport(): Promise<void>;
7
- provisionAllGroupMembershipRelation(): void;
8
- }
@@ -1,7 +0,0 @@
1
- import { Entity } from '../base';
2
- export declare class EntityGHOrgWebHook extends Entity {
3
- constructor(artifact: any);
4
- loadResources(tfOp: string): Promise<void>;
5
- postProvision(tfOp: string): Promise<void>;
6
- loadAddressesToImport(): Promise<void>;
7
- }
@@ -1,2 +0,0 @@
1
- import { EntityGHRepo } from '../';
2
- export declare function provisionOIDCSubjectClaim(fsGithubRepository: EntityGHRepo): void;
@@ -1,2 +0,0 @@
1
- import { EntityGHRepo } from '../';
2
- export declare function provisionCodeowners(fsGithubRepository: EntityGHRepo): Promise<void>;
@@ -1,2 +0,0 @@
1
- import { EntityGHRepo } from '../';
2
- export declare function provisionDefaultBranch(fsGithubRepository: EntityGHRepo): void;
@@ -1,5 +0,0 @@
1
- export { provisionDefaultBranch } from './default_branch';
2
- export { provisionCodeowners } from './codeowners';
3
- export { provisionVariables } from './variables';
4
- export { provisionOIDCSubjectClaim } from './actions_oidc';
5
- export { provisionPermissions } from './teams';
@@ -1,2 +0,0 @@
1
- import { EntityGHRepo } from '../';
2
- export declare function provisionPermissions(fsGithubRepository: EntityGHRepo): void;
@@ -1,2 +0,0 @@
1
- import { EntityGHRepo } from '../';
2
- export declare function provisionVariables(fsGithubRepository: EntityGHRepo): Promise<void>;
@@ -1,8 +0,0 @@
1
- import { Entity } from '../base';
2
- export declare class EntityGHRepo extends Entity {
3
- constructor(artifact: any);
4
- loadResources(tfOp: string): Promise<void>;
5
- postProvision(tfOp: string): Promise<void>;
6
- loadAddressesToImport(): Promise<void>;
7
- provisionRepository(): Promise<void>;
8
- }
@@ -1,2 +0,0 @@
1
- import { EntityGHRepo } from '../';
2
- export declare function provisionAdditionalBranches(ghrepo: EntityGHRepo): Promise<void>;
@@ -1 +0,0 @@
1
- export { provisionAdditionalBranches } from './additional_branches';
@@ -1,10 +0,0 @@
1
- import { Entity } from '../base';
2
- export declare class EntityGHRepositorySecretsSection extends Entity {
3
- constructor(artifact: any);
4
- loadResources(tfOp: string): Promise<void>;
5
- postProvision(): Promise<void>;
6
- loadAddressesToImport(): Promise<void>;
7
- actionsSecret(): (data: any) => void;
8
- codespacesSecret(): (data: any) => void;
9
- dependabotSecret(): (data: any) => void;
10
- }
@@ -1,3 +0,0 @@
1
- import { EntityGHRepositorySecretsSection } from '.';
2
- import { ResolvedRef } from '../../refs';
3
- export declare function provisionRepositorySecrets(grss: EntityGHRepositorySecretsSection, repo: ResolvedRef): Promise<void>;