@firestartr/cli 1.59.3 → 1.60.0

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 (32) hide show
  1. package/build/index.js +623 -78
  2. package/build/packages/catalog_common/index.d.ts +3 -0
  3. package/build/packages/catalog_common/src/tokenizer/index.d.ts +27 -0
  4. package/build/packages/cdk8s_renderer/src/claims/base/schemas/argodeploy.schema.d.ts +1 -0
  5. package/build/packages/cdk8s_renderer/src/claims/base/schemas/common-meta.schema.d.ts +46 -0
  6. package/build/packages/cdk8s_renderer/src/claims/base/schemas/component.schema.d.ts +1 -0
  7. package/build/packages/cdk8s_renderer/src/claims/base/schemas/group.schema.d.ts +1 -0
  8. package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +237 -0
  9. package/build/packages/cdk8s_renderer/src/claims/base/schemas/orgwebhook.schema.d.ts +1 -0
  10. package/build/packages/cdk8s_renderer/src/claims/base/schemas/secrets.schema.d.ts +1 -0
  11. package/build/packages/cdk8s_renderer/src/claims/base/schemas/tfworkspace.schema.d.ts +1 -0
  12. package/build/packages/cdk8s_renderer/src/claims/base/schemas/user.schema.d.ts +1 -0
  13. package/build/packages/cdk8s_renderer/src/claims/external-secrets/external-secrets.schema.d.ts +12 -0
  14. package/build/packages/cdk8s_renderer/src/claims/external-secrets/index.d.ts +12 -0
  15. package/build/packages/cdk8s_renderer/src/claims/github/component.schema.d.ts +136 -0
  16. package/build/packages/cdk8s_renderer/src/claims/github/group.schema.d.ts +11 -0
  17. package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +167 -0
  18. package/build/packages/cdk8s_renderer/src/claims/github/orgwebhook.schema.d.ts +9 -0
  19. package/build/packages/cdk8s_renderer/src/claims/github/user.schema.d.ts +11 -0
  20. package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/index.d.ts +5 -0
  21. package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/terraform.schema.d.ts +5 -0
  22. package/build/packages/importer/src/decanter/gh/github_repo.d.ts +2 -0
  23. package/build/packages/importer/src/utils/codeowner.d.ts +5 -0
  24. package/build/packages/importer/src/utils/nomicon.d.ts +1 -0
  25. package/build/packages/operator/src/definitions.d.ts +1 -0
  26. package/build/packages/operator/src/informer.d.ts +1 -0
  27. package/build/packages/terraform_provisioner/index.d.ts +2 -1
  28. package/build/packages/terraform_provisioner/src/process_handler.d.ts +7 -0
  29. package/build/packages/terraform_provisioner/src/project_tf.d.ts +5 -1
  30. package/build/packages/terraform_provisioner/src/project_tf_remote.d.ts +4 -0
  31. package/build/packages/terraform_provisioner/src/utils.d.ts +5 -4
  32. package/package.json +1 -1
@@ -99,6 +99,9 @@ declare const _default: {
99
99
  verbose: (...args: any) => void;
100
100
  silly: (...args: any) => void;
101
101
  };
102
+ tokenizer: {
103
+ SimpleTokenizer: typeof import("./src/tokenizer").SimpleTokenizer;
104
+ };
102
105
  cron: {
103
106
  validateCron: typeof validateCron;
104
107
  isValidCron: typeof isValidCron;
@@ -0,0 +1,27 @@
1
+ export interface Token {
2
+ type: 'text' | 'match';
3
+ value: string;
4
+ index: number;
5
+ groups?: string[];
6
+ }
7
+ export declare class SimpleTokenizer {
8
+ private regex;
9
+ /**
10
+ * Pass the regex here (it automatically makes it global so it finds ALL matches)
11
+ */
12
+ constructor(regex: RegExp);
13
+ /**
14
+ * Turn the whole string into a list of tokens:
15
+ * - 'text' = normal text between matches
16
+ * - 'match' = whatever your regex found
17
+ */
18
+ tokenize(input: string): Token[];
19
+ /**
20
+ * Replace only the matched tokens by calling the function.
21
+ */
22
+ replace(input: string, replacer: (token: Token) => string): string;
23
+ }
24
+ declare const _default: {
25
+ SimpleTokenizer: typeof SimpleTokenizer;
26
+ };
27
+ export default _default;
@@ -27,6 +27,7 @@ declare const _default: {
27
27
  $ref: string;
28
28
  };
29
29
  };
