@firestartr/cli 2.2.0-snapshot-0 → 2.2.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 (73) hide show
  1. package/build/{594.index.js → 202.index.js} +3 -3
  2. package/build/318.index.js +35 -0
  3. package/build/346.index.js +57 -0
  4. package/build/539.index.js +58 -0
  5. package/build/55.index.js +58 -0
  6. package/build/{540.index.js → 697.index.js} +5 -5
  7. package/build/709.index.js +25 -0
  8. package/build/{647.index.js → 87.index.js} +5 -5
  9. package/build/{351.index.js → 902.index.js} +3 -3
  10. package/build/{857.index.js → 915.index.js} +5 -5
  11. package/build/index.js +132201 -203618
  12. package/build/packages/github/src/branches.d.ts +100 -34
  13. package/build/packages/github/src/repository.d.ts +62 -17
  14. package/build/packages/github/src/team.d.ts +6 -0
  15. package/package.json +1 -2
  16. package/build/packages/cli/src/subcommands/provisioner-subcommands.d.ts +0 -2
  17. package/build/packages/operator/cdktf.d.ts +0 -8
  18. package/build/packages/operator/src/cdktf/ownership.d.ts +0 -3
  19. package/build/packages/provisioner/index.d.ts +0 -16
  20. package/build/packages/provisioner/init.d.ts +0 -5
  21. package/build/packages/provisioner/src/cdktf.d.ts +0 -3
  22. package/build/packages/provisioner/src/config/config.d.ts +0 -6
  23. package/build/packages/provisioner/src/entities/base/Entity.d.ts +0 -48
  24. package/build/packages/provisioner/src/entities/base/auxiliars/ConfigAux.d.ts +0 -28
  25. package/build/packages/provisioner/src/entities/feature/FirestartrGithubRepositoryFeature.d.ts +0 -8
  26. package/build/packages/provisioner/src/entities/firestartrgithubgroup/FirestartrGithubGroup.d.ts +0 -8
  27. package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamMembersHelper.d.ts +0 -4
  28. package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamsHelper.d.ts +0 -4
  29. package/build/packages/provisioner/src/entities/firestartrgithubmembership/FirestartrGithubMembership.d.ts +0 -8
  30. package/build/packages/provisioner/src/entities/firestartrgithubmembership/helpers/MembershipAllGroupHelper.d.ts +0 -4
  31. package/build/packages/provisioner/src/entities/firestartrgithubmembership/helpers/MembershipHelper.d.ts +0 -4
  32. package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/FirestartrGithubOrgWebhook.d.ts +0 -8
  33. package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/helpers/OrgWebhookHelper.d.ts +0 -4
  34. package/build/packages/provisioner/src/entities/firestartrgithubrepository/FirestartrGithubRepository.d.ts +0 -9
  35. package/build/packages/provisioner/src/entities/firestartrgithubrepository/auxiliars/RepositoryConfigAux.d.ts +0 -52
  36. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/ActionsHelper.d.ts +0 -5
  37. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/CodeownersHelper.d.ts +0 -5
  38. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/DefaultBranchHelper.d.ts +0 -5
  39. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryHelper.d.ts +0 -5
  40. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryTeamsHelper.d.ts +0 -4
  41. package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryVariable.d.ts +0 -4
  42. package/build/packages/provisioner/src/entities/firestartrgithubrepositorysecretssection/FirestartrGithubRepositorySecretsSection.d.ts +0 -9
  43. package/build/packages/provisioner/src/entities/firestartrgithubrepositorysecretssection/helpers/RepositorySecret.d.ts +0 -3
  44. package/build/packages/provisioner/src/entities/firestartrterraformmodule/FirestartrTerraformModule.d.ts +0 -10
  45. package/build/packages/provisioner/src/entities/firestartrterraformmodule/auxiliars/terraformModuleHelper.d.ts +0 -13
  46. package/build/packages/provisioner/src/entities/index.d.ts +0 -2
  47. package/build/packages/provisioner/src/features/index.d.ts +0 -4
  48. package/build/packages/provisioner/src/features/installer.d.ts +0 -1
  49. package/build/packages/provisioner/src/features/preparer.d.ts +0 -1
  50. package/build/packages/provisioner/src/features/provisioner.d.ts +0 -3
  51. package/build/packages/provisioner/src/features/uninstaller.d.ts +0 -1
  52. package/build/packages/provisioner/src/handlers/index.d.ts +0 -3
  53. package/build/packages/provisioner/src/loader.d.ts +0 -2
  54. package/build/packages/provisioner/src/logger.d.ts +0 -11
  55. package/build/packages/provisioner/src/providers/backend.d.ts +0 -6
  56. package/build/packages/provisioner/src/providers/index.d.ts +0 -12
  57. package/build/packages/provisioner/src/providers/provider.d.ts +0 -4
  58. package/build/packages/provisioner/src/resources/github_feature/index.d.ts +0 -8
  59. package/build/packages/provisioner/src/resources/github_group/index.d.ts +0 -5
  60. package/build/packages/provisioner/src/resources/github_membership/index.d.ts +0 -5
  61. package/build/packages/provisioner/src/resources/github_orgWebhook/index.d.ts +0 -5
  62. package/build/packages/provisioner/src/resources/github_repository/helpers/AdditionalBranchesHelper.d.ts +0 -1
  63. package/build/packages/provisioner/src/resources/github_repository/index.d.ts +0 -6
  64. package/build/packages/provisioner/src/resources/github_repository_secrets_section/index.d.ts +0 -5
  65. package/build/packages/provisioner/src/resources/index.d.ts +0 -17
  66. package/build/packages/provisioner/src/resources/resource.d.ts +0 -28
  67. package/build/packages/provisioner/src/resources/terraform_module/index.d.ts +0 -5
  68. package/build/packages/provisioner/src/stacks/GithubStack.d.ts +0 -6
  69. package/build/packages/provisioner/src/stacks/TerraformModuleStack.d.ts +0 -7
  70. package/build/packages/provisioner/src/stacks/base.d.ts +0 -17
  71. package/build/packages/provisioner/src/stacks/index.d.ts +0 -6
  72. package/build/packages/provisioner/src/terraform.d.ts +0 -7
  73. package/build/provisioner/cdktf.json +0 -11
