/ opencodehub / lint_output.txt
swadhinbiswas Fix: Add date validation in analysis.ts to prevent RangeError · 1/20/2026
a7662cd
1349 lines · 87.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349

> [email protected] lint
> astro check

14:15:31 [types] Generated 33ms
14:15:31 [check] Getting diagnostics for Astro files in /home/swadhin/owngit/OpenCodeHub...
src/components/admin/AdminDashboard.tsx:141:30 - warning ts(6385): 'Github' is deprecated.

141                             <Github className="h-8 w-8 text-white opacity-30 hover:opacity-70 transition-opacity cursor-pointer" />
                                 ~~~~~~
src/components/admin/AdminDashboard.tsx:10:10 - warning ts(6385): 'Github' is deprecated.

10 import { Github } from "lucide-react";
            ~~~~~~

src/components/admin/AlertBanner.tsx:2:44 - warning ts(6133): 'Bell' is declared but its value is never read.

2 import { AlertTriangle, CheckCircle, Info, Bell, X } from "lucide-react";
                                             ~~~~

src/components/admin/DashboardStats.tsx:1:45 - warning ts(6133): 'useTransform' is declared but its value is never read.

1 import { motion, useMotionValue, useSpring, useTransform } from "framer-motion";
                                              ~~~~~~~~~~~~
src/components/admin/DashboardStats.tsx:1:34 - warning ts(6133): 'useSpring' is declared but its value is never read.

1 import { motion, useMotionValue, useSpring, useTransform } from "framer-motion";
                                   ~~~~~~~~~
src/components/admin/DashboardStats.tsx:1:18 - warning ts(6133): 'useMotionValue' is declared but its value is never read.

1 import { motion, useMotionValue, useSpring, useTransform } from "framer-motion";
                   ~~~~~~~~~~~~~~

src/components/admin/GlobeViz.tsx:199:27 - warning ts(6133): 'activities' is declared but its value is never read.

