indraq_cli 2.7.0 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/cloud-api/cloud-ts-errors.txt +454 -0
  2. package/cloud-api/dist/index.js +69 -0
  3. package/cloud-api/package.json +1 -1
  4. package/cloud-api/src/index.ts +42 -0
  5. package/dist/cli/help-content.d.ts.map +1 -1
  6. package/dist/cli/help-content.js +9 -6
  7. package/dist/cli/help-content.js.map +1 -1
  8. package/dist/modules/cloud/commands/cloud.command.d.ts.map +1 -1
  9. package/dist/modules/cloud/commands/cloud.command.js +12 -2
  10. package/dist/modules/cloud/commands/cloud.command.js.map +1 -1
  11. package/dist/modules/mobile/commands/build-mobile.command.d.ts +1 -0
  12. package/dist/modules/mobile/commands/build-mobile.command.d.ts.map +1 -1
  13. package/dist/modules/mobile/commands/build-mobile.command.js +39 -21
  14. package/dist/modules/mobile/commands/build-mobile.command.js.map +1 -1
  15. package/dist/modules/mobile/commands/combined-mobile-setup.command.d.ts +5 -0
  16. package/dist/modules/mobile/commands/combined-mobile-setup.command.d.ts.map +1 -0
  17. package/dist/modules/mobile/commands/combined-mobile-setup.command.js +34 -0
  18. package/dist/modules/mobile/commands/combined-mobile-setup.command.js.map +1 -0
  19. package/dist/modules/mobile/commands/configure-mobile.command.d.ts.map +1 -1
  20. package/dist/modules/mobile/commands/configure-mobile.command.js +2 -1
  21. package/dist/modules/mobile/commands/configure-mobile.command.js.map +1 -1
  22. package/dist/modules/mobile/commands/mobile-build-wizard.command.d.ts +15 -0
  23. package/dist/modules/mobile/commands/mobile-build-wizard.command.d.ts.map +1 -0
  24. package/dist/modules/mobile/commands/mobile-build-wizard.command.js +134 -0
  25. package/dist/modules/mobile/commands/mobile-build-wizard.command.js.map +1 -0
  26. package/dist/modules/mobile/commands/mobile-environment.command.d.ts.map +1 -1
  27. package/dist/modules/mobile/commands/mobile-environment.command.js +4 -6
  28. package/dist/modules/mobile/commands/mobile-environment.command.js.map +1 -1
  29. package/dist/modules/mobile/commands/mobile-prebuild.command.d.ts +2 -0
  30. package/dist/modules/mobile/commands/mobile-prebuild.command.d.ts.map +1 -1
  31. package/dist/modules/mobile/commands/mobile-prebuild.command.js +8 -5
  32. package/dist/modules/mobile/commands/mobile-prebuild.command.js.map +1 -1
  33. package/dist/modules/mobile/commands/ota.command.d.ts +1 -0
  34. package/dist/modules/mobile/commands/ota.command.d.ts.map +1 -1
  35. package/dist/modules/mobile/commands/ota.command.js +37 -1
  36. package/dist/modules/mobile/commands/ota.command.js.map +1 -1
  37. package/dist/modules/mobile/config/mobile-config.d.ts +1 -0
  38. package/dist/modules/mobile/config/mobile-config.d.ts.map +1 -1
  39. package/dist/modules/mobile/config/mobile-config.js +6 -1
  40. package/dist/modules/mobile/config/mobile-config.js.map +1 -1
  41. package/dist/modules/mobile/index.d.ts.map +1 -1
  42. package/dist/modules/mobile/index.js +18 -1
  43. package/dist/modules/mobile/index.js.map +1 -1
  44. package/dist/modules/mobile/services/expo-app-json.service.d.ts +10 -0
  45. package/dist/modules/mobile/services/expo-app-json.service.d.ts.map +1 -0
  46. package/dist/modules/mobile/services/expo-app-json.service.js +154 -0
  47. package/dist/modules/mobile/services/expo-app-json.service.js.map +1 -0
  48. package/dist/modules/mobile/services/ota-setup.service.d.ts.map +1 -1
  49. package/dist/modules/mobile/services/ota-setup.service.js +4 -3
  50. package/dist/modules/mobile/services/ota-setup.service.js.map +1 -1
  51. package/dist/modules/mobile/services/version-sync.service.d.ts.map +1 -1
  52. package/dist/modules/mobile/services/version-sync.service.js +3 -2
  53. package/dist/modules/mobile/services/version-sync.service.js.map +1 -1
  54. package/dist/modules/scopes/commands/scope.command.d.ts +2 -0
  55. package/dist/modules/scopes/commands/scope.command.d.ts.map +1 -1
  56. package/dist/modules/scopes/commands/scope.command.js +125 -3
  57. package/dist/modules/scopes/commands/scope.command.js.map +1 -1
  58. package/dist/modules/scopes/index.d.ts.map +1 -1
  59. package/dist/modules/scopes/index.js +1 -0
  60. package/dist/modules/scopes/index.js.map +1 -1
  61. package/dist/modules/scopes/services/native-scope-inspection.service.d.ts +10 -0
  62. package/dist/modules/scopes/services/native-scope-inspection.service.d.ts.map +1 -0
  63. package/dist/modules/scopes/services/native-scope-inspection.service.js +75 -0
  64. package/dist/modules/scopes/services/native-scope-inspection.service.js.map +1 -0
  65. package/dist/modules/scopes/services/scope-native.service.d.ts +2 -0
  66. package/dist/modules/scopes/services/scope-native.service.d.ts.map +1 -1
  67. package/dist/modules/scopes/services/scope-native.service.js +43 -5
  68. package/dist/modules/scopes/services/scope-native.service.js.map +1 -1
  69. package/dist/modules/users/providers/npm-user.provider.d.ts +11 -0
  70. package/dist/modules/users/providers/npm-user.provider.d.ts.map +1 -1
  71. package/dist/modules/users/providers/npm-user.provider.js +16 -1
  72. package/dist/modules/users/providers/npm-user.provider.js.map +1 -1
  73. package/docs/assets/architecture.png +0 -0
  74. package/docs/assets/architecture.svg +123 -0
  75. package/docs/assets/backend-mobile.png +0 -0
  76. package/docs/assets/backend-mobile.svg +97 -0
  77. package/docs/assets/cleanup.png +0 -0
  78. package/docs/assets/cleanup.svg +104 -0
  79. package/docs/assets/setup-flow.png +0 -0
  80. package/docs/assets/setup-flow.svg +95 -0
  81. package/docs/assets/web-deployment.png +0 -0
  82. package/docs/assets/web-deployment.svg +72 -0
  83. package/package.json +12 -6
  84. package/README.md +0 -758