@@ -70,6 +70,9 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
70
70
  html_url: string;
71
71
  members_url: string;
72
72
  repositories_url: string;
73
+ type: "enterprise" | "organization";
74
+ organization_id?: number;
75
+ enterprise_id?: number;
73
76
  parent: {
74
77
  id: number;
75
78
  node_id: string;
@@ -84,6 +87,9 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
84
87
  repositories_url: string;
85
88
  slug: string;
86
89
  ldap_dn?: string;
90
+ type: "enterprise" | "organization";
91
+ organization_id?: number;
92
+ enterprise_id?: number;
87
93
  };
88
94
  }[];
89
95
  apps?: {
@@ -142,9 +148,6 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
142
148
  };
143
149
  events: string[];
144
150
  installations_count?: number;
145
- client_secret?: string;
146
- webhook_secret?: string;
147
- pem?: string;
148
151
  }[];
149
152
  url?: string;
150
153
  users_url?: string;
@@ -195,6 +198,9 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
195
198
  html_url: string;
196
199
  members_url: string;
197
200
  repositories_url: string;
201
+ type: "enterprise" | "organization";
202
+ organization_id?: number;
203
+ enterprise_id?: number;
198
204
  parent: {
199
205
  id: number;
200
206
  node_id: string;
@@ -209,6 +215,9 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
209
215
  repositories_url: string;
210
216
  slug: string;
211
217
  ldap_dn?: string;
218
+ type: "enterprise" | "organization";
219
+ organization_id?: number;
220
+ enterprise_id?: number;
212
221
  };
213
222
  }[];
214
223
  apps?: {
@@ -267,9 +276,6 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
267
276
  };
268
277
  events: string[];
269
278
  installations_count?: number;
270
- client_secret?: string;
271
- webhook_secret?: string;
272
- pem?: string;
273
279
  }[];
274
280
  };
275
281
  dismiss_stale_reviews: boolean;
@@ -304,19 +310,46 @@ export declare function listBranches(repo: string, owner?: string): Promise<{
304
310
  user_view_type?: string;
305
311
  }[];