30
+ additionalProperties: boolean;
30
31
  required: string[];
31
32
  };
32
33
  };
@@ -117,6 +117,52 @@ declare const _default: {
117
117
  };
118
118
  additionalProperties: boolean;
119
119
  };
120
+ GithubRules: {
121
+ $id: string;
122
+ type: string;
123
+ properties: {
124
+ path: {
125
+ type: string;
126
+ };
127
+ owners: {
128
+ type: string;
129
+ items: {
130
+ $ref: string;
131
+ };
132
+ };
133
+ };
134
+ required: string[];
135
+ additionalProperties: boolean;
136
+ };
137
+ GithubSync: {
138
+ $id: string;
139
+ type: string;
140
+ properties: {
141
+ enabled: {
142
+ type: string;
143
+ };
144
+ period: {
145
+ type: string;
146
+ pattern: string;
147
+ };
148
+ policy: {
149
+ type: string;
150
+ };
151
+ schedule: {
152
+ type: string;
153
+ };
154
+ schedule_timezone: {
155
+ type: string;
156
+ };
157
+ };
158
+ additionalProperties: boolean;
159
+ required: string[];
160
+ };
161
+ TfStateKey: {
162
+ $id: string;
163
+ type: string;
164
+ pattern: string;
165
+ };
120
166
  };
121
167
  };
122
168
  export default _default;
@@ -40,6 +40,7 @@ declare const _default: {
40
40
  $ref: string;
41
41
  };
42
42
  };
43
+ additionalProperties: boolean;
43
44
  };
44
45
  };
45
46
  required: string[];
@@ -36,6 +36,7 @@ declare const _default: {
36
36
  $ref: string;
37
37
  };
38
38
  };
39
+ additionalProperties: boolean;
39
40
  };
40
41
  };
41
42
  $ref?: undefined;
@@ -121,6 +121,52 @@ declare const schemas: {
121
121
  };
122
122
  additionalProperties: boolean;
123
123
  };
124
+ GithubRules: {
125
+ $id: string;
126
+ type: string;
127
+ properties: {
128
+ path: {
129
+ type: string;
130
+ };
131
+ owners: {
132
+ type: string;
133
+ items: {
134
+ $ref: string;
135
+ };
136
+ };
137
+ };
138
+ required: string[];
139
+ additionalProperties: boolean;
140
+ };
141
+ GithubSync: {
142
+ $id: string;
143
+ type: string;
144
+ properties: {
145
+ enabled: {
146
+ type: string;
147
+ };
148
+ period: {
149
+ type: string;
150
+ pattern: string;
151
+ };
152
+ policy: {
153
+ type: string;
154
+ };
155
+ schedule: {
156
+ type: string;
157
+ };
158
+ schedule_timezone: {
159
+ type: string;
160
+ };
161
+ };
162
+ additionalProperties: boolean;
163
+ required: string[];
164
+ };
165
+ TfStateKey: {
166
+ $id: string;
167
+ type: string;
168
+ pattern: string;
169
+ };
124
170
  };
125
171
  } | {
126
172
  $schema: string;
@@ -160,6 +206,7 @@ declare const schemas: {
160
206
  $ref: string;
161
207
  };
162
208
  };
209
+ additionalProperties: boolean;
163
210
  };
164
211
  };
165
212
  $ref?: undefined;
@@ -189,6 +236,7 @@ declare const schemas: {
189
236
  $ref: string;
190
237
  };
191
238
  };
239
+ additionalProperties: boolean;
192
240
  };
193
241
  };
194
242
  $ref?: undefined;
@@ -237,6 +285,7 @@ declare const schemas: {
237
285
  $ref: string;
238
286
  };
239
287
  };
288
+ additionalProperties: boolean;
240
289
  };
241
290
  };
242
291
  required: string[];