@@ -0,0 +1,454 @@
1
+ src/index.ts(2,73): error TS2307: Cannot find module 'express' or its corresponding type declarations.
2
+ src/index.ts(3,20): error TS2307: Cannot find module 'bcryptjs' or its corresponding type declarations.
3
+ src/index.ts(4,17): error TS2307: Cannot find module 'jsonwebtoken' or its corresponding type declarations.
4
+ src/index.ts(5,16): error TS2307: Cannot find module 'pg' or its corresponding type declarations.
5
+ src/index.ts(6,24): error TS2307: Cannot find module 'nodemailer' or its corresponding type declarations.
6
+ src/index.ts(7,98): error TS2307: Cannot find module '@aws-sdk/client-iam' or its corresponding type declarations.
7
+ src/index.ts(13,24): error TS2307: Cannot find module 'minio' or its corresponding type declarations.
8
+ src/index.ts(97,25): error TS2339: Property 'headers' does not exist on type 'AuthedRequest'.
9
+ src/index.ts(121,94): error TS2339: Property 'path' does not exist on type 'AuthedRequest'.
10
+ src/index.ts(661,27): error TS7006: Parameter '_req' implicitly has an 'any' type.
11
+ src/index.ts(661,33): error TS7006: Parameter 'res' implicitly has an 'any' type.
12
+ src/index.ts(666,32): error TS7006: Parameter 'req' implicitly has an 'any' type.
13
+ src/index.ts(666,37): error TS7006: Parameter 'res' implicitly has an 'any' type.
14
+ src/index.ts(683,60): error TS7006: Parameter 'res' implicitly has an 'any' type.
15
+ src/index.ts(691,34): error TS7006: Parameter 'req' implicitly has an 'any' type.
16
+ src/index.ts(691,39): error TS7006: Parameter 'res' implicitly has an 'any' type.
17
+ src/index.ts(709,33): error TS7006: Parameter 'req' implicitly has an 'any' type.
18
+ src/index.ts(709,38): error TS7006: Parameter 'res' implicitly has an 'any' type.
19
+ src/index.ts(715,48): error TS7006: Parameter 'res' implicitly has an 'any' type.
20
+ src/index.ts(717,73): error TS7006: Parameter 'res' implicitly has an 'any' type.
21
+ src/index.ts(718,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
22
+ src/index.ts(730,49): error TS7006: Parameter 'req' implicitly has an 'any' type.
23
+ src/index.ts(730,54): error TS7006: Parameter 'res' implicitly has an 'any' type.
24
+ src/index.ts(747,48): error TS7006: Parameter 'req' implicitly has an 'any' type.
25
+ src/index.ts(747,53): error TS7006: Parameter 'res' implicitly has an 'any' type.
26
+ src/index.ts(776,77): error TS7006: Parameter 'res' implicitly has an 'any' type.
27
+ src/index.ts(778,56): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
28
+ src/index.ts(792,91): error TS7006: Parameter 'res' implicitly has an 'any' type.
29
+ src/index.ts(794,29): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
30
+ src/index.ts(798,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
31
+ src/index.ts(806,83): error TS7006: Parameter 'res' implicitly has an 'any' type.
32
+ src/index.ts(808,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
33
+ src/index.ts(866,76): error TS7006: Parameter 'res' implicitly has an 'any' type.
34
+ src/index.ts(878,76): error TS7006: Parameter 'res' implicitly has an 'any' type.
35
+ src/index.ts(880,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
36
+ src/index.ts(881,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
37
+ src/index.ts(918,97): error TS7006: Parameter 'res' implicitly has an 'any' type.
38
+ src/index.ts(920,29): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
39
+ src/index.ts(924,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
40
+ src/index.ts(925,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
41
+ src/index.ts(926,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
42
+ src/index.ts(927,33): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
43
+ src/index.ts(947,112): error TS7006: Parameter 'res' implicitly has an 'any' type.
44
+ src/index.ts(949,29): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
45
+ src/index.ts(950,38): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
46
+ src/index.ts(963,65): error TS7006: Parameter 'res' implicitly has an 'any' type.
47
+ src/index.ts(971,86): error TS7006: Parameter 'res' implicitly has an 'any' type.
48
+ src/index.ts(986,86): error TS7006: Parameter 'res' implicitly has an 'any' type.
49
+ src/index.ts(988,38): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
50
+ src/index.ts(995,117): error TS7006: Parameter 'res' implicitly has an 'any' type.
51
+ src/index.ts(997,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
52
+ src/index.ts(998,38): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
53
+ src/index.ts(1007,96): error TS7006: Parameter 'res' implicitly has an 'any' type.
54
+ src/index.ts(1008,29): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
55
+ src/index.ts(1019,87): error TS7006: Parameter 'res' implicitly has an 'any' type.
56
+ src/index.ts(1021,38): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
57
+ src/index.ts(1033,55): error TS7006: Parameter 'res' implicitly has an 'any' type.
58
+ src/index.ts(1035,28): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
59
+ src/index.ts(1035,69): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
60
+ src/index.ts(1056,56): error TS7006: Parameter 'res' implicitly has an 'any' type.
61
+ src/index.ts(1057,29): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
62
+ src/index.ts(1057,62): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
63
+ src/index.ts(1058,11): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
64
+ src/index.ts(1060,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
65
+ src/index.ts(1061,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
66
+ src/index.ts(1062,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
67
+ src/index.ts(1078,59): error TS7006: Parameter 'res' implicitly has an 'any' type.
68
+ src/index.ts(1079,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
69
+ src/index.ts(1087,85): error TS7006: Parameter 'res' implicitly has an 'any' type.
70
+ src/index.ts(1089,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
71
+ src/index.ts(1091,18): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
72
+ src/index.ts(1091,49): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
73
+ src/index.ts(1092,119): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
74
+ src/index.ts(1093,82): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
75
+ src/index.ts(1097,10): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
76
+ src/index.ts(1097,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
77
+ src/index.ts(1104,79): error TS7006: Parameter 'res' implicitly has an 'any' type.
78
+ src/index.ts(1106,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
79
+ src/index.ts(1108,26): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
80
+ src/index.ts(1131,52): error TS7006: Parameter 'row' implicitly has an 'any' type.
81
+ src/index.ts(1149,101): error TS7006: Parameter 'res' implicitly has an 'any' type.
82
+ src/index.ts(1150,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
83
+ src/index.ts(1183,86): error TS7006: Parameter 'res' implicitly has an 'any' type.
84
+ src/index.ts(1185,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
85
+ src/index.ts(1193,92): error TS7006: Parameter 'res' implicitly has an 'any' type.
86
+ src/index.ts(1195,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
87
+ src/index.ts(1203,92): error TS7006: Parameter 'res' implicitly has an 'any' type.
88
+ src/index.ts(1205,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
89
+ src/index.ts(1213,91): error TS7006: Parameter 'res' implicitly has an 'any' type.
90
+ src/index.ts(1214,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
91
+ src/index.ts(1222,92): error TS7006: Parameter 'res' implicitly has an 'any' type.
92
+ src/index.ts(1224,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
93
+ src/index.ts(1226,29): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
94
+ src/index.ts(1232,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
95
+ src/index.ts(1250,102): error TS7006: Parameter 'res' implicitly has an 'any' type.
96
+ src/index.ts(1252,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
97
+ src/index.ts(1254,33): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
98
+ src/index.ts(1268,39): error TS7006: Parameter 'req' implicitly has an 'any' type.
99
+ src/index.ts(1268,44): error TS7006: Parameter 'res' implicitly has an 'any' type.
100
+ src/index.ts(1287,73): error TS7006: Parameter 'res' implicitly has an 'any' type.
101
+ src/index.ts(1289,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
102
+ src/index.ts(1290,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
103
+ src/index.ts(1290,61): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
104
+ src/index.ts(1292,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
105
+ src/index.ts(1292,61): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
106
+ src/index.ts(1293,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
107
+ src/index.ts(1293,58): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
108
+ src/index.ts(1294,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
109
+ src/index.ts(1294,48): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
110
+ src/index.ts(1295,36): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
111
+ src/index.ts(1310,76): error TS7006: Parameter 'res' implicitly has an 'any' type.
112
+ src/index.ts(1312,29): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
113
+ src/index.ts(1313,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
114
+ src/index.ts(1314,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
115
+ src/index.ts(1314,61): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
116
+ src/index.ts(1315,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
117
+ src/index.ts(1315,61): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
118
+ src/index.ts(1316,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
119
+ src/index.ts(1316,58): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
120
+ src/index.ts(1317,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
121
+ src/index.ts(1317,48): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
122
+ src/index.ts(1318,36): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
123
+ src/index.ts(1335,79): error TS7006: Parameter 'res' implicitly has an 'any' type.
124
+ src/index.ts(1337,29): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
125
+ src/index.ts(1344,34): error TS7006: Parameter '_req' implicitly has an 'any' type.
126
+ src/index.ts(1344,40): error TS7006: Parameter 'res' implicitly has an 'any' type.
127
+ src/index.ts(1348,68): error TS7006: Parameter 'res' implicitly has an 'any' type.
128
+ src/index.ts(1349,85): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
129
+ src/index.ts(1354,79): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
130
+ src/index.ts(1366,53): error TS7006: Parameter 'res' implicitly has an 'any' type.
131
+ src/index.ts(1368,37): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
132
+ src/index.ts(1368,72): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
133
+ src/index.ts(1369,29): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
134
+ src/index.ts(1389,67): error TS7006: Parameter 'res' implicitly has an 'any' type.
135
+ src/index.ts(1392,42): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
136
+ src/index.ts(1394,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
137
+ src/index.ts(1396,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
138
+ src/index.ts(1396,58): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
139
+ src/index.ts(1397,23): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
140
+ src/index.ts(1397,50): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
141
+ src/index.ts(1398,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
142
+ src/index.ts(1398,64): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
143
+ src/index.ts(1403,48): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
144
+ src/index.ts(1409,57): error TS7006: Parameter 'res' implicitly has an 'any' type.
145
+ src/index.ts(1410,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
146
+ src/index.ts(1421,72): error TS7006: Parameter 'res' implicitly has an 'any' type.
147
+ src/index.ts(1423,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
148
+ src/index.ts(1426,20): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
149
+ src/index.ts(1426,81): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
150
+ src/index.ts(1428,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
151
+ src/index.ts(1428,78): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
152
+ src/index.ts(1428,108): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
153
+ src/index.ts(1429,23): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
154
+ src/index.ts(1429,70): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
155
+ src/index.ts(1429,96): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
156
+ src/index.ts(1430,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
157
+ src/index.ts(1430,80): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
158
+ src/index.ts(1431,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
159
+ src/index.ts(1431,100): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
160
+ src/index.ts(1431,141): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
161
+ src/index.ts(1440,16): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
162
+ src/index.ts(1440,74): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
163
+ src/index.ts(1446,73): error TS7006: Parameter 'res' implicitly has an 'any' type.
164
+ src/index.ts(1448,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
165
+ src/index.ts(1463,66): error TS7006: Parameter 'res' implicitly has an 'any' type.
166
+ src/index.ts(1465,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
167
+ src/index.ts(1476,65): error TS7006: Parameter 'res' implicitly has an 'any' type.
168
+ src/index.ts(1477,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
169
+ src/index.ts(1487,89): error TS7006: Parameter 'res' implicitly has an 'any' type.
170
+ src/index.ts(1489,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
171
+ src/index.ts(1491,40): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
172
+ src/index.ts(1492,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
173
+ src/index.ts(1510,99): error TS7006: Parameter 'res' implicitly has an 'any' type.
174
+ src/index.ts(1512,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
175
+ src/index.ts(1514,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
176
+ src/index.ts(1525,63): error TS7006: Parameter 'res' implicitly has an 'any' type.
177
+ src/index.ts(1526,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
178
+ src/index.ts(1538,56): error TS7006: Parameter 'res' implicitly has an 'any' type.
179
+ src/index.ts(1550,64): error TS7006: Parameter 'res' implicitly has an 'any' type.
180
+ src/index.ts(1559,74): error TS7006: Parameter 'res' implicitly has an 'any' type.
181
+ src/index.ts(1562,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
182
+ src/index.ts(1564,41): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
183
+ src/index.ts(1576,75): error TS7006: Parameter 'res' implicitly has an 'any' type.
184
+ src/index.ts(1579,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
185
+ src/index.ts(1581,25): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
186
+ src/index.ts(1581,65): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
187
+ src/index.ts(1582,27): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
188
+ src/index.ts(1582,67): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
189
+ src/index.ts(1583,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
190
+ src/index.ts(1584,32): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
191
+ src/index.ts(1584,70): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
192
+ src/index.ts(1585,11): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
193
+ src/index.ts(1643,85): error TS7006: Parameter 'res' implicitly has an 'any' type.
194
+ src/index.ts(1644,47): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
195
+ src/index.ts(1647,34): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
196
+ src/index.ts(1647,72): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
197
+ src/index.ts(1647,119): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
198
+ src/index.ts(1661,95): error TS7006: Parameter 'res' implicitly has an 'any' type.
199
+ src/index.ts(1663,47): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
200
+ src/index.ts(1666,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
201
+ src/index.ts(1668,43): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
202
+ src/index.ts(1669,41): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
203
+ src/index.ts(1683,98): error TS7006: Parameter 'res' implicitly has an 'any' type.
204
+ src/index.ts(1685,47): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
205
+ src/index.ts(1687,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
206
+ src/index.ts(1688,43): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
207
+ src/index.ts(1688,68): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
208
+ src/index.ts(1698,86): error TS7006: Parameter 'res' implicitly has an 'any' type.
209
+ src/index.ts(1699,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
210
+ src/index.ts(1722,94): error TS7006: Parameter 'res' implicitly has an 'any' type.
211
+ src/index.ts(1723,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
212
+ src/index.ts(1742,116): error TS7006: Parameter 'res' implicitly has an 'any' type.
213
+ src/index.ts(1744,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
214
+ src/index.ts(1746,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
215
+ src/index.ts(1749,39): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
216
+ src/index.ts(1751,29): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
217
+ src/index.ts(1751,62): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
218
+ src/index.ts(1752,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
219
+ src/index.ts(1752,65): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
220
+ src/index.ts(1758,98): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
221
+ src/index.ts(1764,119): error TS7006: Parameter 'res' implicitly has an 'any' type.
222
+ src/index.ts(1766,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
223
+ src/index.ts(1768,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
224
+ src/index.ts(1774,114): error TS7006: Parameter 'res' implicitly has an 'any' type.
225
+ src/index.ts(1776,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
226
+ src/index.ts(1778,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
227
+ src/index.ts(1781,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
228
+ src/index.ts(1782,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
229
+ src/index.ts(1783,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
230
+ src/index.ts(1784,33): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
231
+ src/index.ts(1797,110): error TS7006: Parameter 'res' implicitly has an 'any' type.
232
+ src/index.ts(1799,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
233
+ src/index.ts(1801,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
234
+ src/index.ts(1802,33): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
235
+ src/index.ts(1815,117): error TS7006: Parameter 'res' implicitly has an 'any' type.
236
+ src/index.ts(1817,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
237
+ src/index.ts(1819,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
238
+ src/index.ts(1825,71): error TS7006: Parameter 'res' implicitly has an 'any' type.
239
+ src/index.ts(1834,80): error TS7006: Parameter 'res' implicitly has an 'any' type.
240
+ src/index.ts(1836,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
241
+ src/index.ts(1840,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
242
+ src/index.ts(1841,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
243
+ src/index.ts(1854,89): error TS7006: Parameter 'res' implicitly has an 'any' type.
244
+ src/index.ts(1856,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
245
+ src/index.ts(1865,88): error TS7006: Parameter 'res' implicitly has an 'any' type.
246
+ src/index.ts(1867,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
247
+ src/index.ts(1891,90): error TS7006: Parameter 'res' implicitly has an 'any' type.
248
+ src/index.ts(1893,45): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
249
+ src/index.ts(1895,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
250
+ src/index.ts(1939,62): error TS7006: Parameter 'res' implicitly has an 'any' type.
251
+ src/index.ts(1950,103): error TS7006: Parameter 'res' implicitly has an 'any' type.
252
+ src/index.ts(1952,33): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
253
+ src/index.ts(1957,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
254
+ src/index.ts(1959,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
255
+ src/index.ts(1959,63): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
256
+ src/index.ts(1968,28): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
257
+ src/index.ts(1974,67): error TS7006: Parameter 'res' implicitly has an 'any' type.
258
+ src/index.ts(1979,98): error TS7006: Parameter 'res' implicitly has an 'any' type.
259
+ src/index.ts(1980,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
260
+ src/index.ts(1991,108): error TS7006: Parameter 'res' implicitly has an 'any' type.
261
+ src/index.ts(1993,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
262
+ src/index.ts(1994,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
263
+ src/index.ts(1999,39): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
264
+ src/index.ts(2000,29): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
265
+ src/index.ts(2000,62): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
266
+ src/index.ts(2007,75): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
267
+ src/index.ts(2013,111): error TS7006: Parameter 'res' implicitly has an 'any' type.
268
+ src/index.ts(2015,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
269
+ src/index.ts(2016,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
270
+ src/index.ts(2026,72): error TS7006: Parameter 'res' implicitly has an 'any' type.
271
+ src/index.ts(2029,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
272
+ src/index.ts(2031,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
273
+ src/index.ts(2031,63): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
274
+ src/index.ts(2040,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
275
+ src/index.ts(2046,81): error TS7006: Parameter 'res' implicitly has an 'any' type.
276
+ src/index.ts(2048,25): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
277
+ src/index.ts(2048,53): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
278
+ src/index.ts(2053,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
279
+ src/index.ts(2069,83): error TS7006: Parameter 'res' implicitly has an 'any' type.
280
+ src/index.ts(2070,47): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
281
+ src/index.ts(2073,43): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
282
+ src/index.ts(2074,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
283
+ src/index.ts(2076,32): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
284
+ src/index.ts(2087,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
285
+ src/index.ts(2096,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
286
+ src/index.ts(2097,41): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
287
+ src/index.ts(2132,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
288
+ src/index.ts(2134,33): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
289
+ src/index.ts(2194,39): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
290
+ src/index.ts(2197,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
291
+ src/index.ts(2198,35): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
292
+ src/index.ts(2199,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
293
+ src/index.ts(2229,23): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
294
+ src/index.ts(2248,76): error TS7006: Parameter 'res' implicitly has an 'any' type.
295
+ src/index.ts(2249,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
296
+ src/index.ts(2251,26): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
297
+ src/index.ts(2251,63): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
298
+ src/index.ts(2263,82): error TS7006: Parameter 'res' implicitly has an 'any' type.
299
+ src/index.ts(2264,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
300
+ src/index.ts(2267,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
301
+ src/index.ts(2269,43): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
302
+ src/index.ts(2279,82): error TS7006: Parameter 'res' implicitly has an 'any' type.
303
+ src/index.ts(2280,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
304
+ src/index.ts(2284,44): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
305
+ src/index.ts(2286,44): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
306
+ src/index.ts(2287,43): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
307
+ src/index.ts(2292,26): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
308
+ src/index.ts(2292,55): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
309
+ src/index.ts(2293,48): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
310
+ src/index.ts(2293,85): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
311
+ src/index.ts(2310,76): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
312
+ src/index.ts(2310,99): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
313
+ src/index.ts(2310,125): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
314
+ src/index.ts(2319,96): error TS7006: Parameter 'res' implicitly has an 'any' type.
315
+ src/index.ts(2320,33): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
316
+ src/index.ts(2338,106): error TS7006: Parameter 'res' implicitly has an 'any' type.
317
+ src/index.ts(2339,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
318
+ src/index.ts(2341,29): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
319
+ src/index.ts(2341,61): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
320
+ src/index.ts(2352,120): error TS7006: Parameter 'res' implicitly has an 'any' type.
321
+ src/index.ts(2354,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
322
+ src/index.ts(2356,37): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
323
+ src/index.ts(2357,29): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
324
+ src/index.ts(2358,26): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
325
+ src/index.ts(2371,130): error TS7006: Parameter 'res' implicitly has an 'any' type.
326
+ src/index.ts(2373,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
327
+ src/index.ts(2375,37): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
328
+ src/index.ts(2376,33): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
329
+ src/index.ts(2389,89): error TS7006: Parameter 'res' implicitly has an 'any' type.
330
+ src/index.ts(2390,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
331
+ src/index.ts(2394,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
332
+ src/index.ts(2396,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
333
+ src/index.ts(2396,63): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
334
+ src/index.ts(2401,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
335
+ src/index.ts(2407,79): error TS7006: Parameter 'res' implicitly has an 'any' type.
336
+ src/index.ts(2408,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
337
+ src/index.ts(2417,98): error TS7006: Parameter 'res' implicitly has an 'any' type.
338
+ src/index.ts(2418,36): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
339
+ src/index.ts(2422,48): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
340
+ src/index.ts(2513,46): error TS7006: Parameter '_req' implicitly has an 'any' type.
341
+ src/index.ts(2513,52): error TS7006: Parameter 'res' implicitly has an 'any' type.
342
+ src/index.ts(2520,80): error TS7006: Parameter 'res' implicitly has an 'any' type.
343
+ src/index.ts(2522,30): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
344
+ src/index.ts(2523,30): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
345
+ src/index.ts(2524,32): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
346
+ src/index.ts(2526,28): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
347
+ src/index.ts(2528,36): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
348
+ src/index.ts(2533,47): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
349
+ src/index.ts(2533,78): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
350
+ src/index.ts(2539,83): error TS7006: Parameter 'res' implicitly has an 'any' type.
351
+ src/index.ts(2541,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
352
+ src/index.ts(2544,20): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
353
+ src/index.ts(2544,76): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
354
+ src/index.ts(2545,20): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
355
+ src/index.ts(2545,76): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
356
+ src/index.ts(2546,25): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
357
+ src/index.ts(2546,89): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
358
+ src/index.ts(2548,21): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
359
+ src/index.ts(2548,91): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
360
+ src/index.ts(2550,26): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
361
+ src/index.ts(2550,95): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
362
+ src/index.ts(2551,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
363
+ src/index.ts(2551,85): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
364
+ src/index.ts(2555,47): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
365
+ src/index.ts(2555,108): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
366
+ src/index.ts(2555,138): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
367
+ src/index.ts(2561,86): error TS7006: Parameter 'res' implicitly has an 'any' type.
368
+ src/index.ts(2563,40): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
369
+ src/index.ts(2570,73): error TS7006: Parameter 'res' implicitly has an 'any' type.
370
+ src/index.ts(2571,47): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
371
+ src/index.ts(2591,83): error TS7006: Parameter 'res' implicitly has an 'any' type.
372
+ src/index.ts(2593,47): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
373
+ src/index.ts(2597,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
374
+ src/index.ts(2598,32): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
375
+ src/index.ts(2600,45): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
376
+ src/index.ts(2603,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
377
+ src/index.ts(2605,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
378
+ src/index.ts(2605,73): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
379
+ src/index.ts(2605,126): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
380
+ src/index.ts(2606,32): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
381
+ src/index.ts(2606,75): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
382
+ src/index.ts(2606,129): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
383
+ src/index.ts(2614,40): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
384
+ src/index.ts(2614,71): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
385
+ src/index.ts(2635,106): error TS7006: Parameter 'res' implicitly has an 'any' type.
386
+ src/index.ts(2636,54): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
387
+ src/index.ts(2637,49): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
388
+ src/index.ts(2639,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
389
+ src/index.ts(2641,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
390
+ src/index.ts(2645,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
391
+ src/index.ts(2646,25): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
392
+ src/index.ts(2646,60): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
393
+ src/index.ts(2646,101): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
394
+ src/index.ts(2647,25): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
395
+ src/index.ts(2647,60): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
396
+ src/index.ts(2647,101): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
397
+ src/index.ts(2650,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
398
+ src/index.ts(2650,48): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
399
+ src/index.ts(2651,30): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
400
+ src/index.ts(2662,73): error TS7006: Parameter 'res' implicitly has an 'any' type.
401
+ src/index.ts(2663,54): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
402
+ src/index.ts(2673,74): error TS7006: Parameter 'res' implicitly has an 'any' type.
403
+ src/index.ts(2674,54): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
404
+ src/index.ts(2675,45): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
405
+ src/index.ts(2681,38): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
406
+ src/index.ts(2685,41): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
407
+ src/index.ts(2688,31): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
408
+ src/index.ts(2689,33): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
409
+ src/index.ts(2691,42): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
410
+ src/index.ts(2691,83): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
411
+ src/index.ts(2696,32): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
412
+ src/index.ts(2708,79): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
413
+ src/index.ts(2718,128): error TS7006: Parameter 'res' implicitly has an 'any' type.
414
+ src/index.ts(2719,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
415
+ src/index.ts(2720,35): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
416
+ src/index.ts(2722,34): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
417
+ src/index.ts(2722,44): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
418
+ src/index.ts(2722,65): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
419
+ src/index.ts(2728,148): error TS2339: Property 'headers' does not exist on type 'AuthedRequest'.
420
+ src/index.ts(2728,186): error TS2339: Property 'headers' does not exist on type 'AuthedRequest'.
421
+ src/index.ts(2729,30): error TS2339: Property 'headers' does not exist on type 'AuthedRequest'.
422
+ src/index.ts(2733,64): error TS2339: Property 'headers' does not exist on type 'AuthedRequest'.
423
+ src/index.ts(2733,102): error TS2339: Property 'headers' does not exist on type 'AuthedRequest'.
424
+ src/index.ts(2738,82): error TS7006: Parameter 'res' implicitly has an 'any' type.
425
+ src/index.ts(2739,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
426
+ src/index.ts(2740,37): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
427
+ src/index.ts(2740,58): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
428
+ src/index.ts(2776,81): error TS7006: Parameter 'res' implicitly has an 'any' type.
429
+ src/index.ts(2777,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
430
+ src/index.ts(2781,79): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
431
+ src/index.ts(2785,79): error TS7006: Parameter 'res' implicitly has an 'any' type.
432
+ src/index.ts(2786,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
433
+ src/index.ts(2788,77): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
434
+ src/index.ts(2792,82): error TS7006: Parameter 'res' implicitly has an 'any' type.
435
+ src/index.ts(2793,53): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
436
+ src/index.ts(2794,22): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
437
+ src/index.ts(2794,66): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
438
+ src/index.ts(2820,83): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
439
+ src/index.ts(2825,72): error TS7006: Parameter 'res' implicitly has an 'any' type.
440
+ src/index.ts(2826,54): error TS2339: Property 'params' does not exist on type 'AuthedRequest'.
441
+ src/index.ts(2827,30): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
442
+ src/index.ts(2827,62): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
443
+ src/index.ts(2827,93): error TS2339: Property 'query' does not exist on type 'AuthedRequest'.
444
+ src/index.ts(2845,48): error TS7006: Parameter 'req' implicitly has an 'any' type.
445
+ src/index.ts(2845,52): error TS7006: Parameter 'res' implicitly has an 'any' type.
446
+ src/index.ts(2884,42): error TS7006: Parameter 'req' implicitly has an 'any' type.
447
+ src/index.ts(2884,46): error TS7006: Parameter 'res' implicitly has an 'any' type.
448
+ src/index.ts(2890,22): error TS7006: Parameter 'error' implicitly has an 'any' type.
449
+ src/index.ts(2894,47): error TS7006: Parameter 'req' implicitly has an 'any' type.
450
+ src/index.ts(2894,51): error TS7006: Parameter 'res' implicitly has an 'any' type.
451
+ src/index.ts(2915,53): error TS7006: Parameter 'res' implicitly has an 'any' type.
452
+ src/index.ts(2917,67): error TS2339: Property 'body' does not exist on type 'AuthedRequest'.
453
+ src/index.ts(2923,55): error TS7006: Parameter 'req' implicitly has an 'any' type.
454
+ src/index.ts(2923,60): error TS7006: Parameter 'res' implicitly has an 'any' type.
@@ -1724,6 +1724,75 @@ app.delete('/scopes/:id/members/:userId', ...allow('manager', 'admin'), async (r
1724
1724
  await audit(req.auth.id, 'scope.member.remove', 'provider-scope', id, reason, { userId, email: target.rows[0].email });
1725
1725
  res.status(204).end();
1726
1726
  });
1727
+ // Verify stored native logins on the exact provider scope; passwords never leave the Cloud API.
1728
+ // This is intentionally read-only. External account deletion/permission drift is
1729
+ // handled by explicit CLI repair, never by silently deleting Cloud membership.
1730
+ app.post('/scopes/:id/native-logins/verify', ...allow('manager', 'admin'), async (req, res) => {
1731
+ const id = ensureUuid(routeParam(req.params.id), 'Scope ID');
1732
+ if (!(await canManageScope(id, req.auth))) {
1733
+ res.status(403).json({ error: 'MANAGE access to this scope is required.' });
1734
+ return;
1735
+ }
1736
+ const scope = (await pool.query('SELECT provider,config FROM provider_scopes WHERE id=$1 AND is_active=true', [id])).rows[0];
1737
+ if (!scope) {
1738
+ res.status(404).json({ error: 'Scope not found.' });
1739
+ return;
1740
+ }
1741
+ if (!['jenkins-dev', 'jenkins-prod', 'npm'].includes(scope.provider)) {
1742
+ res.json([]);
1743
+ return;
1744
+ }
1745
+ const rows = (await pool.query(`SELECT psm.user_id AS cloud_user_id,COALESCE(sea.external_username,u.name) AS external_username,
1746
+ COALESCE(sea.external_email,u.email) AS external_email,sea.encrypted_secret,u.role
1747
+ FROM provider_scope_members psm JOIN users u ON u.id=psm.user_id
1748
+ LEFT JOIN scope_external_accounts sea ON sea.scope_id=psm.scope_id AND sea.cloud_user_id=u.id
1749
+ WHERE psm.scope_id=$1 AND u.is_active=true ORDER BY u.email LIMIT 200`, [id])).rows;
1750
+ const url = String(scope.config?.url || '').replace(/\/+$/, '');
1751
+ const entries = [];
1752
+ // Bounded sequential network calls avoid overloading Jenkins/NPM while auditing.
1753
+ for (const row of rows) {
1754
+ if (req.auth.role === 'manager' && row.role !== 'user')
1755
+ continue;
1756
+ if (!row.encrypted_secret || !url) {
1757
+ entries.push({ userId: row.cloud_user_id, status: 'unconfigured' });
1758
+ continue;
1759
+ }
1760
+ try {
1761
+ const secret = decrypt(row.encrypted_secret);
1762
+ const ctrl = new AbortController();
1763
+ const timeout = setTimeout(() => ctrl.abort(), 8000);
1764
+ try {
1765
+ const response = scope.provider === 'npm'
1766
+ ? await fetch(`${url}/api/tokens`, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ identity: row.external_email || row.external_username, secret }), redirect: 'manual', signal: ctrl.signal })
1767
+ : await fetch(`${url}/whoAmI/api/json`, { headers: { authorization: `Basic ${Buffer.from(`${row.external_username}:${secret}`).toString('base64')}` }, redirect: 'manual', signal: ctrl.signal });
1768
+ if (response.status === 401 || response.status === 302 || response.status === 303) {
1769
+ entries.push({ userId: row.cloud_user_id, status: 'invalid' });
1770
+ continue;
1771
+ }
1772
+ if (response.status === 403) {
1773
+ entries.push({ userId: row.cloud_user_id, status: 'permissions' });
1774
+ continue;
1775
+ }
1776
+ if (!response.ok) {
1777
+ entries.push({ userId: row.cloud_user_id, status: 'provider-error' });
1778
+ continue;
1779
+ }
1780
+ const body = await response.json();
1781
+ const authenticated = scope.provider === 'npm' ? Boolean(body.token) : body.authenticated === true;
1782
+ entries.push({ userId: row.cloud_user_id, status: authenticated ? 'valid' : 'invalid' });
1783
+ }
1784
+ finally {
1785
+ clearTimeout(timeout);
1786
+ }
1787
+ }
1788
+ catch {
1789
+ entries.push({ userId: row.cloud_user_id, status: 'unreachable' });
1790
+ }
1791
+ }
1792
+ await audit(req.auth.id, 'scope.native-logins.verify', 'provider-scope', id, 'Check stored native logins without exposing passwords', { checked: entries.length, provider: scope.provider });
1793
+ res.setHeader('Cache-Control', 'no-store');
1794
+ res.json(entries);
1795
+ });
1727
1796
  app.get('/scopes/:id/audit', auth, async (req, res) => {
1728
1797
  const id = ensureUuid(routeParam(req.params.id), 'Scope ID');
1729
1798
  if (!(await canManageScope(id, req.auth))) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@indraq/cloud-api",
3
3
  "private": true,
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "tsx watch src/index.ts",
@@ -1522,6 +1522,48 @@ app.delete('/scopes/:id/members/:userId', ...allow('manager','admin'), async (re
1522
1522
  res.status(204).end();
1523
1523
  });
1524
1524
 
1525
+ // Verify stored native logins on the exact provider scope; passwords never leave the Cloud API.
1526
+ // This is intentionally read-only. External account deletion/permission drift is
1527
+ // handled by explicit CLI repair, never by silently deleting Cloud membership.
1528
+ app.post('/scopes/:id/native-logins/verify', ...allow('manager','admin'), async (req: AuthedRequest, res) => {
1529
+ const id=ensureUuid(routeParam(req.params.id),'Scope ID');
1530
+ if (!(await canManageScope(id, req.auth!))) { res.status(403).json({error:'MANAGE access to this scope is required.'});return; }
1531
+ const scope=(await pool.query('SELECT provider,config FROM provider_scopes WHERE id=$1 AND is_active=true',[id])).rows[0];
1532
+ if(!scope){res.status(404).json({error:'Scope not found.'});return;}
1533
+ if(!['jenkins-dev','jenkins-prod','npm'].includes(scope.provider)){res.json([]);return;}
1534
+ const rows=(await pool.query(
1535
+ `SELECT psm.user_id AS cloud_user_id,COALESCE(sea.external_username,u.name) AS external_username,
1536
+ COALESCE(sea.external_email,u.email) AS external_email,sea.encrypted_secret,u.role
1537
+ FROM provider_scope_members psm JOIN users u ON u.id=psm.user_id
1538
+ LEFT JOIN scope_external_accounts sea ON sea.scope_id=psm.scope_id AND sea.cloud_user_id=u.id
1539
+ WHERE psm.scope_id=$1 AND u.is_active=true ORDER BY u.email LIMIT 200`,[id]
1540
+ )).rows;
1541
+ const url=String(scope.config?.url||'').replace(/\/+$/,'');
1542
+ const entries:Array<{userId:string;status:'valid'|'invalid'|'permissions'|'unconfigured'|'unreachable'|'provider-error'}>=[];
1543
+ // Bounded sequential network calls avoid overloading Jenkins/NPM while auditing.
1544
+ for(const row of rows){
1545
+ if(req.auth!.role==='manager' && row.role!=='user')continue;
1546
+ if(!row.encrypted_secret || !url){entries.push({userId:row.cloud_user_id,status:'unconfigured'});continue;}
1547
+ try{
1548
+ const secret=decrypt(row.encrypted_secret);
1549
+ const ctrl=new AbortController();const timeout=setTimeout(()=>ctrl.abort(),8000);
1550
+ try{
1551
+ const response=scope.provider==='npm'
1552
+ ? await fetch(`${url}/api/tokens`,{method:'POST',headers:{'content-type':'application/json'},body:JSON.stringify({identity:row.external_email||row.external_username,secret}),redirect:'manual',signal:ctrl.signal})
1553
+ : await fetch(`${url}/whoAmI/api/json`,{headers:{authorization:`Basic ${Buffer.from(`${row.external_username}:${secret}`).toString('base64')}`},redirect:'manual',signal:ctrl.signal});
1554
+ if(response.status===401 || response.status===302 || response.status===303){entries.push({userId:row.cloud_user_id,status:'invalid'});continue;}
1555
+ if(response.status===403){entries.push({userId:row.cloud_user_id,status:'permissions'});continue;}
1556
+ if(!response.ok){entries.push({userId:row.cloud_user_id,status:'provider-error'});continue;}
1557
+ const body=await response.json() as {authenticated?:boolean;token?:string};
1558
+ const authenticated=scope.provider==='npm'?Boolean(body.token):body.authenticated===true;
1559
+ entries.push({userId:row.cloud_user_id,status:authenticated?'valid':'invalid'});
1560
+ }finally{clearTimeout(timeout);}
1561
+ }catch{entries.push({userId:row.cloud_user_id,status:'unreachable'});}
1562
+ }
1563
+ await audit(req.auth!.id,'scope.native-logins.verify','provider-scope',id,'Check stored native logins without exposing passwords',{checked:entries.length,provider:scope.provider});
1564
+ res.setHeader('Cache-Control','no-store');res.json(entries);
1565
+ });
1566
+
1525
1567
  app.get('/scopes/:id/audit', auth, async (req: AuthedRequest, res) => {
1526
1568
  const id = ensureUuid(routeParam(req.params.id), 'Scope ID');
1527
1569
  if (!(await canManageScope(id, req.auth!))) { res.status(403).json({ error: 'MANAGE access to this scope is required.' }); return; }
@@ -1 +1 @@
1
- {"version":3,"file":"help-content.d.ts","sourceRoot":"","sources":["../../src/cli/help-content.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAM1J,eAAO,MAAM,oBAAoB,QAAO,MAgIvC,CAAC;AAuOF,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,KAAG,MAY/C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,KAAG,SAAS,GAAG,SAgB3D,CAAC"}
1
+ {"version":3,"file":"help-content.d.ts","sourceRoot":"","sources":["../../src/cli/help-content.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAM1J,eAAO,MAAM,oBAAoB,QAAO,MAiIvC,CAAC;AAyOF,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,KAAG,MAY/C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,KAAG,SAAS,GAAG,SAgB3D,CAAC"}