306
312
  teams: {
307
- id?: number;
308
- node_id?: string;
309
- url?: string;
310
- html_url?: string;
311
- name?: string;
312
- slug?: string;
313
- description?: string;
313
+ id: number;
314
+ node_id: string;
315
+ name: string;
316
+ slug: string;
317
+ description: string;
314
318
  privacy?: string;
315
319
  notification_setting?: string;
316
- permission?: string;
317
- members_url?: string;
318
- repositories_url?: string;
319
- parent?: string;
320
+ permission: string;
321
+ permissions?: {
322
+ pull: boolean;
323
+ triage: boolean;
324
+ push: boolean;
325
+ maintain: boolean;
326
+ admin: boolean;
327
+ };
328
+ url: string;
329
+ html_url: string;
330
+ members_url: string;
331
+ repositories_url: string;
332
+ type: "enterprise" | "organization";
333
+ organization_id?: number;
334
+ enterprise_id?: number;
335
+ parent: {
336
+ id: number;
337
+ node_id: string;
338
+ url: string;
339
+ members_url: string;
340
+ name: string;
341
+ description: string;
342
+ permission: string;
343
+ privacy?: string;
344
+ notification_setting?: string;
345
+ html_url: string;
346
+ repositories_url: string;
347
+ slug: string;
348
+ ldap_dn?: string;
349
+ type: "enterprise" | "organization";
350
+ organization_id?: number;
351
+ enterprise_id?: number;
352
+ };
320
353
  }[];
321
354
  apps: {
322
355
  id?: number;
@@ -570,6 +603,9 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
570
603
  html_url: string;
571
604
  members_url: string;
572
605
  repositories_url: string;
606
+ type: "enterprise" | "organization";
607
+ organization_id?: number;
608
+ enterprise_id?: number;
573
609
  parent: {
574
610
  id: number;
575
611
  node_id: string;
@@ -584,6 +620,9 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
584
620
  repositories_url: string;
585
621
  slug: string;
586
622
  ldap_dn?: string;
623
+ type: "enterprise" | "organization";
624
+ organization_id?: number;
625
+ enterprise_id?: number;
587
626
  };
588
627
  }[];
589
628
  apps?: {
@@ -642,9 +681,6 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
642
681
  };
643
682
  events: string[];
644
683
  installations_count?: number;
645
- client_secret?: string;
646
- webhook_secret?: string;
647
- pem?: string;
648
684
  }[];
649
685
  url?: string;
650
686
  users_url?: string;
@@ -695,6 +731,9 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
695
731
  html_url: string;
696
732
  members_url: string;
697
733
  repositories_url: string;
734
+ type: "enterprise" | "organization";
735
+ organization_id?: number;
736
+ enterprise_id?: number;
698
737
  parent: {
699
738
  id: number;
700
739
  node_id: string;
@@ -709,6 +748,9 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
709
748
  repositories_url: string;
710
749
  slug: string;
711
750
  ldap_dn?: string;
751
+ type: "enterprise" | "organization";
752
+ organization_id?: number;
753
+ enterprise_id?: number;
712
754
  };
713
755
  }[];
714
756
  apps?: {
@@ -767,9 +809,6 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
767
809
  };
768
810
  events: string[];
769
811
  installations_count?: number;
770
- client_secret?: string;
771
- webhook_secret?: string;
772
- pem?: string;
773
812
  }[];
774
813
  };
775
814
  dismiss_stale_reviews: boolean;
@@ -804,19 +843,46 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
804
843
  user_view_type?: string;
805
844
  }[];
806
845
  teams: {
807
- id?: number;
808
- node_id?: string;
809
- url?: string;
810
- html_url?: string;
811
- name?: string;
812
- slug?: string;
813
- description?: string;
846
+ id: number;
847
+ node_id: string;
848
+ name: string;
849
+ slug: string;
850
+ description: string;
814
851
  privacy?: string;
815
852
  notification_setting?: string;
816
- permission?: string;
817
- members_url?: string;
818
- repositories_url?: string;
819
- parent?: string;
853
+ permission: string;
854
+ permissions?: {
855
+ pull: boolean;
856
+ triage: boolean;
857
+ push: boolean;
858
+ maintain: boolean;
859
+ admin: boolean;
860
+ };
861
+ url: string;
862
+ html_url: string;
863
+ members_url: string;
864
+ repositories_url: string;
865
+ type: "enterprise" | "organization";
866
+ organization_id?: number;
867
+ enterprise_id?: number;
868
+ parent: {
869
+ id: number;
870
+ node_id: string;
871
+ url: string;
872
+ members_url: string;
873
+ name: string;
874
+ description: string;
875
+ permission: string;
876
+ privacy?: string;
877
+ notification_setting?: string;
878
+ html_url: string;
879
+ repositories_url: string;
880
+ slug: string;
881
+ ldap_dn?: string;
882
+ type: "enterprise" | "organization";
883
+ organization_id?: number;
884
+ enterprise_id?: number;
885
+ };
820
886
  }[];