@@ -334,6 +383,7 @@ declare const schemas: {
334
383
  $ref: string;
335
384
  };
336
385
  };
386
+ additionalProperties: boolean;
337
387
  required: string[];
338
388
  };
339
389
  };
@@ -371,6 +421,7 @@ declare const schemas: {
371
421
  $ref: string;
372
422
  };
373
423
  };
424
+ additionalProperties: boolean;
374
425
  required: string[];
375
426
  };
376
427
  };
@@ -390,10 +441,20 @@ declare const schemas: {
390
441
  $ref: string;
391
442
  type?: undefined;
392
443
  properties?: undefined;
444
+ additionalProperties?: undefined;
393
445
  required?: undefined;
394
446
  } | {
395
447
  type: string;
396
448
  properties: {
449
+ name: {
450
+ type: string;
451
+ };
452
+ tfStateKey: {
453
+ $ref: string;
454
+ };
455
+ sync: {
456
+ $ref: string;
457
+ };
397
458
  privacy: {
398
459
  type: string;
399
460
  enum: string[];
@@ -405,6 +466,7 @@ declare const schemas: {
405
466
  $ref: string;
406
467
  };
407
468
  };
469
+ additionalProperties: boolean;
408
470
  required: string[];
409
471
  $ref?: undefined;
410
472
  })[];
@@ -422,10 +484,20 @@ declare const schemas: {
422
484
  $ref: string;
423
485
  type?: undefined;
424
486
  properties?: undefined;
487
+ additionalProperties?: undefined;
425
488
  required?: undefined;
426
489
  } | {
427
490
  type: string;
428
491
  properties: {
492
+ name: {
493
+ type: string;
494
+ };
495
+ tfStateKey: {
496
+ $ref: string;
497
+ };
498
+ sync: {
499
+ $ref: string;
500
+ };
429
501
  role: {
430
502
  type: string;
431
503
  enum: string[];
@@ -434,6 +506,7 @@ declare const schemas: {
434
506
  $ref: string;
435
507
  };
436
508
  };
509
+ additionalProperties: boolean;
437
510
  required: string[];
438
511
  $ref?: undefined;
439
512
  })[];
@@ -496,6 +569,7 @@ declare const schemas: {
496
569
  $ref: string;
497
570
  type?: undefined;
498
571
  properties?: undefined;
572
+ additionalProperties?: undefined;
499
573
  required?: undefined;
500
574
  } | {
501
575
  type: string;
@@ -507,14 +581,143 @@ declare const schemas: {
507
581
  type: string;
508
582
  description: string;
509
583
  };
584
+ tfStateKey: {
585
+ $ref: string;
586
+ };
510
587
  orgPermissions: {
511
588
  type: string;
512
589
  description: string;
513
590
  };
591
+ sync: {
592
+ $ref: string;
593
+ };
594
+ technology: {
595
+ type: string;
596
+ properties: {
597
+ stack: {
598
+ type: string;
599
+ };
600
+ version: {
601
+ type: string;
602
+ };
603
+ };
604
+ additionalProperties: boolean;
605
+ required: string[];
606
+ };
607
+ defaultBranch: {
608
+ type: string;
609
+ };
610
+ branchStrategy: {
611
+ type: string;
612
+ description: string;
613
+ properties: {
614
+ name: {
615
+ type: string;
616
+ };
617
+ defaultBranch: {
618
+ type: string;
619
+ };
620
+ };
621
+ additionalProperties: boolean;
622
+ required: string[];
623
+ };
624
+ additionalBranches: {
625
+ type: string;
626
+ items: {
627
+ type: string;
628
+ properties: {
629
+ name: {
630
+ type: string;
631
+ };
632
+ orphan: {
633
+ type: string;
634
+ };
635
+ };
636
+ additionalProperties: boolean;
637
+ required: string[];
638
+ };
639
+ };
640
+ actions: {
641
+ type: string;
642
+ description: string;
643
+ properties: {
644
+ oidc: {
645
+ type: string;
646
+ properties: {
647
+ useDefault: {
648
+ type: string;
649
+ };
650
+ includeClaimKeys: {
651
+ type: string;
652
+ items: {
653
+ type: string;
654
+ };
655
+ };
656
+ };
657
+ additionalProperties: boolean;
658
+ };
659
+ };
660
+ additionalProperties: boolean;
661
+ required: string[];
662
+ };
514
663
  archiveOnDestroy: {
515
664
  type: string;
516
665
  description: string;
517
666
  };
667
+ allowMergeCommit: {
668
+ type: string;
669
+ };
670
+ allowSquashMerge: {
671
+ type: string;
672
+ };
673
+ allowRebaseMerge: {
674
+ type: string;
675
+ };
676
+ allowAutoMerge: {
677
+ type: string;
678
+ };
679
+ deleteBranchOnMerge: {
680
+ type: string;
681
+ };
682
+ autoInit: {
683
+ type: string;
684
+ };
685
+ allowUpdateBranch: {
686
+ type: string;
687
+ };
688
+ hasIssues: {
689
+ type: string;
690
+ };
691
+ hasWiki: {
692
+ type: string;
693
+ };
694
+ pages: {
695
+ type: string;
696
+ properties: {
697
+ cname: {
698
+ type: string;
699
+ };
700
+ source: {
701
+ type: string;
702
+ properties: {
703
+ branch: {
704
+ type: string;
705
+ };
706
+ path: {
707
+ type: string;
708
+ };
709
+ };
710
+ additionalProperties: boolean;
711
+ };
712
+ };
713
+ additionalProperties: boolean;
714
+ };
715
+ additionalRules: {
716
+ type: string;
717
+ items: {
718
+ $ref: string;
719
+ };
720
+ };
518
721
  visibility: {
519
722
  type: string;
520
723
  enum: string[];
@@ -543,7 +746,13 @@ declare const schemas: {
543
746
  pattern: string;
544
747
  };
545
748
  };
749
+ overrides: {
750
+ type: string;
751
+ properties: {};
752
+ additionalProperties: boolean;
753
+ };
546
754
  };
