github-settings-as-code 2.1.2 → 3.0.1
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/README.md +21 -15
- package/dist/cmd/repo-settings.d.mts.map +1 -1
- package/dist/cmd/repo-settings.mjs +30 -29
- package/dist/cmd/repo-settings.mjs.map +1 -1
- package/dist/github/actions-settings/api/get-actions-settings.d.mts.map +1 -1
- package/dist/github/actions-settings/api/get-actions-settings.mjs +0 -1
- package/dist/github/actions-settings/api/get-actions-settings.mjs.map +1 -1
- package/dist/github/actions-settings/apply.d.mts +1 -1
- package/dist/github/actions-settings/apply.d.mts.map +1 -1
- package/dist/github/actions-settings/apply.mjs +3 -3
- package/dist/github/actions-settings/apply.mjs.map +1 -1
- package/dist/github/actions-settings/constants.d.mts +87 -1
- package/dist/github/actions-settings/constants.d.mts.map +1 -1
- package/dist/github/actions-settings/constants.mjs +1 -1
- package/dist/github/constants.d.mts.map +1 -1
- package/dist/github/constants.mjs +7 -5
- package/dist/github/constants.mjs.map +1 -1
- package/dist/github/pages/api/get-pages-settings.d.mts.map +1 -1
- package/dist/github/pages/api/get-pages-settings.mjs +0 -1
- package/dist/github/pages/api/get-pages-settings.mjs.map +1 -1
- package/dist/github/pages/apply.d.mts +1 -1
- package/dist/github/pages/apply.mjs +3 -3
- package/dist/github/pages/apply.mjs.map +1 -1
- package/dist/github/pages/constants.d.mts +21 -1
- package/dist/github/pages/constants.d.mts.map +1 -1
- package/dist/github/pages/constants.mjs +1 -1
- package/dist/github/repository/api/get-repository.mjs +2 -2
- package/dist/github/repository/api/get-repository.mjs.map +1 -1
- package/dist/github/repository/api/update-repository.d.mts +1 -1
- package/dist/github/repository/api/update-repository.d.mts.map +1 -1
- package/dist/github/repository/api/update-repository.mjs +5 -2
- package/dist/github/repository/api/update-repository.mjs.map +1 -1
- package/dist/github/repository/apply.mjs +2 -2
- package/dist/github/repository/apply.mjs.map +1 -1
- package/dist/github/repository/constants.d.mts +176 -0
- package/dist/github/repository/constants.d.mts.map +1 -1
- package/dist/github/ruleset/api/get-all-rulesets.mjs +2 -2
- package/dist/github/ruleset/api/get-all-rulesets.mjs.map +1 -1
- package/dist/github/ruleset/api/get-ruleset.mjs +2 -2
- package/dist/github/ruleset/api/get-ruleset.mjs.map +1 -1
- package/dist/github/ruleset/constants.d.mts +88 -8
- package/dist/github/ruleset/constants.d.mts.map +1 -1
- package/dist/github/variables/apply.d.mts.map +1 -1
- package/dist/github/variables/apply.mjs +1 -0
- package/dist/github/variables/apply.mjs.map +1 -1
- package/package.json +22 -27
- package/src/cmd/repo-settings.mts +37 -36
- package/src/github/actions-settings/api/get-actions-settings.mts +0 -1
- package/src/github/actions-settings/apply.mts +3 -3
- package/src/github/actions-settings/constants.mts +1 -1
- package/src/github/constants.mts +10 -5
- package/src/github/pages/api/get-pages-settings.mts +0 -1
- package/src/github/pages/apply.mts +3 -3
- package/src/github/pages/constants.mts +1 -1
- package/src/github/repository/api/get-repository.mts +2 -2
- package/src/github/repository/api/update-repository.mts +6 -1
- package/src/github/repository/apply.mts +2 -2
- package/src/github/ruleset/api/get-all-rulesets.mts +2 -2
- package/src/github/ruleset/api/get-ruleset.mts +2 -2
- package/src/github/ruleset/schema.test.mts +164 -0
- package/src/github/variables/apply.mts +2 -0
|
@@ -10,6 +10,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
10
10
|
readonly is_template?: boolean | undefined;
|
|
11
11
|
readonly topics?: readonly string[] | undefined;
|
|
12
12
|
readonly has_downloads?: boolean | undefined;
|
|
13
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
14
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
13
15
|
readonly visibility?: string | undefined;
|
|
14
16
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
15
17
|
readonly maintain?: boolean | undefined;
|
|
@@ -31,6 +33,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
31
33
|
readonly is_template?: boolean | undefined;
|
|
32
34
|
readonly topics?: readonly string[] | undefined;
|
|
33
35
|
readonly has_discussions?: boolean | undefined;
|
|
36
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
37
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
34
38
|
readonly visibility?: string | undefined;
|
|
35
39
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
36
40
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -211,6 +215,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
211
215
|
readonly is_template?: boolean | undefined;
|
|
212
216
|
readonly topics?: readonly string[] | undefined;
|
|
213
217
|
readonly has_discussions?: boolean | undefined;
|
|
218
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
219
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
214
220
|
readonly visibility?: string | undefined;
|
|
215
221
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
216
222
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -352,6 +358,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
352
358
|
readonly is_template?: boolean | undefined;
|
|
353
359
|
readonly topics?: readonly string[] | undefined;
|
|
354
360
|
readonly has_discussions?: boolean | undefined;
|
|
361
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
362
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
355
363
|
readonly visibility?: string | undefined;
|
|
356
364
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
357
365
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -511,6 +519,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
511
519
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
512
520
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
513
521
|
}>> | undefined;
|
|
522
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
523
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
524
|
+
}>> | undefined;
|
|
525
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
526
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
527
|
+
}>> | undefined;
|
|
528
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
529
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
530
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
531
|
+
} & {
|
|
532
|
+
reviewer_id: number;
|
|
533
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
534
|
+
}>>[] | undefined;
|
|
535
|
+
}>> | undefined;
|
|
514
536
|
}>> | null | undefined;
|
|
515
537
|
readonly custom_properties?: {
|
|
516
538
|
readonly [x: string]: unknown;
|
|
@@ -628,6 +650,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
628
650
|
readonly is_template?: boolean | undefined;
|
|
629
651
|
readonly topics?: readonly string[] | undefined;
|
|
630
652
|
readonly has_downloads?: boolean | undefined;
|
|
653
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
654
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
631
655
|
readonly visibility?: string | undefined;
|
|
632
656
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
633
657
|
readonly maintain?: boolean | undefined;
|
|
@@ -649,6 +673,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
649
673
|
readonly is_template?: boolean | undefined;
|
|
650
674
|
readonly topics?: readonly string[] | undefined;
|
|
651
675
|
readonly has_discussions?: boolean | undefined;
|
|
676
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
677
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
652
678
|
readonly visibility?: string | undefined;
|
|
653
679
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
654
680
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -829,6 +855,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
829
855
|
readonly is_template?: boolean | undefined;
|
|
830
856
|
readonly topics?: readonly string[] | undefined;
|
|
831
857
|
readonly has_discussions?: boolean | undefined;
|
|
858
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
859
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
832
860
|
readonly visibility?: string | undefined;
|
|
833
861
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
834
862
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -970,6 +998,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
970
998
|
readonly is_template?: boolean | undefined;
|
|
971
999
|
readonly topics?: readonly string[] | undefined;
|
|
972
1000
|
readonly has_discussions?: boolean | undefined;
|
|
1001
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1002
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
973
1003
|
readonly visibility?: string | undefined;
|
|
974
1004
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
975
1005
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -1129,6 +1159,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1129
1159
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1130
1160
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
1131
1161
|
}>> | undefined;
|
|
1162
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1163
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
1164
|
+
}>> | undefined;
|
|
1165
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1166
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
1167
|
+
}>> | undefined;
|
|
1168
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1169
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1170
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
1171
|
+
} & {
|
|
1172
|
+
reviewer_id: number;
|
|
1173
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
1174
|
+
}>>[] | undefined;
|
|
1175
|
+
}>> | undefined;
|
|
1132
1176
|
}>> | null | undefined;
|
|
1133
1177
|
readonly custom_properties?: {
|
|
1134
1178
|
readonly [x: string]: unknown;
|
|
@@ -1246,6 +1290,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1246
1290
|
readonly is_template?: boolean | undefined;
|
|
1247
1291
|
readonly topics?: readonly string[] | undefined;
|
|
1248
1292
|
readonly has_downloads?: boolean | undefined;
|
|
1293
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1294
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
1249
1295
|
readonly visibility?: string | undefined;
|
|
1250
1296
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1251
1297
|
readonly maintain?: boolean | undefined;
|
|
@@ -1267,6 +1313,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1267
1313
|
readonly is_template?: boolean | undefined;
|
|
1268
1314
|
readonly topics?: readonly string[] | undefined;
|
|
1269
1315
|
readonly has_discussions?: boolean | undefined;
|
|
1316
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1317
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
1270
1318
|
readonly visibility?: string | undefined;
|
|
1271
1319
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
1272
1320
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -1447,6 +1495,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1447
1495
|
readonly is_template?: boolean | undefined;
|
|
1448
1496
|
readonly topics?: readonly string[] | undefined;
|
|
1449
1497
|
readonly has_discussions?: boolean | undefined;
|
|
1498
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1499
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
1450
1500
|
readonly visibility?: string | undefined;
|
|
1451
1501
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
1452
1502
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -1588,6 +1638,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1588
1638
|
readonly is_template?: boolean | undefined;
|
|
1589
1639
|
readonly topics?: readonly string[] | undefined;
|
|
1590
1640
|
readonly has_discussions?: boolean | undefined;
|
|
1641
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1642
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
1591
1643
|
readonly visibility?: string | undefined;
|
|
1592
1644
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
1593
1645
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -1747,6 +1799,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1747
1799
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1748
1800
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
1749
1801
|
}>> | undefined;
|
|
1802
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1803
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
1804
|
+
}>> | undefined;
|
|
1805
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1806
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
1807
|
+
}>> | undefined;
|
|
1808
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1809
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1810
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
1811
|
+
} & {
|
|
1812
|
+
reviewer_id: number;
|
|
1813
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
1814
|
+
}>>[] | undefined;
|
|
1815
|
+
}>> | undefined;
|
|
1750
1816
|
}>> | null | undefined;
|
|
1751
1817
|
readonly custom_properties?: {
|
|
1752
1818
|
readonly [x: string]: unknown;
|
|
@@ -1864,6 +1930,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1864
1930
|
readonly is_template?: boolean | undefined;
|
|
1865
1931
|
readonly topics?: readonly string[] | undefined;
|
|
1866
1932
|
readonly has_downloads?: boolean | undefined;
|
|
1933
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1934
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
1867
1935
|
readonly visibility?: string | undefined;
|
|
1868
1936
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1869
1937
|
readonly maintain?: boolean | undefined;
|
|
@@ -1885,6 +1953,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
1885
1953
|
readonly is_template?: boolean | undefined;
|
|
1886
1954
|
readonly topics?: readonly string[] | undefined;
|
|
1887
1955
|
readonly has_discussions?: boolean | undefined;
|
|
1956
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
1957
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
1888
1958
|
readonly visibility?: string | undefined;
|
|
1889
1959
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
1890
1960
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -2065,6 +2135,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2065
2135
|
readonly is_template?: boolean | undefined;
|
|
2066
2136
|
readonly topics?: readonly string[] | undefined;
|
|
2067
2137
|
readonly has_discussions?: boolean | undefined;
|
|
2138
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
2139
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
2068
2140
|
readonly visibility?: string | undefined;
|
|
2069
2141
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
2070
2142
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -2206,6 +2278,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2206
2278
|
readonly is_template?: boolean | undefined;
|
|
2207
2279
|
readonly topics?: readonly string[] | undefined;
|
|
2208
2280
|
readonly has_discussions?: boolean | undefined;
|
|
2281
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
2282
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
2209
2283
|
readonly visibility?: string | undefined;
|
|
2210
2284
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
2211
2285
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -2365,6 +2439,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2365
2439
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2366
2440
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
2367
2441
|
}>> | undefined;
|
|
2442
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2443
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
2444
|
+
}>> | undefined;
|
|
2445
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2446
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
2447
|
+
}>> | undefined;
|
|
2448
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2449
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2450
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
2451
|
+
} & {
|
|
2452
|
+
reviewer_id: number;
|
|
2453
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
2454
|
+
}>>[] | undefined;
|
|
2455
|
+
}>> | undefined;
|
|
2368
2456
|
}>> | null | undefined;
|
|
2369
2457
|
readonly custom_properties?: {
|
|
2370
2458
|
readonly [x: string]: unknown;
|
|
@@ -2482,6 +2570,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2482
2570
|
readonly is_template?: boolean | undefined;
|
|
2483
2571
|
readonly topics?: readonly string[] | undefined;
|
|
2484
2572
|
readonly has_downloads?: boolean | undefined;
|
|
2573
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
2574
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
2485
2575
|
readonly visibility?: string | undefined;
|
|
2486
2576
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2487
2577
|
readonly maintain?: boolean | undefined;
|
|
@@ -2503,6 +2593,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2503
2593
|
readonly is_template?: boolean | undefined;
|
|
2504
2594
|
readonly topics?: readonly string[] | undefined;
|
|
2505
2595
|
readonly has_discussions?: boolean | undefined;
|
|
2596
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
2597
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
2506
2598
|
readonly visibility?: string | undefined;
|
|
2507
2599
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
2508
2600
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -2683,6 +2775,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2683
2775
|
readonly is_template?: boolean | undefined;
|
|
2684
2776
|
readonly topics?: readonly string[] | undefined;
|
|
2685
2777
|
readonly has_discussions?: boolean | undefined;
|
|
2778
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
2779
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
2686
2780
|
readonly visibility?: string | undefined;
|
|
2687
2781
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
2688
2782
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -2824,6 +2918,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2824
2918
|
readonly is_template?: boolean | undefined;
|
|
2825
2919
|
readonly topics?: readonly string[] | undefined;
|
|
2826
2920
|
readonly has_discussions?: boolean | undefined;
|
|
2921
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
2922
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
2827
2923
|
readonly visibility?: string | undefined;
|
|
2828
2924
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
2829
2925
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -2983,6 +3079,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
2983
3079
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
2984
3080
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
2985
3081
|
}>> | undefined;
|
|
3082
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3083
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
3084
|
+
}>> | undefined;
|
|
3085
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3086
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
3087
|
+
}>> | undefined;
|
|
3088
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3089
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3090
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
3091
|
+
} & {
|
|
3092
|
+
reviewer_id: number;
|
|
3093
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
3094
|
+
}>>[] | undefined;
|
|
3095
|
+
}>> | undefined;
|
|
2986
3096
|
}>> | null | undefined;
|
|
2987
3097
|
readonly custom_properties?: {
|
|
2988
3098
|
readonly [x: string]: unknown;
|
|
@@ -3100,6 +3210,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3100
3210
|
readonly is_template?: boolean | undefined;
|
|
3101
3211
|
readonly topics?: readonly string[] | undefined;
|
|
3102
3212
|
readonly has_downloads?: boolean | undefined;
|
|
3213
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
3214
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3103
3215
|
readonly visibility?: string | undefined;
|
|
3104
3216
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3105
3217
|
readonly maintain?: boolean | undefined;
|
|
@@ -3121,6 +3233,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3121
3233
|
readonly is_template?: boolean | undefined;
|
|
3122
3234
|
readonly topics?: readonly string[] | undefined;
|
|
3123
3235
|
readonly has_discussions?: boolean | undefined;
|
|
3236
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
3237
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3124
3238
|
readonly visibility?: string | undefined;
|
|
3125
3239
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
3126
3240
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -3301,6 +3415,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3301
3415
|
readonly is_template?: boolean | undefined;
|
|
3302
3416
|
readonly topics?: readonly string[] | undefined;
|
|
3303
3417
|
readonly has_discussions?: boolean | undefined;
|
|
3418
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
3419
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3304
3420
|
readonly visibility?: string | undefined;
|
|
3305
3421
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
3306
3422
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -3442,6 +3558,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3442
3558
|
readonly is_template?: boolean | undefined;
|
|
3443
3559
|
readonly topics?: readonly string[] | undefined;
|
|
3444
3560
|
readonly has_discussions?: boolean | undefined;
|
|
3561
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
3562
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3445
3563
|
readonly visibility?: string | undefined;
|
|
3446
3564
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
3447
3565
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -3601,6 +3719,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3601
3719
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3602
3720
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
3603
3721
|
}>> | undefined;
|
|
3722
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3723
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
3724
|
+
}>> | undefined;
|
|
3725
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3726
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
3727
|
+
}>> | undefined;
|
|
3728
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3729
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3730
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
3731
|
+
} & {
|
|
3732
|
+
reviewer_id: number;
|
|
3733
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
3734
|
+
}>>[] | undefined;
|
|
3735
|
+
}>> | undefined;
|
|
3604
3736
|
}>> | null | undefined;
|
|
3605
3737
|
readonly custom_properties?: {
|
|
3606
3738
|
readonly [x: string]: unknown;
|
|
@@ -3717,6 +3849,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3717
3849
|
readonly is_template?: boolean | undefined;
|
|
3718
3850
|
readonly topics?: readonly string[] | undefined;
|
|
3719
3851
|
readonly has_downloads?: boolean | undefined;
|
|
3852
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
3853
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3720
3854
|
readonly visibility?: string | undefined;
|
|
3721
3855
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
3722
3856
|
readonly maintain?: boolean | undefined;
|
|
@@ -3738,6 +3872,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3738
3872
|
readonly is_template?: boolean | undefined;
|
|
3739
3873
|
readonly topics?: readonly string[] | undefined;
|
|
3740
3874
|
readonly has_discussions?: boolean | undefined;
|
|
3875
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
3876
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3741
3877
|
readonly visibility?: string | undefined;
|
|
3742
3878
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
3743
3879
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -3918,6 +4054,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
3918
4054
|
readonly is_template?: boolean | undefined;
|
|
3919
4055
|
readonly topics?: readonly string[] | undefined;
|
|
3920
4056
|
readonly has_discussions?: boolean | undefined;
|
|
4057
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
4058
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
3921
4059
|
readonly visibility?: string | undefined;
|
|
3922
4060
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
3923
4061
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -4059,6 +4197,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4059
4197
|
readonly is_template?: boolean | undefined;
|
|
4060
4198
|
readonly topics?: readonly string[] | undefined;
|
|
4061
4199
|
readonly has_discussions?: boolean | undefined;
|
|
4200
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
4201
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
4062
4202
|
readonly visibility?: string | undefined;
|
|
4063
4203
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
4064
4204
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -4218,6 +4358,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4218
4358
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4219
4359
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
4220
4360
|
}>> | undefined;
|
|
4361
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4362
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
4363
|
+
}>> | undefined;
|
|
4364
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4365
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
4366
|
+
}>> | undefined;
|
|
4367
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4368
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4369
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
4370
|
+
} & {
|
|
4371
|
+
reviewer_id: number;
|
|
4372
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
4373
|
+
}>>[] | undefined;
|
|
4374
|
+
}>> | undefined;
|
|
4221
4375
|
}>> | null | undefined;
|
|
4222
4376
|
readonly custom_properties?: {
|
|
4223
4377
|
readonly [x: string]: unknown;
|
|
@@ -4335,6 +4489,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4335
4489
|
readonly is_template?: boolean | undefined;
|
|
4336
4490
|
readonly topics?: readonly string[] | undefined;
|
|
4337
4491
|
readonly has_downloads?: boolean | undefined;
|
|
4492
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
4493
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
4338
4494
|
readonly visibility?: string | undefined;
|
|
4339
4495
|
readonly permissions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4340
4496
|
readonly maintain?: boolean | undefined;
|
|
@@ -4356,6 +4512,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4356
4512
|
readonly is_template?: boolean | undefined;
|
|
4357
4513
|
readonly topics?: readonly string[] | undefined;
|
|
4358
4514
|
readonly has_discussions?: boolean | undefined;
|
|
4515
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
4516
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
4359
4517
|
readonly visibility?: string | undefined;
|
|
4360
4518
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
4361
4519
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -4536,6 +4694,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4536
4694
|
readonly is_template?: boolean | undefined;
|
|
4537
4695
|
readonly topics?: readonly string[] | undefined;
|
|
4538
4696
|
readonly has_discussions?: boolean | undefined;
|
|
4697
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
4698
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
4539
4699
|
readonly visibility?: string | undefined;
|
|
4540
4700
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
4541
4701
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -4677,6 +4837,8 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4677
4837
|
readonly is_template?: boolean | undefined;
|
|
4678
4838
|
readonly topics?: readonly string[] | undefined;
|
|
4679
4839
|
readonly has_discussions?: boolean | undefined;
|
|
4840
|
+
readonly has_pull_requests?: boolean | undefined;
|
|
4841
|
+
readonly pull_request_creation_policy?: "all" | "collaborators_only" | undefined;
|
|
4680
4842
|
readonly visibility?: string | undefined;
|
|
4681
4843
|
readonly allow_rebase_merge?: boolean | undefined;
|
|
4682
4844
|
readonly temp_clone_token?: string | undefined;
|
|
@@ -4836,6 +4998,20 @@ export declare const RepositoryPicked: Readonly<{
|
|
|
4836
4998
|
readonly secret_scanning_ai_detection?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
4837
4999
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
4838
5000
|
}>> | undefined;
|
|
5001
|
+
readonly secret_scanning_delegated_alert_dismissal?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
5002
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
5003
|
+
}>> | undefined;
|
|
5004
|
+
readonly secret_scanning_delegated_bypass?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
5005
|
+
readonly status?: "disabled" | "enabled" | undefined;
|
|
5006
|
+
}>> | undefined;
|
|
5007
|
+
readonly secret_scanning_delegated_bypass_options?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
5008
|
+
readonly reviewers?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
5009
|
+
readonly mode?: "ALWAYS" | "EXEMPT" | undefined;
|
|
5010
|
+
} & {
|
|
5011
|
+
reviewer_id: number;
|
|
5012
|
+
reviewer_type: "ROLE" | "TEAM";
|
|
5013
|
+
}>>[] | undefined;
|
|
5014
|
+
}>> | undefined;
|
|
4839
5015
|
}>> | null | undefined;
|
|
4840
5016
|
readonly custom_properties?: {
|
|
4841
5017
|
readonly [x: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.mts","sourceRoot":"","sources":["../../../src/github/repository/constants.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,QAAA,MAAM,cAAc,0fA0BkC,CAAC;AAEvD,QAAA,MAAM,cAAc,YAClB,MAAM,EACN,SAAS,EACT,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EAGZ,eAAe,CACP,CAAC;AAMX,eAAO,MAAM,oBAAoB,2gBAEhC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAC9C,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,EAC/B,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetAllRulesetsResponse, } from 'octokit-safe-types';
|
|
2
2
|
import { expectType } from 'ts-data-forge';
|
|
3
|
-
import
|
|
3
|
+
import * as t from 'ts-fortress';
|
|
4
4
|
import { Result } from 'ts-repo-utils';
|
|
5
5
|
import { octokitHeaders, OWNER, REPO } from '../../constants.mjs';
|
|
6
6
|
import { octokit } from '../../octokit.mjs';
|
|
@@ -15,7 +15,7 @@ export const getAllRulesets = async () => {
|
|
|
15
15
|
{
|
|
16
16
|
const res = GetAllRulesetsResponse.validate(getAllRulesetsResponse.data);
|
|
17
17
|
if (Result.isErr(res)) {
|
|
18
|
-
console.warn(validationErrorsToMessages(res.value));
|
|
18
|
+
console.warn(t.validationErrorsToMessages(res.value));
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
return GetAllRulesetsResponse.fill(getAllRulesetsResponse.data);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-rulesets.mjs","sourceRoot":"","sources":["../../../../src/github/ruleset/api/get-all-rulesets.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAIvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"get-all-rulesets.mjs","sourceRoot":"","sources":["../../../../src/github/ruleset/api/get-all-rulesets.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAIvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,IAAqC,EAAE;IACxE,gGAAgG;IAChG,MAAM,sBAAsB,GAAG,CAAC,MAAM,OAAO,CAAC,OAAO,CACnD,oCAA2D,EAC3D;QACE,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,cAAc;KACxB,CACF,CAAwD,CAAC;IAE1D,UAAU,CAoCR,GAAG,CAAC,CAAC;IAEP,CAAC;QACC,MAAM,GAAG,GAAG,sBAAsB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAEzE,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;YACtB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IAED,OAAO,sBAAsB,CAAC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetRulesetResponse } from 'octokit-safe-types';
|
|
2
|
-
import
|
|
2
|
+
import * as t from 'ts-fortress';
|
|
3
3
|
import { Result } from 'ts-repo-utils';
|
|
4
4
|
import { octokitHeaders, OWNER, REPO } from '../../constants.mjs';
|
|
5
5
|
import { octokit } from '../../octokit.mjs';
|
|
@@ -14,7 +14,7 @@ export const getRuleset = async (rulesetId) => {
|
|
|
14
14
|
{
|
|
15
15
|
const res = GetRulesetResponse.validate(getRulesetResult.data);
|
|
16
16
|
if (Result.isErr(res)) {
|
|
17
|
-
console.warn(validationErrorsToMessages(res.value));
|
|
17
|
+
console.warn(t.validationErrorsToMessages(res.value));
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
return GetRulesetResponse.fill(getRulesetResult.data);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ruleset.mjs","sourceRoot":"","sources":["../../../../src/github/ruleset/api/get-ruleset.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAqB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,
|
|
1
|
+
{"version":3,"file":"get-ruleset.mjs","sourceRoot":"","sources":["../../../../src/github/ruleset/api/get-ruleset.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAqB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,EAC7B,SAAiB,EACY,EAAE;IAC/B,6FAA6F;IAC7F,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,OAAO,CAC5C,iDAAwE,EACxE;QACE,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,IAAI;QACV,UAAU,EAAE,SAAS;QACrB,OAAO,EAAE,cAAc;KACxB,CACF,CAAC;IAEF,CAAC;QACC,MAAM,GAAG,GAAG,kBAAkB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAE/D,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;YACtB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IAED,OAAO,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;AACxD,CAAC,CAAC"}
|