821
887
  apps: {
822
888
  id?: number;
@@ -15,8 +15,10 @@ export declare function listReleases(repo: string, owner?: string): Promise<{
15
15
  body?: string;
16
16
  draft: boolean;
17
17
  prerelease: boolean;
18
+ immutable?: boolean;
18
19
  created_at: string;
19
20
  published_at: string;
21
+ updated_at?: string;
20
22
  author: {
21
23
  name?: string;
22
24
  email?: string;
@@ -51,6 +53,7 @@ export declare function listReleases(repo: string, owner?: string): Promise<{
51
53
  state: "open" | "uploaded";
52
54
  content_type: string;
53
55
  size: number;
56
+ digest: string;
54
57
  download_count: number;
55
58
  created_at: string;
56
59
  updated_at: string;
@@ -111,8 +114,10 @@ export declare function getReleaseByTag(releaseTag: string, repo: string, owner?
111
114
  body?: string;
112
115
  draft: boolean;
113
116
  prerelease: boolean;
117
+ immutable?: boolean;
114
118
  created_at: string;
115
119
  published_at: string;
120
+ updated_at?: string;
116
121
  author: {
117
122
  name?: string;
118
123
  email?: string;
@@ -147,6 +152,7 @@ export declare function getReleaseByTag(releaseTag: string, repo: string, owner?
147
152
  state: "open" | "uploaded";
148
153
  content_type: string;
149
154
  size: number;
155
+ digest: string;
150
156
  download_count: number;
151
157
  created_at: string;
152
158
  updated_at: string;
@@ -882,6 +888,9 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
882
888
  html_url: string;
883
889
  members_url: string;
884
890
  repositories_url: string;
891
+ type: "enterprise" | "organization";
892
+ organization_id?: number;
893
+ enterprise_id?: number;
885
894
  parent: {
886
895
  id: number;
887
896
  node_id: string;
@@ -896,6 +905,9 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
896
905
  repositories_url: string;
897
906
  slug: string;
898
907
  ldap_dn?: string;
908
+ type: "enterprise" | "organization";
909
+ organization_id?: number;
910
+ enterprise_id?: number;
899
911
  };
900
912
  }[];
901
913
  apps?: {
@@ -954,9 +966,6 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
954
966
  };
955
967
  events: string[];
956
968
  installations_count?: number;
957
- client_secret?: string;
958
- webhook_secret?: string;
959
- pem?: string;
960
969
  }[];
961
970
  url?: string;
962
971
  users_url?: string;
@@ -1007,6 +1016,9 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
1007
1016
  html_url: string;
1008
1017
  members_url: string;
1009
1018
  repositories_url: string;
1019
+ type: "enterprise" | "organization";
1020
+ organization_id?: number;
1021
+ enterprise_id?: number;
1010
1022
  parent: {
1011
1023
  id: number;
1012
1024
  node_id: string;
@@ -1021,6 +1033,9 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
1021
1033
  repositories_url: string;
1022
1034
  slug: string;
1023
1035
  ldap_dn?: string;
1036
+ type: "enterprise" | "organization";
1037
+ organization_id?: number;
1038
+ enterprise_id?: number;
1024
1039
  };
1025
1040
  }[];
1026
1041
  apps?: {
@@ -1079,9 +1094,6 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
1079
1094
  };
1080
1095
  events: string[];
1081
1096
  installations_count?: number;
1082
- client_secret?: string;
1083
- webhook_secret?: string;
1084
- pem?: string;
1085
1097
  }[];
1086
1098
  };
1087
1099
  dismiss_stale_reviews: boolean;
@@ -1116,19 +1128,46 @@ export declare function getBranchProtection(owner: string, repo: string, branch?
1116
1128
  user_view_type?: string;
1117
1129
  }[];
1118
1130
  teams: {
1119
- id?: number;
1120
- node_id?: string;
1121
- url?: string;
1122
- html_url?: string;
1123
- name?: string;
1124
- slug?: string;
1125
- description?: string;
1131
+ id: number;
1132
+ node_id: string;
1133
+ name: string;
1134
+ slug: string;
1135
+ description: string;
1126
1136
  privacy?: string;
1127
1137
  notification_setting?: string;
1128
- permission?: string;
1129
- members_url?: string;
1130
- repositories_url?: string;
1131
- parent?: string;
1138
+ permission: string;
1139
+ permissions?: {
1140
+ pull: boolean;
1141
+ triage: boolean;
1142
+ push: boolean;
1143
+ maintain: boolean;
1144
+ admin: boolean;
1145
+ };
1146
+ url: string;
1147
+ html_url: string;
1148
+ members_url: string;
1149
+ repositories_url: string;
1150
+ type: "enterprise" | "organization";
1151
+ organization_id?: number;
1152
+ enterprise_id?: number;
1153
+ parent: {
1154
+ id: number;
1155
+ node_id: string;
1156
+ url: string;
1157
+ members_url: string;
1158
+ name: string;
1159
+ description: string;
1160
+ permission: string;
1161
+ privacy?: string;
1162
+ notification_setting?: string;
1163
+ html_url: string;
1164
+ repositories_url: string;
1165
+ slug: string;
1166
+ ldap_dn?: string;
1167
+ type: "enterprise" | "organization";
1168
+ organization_id?: number;
1169
+ enterprise_id?: number;
1170
+ };
1132
1171
  }[];
1133
1172
  apps: {
1134
1173
  id?: number;
@@ -1224,6 +1263,9 @@ export declare function getTeams(owner: string, repo: string): Promise<{
1224
1263
  html_url: string;
1225
1264
  members_url: string;
1226
1265
  repositories_url: string;
1266
+ type: "enterprise" | "organization";
1267
+ organization_id?: number;
1268
+ enterprise_id?: number;
1227
1269
  parent: {
1228
1270
  id: number;
1229
1271
  node_id: string;
@@ -1238,6 +1280,9 @@ export declare function getTeams(owner: string, repo: string): Promise<{
1238
1280
  repositories_url: string;
1239
1281
  slug: string;
1240
1282
  ldap_dn?: string;
1283
+ type: "enterprise" | "organization";
1284
+ organization_id?: number;
1285
+ enterprise_id?: number;
1241
1286
  };
1242
1287
  }[]>;
1243
1288
  export declare function getCollaborators(owner: string, repo: string, affiliation?: 'outside' | 'direct' | 'all' | undefined): Promise<{
@@ -49,6 +49,9 @@ export declare function getTeamInfo(team: string, org: string): Promise<{
49
49
  repositories_url: string;
50
50
  slug: string;
51
51
  ldap_dn?: string;
52
+ type: "enterprise" | "organization";
53
+ organization_id?: number;
54
+ enterprise_id?: number;
52
55
  };
53
56
  members_count: number;
54
57
  repos_count: number;
@@ -112,6 +115,9 @@ export declare function getTeamInfo(team: string, org: string): Promise<{
112
115
  archived_at: string;
113
116
  };
114
117
  ldap_dn?: string;
118
+ type: "enterprise" | "organization";
119
+ organization_id?: number;
120
+ enterprise_id?: number;
115
121
  }>;
116
122
  export declare function getTeamRoleUser(org: string, team: string, username: string): Promise<{
117
123
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "2.2.0-snapshot-0",
3
+ "version": "2.2.0",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",
@@ -30,7 +30,6 @@
30
30
  "crs_analyzer": "file:../crs_analyzer",
31
31
  "importer": "file:../importer",
32
32
  "operator": "file:../operator",
33
- "provisioner": "file:../provisioner",
34
33
  "scaffolder": "file:../scaffolder"
35
34
  },
36
35
  "engines": {
@@ -1,2 +0,0 @@
1
- import { Subcommand } from '../types';
2
- export declare const provisionerSubcommands: Subcommand;
@@ -1,8 +0,0 @@
1
- import { OperationType } from './src/informer';
2
- export declare function processOperation(item: any, op: OperationType, handler: any): AsyncGenerator<{
3
- item: any;
4
- reason: OperationType;
5
- type: string;
6
- status: string;
7
- message: string;
8
- }, void, unknown>;
@@ -1,3 +0,0 @@
1
- import { OperationType } from '../informer';
2
- export declare function manageOwnershipReferences(item: any, handler: any, op: OperationType): Promise<void>;
3
- export declare function manageOwnershipReferencesPostDeletion(item: any, handler: any, op: OperationType): Promise<void>;
@@ -1,16 +0,0 @@
1
- import { App } from 'cdktf';
2
- import { runCDKTF } from './src/cdktf';
3
- import { untrackManagedFiles } from './src/features';
4
- import { getActionByStatus, getNextStatus } from './src/handlers';
5
- import { runTerraform } from './src/terraform';
6
- import { runProvisioner } from './init';
7
- export declare function deploy(app: App): Promise<void>;
8
- declare const _default: {
9
- runCDKTF: typeof runCDKTF;
10
- runTerraform: typeof runTerraform;
11
- getActionByStatus: typeof getActionByStatus;
12
- getNextStatus: typeof getNextStatus;
13
- untrackManagedFiles: typeof untrackManagedFiles;
14
- runProvisioner: typeof runProvisioner;
15
- };
16
- export default _default;
@@ -1,5 +0,0 @@
1
- import { Resource } from './src/resources/resource';
2
- export declare function runProvisioner(data: {
3
- mainCr: any;
4
- deps: any;
5
- }, opts: any): Promise<Resource>;
@@ -1,3 +0,0 @@
1
- /// <reference types="node" />
2
- import { PassThrough } from 'stream';
3
- export declare function runCDKTF(entityPath: any, action: string, depsPath?: any, stream?: PassThrough): Promise<unknown>;
@@ -1,6 +0,0 @@
1
- /**
2
- * @description Check if the account has one of the plans in the input
3
- * @param plans
4
- * @returns boolean
5
- */
6
- export declare function orgHasOneOfThesePlans(org: string, plans: string[]): Promise<boolean>;
@@ -1,48 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { TerraformModule, TerraformResource } from 'cdktf';
3
- declare class Metadata {
4
- _metadata: any;
5
- _resolveOutputs: Function;
6
- constructor(metadata: any, resolveOutputs: Function);
7
- get name(): any;
8
- get slug(): any;
9
- get annotations(): any;
10
- get labels(): any;
11
- get id(): any;
12
- }
13
- export declare abstract class Entity {
14
- kind: string;
15
- apiVersion: string;
16
- spec: any;
17
- metadata: Metadata;
18
- deps?: any;
19
- mainResource?: TerraformResource | TerraformModule;
20
- importStack: {
21
- key: string;
22
- resource: TerraformResource;
23
- }[];
24
- constructor(artifact: any, deps?: any);
25
- getTfStateKey(): string;
26
- protected isUUID(uuid: string): boolean;
27
- resolveRef(ref: {
28
- kind: string;
29
- name: string;
30
- needsSecret: boolean;
31
- }, propertyRef?: string): any;
32
- resolveSecretRef(ref: {
33
- name: string;
34
- key: string;
35
- }): any;
36
- resolveOutputs(scope: Construct): void;
37
- getKeysFrom(resource: TerraformResource): string[];
38
- abstract loadResources({ scope }: {
39
- scope: Construct;
40
- }): Promise<void>;
41
- provision({ scope }: {
42
- scope: Construct;
43
- }): Promise<void>;
44
- importResources(): void;
45
- addResourceToStack(resourceKey: string, resource: TerraformResource): void;
46
- camelToSnake(camelCaseString: string): string;
47
- }
48
- export {};
@@ -1,28 +0,0 @@
1
- export declare class ConfigAux {
2
- trackableProperties: string[];
3
- constructor({ trackableProperties }: {
4
- trackableProperties: string[];
5
- });
6
- /**
7
- * @returns Array of properties that are tracked by Terraform
8
- * @description This method returns an array of properties that are tracked by Terraform
9
- */
10
- getTrackeableProperties: () => string[];
11
- /**
12
- * @returns Array of properties that are not tracked by Terraform
13
- * @description This method returns an array of properties that are not tracked by Terraform, it will be included in the lifecycle.ignoreChanges
14
- * @see https://www.terraform.io/docs/language/meta-arguments/lifecycle.html
15
- */
16
- getUntrackedProperties(): string[];
17
- /**
18
- * @returns Array of terraform related properties
19
- * @description This method returns an array of terraform related properties
20
- */
21
- discriminateSpecialProperties(): string[];
22
- /**
23
- *
24
- * @param camelCaseStrings Array of strings in camelCase format
25
- * @returns
26
- */
27
- toSnakeCase(camelCaseStrings: string[]): string[];
28
- }
@@ -1,8 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { Entity } from '../base/Entity';
3
- export declare class FirestartrGithubRepositoryFeature extends Entity {
4
- constructor(artifact: any, deps: any);
5
- loadResources(data: {
6
- scope: Construct;
7
- }): Promise<void>;
8
- }
@@ -1,8 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { Entity } from '../base/Entity';
3
- export declare class FirestartrGithubGroup extends Entity {
4
- constructor(artifact: any, deps: any);
5
- loadResources(data: {
6
- scope: Construct;
7
- }): Promise<void>;
8
- }
@@ -1,4 +0,0 @@
1
- import { Team } from '@cdktf/provider-github/lib/team';
2
- import { Construct } from 'constructs';
3
- import { FirestartrGithubGroup } from '../FirestartrGithubGroup';
4
- export declare function provisionMembers(scope: Construct, team: Team, fsGithubGroup: FirestartrGithubGroup): void;
@@ -1,4 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { Team } from '@cdktf/provider-github/lib/team';
3
- import { FirestartrGithubGroup } from '../FirestartrGithubGroup';
4
- export declare function provisionGroup(scope: Construct, fsGithubGroup: FirestartrGithubGroup): Team;
@@ -1,8 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { Entity } from '../base/Entity';
3
- export declare class FirestartrGithubMembership extends Entity {
4
- constructor(entity: any);
5
- loadResources(data: {
6
- scope: Construct;
7
- }): Promise<void>;
8
- }
@@ -1,4 +0,0 @@
1
- import { FirestartrGithubMembership } from '../FirestartrGithubMembership';
2
- import { Construct } from 'constructs';
3
- import { TeamMembership } from '@cdktf/provider-github/lib/team-membership';
4
- export declare function provisionAllGroupMembershipRelation(scope: Construct, fsGithubMembership: FirestartrGithubMembership): TeamMembership;
@@ -1,4 +0,0 @@
1
- import { FirestartrGithubMembership } from '../FirestartrGithubMembership';
2
- import { Construct } from 'constructs';
3
- import { Membership } from '@cdktf/provider-github/lib/membership';
4
- export declare function provisionMembership(scope: Construct, fsGithubMembership: FirestartrGithubMembership): Membership;
@@ -1,8 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { Entity } from '../base/Entity';
3
- export declare class FirestartrGithubOrgWebhook extends Entity {
4
- constructor(entity: any, deps: any);
5
- loadResources(data: {
6
- scope: Construct;
7
- }): Promise<void>;
8
- }
@@ -1,4 +0,0 @@
1
- import { FirestartrGithubOrgWebhook } from '../FirestartrGithubOrgWebhook';
2
- import { Construct } from 'constructs';
3
- import { OrganizationWebhook } from '@cdktf/provider-github/lib/organization-webhook';
4
- export declare function provisionOrgWebhook(scope: Construct, fsGithubOrgWebhook: FirestartrGithubOrgWebhook): OrganizationWebhook;
@@ -1,9 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import { Entity } from '../base/Entity';
3
- export declare class FirestartrGithubRepository extends Entity {
4
- constructor(artifact: any, deps: any);
5
- loadResources(data: {
6
- scope: Construct;
7
- }): Promise<void>;
8
- orgHasOneOfThesePlans(org: string, plans: string[]): Promise<boolean>;
9
- }