755
+ additionalProperties: boolean;
547
756
  required: string[];
548
757
  $ref?: undefined;
549
758
  })[];
@@ -561,10 +770,17 @@ declare const schemas: {
561
770
  $ref: string;
562
771
  type?: undefined;
563
772
  properties?: undefined;
773
+ additionalProperties?: undefined;
564
774
  required?: undefined;
565
775
  } | {
566
776
  type: string;
567
777
  properties: {
778
+ name: {
779
+ type: string;
780
+ };
781
+ tfStateKey: {
782
+ $ref: string;
783
+ };
568
784
  orgName: {
569
785
  $ref: string;
570
786
  };
@@ -595,9 +811,11 @@ declare const schemas: {
595
811
  };
596
812
  };
597
813
  };
814
+ additionalProperties: boolean;
598
815
  required: string[];
599
816
  };
600
817
  };
818
+ additionalProperties: boolean;
601
819
  required: string[];
602
820
  $ref?: undefined;
603
821
  })[];
@@ -716,6 +934,7 @@ declare const schemas: {
716
934
  $ref: string;
717
935
  type?: undefined;
718
936
  properties?: undefined;
937
+ additionalProperties?: undefined;
719
938
  required?: undefined;
720
939
  } | {
721
940
  type: string;
@@ -727,6 +946,9 @@ declare const schemas: {
727
946
  name: {
728
947
  type: string;
729
948
  };
949
+ tfStateKey: {
950
+ $ref: string;
951
+ };
730
952
  source: {
731
953
  type: string;
732
954
  enum: string[];
@@ -809,6 +1031,7 @@ declare const schemas: {
809
1031
  additionalProperties: boolean;
810
1032
  };
811
1033
  };
1034
+ additionalProperties: boolean;
812
1035
  required: string[];
813
1036
  $ref?: undefined;
814
1037
  })[];
@@ -930,6 +1153,7 @@ declare const schemas: {
930
1153
  enum: string[];
931
1154
  };
932
1155
  };
1156
+ additionalProperties: boolean;
933
1157
  required: string[];
934
1158
  };