199 function CSSGlobeFallback({ activities = [] }: Props) {
                              ~~~~~~~~~~~~~~~~~~~
src/components/admin/GlobeViz.tsx:89:54 - warning ts(6133): 'i' is declared but its value is never read.

89             markers: activities.slice(0, 20).map((_, i) => ({
                                                        ~

src/components/admin/QuickStatsRow.tsx:2:78 - warning ts(6133): 'Zap' is declared but its value is never read.

2 import { GitCommit, GitMerge, CircleDot, Users, Clock, TrendingUp, Activity, Zap } from "lucide-react";
                                                                               ~~~
src/components/admin/QuickStatsRow.tsx:2:68 - warning ts(6133): 'Activity' is declared but its value is never read.

2 import { GitCommit, GitMerge, CircleDot, Users, Clock, TrendingUp, Activity, Zap } from "lucide-react";
                                                                     ~~~~~~~~
src/components/admin/QuickStatsRow.tsx:2:49 - warning ts(6133): 'Clock' is declared but its value is never read.

2 import { GitCommit, GitMerge, CircleDot, Users, Clock, TrendingUp, Activity, Zap } from "lucide-react";
                                                  ~~~~~

src/components/admin/SystemStatus.tsx:18:5 - warning ts(6133): 'color' is declared but its value is never read.

18     color,
       ~~~~~
src/components/admin/SystemStatus.tsx:1:47 - warning ts(6133): 'Server' is declared but its value is never read.

1 import { HardDrive, Cpu, Zap, Activity, Wifi, Server } from "lucide-react";
                                                ~~~~~~
src/components/admin/SystemStatus.tsx:1:41 - warning ts(6133): 'Wifi' is declared but its value is never read.

1 import { HardDrive, Cpu, Zap, Activity, Wifi, Server } from "lucide-react";
                                          ~~~~

src/components/dashboard/ActivityStream.tsx:80:55 - warning ts(6133): 'i' is declared but its value is never read.

80                         {users.slice(0, 5).map((user, i) => (
                                                         ~
src/components/dashboard/ActivityStream.tsx:2:1 - warning ts(6133): 'React' is declared but its value is never read.

2 import * as React from "react";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/components/git/CommitGraph.tsx:209:35 - warning ts(6133): 'index' is declared but its value is never read.

209             {commits.map((commit, index) => {
                                      ~~~~~
src/components/git/CommitGraph.tsx:51:11 - warning ts(6133): 'branchHeads' is declared but its value is never read.

51     const branchHeads: Map<string, string> = new Map()
             ~~~~~~~~~~~

src/components/home/HeroSection.tsx:87:26 - warning ts(6385): 'Github' is deprecated.

87                         <Github className="h-4 w-4" />
                            ~~~~~~
src/components/home/HeroSection.tsx:6:22 - warning ts(6385): 'Github' is deprecated.

6 import { ArrowRight, Github, Star, GitBranch, Zap } from "lucide-react";
                       ~~~~~~
src/components/home/HeroSection.tsx:4:1 - warning ts(6133): 'ColourfulText' is declared but its value is never read.

4 import { ColourfulText } from "@/components/ui/colourful-text";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/components/issues/IssueDetail.tsx:68:67 - warning ts(6133): 'repoName' is declared but its value is never read.

68 export default function IssueDetail({ issue, bodyHtml, repoOwner, repoName }: Props) {
                                                                     ~~~~~~~~
src/components/issues/IssueDetail.tsx:68:56 - warning ts(6133): 'repoOwner' is declared but its value is never read.

68 export default function IssueDetail({ issue, bodyHtml, repoOwner, repoName }: Props) {
                                                          ~~~~~~~~~

src/components/issues/IssuesList.tsx:14:5 - warning ts(6133): 'Filter' is declared but its value is never read.

14     Filter
       ~~~~~~

src/components/layout/Header.astro:2:10 - warning ts(6133): 'GitBranch' is declared but its value is never read.

2 import { GitBranch, Search, Bell, Plus, Menu } from "lucide-react"
           ~~~~~~~~~

src/components/pr/AIReviewPanel.tsx:76:5 - warning ts(6133): 'reviewId' is declared but its value is never read.

76     reviewId,
       ~~~~~~~~
src/components/pr/AIReviewPanel.tsx:6:8 - warning ts(6133): 'React' is declared but its value is never read.

6 import React, { useState } from "react";
         ~~~~~

src/components/pr/StackVisualization.tsx:52:5 - warning ts(6133): 'onReorder' is declared but its value is never read.

52     onReorder,
       ~~~~~~~~~
src/components/pr/StackVisualization.tsx:45:5 - warning ts(6133): 'stackId' is declared but its value is never read.

45     stackId,
       ~~~~~~~

src/components/pulls/PullRequestsList.tsx:14:5 - warning ts(6133): 'Sparkles' is declared but its value is never read.

14     Sparkles,
       ~~~~~~~~

src/components/repo/FileExplorer.astro:2:20 - warning ts(6133): 'Folder' is declared but its value is never read.

2 import { FileText, Folder } from "lucide-react";
                     ~~~~~~

src/components/repo/RepoHeader.astro:3:3 - warning ts(6133): 'GitBranch' is declared but its value is never read.

3   GitBranch,
    ~~~~~~~~~

src/components/search/GlobalSearch.tsx:17:12 - warning ts(6133): 'loading' is declared but its value is never read.

17     const [loading, setLoading] = React.useState(false);
              ~~~~~~~
src/components/search/GlobalSearch.tsx:11:18 - warning ts(6133): 'FileText' is declared but its value is never read.

11 import { Search, FileText, User, GitBranch, GitPullRequest, CircleDot, Workflow } from "lucide-react";
                    ~~~~~~~~

src/components/ui/animated-tooltip.tsx:4:8 - warning ts(6133): 'React' is declared but its value is never read.

4 import React, { useState } from "react";
         ~~~~~
src/components/ui/animated-tooltip.tsx:2:1 - warning ts(6133): 'cn' is declared but its value is never read.

2 import { cn } from "@/lib/cn";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/components/ui/text-generate-effect.tsx:2:29 - warning ts(6133): 'useState' is declared but its value is never read.

2 import { useEffect, useRef, useState } from "react";
                              ~~~~~~~~
src/components/ui/text-generate-effect.tsx:2:21 - warning ts(6133): 'useRef' is declared but its value is never read.

2 import { useEffect, useRef, useState } from "react";
                      ~~~~~~

src/components/ui/text-reveal-card.tsx:3:29 - warning ts(6133): 'useTransform' is declared but its value is never read.

3 import { motion, useScroll, useTransform } from "framer-motion";
                              ~~~~~~~~~~~~
src/components/ui/text-reveal-card.tsx:3:18 - warning ts(6133): 'useScroll' is declared but its value is never read.

3 import { motion, useScroll, useTransform } from "framer-motion";
                   ~~~~~~~~~

src/db/seed-activity.ts:6:1 - warning ts(6133): 'eq' is declared but its value is never read.

6 import { eq } from "drizzle-orm";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/seed-activity.ts:3:24 - warning ts(6133): 'users' is declared but its value is never read.

3 import { repositories, users, pullRequests, pullRequestReviews, pullRequestComments } from "@/db/schema";
                         ~~~~~
src/db/seed-activity.ts:3:10 - warning ts(6133): 'repositories' is declared but its value is never read.

3 import { repositories, users, pullRequests, pullRequestReviews, pullRequestComments } from "@/db/schema";
           ~~~~~~~~~~~~

src/db/seed-notifications.ts:5:32 - warning ts(6133): 'repositories' is declared but its value is never read.

5 import { notifications, users, repositories } from "@/db/schema";
                                 ~~~~~~~~~~~~
src/db/seed-notifications.ts:5:25 - warning ts(6133): 'users' is declared but its value is never read.

5 import { notifications, users, repositories } from "@/db/schema";
                          ~~~~~

src/db/seed-scale.ts:25:11 - warning ts(6133): 'reposPath' is declared but its value is never read.

25     const reposPath = process.env.GIT_REPOS_PATH || "./data/repos";
             ~~~~~~~~~
src/db/seed-scale.ts:9:1 - warning ts(6133): 'fs' is declared but its value is never read.

9 import fs from "fs/promises";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/seed-scale.ts:7:1 - warning ts(6133): 'eq' is declared but its value is never read.

7 import { eq } from "drizzle-orm";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/seed-scale.ts:3:24 - warning ts(6133): 'users' is declared but its value is never read.

3 import { repositories, users } from "@/db/schema";
                         ~~~~~

src/db/schema/developer-metrics.ts:7:19 - warning ts(6133): 'real' is declared but its value is never read.

7 import { integer, real, sqliteTable, text } from "drizzle-orm/sqlite-core";
                    ~~~~

src/db/schema/pipeline-runners.ts:3:10 - warning ts(6133): 'integer' is declared but its value is never read.

3 import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
           ~~~~~~~

src/db/schema/pull-requests.ts:8:18 - warning ts(6133): 'milestones' is declared but its value is never read.

8 import { labels, milestones } from "./issues";
                   ~~~~~~~~~~

src/db/schema/security.ts:3:1 - warning ts(6133): 'users' is declared but its value is never read.

3 import { users } from "./users";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/lib/ai-review.ts:6:14 - warning ts(6133): 'and' is declared but its value is never read.

6 import { eq, and, desc } from "drizzle-orm";
               ~~~

src/lib/analysis.ts:35:87 - warning ts(6133): 'force' is declared but its value is never read.

35 export async function analyzeRepository(repoId: string, userId: string | null = null, force = false) {
                                                                                         ~~~~~
src/lib/analysis.ts:4:22 - warning ts(6133): 'getRepoSize' is declared but its value is never read.

4 import { getCommits, getRepoSize, listFiles, getCommitDiff } from "./git";
                       ~~~~~~~~~~~

src/lib/auth.ts:281:22 - warning ts(6133): 'gt' is declared but its value is never read.

281     const { eq, and, gt } = await import("drizzle-orm");
                         ~~
src/lib/auth.ts:281:17 - warning ts(6133): 'and' is declared but its value is never read.

281     const { eq, and, gt } = await import("drizzle-orm");
                    ~~~
src/lib/auth.ts:280:35 - warning ts(6133): 'users' is declared but its value is never read.

280     const { personalAccessTokens, users } = await import("@/db/schema/users");
                                      ~~~~~

src/lib/automations.ts:320:23 - warning ts(6133): 'notifyPrEvent' is declared but its value is never read.

320                 const { notifyPrEvent } = await import("./slack-notifications");
                          ~~~~~~~~~~~~~~~~~

src/lib/conflict-automation.ts:11:1 - warning ts(6192): All imports in import declaration are unused.

11 import { notifyPrEvent, notifyUserDm } from "./slack-notifications";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/conflict-automation.ts:6:14 - warning ts(6133): 'and' is declared but its value is never read.

6 import { eq, and } from "drizzle-orm";
               ~~~

src/lib/developer-metrics.ts:6:35 - warning ts(6133): 'lte' is declared but its value is never read.

6 import { eq, and, desc, sql, gte, lte } from "drizzle-orm";
                                    ~~~
src/lib/developer-metrics.ts:6:30 - warning ts(6133): 'gte' is declared but its value is never read.

6 import { eq, and, desc, sql, gte, lte } from "drizzle-orm";
                               ~~~
src/lib/developer-metrics.ts:6:25 - warning ts(6133): 'sql' is declared but its value is never read.

6 import { eq, and, desc, sql, gte, lte } from "drizzle-orm";
                          ~~~

src/lib/git-storage.ts:15:27 - warning ts(6133): 'StorageAdapter' is declared but its value is never read.

15 import { getStorage, type StorageAdapter } from "./storage";
                             ~~~~~~~~~~~~~~
src/lib/git-storage.ts:14:1 - warning ts(6133): 'Readable' is declared but its value is never read.

14 import { Readable } from "stream";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/git-storage.ts:10:54 - warning ts(6133): 'statSync' is declared but its value is never read.

10 import { existsSync, mkdirSync, rmSync, readdirSync, statSync } from "fs";
                                                        ~~~~~~~~

src/lib/git.ts:1171:32 - warning ts(6133): 'reject' is declared but its value is never read.

1171   return new Promise((resolve, reject) => {
                                    ~~~~~~
src/lib/git.ts:14:3 - warning ts(6133): 'releaseRepo' is declared but its value is never read.

14   releaseRepo,
     ~~~~~~~~~~~
src/lib/git.ts:13:3 - warning ts(6133): 'acquireRepo' is declared but its value is never read.

13   acquireRepo,
     ~~~~~~~~~~~

src/lib/lfs.ts:64:3 - warning ts(6133): 'repoDiskPath' is declared but its value is never read.

64   repoDiskPath: string,
     ~~~~~~~~~~~~

src/lib/merge-queue.ts:11:1 - warning ts(6133): 'emitQueueEvent' is declared but its value is never read.

11 import { emitQueueEvent } from "./realtime";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/merge-queue.ts:6:34 - warning ts(6133): 'gt' is declared but its value is never read.

6 import { eq, and, asc, desc, lt, gt } from "drizzle-orm";
                                   ~~
src/lib/merge-queue.ts:6:30 - warning ts(6133): 'lt' is declared but its value is never read.

6 import { eq, and, asc, desc, lt, gt } from "drizzle-orm";
                               ~~

src/lib/pipeline.ts:292:15 - warning ts(6133): 'tag' is declared but its value is never read.

292         const tag = payload.ref.replace("refs/tags/", "");
                  ~~~
src/lib/pipeline.ts:238:11 - warning ts(6133): 'artifactsDir' is declared but its value is never read.

238   private artifactsDir: string;
              ~~~~~~~~~~~~
src/lib/pipeline.ts:237:11 - warning ts(6133): 'workDir' is declared but its value is never read.

237   private workDir: string;
              ~~~~~~~

src/lib/realtime.ts:49:61 - warning ts(6385): '(from: number, length?: number | undefined): string' is deprecated.

49     return `conn_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
                                                               ~~~~~~

src/lib/security.ts:116:15 - warning ts(6133): 'rawOutput' is declared but its value is never read.

116         const rawOutput = logsBuffer.toString("utf-8");
                  ~~~~~~~~~
src/lib/security.ts:76:15 - warning ts(6133): 'stream' is declared but its value is never read.

76         const stream = await container.logs({ follow: true, stdout: true, stderr: true });
                 ~~~~~~
src/lib/security.ts:56:15 - warning ts(6133): 'chunks' is declared but its value is never read.

56         const chunks: Buffer[] = [];
                 ~~~~~~
src/lib/security.ts:48:41 - warning ts(6133): 'event' is declared but its value is never read.

48                     function onProgress(event: any) { }
                                           ~~~~~
src/lib/security.ts:44:51 - warning ts(6133): 'output' is declared but its value is never read.

44                     function onFinished(err: any, output: any) {
                                                     ~~~~~~
src/lib/security.ts:40:41 - warning ts(6133): 'reject' is declared but its value is never read.

40             await new Promise((resolve, reject) => {
                                           ~~~~~~
src/lib/security.ts:15:5 - warning ts(6133): 'repositoryId' is declared but its value is never read.

15     repositoryId: string
       ~~~~~~~~~~~~
src/lib/security.ts:5:21 - warning ts(6133): 'writeFile' is declared but its value is never read.

5 import { mkdir, rm, writeFile } from "fs/promises";
                      ~~~~~~~~~

src/lib/slack-notifications.ts:257:5 - warning ts(6133): 'event' is declared but its value is never read.

257     event: string,
        ~~~~~

src/lib/ssh.ts:190:32 - warning ts(6133): 'accept' is declared but its value is never read.

190           session.on("shell", (accept, reject) => {
                                   ~~~~~~
src/lib/ssh.ts:78:39 - warning ts(6133): 'reject' is declared but its value is never read.

78         client.on("session", (accept, reject) => {
                                         ~~~~~~
src/lib/ssh.ts:37:5 - warning ts(6133): 'port' is declared but its value is never read.

37     port,
       ~~~~

src/lib/storage.ts:1196:9 - warning ts(6133): 'eq' is declared but its value is never read.

1196   const { eq } = await import("drizzle-orm");
             ~~~~~~
src/lib/storage.ts:1098:41 - warning ts(6133): 'expiresIn' is declared but its value is never read.

1098   async getSignedUploadUrl(key: string, expiresIn?: number): Promise<string> {
                                             ~~~~~~~~~
src/lib/storage.ts:1084:35 - warning ts(6133): 'expiresIn' is declared but its value is never read.

1084   async getSignedUrl(key: string, expiresIn?: number): Promise<string> {
                                       ~~~~~~~~~
src/lib/storage.ts:971:30 - warning ts(6387): The signature '(start?: number | undefined, end?: number | undefined): Buffer<ArrayBuffer>' of 'buffer.slice' is deprecated.

971         const chunk = buffer.slice(i, Math.min(i + chunkSize, buffer.length));
                                 ~~~~~
src/lib/storage.ts:875:41 - warning ts(6133): 'expiresIn' is declared but its value is never read.

875   async getSignedUploadUrl(key: string, expiresIn?: number): Promise<string> {
                                            ~~~~~~~~~
src/lib/storage.ts:868:35 - warning ts(6133): 'expiresIn' is declared but its value is never read.

868   async getSignedUrl(key: string, expiresIn?: number): Promise<string> {
                                      ~~~~~~~~~
src/lib/storage.ts:798:21 - warning ts(6387): The signature '(start?: number | undefined, end?: number | undefined): Buffer<ArrayBuffer>' of 'buffer.slice' is deprecated.

798       return buffer.slice(options.range.start, options.range.end + 1);
                        ~~~~~
src/lib/storage.ts:660:41 - warning ts(6133): 'expiresIn' is declared but its value is never read.

660   async getSignedUploadUrl(key: string, expiresIn?: number): Promise<string> {
                                            ~~~~~~~~~
src/lib/storage.ts:649:35 - warning ts(6133): 'expiresIn' is declared but its value is never read.

649   async getSignedUrl(key: string, expiresIn?: number): Promise<string> {
                                      ~~~~~~~~~
src/lib/storage.ts:539:51 - warning ts(6133): 'options' is declared but its value is never read.

539   async put(key: string, data: Buffer | Readable, options?: PutOptions): Promise<void> {
                                                      ~~~~~~~
src/lib/storage.ts:274:5 - warning ts(6133): 'expiresIn' is declared but its value is never read.

274     expiresIn: number = 3600
        ~~~~~~~~~

src/lib/sync.ts:361:23 - warning ts(6133): 'baseHead' is declared but its value is never read.

361                 const baseHead = await git.revparse([baseBranch]);
                          ~~~~~~~~
src/lib/sync.ts:360:23 - warning ts(6133): 'mergeBase' is declared but its value is never read.

360                 const mergeBase = await git.raw(["merge-base", baseBranch, branchName]);
                          ~~~~~~~~~
src/lib/sync.ts:267:5 - warning ts(6133): 'repositoryId' is declared but its value is never read.

267     repositoryId: string,
        ~~~~~~~~~~~~
src/lib/sync.ts:57:15 - warning ts(6133): 'currentBranch' is declared but its value is never read.

57         const currentBranch = status.current;
                 ~~~~~~~~~~~~~
src/lib/sync.ts:10:1 - warning ts(6133): 'generateId' is declared but its value is never read.

10 import { generateId } from "./utils";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/sync.ts:9:20 - warning ts(6133): 'getStackForPr' is declared but its value is never read.

9 import { getStack, getStackForPr, addToStack, createStack } from "./stacks";
                     ~~~~~~~~~~~~~
src/lib/sync.ts:6:19 - warning ts(6133): 'desc' is declared but its value is never read.

6 import { eq, and, desc } from "drizzle-orm";
                    ~~~~

src/lib/workflows.ts:26:92 - warning ts(6133): 'pusherId' is declared but its value is never read.

26 export async function triggerRepoWorkflows(repoId: string, commitSha: string, ref: string, pusherId: string) {
                                                                                              ~~~~~~~~
src/lib/workflows.ts:8:1 - warning ts(6133): 'existsSync' is declared but its value is never read.

8 import { existsSync } from "fs";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/cli.astro:5:5 - warning ts(6133): 'Cpu' is declared but its value is never read.

5     Cpu,
      ~~~

src/pages/explore.astro:4:20 - warning ts(6133): 'sql' is declared but its value is never read.

4 import { desc, eq, sql, count } from "drizzle-orm";
                     ~~~

src/pages/inbox.astro:28:5 - warning ts(6133): 'title' is declared but its value is never read.

28 let title = "Inbox";
       ~~~~~
src/pages/inbox.astro:15:3 - warning ts(6133): 'Bot' is declared but its value is never read.

15   Bot,
     ~~~
src/pages/inbox.astro:13:3 - warning ts(6133): 'Search' is declared but its value is never read.

13   Search,
     ~~~~~~
src/pages/inbox.astro:5:29 - warning ts(6133): 'ne' is declared but its value is never read.

5 import { eq, desc, and, or, ne } from "drizzle-orm";
                              ~~
src/pages/inbox.astro:5:25 - warning ts(6133): 'or' is declared but its value is never read.

5 import { eq, desc, and, or, ne } from "drizzle-orm";
                          ~~
src/pages/inbox.astro:423:37 - error ts(2339): Property 'click' does not exist on type 'Element'.

423             prItems[selectedIndex]?.click();
                                        ~~~~~
src/pages/inbox.astro:403:54 - error ts(2339): Property 'tagName' does not exist on type 'EventTarget'.

403         if (e.target.tagName === "INPUT" || e.target.tagName === "TEXTAREA") {
                                                         ~~~~~~~
src/pages/inbox.astro:403:45 - error ts(18047): 'e.target' is possibly 'null'.

403         if (e.target.tagName === "INPUT" || e.target.tagName === "TEXTAREA") {
                                                ~~~~~~~~
src/pages/inbox.astro:403:22 - error ts(2339): Property 'tagName' does not exist on type 'EventTarget'.

403         if (e.target.tagName === "INPUT" || e.target.tagName === "TEXTAREA") {
                         ~~~~~~~
src/pages/inbox.astro:403:13 - error ts(18047): 'e.target' is possibly 'null'.

403         if (e.target.tagName === "INPUT" || e.target.tagName === "TEXTAREA") {
                ~~~~~~~~
src/pages/inbox.astro:386:28 - error ts(7006): Parameter 'index' implicitly has an 'any' type.

386       const highlightPR = (index) => {
                               ~~~~~

src/pages/insights.astro:11:3 - warning ts(6133): 'Calendar' is declared but its value is never read.

11   Calendar,
     ~~~~~~~~
src/pages/insights.astro:4:30 - warning ts(6133): 'sql' is declared but its value is never read.

4 import { eq, desc, and, gte, sql } from "drizzle-orm";
                               ~~~
src/pages/insights.astro:4:14 - warning ts(6133): 'desc' is declared but its value is never read.

4 import { eq, desc, and, gte, sql } from "drizzle-orm";
               ~~~~

src/pages/issues.astro:7:7 - warning ts(6133): 'currentUser' is declared but its value is never read.

7 const currentUser = Astro.locals.user;
        ~~~~~~~~~~~
src/pages/issues.astro:4:25 - warning ts(6133): 'sql' is declared but its value is never read.

4 import { desc, eq, and, sql } from "drizzle-orm";
                          ~~~
src/pages/issues.astro:4:20 - warning ts(6133): 'and' is declared but its value is never read.

4 import { desc, eq, and, sql } from "drizzle-orm";
                     ~~~

src/pages/merge-queue.astro:353:56 - warning ts(6133): 'index' is declared but its value is never read.

353                                 {queueItems.map((item, index) => {
                                                           ~~~~~
src/pages/merge-queue.astro:222:10 - warning ts(6133): 'timeAgo' is declared but its value is never read.

222 function timeAgo(date: string) {
             ~~~~~~~
src/pages/merge-queue.astro:73:5 - warning ts(6133): 'lastProcessedAt' is declared but its value is never read.

73 let lastProcessedAt: string | null = null;
       ~~~~~~~~~~~~~~~

src/pages/password-reset.astro:95:13 - warning ts(6133): 'response' is declared but its value is never read.

95       const response = await fetch("/api/auth/password-reset", {
               ~~~~~~~~

src/pages/repositories.astro:14:53 - warning ts(6133): 'Globe' is declared but its value is never read.

14 import { Book, Star, GitBranch, Plus, Search, Lock, Globe } from "lucide-react";
                                                       ~~~~~
src/pages/repositories.astro:14:47 - warning ts(6133): 'Lock' is declared but its value is never read.

14 import { Book, Star, GitBranch, Plus, Search, Lock, Globe } from "lucide-react";
                                                 ~~~~
src/pages/repositories.astro:5:1 - warning ts(6192): All imports in import declaration are unused.

  5 import {
    ~~~~~~~~
  6    Card,
    ~~~~~~~~
... 
 10    CardContent,
    ~~~~~~~~~~~~~~~
 11 } from "@/components/ui/card";
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/stars.astro:152:54 - warning ts(6385): 'event' is deprecated.

152                     onclick="event.preventDefault(); event.stopPropagation();"
                                                         ~~~~~
src/pages/stars.astro:152:30 - warning ts(6385): 'event' is deprecated.

152                     onclick="event.preventDefault(); event.stopPropagation();"
                                 ~~~~~

src/pages/[owner]/[repo]/index.astro:15:19 - warning ts(6133): 'sql' is declared but its value is never read.

15 import { eq, and, sql, count } from "drizzle-orm";
                     ~~~
src/pages/[owner]/[repo]/index.astro:12:3 - warning ts(6133): 'Clock' is declared but its value is never read.

12   Clock,
     ~~~~~
src/pages/[owner]/[repo]/index.astro:6:3 - warning ts(6133): 'Tag' is declared but its value is never read.

6   Tag,
    ~~~

src/pages/[owner]/[repo]/labels.astro:245:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

245 <script define:vars={{ owner: repo.owner, repo: repo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/merge-queue.astro:248:57 - warning ts(6133): 'i' is declared but its value is never read.

248                         {item.stack.entries.map((entry, i) => (
                                                            ~
src/pages/[owner]/[repo]/merge-queue.astro:13:3 - warning ts(6133): 'Play' is declared but its value is never read.

13   Play,
     ~~~~
src/pages/[owner]/[repo]/merge-queue.astro:8:19 - warning ts(6133): 'sql' is declared but its value is never read.

8 import { and, eq, sql, count } from "drizzle-orm";
                    ~~~

src/pages/[owner]/[repo]/blob/[branch]/[...path].astro:18:3 - warning ts(6133): 'Monitor' is declared but its value is never read.

18   Monitor,
     ~~~~~~~
src/pages/[owner]/[repo]/blob/[branch]/[...path].astro:13:3 - warning ts(6133): 'FileText' is declared but its value is never read.

13   FileText,
     ~~~~~~~~
src/pages/[owner]/[repo]/blob/[branch]/[...path].astro:337:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

337 <script define:vars={{ initialContent: !fileData.isBinary ? fileData.content : "" }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/branches/index.astro:16:3 - warning ts(6133): 'AlertCircle' is declared but its value is never read.

16   AlertCircle,
     ~~~~~~~~~~~
src/pages/[owner]/[repo]/branches/index.astro:15:3 - warning ts(6133): 'Search' is declared but its value is never read.

15   Search,
     ~~~~~~
src/pages/[owner]/[repo]/branches/index.astro:13:3 - warning ts(6133): 'MoreHorizontal' is declared but its value is never read.

13   MoreHorizontal,
     ~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/branches/index.astro:9:19 - warning ts(6133): 'sql' is declared but its value is never read.

9 import { and, eq, sql, count } from "drizzle-orm";
                    ~~~
src/pages/[owner]/[repo]/branches/index.astro:8:1 - warning ts(6133): 'getRepoPath' is declared but its value is never read.

8 import { getRepoPath } from "@/lib/utils";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/branches/index.astro:351:42 - warning ts(6133): 'e' is declared but its value is never read.

351     btn.addEventListener("click", async (e: any) => {
                                             ~

src/pages/[owner]/[repo]/commits/[...ref].astro:9:1 - warning ts(6133): 'Button' is declared but its value is never read.

9 import { Button } from "@/components/ui/button";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/[owner]/[repo]/edit/[...ref].astro:108:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

108 <script define:vars={{ initialContent: fileContent, repoId: repo.id, branch: currentBranch, path: filePath, owner: repo.owner, repoName: repo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/insights/index.astro:75:41 - error ts(2339): Property 'count' does not exist on type '{ id: string; repositoryId: string; number: number; title: string; body: string | null; state: string; authorId: string; assigneeId: string | null; milestoneId: string | null; isPinned: boolean | null; ... 7 more ...; updatedAt: string; }'.

75 repo.openIssueCount = issueCountResult?.count || 0;
                                           ~~~~~
src/pages/[owner]/[repo]/insights/index.astro:65:13 - error ts(2554): Expected 0 arguments, but got 1.

65     .select({ count: count() })
               ~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/insights/index.astro:276:69 - warning ts(6133): 'i' is declared but its value is never read.

276                                     {contributors.map((contributor, i) => (
                                                                        ~
src/pages/[owner]/[repo]/insights/index.astro:84:7 - warning ts(6133): 'recentCommits' is declared but its value is never read.

84 const recentCommits = await getCommits(repoData.diskPath, { limit: 20 });
         ~~~~~~~~~~~~~
src/pages/[owner]/[repo]/insights/index.astro:9:5 - warning ts(6133): 'GitCommit' is declared but its value is never read.

9     GitCommit,
      ~~~~~~~~~
src/pages/[owner]/[repo]/insights/index.astro:5:24 - warning ts(6133): 'desc' is declared but its value is never read.

5 import { eq, and, sql, desc, gte, count } from "drizzle-orm";
                         ~~~~
src/pages/[owner]/[repo]/insights/index.astro:5:19 - warning ts(6133): 'sql' is declared but its value is never read.

5 import { eq, and, sql, desc, gte, count } from "drizzle-orm";
                    ~~~

src/pages/[owner]/[repo]/pulls/[number].astro:100:11 - error ts(2554): Expected 0 arguments, but got 1.

100   .select({ count: sql<number>`count(*)` })
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/[number].astro:359:50 - warning ts(6133): 'i' is declared but its value is never read.

359                   {stackInfo.entries.map((entry, i) => {
                                                     ~
src/pages/[owner]/[repo]/pulls/[number].astro:136:5 - warning ts(6133): 'mergeError' is declared but its value is never read.

136 let mergeError = "";
        ~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/[number].astro:24:3 - warning ts(6133): 'ChevronRight' is declared but its value is never read.

24   ChevronRight,
     ~~~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/[number].astro:16:3 - warning ts(6133): 'CheckCircle2' is declared but its value is never read.

16   CheckCircle2,
     ~~~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/[number].astro:13:29 - warning ts(6133): 'count' is declared but its value is never read.

13 import { and, eq, sql, asc, count } from "drizzle-orm";
                               ~~~~~
src/pages/[owner]/[repo]/pulls/[number].astro:419:3 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

419   define:vars={{
      ~~~~~~~~~~~

src/pages/[owner]/[repo]/pulls/index.astro:51:42 - error ts(2339): Property 'count' does not exist on type '{ id: string; repositoryId: string; number: number; title: string; body: string | null; state: string; authorId: string; assigneeId: string | null; milestoneId: string | null; isPinned: boolean | null; ... 7 more ...; updatedAt: string; }'.

51 const openIssueCount = issueCountResult?.count || 0;
                                            ~~~~~
src/pages/[owner]/[repo]/pulls/index.astro:41:11 - error ts(2554): Expected 0 arguments, but got 1.

41   .select({ count: count() })
             ~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/index.astro:7:25 - warning ts(6133): 'sql' is declared but its value is never read.

7 import { and, desc, eq, sql, count } from "drizzle-orm";
                          ~~~

src/pages/[owner]/[repo]/pulls/new.astro:109:42 - error ts(2339): Property 'count' does not exist on type '{ id: string; repositoryId: string; number: number; title: string; body: string | null; state: string; authorId: string; assigneeId: string | null; milestoneId: string | null; isPinned: boolean | null; ... 7 more ...; updatedAt: string; }'.

109 const openIssueCount = issueCountResult?.count || 0;
                                             ~~~~~
src/pages/[owner]/[repo]/pulls/new.astro:99:11 - error ts(2554): Expected 0 arguments, but got 1.

99   .select({ count: count() })
             ~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/new.astro:66:20 - error ts(2554): Expected 2 arguments, but got 1.

66   const repoPath = getRepoPath(repoData.id);
                      ~~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/new.astro:84:5 - warning ts(6133): 'canMerge' is declared but its value is never read.

84 let canMerge = false;
       ~~~~~~~~
src/pages/[owner]/[repo]/pulls/new.astro:83:5 - warning ts(6133): 'error' is declared but its value is never read.

83 let error = "";
       ~~~~~
src/pages/[owner]/[repo]/pulls/new.astro:25:3 - warning ts(6133): 'ArrowRight' is declared but its value is never read.

25   ArrowRight,
     ~~~~~~~~~~
src/pages/[owner]/[repo]/pulls/new.astro:22:19 - warning ts(6133): 'sql' is declared but its value is never read.

22 import { and, eq, sql, count } from "drizzle-orm";
                     ~~~
src/pages/[owner]/[repo]/pulls/new.astro:336:3 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

336   define:vars={{
      ~~~~~~~~~~~

src/pages/[owner]/[repo]/security/index.astro:47:12 - error ts(2339): Property 'count' does not exist on type '{ id: string; repositoryId: string; number: number; title: string; body: string | null; state: string; authorId: string; assigneeId: string | null; milestoneId: string | null; isPinned: boolean | null; ... 7 more ...; updatedAt: string; }'.

47   .get())?.count || 0;
              ~~~~~
src/pages/[owner]/[repo]/security/index.astro:39:11 - error ts(2554): Expected 0 arguments, but got 1.

39   .select({ count: sql<number>`count(*)` })
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/security/index.astro:8:10 - warning ts(6133): 'AlertCircle' is declared but its value is never read.

8 import { AlertCircle, CheckCircle, Shield, Play, Loader2 } from "lucide-react";
           ~~~~~~~~~~~
src/pages/[owner]/[repo]/security/index.astro:202:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

202 <script define:vars={{ repoOwner: repoInfo.owner, repoName: repoInfo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/collaborators.astro:83:10 - warning ts(6133): 'getRoleDescription' is declared but its value is never read.

83 function getRoleDescription(role: string) {
            ~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/settings/collaborators.astro:297:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

297 <script define:vars={{ owner: repo.owner, repo: repo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/index.astro:240:32 - error ts(18047): 'repo.isArchived' is possibly 'null'.

240                 data-archived={repo.isArchived.toString()}
                                   ~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/settings/index.astro:267:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

267 <script define:vars={{ owner: repo.owner, repo: repo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/webhooks.astro:326:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

326 <script define:vars={{ owner: repo.owner, repo: repo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/actions/runners.astro:15:18 - warning ts(6133): 'Terminal' is declared but its value is never read.

15 import { Server, Terminal, Copy } from "lucide-react";
                    ~~~~~~~~
src/pages/[owner]/[repo]/settings/actions/runners.astro:210:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

210 <script define:vars={{ repoId: repoData.id }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/branches/[id].astro:117:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

117 <script define:vars={{ repoId: repository.id, ruleId: rule.id, owner, repo }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/branches/index.astro:59:20 - error ts(18047): 'rule.requiredApprovals' is possibly 'null'.

59                   {rule.requiredApprovals > 0 && <span>• {rule.requiredApprovals} Approval(s)</span>}
                      ~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/settings/branches/index.astro:2:20 - error ts(2307): Cannot find module '@/layouts/RepositoryLayout.astro' or its corresponding type declarations.

2 import Layout from "@/layouts/RepositoryLayout.astro";
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/settings/branches/index.astro:4:14 - warning ts(6133): 'and' is declared but its value is never read.

4 import { eq, and } from "drizzle-orm";
               ~~~

src/pages/[owner]/[repo]/settings/branches/new.astro:152:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

152 <script define:vars={{ repoId: repository.id, owner, repo }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/webhooks/[id].astro:5:19 - warning ts(6133): 'desc' is declared but its value is never read.

5 import { eq, and, desc } from "drizzle-orm";
                    ~~~~
src/pages/[owner]/[repo]/settings/webhooks/[id].astro:176:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

176 <script define:vars={{ repoId: repo.id, owner: repo.owner, repoName: repo.name, webhookId: webhook.id }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/webhooks/index.astro:120:52 - error ts(2551): Property 'isActive' does not exist on type '{ id: string; createdAt: string; updatedAt: string; repositoryId: string; active: boolean; createdById: string | null; url: string; secret: string | null; events: unknown; contentType: string; deliveryCount: number | null; lastDeliveryStatus: string | null; lastDeliveryAt: string | null; }'. Did you mean 'active'?

120                                             {!hook.isActive && (
                                                       ~~~~~~~~
src/pages/[owner]/[repo]/settings/webhooks/index.astro:7:52 - warning ts(6133): 'MoreVertical' is declared but its value is never read.

7 import { Plus, CheckCircle2, XCircle, AlertCircle, MoreVertical } from "lucide-react";
                                                     ~~~~~~~~~~~~
src/pages/[owner]/[repo]/settings/webhooks/index.astro:7:39 - warning ts(6133): 'AlertCircle' is declared but its value is never read.

7 import { Plus, CheckCircle2, XCircle, AlertCircle, MoreVertical } from "lucide-react";
                                        ~~~~~~~~~~~
src/pages/[owner]/[repo]/settings/webhooks/index.astro:161:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

161 <script define:vars={{ repoId: repo.id }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/settings/webhooks/new.astro:187:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

187 <script define:vars={{ repoId: repo.id, owner: repo.owner, repoName: repo.name }}>
            ~~~~~~~~~~~

src/pages/[owner]/[repo]/tree/[...ref].astro:70:42 - error ts(2339): Property 'count' does not exist on type '{ id: string; repositoryId: string; number: number; title: string; body: string | null; state: string; authorId: string; assigneeId: string | null; milestoneId: string | null; isPinned: boolean | null; ... 7 more ...; updatedAt: string; }'.

70 const openIssueCount = issueCountResult?.count || 0;
                                            ~~~~~
src/pages/[owner]/[repo]/tree/[...ref].astro:60:11 - error ts(2554): Expected 0 arguments, but got 1.

60   .select({ count: sql<number>`count(*)` })
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/tree/[...ref].astro:6:3 - warning ts(6133): 'Tag' is declared but its value is never read.

6   Tag,
    ~~~

src/pages/[owner]/[repo]/tree/[branch]/[...path].astro:63:42 - error ts(2339): Property 'count' does not exist on type '{ id: string; repositoryId: string; number: number; title: string; body: string | null; state: string; authorId: string; assigneeId: string | null; milestoneId: string | null; isPinned: boolean | null; ... 7 more ...; updatedAt: string; }'.

63 const openIssueCount = issueCountResult?.count || 0;
                                            ~~~~~
src/pages/[owner]/[repo]/tree/[branch]/[...path].astro:53:11 - error ts(2554): Expected 0 arguments, but got 1.

53   .select({ count: sql<number>`count(*)` })
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/[owner]/[repo]/tree/[branch]/[...path].astro:11:3 - warning ts(6133): 'FileText' is declared but its value is never read.

11   FileText,
     ~~~~~~~~
src/pages/[owner]/[repo]/tree/[branch]/[...path].astro:6:3 - warning ts(6133): 'Tag' is declared but its value is never read.

6   Tag,
    ~~~

src/pages/admin/audit.astro:76:28 - error ts(2339): Property 'count' does not exist on type '{ id: string; userId: string | null; repositoryId: string | null; action: string; actorType: string; actorId: string | null; actorIp: string | null; actorUserAgent: string | null; targetType: string | null; targetId: string | null; targetName: string | null; data: string | null; createdAt: string; }'.

76 const total = totalResult?.count || 0;
                              ~~~~~
src/pages/admin/audit.astro:70:13 - error ts(2554): Expected 0 arguments, but got 1.

70   db.select({ count: sql<number>`count(*)` })
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/audit.astro:18:3 - warning ts(6133): 'ExternalLink' is declared but its value is never read.

18   ExternalLink
     ~~~~~~~~~~~~
src/pages/admin/audit.astro:4:27 - warning ts(6133): 'eq' is declared but its value is never read.

4 import { desc, sql, like, eq, or } from "drizzle-orm";
                            ~~

src/pages/admin/repositories.astro:45:28 - error ts(2339): Property 'count' does not exist on type '{ id: string; name: string; slug: string; description: string | null; ownerId: string; ownerType: string; visibility: string; defaultBranch: string; diskPath: string; sshCloneUrl: string | null; ... 23 more ...; updatedAt: string; }'.

45 const total = totalResult?.count || 0;
                              ~~~~~
src/pages/admin/repositories.astro:39:15 - error ts(2554): Expected 0 arguments, but got 1.

39     db.select({ count: sql<number>`count(*)` })
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/repositories.astro:4:16 - warning ts(6133): 'eq' is declared but its value is never read.

4 import { desc, eq, like, or, sql } from "drizzle-orm";
                 ~~

src/pages/admin/settings.astro:7:10 - error ts(2440): Import declaration conflicts with local declaration of 'Settings'.

7 import { Settings, Save, Mail, Globe, Lock } from "lucide-react";
           ~~~~~~~~
src/pages/admin/settings.astro:169:17 - error ts(2339): Property 'disabled' does not exist on type 'HTMLElement'.

169             btn.disabled = false;
                    ~~~~~~~~
src/pages/admin/settings.astro:169:13 - error ts(18047): 'btn' is possibly 'null'.

169             btn.disabled = false;
                ~~~
src/pages/admin/settings.astro:168:13 - error ts(18047): 'btn' is possibly 'null'.

168             btn.textContent = original;
                ~~~
src/pages/admin/settings.astro:152:69 - error ts(2339): Property 'checked' does not exist on type 'HTMLElement'.

152         data.allowSignups = document.getElementById('allowSignups').checked;
                                                                        ~~~~~~~
src/pages/admin/settings.astro:152:29 - error ts(2531): Object is possibly 'null'.

152         data.allowSignups = document.getElementById('allowSignups').checked;
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:148:39 - error ts(2345): Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
  Type 'null' is not assignable to type 'HTMLFormElement | undefined'.

148         const formData = new FormData(e.target);
                                          ~~~~~~~~
src/pages/admin/settings.astro:146:13 - error ts(2339): Property 'disabled' does not exist on type 'HTMLElement'.

146         btn.disabled = true;
                ~~~~~~~~
src/pages/admin/settings.astro:146:9 - error ts(18047): 'btn' is possibly 'null'.

146         btn.disabled = true;
            ~~~
src/pages/admin/settings.astro:145:9 - error ts(18047): 'btn' is possibly 'null'.

145         btn.textContent = "Saving...";
            ~~~
src/pages/admin/settings.astro:144:26 - error ts(18047): 'btn' is possibly 'null'.

144         const original = btn.textContent;
                             ~~~
src/pages/admin/settings.astro:133:53 - error ts(2339): Property 'value' does not exist on type 'HTMLElement'.

133                 document.getElementById('smtpFrom').value = config.smtpFrom || '';
                                                        ~~~~~
src/pages/admin/settings.astro:133:17 - error ts(2531): Object is possibly 'null'.

133                 document.getElementById('smtpFrom').value = config.smtpFrom || '';
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:132:53 - error ts(2339): Property 'value' does not exist on type 'HTMLElement'.

132                 document.getElementById('smtpUser').value = config.smtpUser || '';
                                                        ~~~~~
src/pages/admin/settings.astro:132:17 - error ts(2531): Object is possibly 'null'.

132                 document.getElementById('smtpUser').value = config.smtpUser || '';
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:131:53 - error ts(2339): Property 'value' does not exist on type 'HTMLElement'.

131                 document.getElementById('smtpPort').value = config.smtpPort || '';
                                                        ~~~~~
src/pages/admin/settings.astro:131:17 - error ts(2531): Object is possibly 'null'.

131                 document.getElementById('smtpPort').value = config.smtpPort || '';
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:130:53 - error ts(2339): Property 'value' does not exist on type 'HTMLElement'.

130                 document.getElementById('smtpHost').value = config.smtpHost || '';
                                                        ~~~~~
src/pages/admin/settings.astro:130:17 - error ts(2531): Object is possibly 'null'.

130                 document.getElementById('smtpHost').value = config.smtpHost || '';
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:128:57 - error ts(2339): Property 'checked' does not exist on type 'HTMLElement'.

128                 document.getElementById('allowSignups').checked = !!config.allowSignups;
                                                            ~~~~~~~
src/pages/admin/settings.astro:128:17 - error ts(2531): Object is possibly 'null'.

128                 document.getElementById('allowSignups').checked = !!config.allowSignups;
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:127:60 - error ts(2339): Property 'value' does not exist on type 'HTMLElement'.

127                 document.getElementById('siteDescription').value = config.siteDescription || '';
                                                               ~~~~~
src/pages/admin/settings.astro:127:17 - error ts(2531): Object is possibly 'null'.

127                 document.getElementById('siteDescription').value = config.siteDescription || '';
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/settings.astro:126:53 - error ts(2339): Property 'value' does not exist on type 'HTMLElement'.

126                 document.getElementById('siteName').value = config.siteName || '';
                                                        ~~~~~
src/pages/admin/settings.astro:126:17 - error ts(2531): Object is possibly 'null'.

126                 document.getElementById('siteName').value = config.siteName || '';
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/admin/users.astro:106:58 - error ts(2339): Property 'count' does not exist on type '{ id: string; username: string; email: string; passwordHash: string | null; displayName: string | null; bio: string | null; avatarUrl: string | null; location: string | null; website: string | null; ... 8 more ...; updatedAt: string; }'.

106               <p class="text-2xl font-bold">{adminUsers?.count || 0}</p>
                                                             ~~~~~
src/pages/admin/users.astro:95:59 - error ts(2339): Property 'count' does not exist on type '{ id: string; username: string; email: string; passwordHash: string | null; displayName: string | null; bio: string | null; avatarUrl: string | null; location: string | null; website: string | null; ... 8 more ...; updatedAt: string; }'.

95               <p class="text-2xl font-bold">{activeUsers?.count || 0}</p>
                                                             ~~~~~
src/pages/admin/users.astro:84:58 - error ts(2339): Property 'count' does not exist on type '{ id: string; username: string; email: string; passwordHash: string | null; displayName: string | null; bio: string | null; avatarUrl: string | null; location: string | null; website: string | null; ... 8 more ...; updatedAt: string; }'.

84               <p class="text-2xl font-bold">{totalUsers?.count || 0}</p>
                                                            ~~~~~
src/pages/admin/users.astro:54:13 - error ts(2554): Expected 0 arguments, but got 1.

54   db.select({ count: sql<number>`count(*)` }).from(schema.users).where(eq(schema.users.isAdmin, true)).get(),
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/users.astro:53:13 - error ts(2554): Expected 0 arguments, but got 1.

53   db.select({ count: sql<number>`count(*)` }).from(schema.users).where(eq(schema.users.isActive, true)).get(),
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/users.astro:52:13 - error ts(2554): Expected 0 arguments, but got 1.

52   db.select({ count: sql<number>`count(*)` }).from(schema.users).get(),
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/users.astro:47:28 - error ts(2339): Property 'count' does not exist on type '{ id: string; username: string; email: string; passwordHash: string | null; displayName: string | null; bio: string | null; avatarUrl: string | null; location: string | null; website: string | null; ... 8 more ...; updatedAt: string; }'.

47 const total = totalResult?.count || 0;
                              ~~~~~
src/pages/admin/users.astro:41:13 - error ts(2554): Expected 0 arguments, but got 1.

41   db.select({ count: sql<number>`count(*)` })
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/admin/users.astro:8:10 - error ts(2440): Import declaration conflicts with local declaration of 'Users'.

8 import { Users, Shield, Ban, CheckCircle, Search, ChevronLeft, ChevronRight } from "lucide-react";
           ~~~~~
src/pages/admin/users.astro:277:28 - error ts(2339): Property 'dataset' does not exist on type 'Element'.

277       const isActive = btn.dataset.isActive === 'true';
                               ~~~~~~~
src/pages/admin/users.astro:276:26 - error ts(2339): Property 'dataset' does not exist on type 'Element'.

276       const userId = btn.dataset.userId;
                             ~~~~~~~
src/pages/admin/users.astro:254:27 - error ts(2339): Property 'dataset' does not exist on type 'Element'.

254       const isAdmin = btn.dataset.isAdmin === 'true';
                              ~~~~~~~
src/pages/admin/users.astro:253:26 - error ts(2339): Property 'dataset' does not exist on type 'Element'.

253       const userId = btn.dataset.userId;
                             ~~~~~~~

src/pages/api/ai-review-rules.ts:11:56 - warning ts(6385): '(from: number, length?: number | undefined): string' is deprecated.

11     return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
                                                          ~~~~~~

src/pages/api/automation-rules.ts:11:56 - warning ts(6385): '(from: number, length?: number | undefined): string' is deprecated.

11     return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
                                                          ~~~~~~
src/pages/api/automation-rules.ts:7:14 - warning ts(6133): 'and' is declared but its value is never read.

7 import { eq, and } from "drizzle-orm";
               ~~~

src/pages/api/inbox-sections.ts:11:56 - warning ts(6385): '(from: number, length?: number | undefined): string' is deprecated.

11     return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
                                                          ~~~~~~

src/pages/api/search.ts:3:20 - warning ts(6133): 'eq' is declared but its value is never read.

3 import { like, or, eq, desc } from 'drizzle-orm';
                     ~~

src/pages/api/actions/trigger-test.ts:10:1 - warning ts(6133): 'eq' is declared but its value is never read.

10 import { eq } from "drizzle-orm";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/api/actions/trigger-test.ts:8:57 - warning ts(6133): 'notFound' is declared but its value is never read.

8 import { success, unauthorized, serverError, parseBody, notFound } from '@/lib/api';
                                                          ~~~~~~~~

src/pages/api/realtime/events.ts:28:48 - warning ts(6133): 'request' is declared but its value is never read.

28 export const POST: APIRoute = async ({ locals, request }) => {
                                                  ~~~~~~~

src/pages/api/repos/[owner]/[repo]/protection.ts:10:35 - warning ts(6133): 'badRequest' is declared but its value is never read.

10 import { parseBody, unauthorized, badRequest, notFound, success, serverError } from "@/lib/api";
                                     ~~~~~~~~~~

src/pages/api/repos/[owner]/[repo]/git/push.ts:142:26 - warning ts(6133): 'sha' is declared but its value is never read.

142             for (const { sha, ref } of bundleRefs) {
                             ~~~
src/pages/api/repos/[owner]/[repo]/git/push.ts:22:22 - warning ts(6133): 'mkdirSync' is declared but its value is never read.

22 import { existsSync, mkdirSync, writeFileSync, unlinkSync } from "fs";
                        ~~~~~~~~~
src/pages/api/repos/[owner]/[repo]/git/push.ts:18:5 - warning ts(6133): 'getDiskPath' is declared but its value is never read.

18     getDiskPath,
       ~~~~~~~~~~~
src/pages/api/repos/[owner]/[repo]/git/push.ts:13:1 - warning ts(6133): 'getRepoPath' is declared but its value is never read.

13 import { getRepoPath } from "@/lib/utils";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:210:30 - warning ts(6133): 'number' is declared but its value is never read.

210         const { owner, repo, number, commentId } = params;
                                 ~~~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:210:24 - warning ts(6133): 'repo' is declared but its value is never read.

210         const { owner, repo, number, commentId } = params;
                           ~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:163:30 - warning ts(6133): 'number' is declared but its value is never read.

163         const { owner, repo, number, commentId } = params;
                                 ~~~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:163:24 - warning ts(6133): 'repo' is declared but its value is never read.

163         const { owner, repo, number, commentId } = params;
                           ~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:99:24 - warning ts(6133): 'repo' is declared but its value is never read.

99         const { owner, repo, number } = params;
                          ~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:37:24 - warning ts(6133): 'repo' is declared but its value is never read.

37         const { owner, repo, number } = params;
                          ~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:10:35 - warning ts(6133): 'badRequest' is declared but its value is never read.

10 import { parseBody, unauthorized, badRequest, notFound, success, serverError } from "@/lib/api";
                                     ~~~~~~~~~~
src/pages/api/repos/[owner]/[repo]/pulls/[number]/comments.ts:7:25 - warning ts(6133): 'isNull' is declared but its value is never read.

7 import { eq, and, desc, isNull } from "drizzle-orm";
                          ~~~~~~

src/pages/api/stacks/index.ts:26:6 - warning ts(6196): 'CreateStackInput' is declared but never used.

26 type CreateStackInput = z.infer<typeof createStackSchema>;
        ~~~~~~~~~~~~~~~~
src/pages/api/stacks/index.ts:10:35 - warning ts(6133): 'badRequest' is declared but its value is never read.

10 import { parseBody, unauthorized, badRequest, notFound, success, serverError } from "@/lib/api";
                                     ~~~~~~~~~~

src/pages/api/user/notification-preferences.ts:12:56 - warning ts(6385): '(from: number, length?: number | undefined): string' is deprecated.

12     return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
                                                          ~~~~~~

src/pages/api/user/tokens.ts:103:24 - warning ts(6133): 'prefix' is declared but its value is never read.

103         const { token, prefix } = generateToken();
                           ~~~~~~
src/pages/api/user/tokens.ts:79:34 - warning ts(6133): 'scopes' is declared but its value is never read.

79         const { name, expiresIn, scopes } = parsed.data;
                                    ~~~~~~
src/pages/api/user/tokens.ts:26:10 - warning ts(6133): 'hashToken' is declared but its value is never read.

26 function hashToken(token: string): string {
            ~~~~~~~~~
src/pages/api/user/tokens.ts:8:23 - warning ts(6133): 'schema' is declared but its value is never read.

8 import { getDatabase, schema } from "@/db";
                        ~~~~~~

src/pages/settings/ai-review-rules.astro:35:38 - error ts(2353): Object literal may only specify known properties, and 'fullName' does not exist in type '{ id?: boolean | undefined; name?: boolean | undefined; slug?: boolean | undefined; description?: boolean | undefined; ownerId?: boolean | undefined; ownerType?: boolean | undefined; ... 27 more ...; updatedAt?: boolean | undefined; }'.

35     columns: { id: true, name: true, fullName: true },
                                        ~~~~~~~~
src/pages/settings/ai-review-rules.astro:19:3 - warning ts(6133): 'CheckCircle2' is declared but its value is never read.

19   CheckCircle2,
     ~~~~~~~~~~~~
src/pages/settings/ai-review-rules.astro:4:14 - warning ts(6133): 'and' is declared but its value is never read.

4 import { eq, and, desc } from "drizzle-orm";
               ~~~
src/pages/settings/ai-review-rules.astro:469:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

469 <script define:vars={{ repoId }}>
            ~~~~~~~~~~~

src/pages/settings/automations.astro:301:61 - warning ts(6133): 'i' is declared but its value is never read.

301                           {actions.slice(0, 3).map((action, i) => (
                                                                ~
src/pages/settings/automations.astro:437:9 - warning astro(4000): This script will be treated as if it has the `is:inline` directive because it contains an attribute. Therefore, features that require processing (e.g. using TypeScript or npm packages in the script) are unavailable.

See docs for more details: https://docs.astro.build/en/guides/client-side-scripts/#script-processing.

Add the `is:inline` directive explicitly to silence this hint.

437 <script define:vars={{ repoId }}>
            ~~~~~~~~~~~

Result (300 files): 
- 67 errors
- 0 warnings
- 224 hints