935
1159
  ExternalSecretsSection: {
@@ -977,6 +1201,15 @@ declare const schemas: {
977
1201
  refreshInterval: {
978
1202
  type: string;
979
1203
  };
1204
+ updatePolicy: {
1205
+ type: string;
1206
+ };
1207
+ deletionPolicy: {
1208
+ type: string;
1209
+ };
1210
+ conversionStrategy: {
1211
+ type: string;
1212
+ };
980
1213
  generator: {
981
1214
  type: string;
982
1215
  properties: {
@@ -997,9 +1230,11 @@ declare const schemas: {
997
1230
  type: string;
998
1231
  };
999
1232
  };
1233
+ additionalProperties: boolean;
1000
1234
  required: string[];
1001
1235
  };
1002
1236
  };
1237
+ additionalProperties: boolean;
1003
1238
  required: string[];
1004
1239
  };
1005
1240
  };
@@ -1064,6 +1299,7 @@ declare const schemas: {
1064
1299
  $ref: string;
1065
1300
  };
1066
1301
  };
1302
+ additionalProperties: boolean;
1067
1303
  required: string[];
1068
1304
  };
1069
1305
  };
@@ -1102,6 +1338,7 @@ declare const schemas: {
1102
1338
  $ref: string;
1103
1339
  };
1104
1340
  };
1341
+ additionalProperties: boolean;
1105
1342
  };
1106
1343
  };
1107
1344
  required: string[];
@@ -28,6 +28,7 @@ declare const _default: {
28
28
  $ref: string;
29
29
  };
30
30
  };
31
+ additionalProperties: boolean;
31
32
  };
32
33
  };
33
34
  required: string[];
@@ -28,6 +28,7 @@ declare const _default: {
28
28
  $ref: string;
29
29
  };
30
30
  };
31
+ additionalProperties: boolean;
31
32
  required: string[];
32
33
  };
33
34
  };
@@ -30,6 +30,7 @@ declare const _default: {
30
30
  $ref: string;
31
31
  };
32
32
  };
33
+ additionalProperties: boolean;
33
34
  required: string[];
34
35
  };
35
36
  };
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  $ref: string;
22
22
  };
23
23
  };
24
+ additionalProperties: boolean;
24
25
  };
25
26
  };
26
27
  $ref?: undefined;
@@ -14,6 +14,7 @@ declare const _default: {
14
14
  enum: string[];
15
15
  };
16
16
  };
17
+ additionalProperties: boolean;
17
18
  required: string[];
18
19
  };
19
20
  ExternalSecretsSection: {
@@ -61,6 +62,15 @@ declare const _default: {
61
62
  refreshInterval: {
62
63
  type: string;
63
64
  };
65
+ updatePolicy: {
66
+ type: string;
67
+ };
68
+ deletionPolicy: {
69
+ type: string;
70
+ };
71
+ conversionStrategy: {
72
+ type: string;
73
+ };
64
74
  generator: {
65
75
  type: string;
66
76
  properties: {
@@ -81,9 +91,11 @@ declare const _default: {
81
91
  type: string;
82
92
  };
83
93
  };
94
+ additionalProperties: boolean;
84
95
  required: string[];
85
96
  };
86
97
  };
98
+ additionalProperties: boolean;
87
99
  required: string[];
88
100
  };
89
101
  };
@@ -14,6 +14,7 @@ export declare const SecretsSchemas: {
14
14
  enum: string[];
15
15
  };
16
16
  };
17
+ additionalProperties: boolean;
17
18
  required: string[];
18
19
  };
19
20
  ExternalSecretsSection: {
@@ -61,6 +62,15 @@ export declare const SecretsSchemas: {
61
62
  refreshInterval: {
62
63
  type: string;
63
64
  };
65
+ updatePolicy: {
66
+ type: string;
67
+ };
68
+ deletionPolicy: {
69
+ type: string;
70
+ };
71
+ conversionStrategy: {
72
+ type: string;
73
+ };
64
74
  generator: {
65
75
  type: string;
66
76
  properties: {
@@ -81,9 +91,11 @@ export declare const SecretsSchemas: {
81
91
  type: string;
82
92
  };
83
93
  };
94
+ additionalProperties: boolean;
84
95
  required: string[];
85
96
  };
86
97
  };
98
+ additionalProperties: boolean;
87
99
  required: string[];
88
100
  };
89
101
  };