@tinyrack/tinyauth-server 0.0.7

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 (782) hide show
  1. package/LICENSE +661 -0
  2. package/dist/emails/components/email-layout.d.ts +8 -0
  3. package/dist/emails/components/email-layout.d.ts.map +1 -0
  4. package/dist/emails/components/email-layout.js +6 -0
  5. package/dist/emails/components/email-layout.js.map +1 -0
  6. package/dist/emails/i18n/en.json +26 -0
  7. package/dist/emails/i18n/index.d.ts +3 -0
  8. package/dist/emails/i18n/index.d.ts.map +1 -0
  9. package/dist/emails/i18n/index.js +12 -0
  10. package/dist/emails/i18n/index.js.map +1 -0
  11. package/dist/emails/i18n/ja.json +26 -0
  12. package/dist/emails/i18n/ko.json +26 -0
  13. package/dist/emails/render.d.ts +12 -0
  14. package/dist/emails/render.d.ts.map +1 -0
  15. package/dist/emails/render.js +22 -0
  16. package/dist/emails/render.js.map +1 -0
  17. package/dist/emails/templates/password-reset.d.ts +10 -0
  18. package/dist/emails/templates/password-reset.d.ts.map +1 -0
  19. package/dist/emails/templates/password-reset.js +10 -0
  20. package/dist/emails/templates/password-reset.js.map +1 -0
  21. package/dist/emails/templates/verification.d.ts +10 -0
  22. package/dist/emails/templates/verification.d.ts.map +1 -0
  23. package/dist/emails/templates/verification.js +10 -0
  24. package/dist/emails/templates/verification.js.map +1 -0
  25. package/dist/entities/base.entity.d.ts +23 -0
  26. package/dist/entities/base.entity.d.ts.map +1 -0
  27. package/dist/entities/base.entity.js +17 -0
  28. package/dist/entities/base.entity.js.map +1 -0
  29. package/dist/entities/email-verification.entity.d.ts +90 -0
  30. package/dist/entities/email-verification.entity.d.ts.map +1 -0
  31. package/dist/entities/email-verification.entity.js +42 -0
  32. package/dist/entities/email-verification.entity.js.map +1 -0
  33. package/dist/entities/jwt-key.entity.d.ts +256 -0
  34. package/dist/entities/jwt-key.entity.d.ts.map +1 -0
  35. package/dist/entities/jwt-key.entity.js +125 -0
  36. package/dist/entities/jwt-key.entity.js.map +1 -0
  37. package/dist/entities/oauth-client.entity.d.ts +1541 -0
  38. package/dist/entities/oauth-client.entity.d.ts.map +1 -0
  39. package/dist/entities/oauth-client.entity.js +68 -0
  40. package/dist/entities/oauth-client.entity.js.map +1 -0
  41. package/dist/entities/oauth-code.entity.d.ts +1562 -0
  42. package/dist/entities/oauth-code.entity.d.ts.map +1 -0
  43. package/dist/entities/oauth-code.entity.js +79 -0
  44. package/dist/entities/oauth-code.entity.js.map +1 -0
  45. package/dist/entities/password-reset.entity.d.ts +90 -0
  46. package/dist/entities/password-reset.entity.d.ts.map +1 -0
  47. package/dist/entities/password-reset.entity.js +39 -0
  48. package/dist/entities/password-reset.entity.js.map +1 -0
  49. package/dist/entities/pending-oauth-registration.entity.d.ts +116 -0
  50. package/dist/entities/pending-oauth-registration.entity.d.ts.map +1 -0
  51. package/dist/entities/pending-oauth-registration.entity.js +67 -0
  52. package/dist/entities/pending-oauth-registration.entity.js.map +1 -0
  53. package/dist/entities/revoked-token.entity.d.ts +1559 -0
  54. package/dist/entities/revoked-token.entity.d.ts.map +1 -0
  55. package/dist/entities/revoked-token.entity.js +68 -0
  56. package/dist/entities/revoked-token.entity.js.map +1 -0
  57. package/dist/entities/terms-content.entity.d.ts +804 -0
  58. package/dist/entities/terms-content.entity.d.ts.map +1 -0
  59. package/dist/entities/terms-content.entity.js +46 -0
  60. package/dist/entities/terms-content.entity.js.map +1 -0
  61. package/dist/entities/terms.entity.d.ts +797 -0
  62. package/dist/entities/terms.entity.d.ts.map +1 -0
  63. package/dist/entities/terms.entity.js +42 -0
  64. package/dist/entities/terms.entity.js.map +1 -0
  65. package/dist/entities/user-consent.entity.d.ts +1555 -0
  66. package/dist/entities/user-consent.entity.d.ts.map +1 -0
  67. package/dist/entities/user-consent.entity.js +66 -0
  68. package/dist/entities/user-consent.entity.js.map +1 -0
  69. package/dist/entities/user-oauth.entity.d.ts +75 -0
  70. package/dist/entities/user-oauth.entity.d.ts.map +1 -0
  71. package/dist/entities/user-oauth.entity.js +45 -0
  72. package/dist/entities/user-oauth.entity.js.map +1 -0
  73. package/dist/entities/user-passkey.entity.d.ts +145 -0
  74. package/dist/entities/user-passkey.entity.d.ts.map +1 -0
  75. package/dist/entities/user-passkey.entity.js +64 -0
  76. package/dist/entities/user-passkey.entity.js.map +1 -0
  77. package/dist/entities/user-terms-consent.entity.d.ts +804 -0
  78. package/dist/entities/user-terms-consent.entity.d.ts.map +1 -0
  79. package/dist/entities/user-terms-consent.entity.js +62 -0
  80. package/dist/entities/user-terms-consent.entity.js.map +1 -0
  81. package/dist/entities/user-totp-recovery-code.entity.d.ts +527 -0
  82. package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -0
  83. package/dist/entities/user-totp-recovery-code.entity.js +34 -0
  84. package/dist/entities/user-totp-recovery-code.entity.js.map +1 -0
  85. package/dist/entities/user-totp.entity.d.ts +527 -0
  86. package/dist/entities/user-totp.entity.d.ts.map +1 -0
  87. package/dist/entities/user-totp.entity.js +38 -0
  88. package/dist/entities/user-totp.entity.js.map +1 -0
  89. package/dist/entities/user.entity.d.ts +533 -0
  90. package/dist/entities/user.entity.d.ts.map +1 -0
  91. package/dist/entities/user.entity.js +70 -0
  92. package/dist/entities/user.entity.js.map +1 -0
  93. package/dist/entrypoints/app.d.ts +1300 -0
  94. package/dist/entrypoints/app.d.ts.map +1 -0
  95. package/dist/entrypoints/app.js +64 -0
  96. package/dist/entrypoints/app.js.map +1 -0
  97. package/dist/entrypoints/config/index.d.ts +2 -0
  98. package/dist/entrypoints/config/index.d.ts.map +1 -0
  99. package/dist/entrypoints/config/index.js +2 -0
  100. package/dist/entrypoints/config/index.js.map +1 -0
  101. package/dist/entrypoints/database/d1/cli.d.ts +3 -0
  102. package/dist/entrypoints/database/d1/cli.d.ts.map +1 -0
  103. package/dist/entrypoints/database/d1/cli.js +12 -0
  104. package/dist/entrypoints/database/d1/cli.js.map +1 -0
  105. package/dist/entrypoints/database/d1/compiled-functions.d.ts +666 -0
  106. package/dist/entrypoints/database/d1/compiled-functions.d.ts.map +1 -0
  107. package/dist/entrypoints/database/d1/compiled-functions.js +8365 -0
  108. package/dist/entrypoints/database/d1/compiled-functions.js.map +1 -0
  109. package/dist/entrypoints/database/d1/d1.d.ts +5 -0
  110. package/dist/entrypoints/database/d1/d1.d.ts.map +1 -0
  111. package/dist/entrypoints/database/d1/d1.js +39 -0
  112. package/dist/entrypoints/database/d1/d1.js.map +1 -0
  113. package/dist/entrypoints/database/postgres/cli.d.ts +3 -0
  114. package/dist/entrypoints/database/postgres/cli.d.ts.map +1 -0
  115. package/dist/entrypoints/database/postgres/cli.js +9 -0
  116. package/dist/entrypoints/database/postgres/cli.js.map +1 -0
  117. package/dist/entrypoints/database/postgres/compiled-functions.d.ts +666 -0
  118. package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -0
  119. package/dist/entrypoints/database/postgres/compiled-functions.js +8365 -0
  120. package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -0
  121. package/dist/entrypoints/database/postgres/postgres.d.ts +9 -0
  122. package/dist/entrypoints/database/postgres/postgres.d.ts.map +1 -0
  123. package/dist/entrypoints/database/postgres/postgres.js +34 -0
  124. package/dist/entrypoints/database/postgres/postgres.js.map +1 -0
  125. package/dist/entrypoints/database/sqlite/cli.d.ts +3 -0
  126. package/dist/entrypoints/database/sqlite/cli.d.ts.map +1 -0
  127. package/dist/entrypoints/database/sqlite/cli.js +6 -0
  128. package/dist/entrypoints/database/sqlite/cli.js.map +1 -0
  129. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +666 -0
  130. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -0
  131. package/dist/entrypoints/database/sqlite/compiled-functions.js +8365 -0
  132. package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -0
  133. package/dist/entrypoints/database/sqlite/sqlite.d.ts +6 -0
  134. package/dist/entrypoints/database/sqlite/sqlite.d.ts.map +1 -0
  135. package/dist/entrypoints/database/sqlite/sqlite.js +32 -0
  136. package/dist/entrypoints/database/sqlite/sqlite.js.map +1 -0
  137. package/dist/entrypoints/frontend/cloudflare.d.ts +2 -0
  138. package/dist/entrypoints/frontend/cloudflare.d.ts.map +1 -0
  139. package/dist/entrypoints/frontend/cloudflare.js +2 -0
  140. package/dist/entrypoints/frontend/cloudflare.js.map +1 -0
  141. package/dist/entrypoints/frontend/index.d.ts +6 -0
  142. package/dist/entrypoints/frontend/index.d.ts.map +1 -0
  143. package/dist/entrypoints/frontend/index.js +3 -0
  144. package/dist/entrypoints/frontend/index.js.map +1 -0
  145. package/dist/entrypoints/frontend/proxy.d.ts +2 -0
  146. package/dist/entrypoints/frontend/proxy.d.ts.map +1 -0
  147. package/dist/entrypoints/frontend/proxy.js +2 -0
  148. package/dist/entrypoints/frontend/proxy.js.map +1 -0
  149. package/dist/entrypoints/frontend/static.d.ts +2 -0
  150. package/dist/entrypoints/frontend/static.d.ts.map +1 -0
  151. package/dist/entrypoints/frontend/static.js +2 -0
  152. package/dist/entrypoints/frontend/static.js.map +1 -0
  153. package/dist/entrypoints/identity-providers/apple.d.ts +14 -0
  154. package/dist/entrypoints/identity-providers/apple.d.ts.map +1 -0
  155. package/dist/entrypoints/identity-providers/apple.js +23 -0
  156. package/dist/entrypoints/identity-providers/apple.js.map +1 -0
  157. package/dist/entrypoints/identity-providers/generic-oauth.d.ts +25 -0
  158. package/dist/entrypoints/identity-providers/generic-oauth.d.ts.map +1 -0
  159. package/dist/entrypoints/identity-providers/generic-oauth.js +20 -0
  160. package/dist/entrypoints/identity-providers/generic-oauth.js.map +1 -0
  161. package/dist/entrypoints/identity-providers/github.d.ts +13 -0
  162. package/dist/entrypoints/identity-providers/github.d.ts.map +1 -0
  163. package/dist/entrypoints/identity-providers/github.js +24 -0
  164. package/dist/entrypoints/identity-providers/github.js.map +1 -0
  165. package/dist/entrypoints/identity-providers/google.d.ts +13 -0
  166. package/dist/entrypoints/identity-providers/google.d.ts.map +1 -0
  167. package/dist/entrypoints/identity-providers/google.js +24 -0
  168. package/dist/entrypoints/identity-providers/google.js.map +1 -0
  169. package/dist/entrypoints/index.d.ts +3 -0
  170. package/dist/entrypoints/index.d.ts.map +1 -0
  171. package/dist/entrypoints/index.js +3 -0
  172. package/dist/entrypoints/index.js.map +1 -0
  173. package/dist/entrypoints/mail/nodemailer.d.ts +11 -0
  174. package/dist/entrypoints/mail/nodemailer.d.ts.map +1 -0
  175. package/dist/entrypoints/mail/nodemailer.js +30 -0
  176. package/dist/entrypoints/mail/nodemailer.js.map +1 -0
  177. package/dist/entrypoints/scheduler/croner.d.ts +6 -0
  178. package/dist/entrypoints/scheduler/croner.d.ts.map +1 -0
  179. package/dist/entrypoints/scheduler/croner.js +22 -0
  180. package/dist/entrypoints/scheduler/croner.js.map +1 -0
  181. package/dist/entrypoints/services.d.ts +3 -0
  182. package/dist/entrypoints/services.d.ts.map +1 -0
  183. package/dist/entrypoints/services.js +2 -0
  184. package/dist/entrypoints/services.js.map +1 -0
  185. package/dist/lib/app-env.d.ts +17 -0
  186. package/dist/lib/app-env.d.ts.map +1 -0
  187. package/dist/lib/app-env.js +2 -0
  188. package/dist/lib/app-env.js.map +1 -0
  189. package/dist/lib/base64url.d.ts +33 -0
  190. package/dist/lib/base64url.d.ts.map +1 -0
  191. package/dist/lib/base64url.js +93 -0
  192. package/dist/lib/base64url.js.map +1 -0
  193. package/dist/lib/config/account-deletion.d.ts +11 -0
  194. package/dist/lib/config/account-deletion.d.ts.map +1 -0
  195. package/dist/lib/config/account-deletion.js +16 -0
  196. package/dist/lib/config/account-deletion.js.map +1 -0
  197. package/dist/lib/config/auth.d.ts +109 -0
  198. package/dist/lib/config/auth.d.ts.map +1 -0
  199. package/dist/lib/config/auth.js +155 -0
  200. package/dist/lib/config/auth.js.map +1 -0
  201. package/dist/lib/config/branding.d.ts +134 -0
  202. package/dist/lib/config/branding.d.ts.map +1 -0
  203. package/dist/lib/config/branding.js +83 -0
  204. package/dist/lib/config/branding.js.map +1 -0
  205. package/dist/lib/config/cleanup.d.ts +59 -0
  206. package/dist/lib/config/cleanup.d.ts.map +1 -0
  207. package/dist/lib/config/cleanup.js +119 -0
  208. package/dist/lib/config/cleanup.js.map +1 -0
  209. package/dist/lib/config/client.d.ts +30 -0
  210. package/dist/lib/config/client.d.ts.map +1 -0
  211. package/dist/lib/config/client.js +43 -0
  212. package/dist/lib/config/client.js.map +1 -0
  213. package/dist/lib/config/database.d.ts +8 -0
  214. package/dist/lib/config/database.d.ts.map +1 -0
  215. package/dist/lib/config/database.js +8 -0
  216. package/dist/lib/config/database.js.map +1 -0
  217. package/dist/lib/config/email.d.ts +17 -0
  218. package/dist/lib/config/email.d.ts.map +1 -0
  219. package/dist/lib/config/email.js +7 -0
  220. package/dist/lib/config/email.js.map +1 -0
  221. package/dist/lib/config/frontend.d.ts +12 -0
  222. package/dist/lib/config/frontend.d.ts.map +1 -0
  223. package/dist/lib/config/frontend.js +7 -0
  224. package/dist/lib/config/frontend.js.map +1 -0
  225. package/dist/lib/config/i18n.d.ts +31 -0
  226. package/dist/lib/config/i18n.d.ts.map +1 -0
  227. package/dist/lib/config/i18n.js +23 -0
  228. package/dist/lib/config/i18n.js.map +1 -0
  229. package/dist/lib/config/identity-providers.d.ts +66 -0
  230. package/dist/lib/config/identity-providers.d.ts.map +1 -0
  231. package/dist/lib/config/identity-providers.js +71 -0
  232. package/dist/lib/config/identity-providers.js.map +1 -0
  233. package/dist/lib/config/index.d.ts +41 -0
  234. package/dist/lib/config/index.d.ts.map +1 -0
  235. package/dist/lib/config/index.js +21 -0
  236. package/dist/lib/config/index.js.map +1 -0
  237. package/dist/lib/config/logging.d.ts +52 -0
  238. package/dist/lib/config/logging.d.ts.map +1 -0
  239. package/dist/lib/config/logging.js +41 -0
  240. package/dist/lib/config/logging.js.map +1 -0
  241. package/dist/lib/config/openapi.d.ts +15 -0
  242. package/dist/lib/config/openapi.d.ts.map +1 -0
  243. package/dist/lib/config/openapi.js +28 -0
  244. package/dist/lib/config/openapi.js.map +1 -0
  245. package/dist/lib/config/registration.d.ts +15 -0
  246. package/dist/lib/config/registration.d.ts.map +1 -0
  247. package/dist/lib/config/registration.js +24 -0
  248. package/dist/lib/config/registration.js.map +1 -0
  249. package/dist/lib/config/resolved.d.ts +274 -0
  250. package/dist/lib/config/resolved.d.ts.map +1 -0
  251. package/dist/lib/config/resolved.js +45 -0
  252. package/dist/lib/config/resolved.js.map +1 -0
  253. package/dist/lib/config/scheduler.d.ts +13 -0
  254. package/dist/lib/config/scheduler.d.ts.map +1 -0
  255. package/dist/lib/config/scheduler.js +14 -0
  256. package/dist/lib/config/scheduler.js.map +1 -0
  257. package/dist/lib/config/security.d.ts +11 -0
  258. package/dist/lib/config/security.d.ts.map +1 -0
  259. package/dist/lib/config/security.js +42 -0
  260. package/dist/lib/config/security.js.map +1 -0
  261. package/dist/lib/config/server.d.ts +13 -0
  262. package/dist/lib/config/server.d.ts.map +1 -0
  263. package/dist/lib/config/server.js +45 -0
  264. package/dist/lib/config/server.js.map +1 -0
  265. package/dist/lib/config/terms.d.ts +47 -0
  266. package/dist/lib/config/terms.d.ts.map +1 -0
  267. package/dist/lib/config/terms.js +71 -0
  268. package/dist/lib/config/terms.js.map +1 -0
  269. package/dist/lib/config/tokens.d.ts +32 -0
  270. package/dist/lib/config/tokens.d.ts.map +1 -0
  271. package/dist/lib/config/tokens.js +47 -0
  272. package/dist/lib/config/tokens.js.map +1 -0
  273. package/dist/lib/config/user.d.ts +22 -0
  274. package/dist/lib/config/user.d.ts.map +1 -0
  275. package/dist/lib/config/user.js +18 -0
  276. package/dist/lib/config/user.js.map +1 -0
  277. package/dist/lib/crypto.d.ts +106 -0
  278. package/dist/lib/crypto.d.ts.map +1 -0
  279. package/dist/lib/crypto.js +253 -0
  280. package/dist/lib/crypto.js.map +1 -0
  281. package/dist/lib/database/compiled-functions.d.ts +16 -0
  282. package/dist/lib/database/compiled-functions.d.ts.map +1 -0
  283. package/dist/lib/database/compiled-functions.js +66 -0
  284. package/dist/lib/database/compiled-functions.js.map +1 -0
  285. package/dist/lib/database/entities.d.ts +10 -0
  286. package/dist/lib/database/entities.d.ts.map +1 -0
  287. package/dist/lib/database/entities.js +43 -0
  288. package/dist/lib/database/entities.js.map +1 -0
  289. package/dist/lib/duration.d.ts +44 -0
  290. package/dist/lib/duration.d.ts.map +1 -0
  291. package/dist/lib/duration.js +103 -0
  292. package/dist/lib/duration.js.map +1 -0
  293. package/dist/lib/email-pattern.d.ts +16 -0
  294. package/dist/lib/email-pattern.d.ts.map +1 -0
  295. package/dist/lib/email-pattern.js +41 -0
  296. package/dist/lib/email-pattern.js.map +1 -0
  297. package/dist/lib/frontend/cloudflare.d.ts +12 -0
  298. package/dist/lib/frontend/cloudflare.d.ts.map +1 -0
  299. package/dist/lib/frontend/cloudflare.js +34 -0
  300. package/dist/lib/frontend/cloudflare.js.map +1 -0
  301. package/dist/lib/frontend/proxy.d.ts +24 -0
  302. package/dist/lib/frontend/proxy.d.ts.map +1 -0
  303. package/dist/lib/frontend/proxy.js +38 -0
  304. package/dist/lib/frontend/proxy.js.map +1 -0
  305. package/dist/lib/frontend/static.d.ts +21 -0
  306. package/dist/lib/frontend/static.d.ts.map +1 -0
  307. package/dist/lib/frontend/static.js +108 -0
  308. package/dist/lib/frontend/static.js.map +1 -0
  309. package/dist/lib/interpolate-html.d.ts +34 -0
  310. package/dist/lib/interpolate-html.d.ts.map +1 -0
  311. package/dist/lib/interpolate-html.js +63 -0
  312. package/dist/lib/interpolate-html.js.map +1 -0
  313. package/dist/lib/ip-utils.d.ts +61 -0
  314. package/dist/lib/ip-utils.d.ts.map +1 -0
  315. package/dist/lib/ip-utils.js +213 -0
  316. package/dist/lib/ip-utils.js.map +1 -0
  317. package/dist/lib/locale.d.ts +57 -0
  318. package/dist/lib/locale.d.ts.map +1 -0
  319. package/dist/lib/locale.js +25 -0
  320. package/dist/lib/locale.js.map +1 -0
  321. package/dist/lib/logger.d.ts +14 -0
  322. package/dist/lib/logger.d.ts.map +1 -0
  323. package/dist/lib/logger.js +41 -0
  324. package/dist/lib/logger.js.map +1 -0
  325. package/dist/lib/openapi.d.ts +35 -0
  326. package/dist/lib/openapi.d.ts.map +1 -0
  327. package/dist/lib/openapi.js +33 -0
  328. package/dist/lib/openapi.js.map +1 -0
  329. package/dist/lib/password-policy.d.ts +39 -0
  330. package/dist/lib/password-policy.d.ts.map +1 -0
  331. package/dist/lib/password-policy.js +51 -0
  332. package/dist/lib/password-policy.js.map +1 -0
  333. package/dist/lib/pkce.d.ts +26 -0
  334. package/dist/lib/pkce.d.ts.map +1 -0
  335. package/dist/lib/pkce.js +52 -0
  336. package/dist/lib/pkce.js.map +1 -0
  337. package/dist/lib/scopes.d.ts +10 -0
  338. package/dist/lib/scopes.d.ts.map +1 -0
  339. package/dist/lib/scopes.js +35 -0
  340. package/dist/lib/scopes.js.map +1 -0
  341. package/dist/lib/swagger-tags.d.ts +15 -0
  342. package/dist/lib/swagger-tags.d.ts.map +1 -0
  343. package/dist/lib/swagger-tags.js +15 -0
  344. package/dist/lib/swagger-tags.js.map +1 -0
  345. package/dist/middleware/auth.d.ts +64 -0
  346. package/dist/middleware/auth.d.ts.map +1 -0
  347. package/dist/middleware/auth.js +123 -0
  348. package/dist/middleware/auth.js.map +1 -0
  349. package/dist/middleware/logger.d.ts +18 -0
  350. package/dist/middleware/logger.d.ts.map +1 -0
  351. package/dist/middleware/logger.js +38 -0
  352. package/dist/middleware/logger.js.map +1 -0
  353. package/dist/middleware/mikro-orm.d.ts +3 -0
  354. package/dist/middleware/mikro-orm.d.ts.map +1 -0
  355. package/dist/middleware/mikro-orm.js +11 -0
  356. package/dist/middleware/mikro-orm.js.map +1 -0
  357. package/dist/middleware/services.d.ts +8 -0
  358. package/dist/middleware/services.d.ts.map +1 -0
  359. package/dist/middleware/services.js +8 -0
  360. package/dist/middleware/services.js.map +1 -0
  361. package/dist/middleware/session.d.ts +63 -0
  362. package/dist/middleware/session.d.ts.map +1 -0
  363. package/dist/middleware/session.js +89 -0
  364. package/dist/middleware/session.js.map +1 -0
  365. package/dist/middleware/trusted-proxy-guard.d.ts +7 -0
  366. package/dist/middleware/trusted-proxy-guard.d.ts.map +1 -0
  367. package/dist/middleware/trusted-proxy-guard.js +34 -0
  368. package/dist/middleware/trusted-proxy-guard.js.map +1 -0
  369. package/dist/repositories/email-verification.repository.d.ts +18 -0
  370. package/dist/repositories/email-verification.repository.d.ts.map +1 -0
  371. package/dist/repositories/email-verification.repository.js +47 -0
  372. package/dist/repositories/email-verification.repository.js.map +1 -0
  373. package/dist/repositories/jwt-key.repository.d.ts +49 -0
  374. package/dist/repositories/jwt-key.repository.d.ts.map +1 -0
  375. package/dist/repositories/jwt-key.repository.js +72 -0
  376. package/dist/repositories/jwt-key.repository.js.map +1 -0
  377. package/dist/repositories/oauth-client.repository.d.ts +5 -0
  378. package/dist/repositories/oauth-client.repository.d.ts.map +1 -0
  379. package/dist/repositories/oauth-client.repository.js +4 -0
  380. package/dist/repositories/oauth-client.repository.js.map +1 -0
  381. package/dist/repositories/oauth-code.repository.d.ts +19 -0
  382. package/dist/repositories/oauth-code.repository.d.ts.map +1 -0
  383. package/dist/repositories/oauth-code.repository.js +32 -0
  384. package/dist/repositories/oauth-code.repository.js.map +1 -0
  385. package/dist/repositories/password-reset.repository.d.ts +19 -0
  386. package/dist/repositories/password-reset.repository.d.ts.map +1 -0
  387. package/dist/repositories/password-reset.repository.js +53 -0
  388. package/dist/repositories/password-reset.repository.js.map +1 -0
  389. package/dist/repositories/pending-oauth-registration.repository.d.ts +38 -0
  390. package/dist/repositories/pending-oauth-registration.repository.d.ts.map +1 -0
  391. package/dist/repositories/pending-oauth-registration.repository.js +50 -0
  392. package/dist/repositories/pending-oauth-registration.repository.js.map +1 -0
  393. package/dist/repositories/revoked-token.repository.d.ts +32 -0
  394. package/dist/repositories/revoked-token.repository.d.ts.map +1 -0
  395. package/dist/repositories/revoked-token.repository.js +43 -0
  396. package/dist/repositories/revoked-token.repository.js.map +1 -0
  397. package/dist/repositories/terms-content.repository.d.ts +5 -0
  398. package/dist/repositories/terms-content.repository.d.ts.map +1 -0
  399. package/dist/repositories/terms-content.repository.js +4 -0
  400. package/dist/repositories/terms-content.repository.js.map +1 -0
  401. package/dist/repositories/terms.repository.d.ts +9 -0
  402. package/dist/repositories/terms.repository.d.ts.map +1 -0
  403. package/dist/repositories/terms.repository.js +12 -0
  404. package/dist/repositories/terms.repository.js.map +1 -0
  405. package/dist/repositories/user-consent.repository.d.ts +22 -0
  406. package/dist/repositories/user-consent.repository.d.ts.map +1 -0
  407. package/dist/repositories/user-consent.repository.js +51 -0
  408. package/dist/repositories/user-consent.repository.js.map +1 -0
  409. package/dist/repositories/user-oauth.repository.d.ts +68 -0
  410. package/dist/repositories/user-oauth.repository.d.ts.map +1 -0
  411. package/dist/repositories/user-oauth.repository.js +94 -0
  412. package/dist/repositories/user-oauth.repository.js.map +1 -0
  413. package/dist/repositories/user-passkey.repository.d.ts +187 -0
  414. package/dist/repositories/user-passkey.repository.d.ts.map +1 -0
  415. package/dist/repositories/user-passkey.repository.js +61 -0
  416. package/dist/repositories/user-passkey.repository.js.map +1 -0
  417. package/dist/repositories/user-terms-consent.repository.d.ts +38 -0
  418. package/dist/repositories/user-terms-consent.repository.d.ts.map +1 -0
  419. package/dist/repositories/user-terms-consent.repository.js +71 -0
  420. package/dist/repositories/user-terms-consent.repository.js.map +1 -0
  421. package/dist/repositories/user-totp-recovery-code.repository.d.ts +376 -0
  422. package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -0
  423. package/dist/repositories/user-totp-recovery-code.repository.js +41 -0
  424. package/dist/repositories/user-totp-recovery-code.repository.js.map +1 -0
  425. package/dist/repositories/user-totp.repository.d.ts +564 -0
  426. package/dist/repositories/user-totp.repository.d.ts.map +1 -0
  427. package/dist/repositories/user-totp.repository.js +56 -0
  428. package/dist/repositories/user-totp.repository.js.map +1 -0
  429. package/dist/repositories/user.repository.d.ts +32 -0
  430. package/dist/repositories/user.repository.d.ts.map +1 -0
  431. package/dist/repositories/user.repository.js +70 -0
  432. package/dist/repositories/user.repository.js.map +1 -0
  433. package/dist/routes/.well-known/index.d.ts +12 -0
  434. package/dist/routes/.well-known/index.d.ts.map +1 -0
  435. package/dist/routes/.well-known/index.js +4 -0
  436. package/dist/routes/.well-known/index.js.map +1 -0
  437. package/dist/routes/.well-known/openid-configuration/get.d.ts +19 -0
  438. package/dist/routes/.well-known/openid-configuration/get.d.ts.map +1 -0
  439. package/dist/routes/.well-known/openid-configuration/get.js +12 -0
  440. package/dist/routes/.well-known/openid-configuration/get.js.map +1 -0
  441. package/dist/routes/api/auth/email/resend/post.d.ts +22 -0
  442. package/dist/routes/api/auth/email/resend/post.d.ts.map +1 -0
  443. package/dist/routes/api/auth/email/resend/post.js +64 -0
  444. package/dist/routes/api/auth/email/resend/post.js.map +1 -0
  445. package/dist/routes/api/auth/email/verify/post.d.ts +29 -0
  446. package/dist/routes/api/auth/email/verify/post.d.ts.map +1 -0
  447. package/dist/routes/api/auth/email/verify/post.js +55 -0
  448. package/dist/routes/api/auth/email/verify/post.js.map +1 -0
  449. package/dist/routes/api/auth/index.d.ts +275 -0
  450. package/dist/routes/api/auth/index.d.ts.map +1 -0
  451. package/dist/routes/api/auth/index.js +25 -0
  452. package/dist/routes/api/auth/index.js.map +1 -0
  453. package/dist/routes/api/auth/login/post.d.ts +30 -0
  454. package/dist/routes/api/auth/login/post.d.ts.map +1 -0
  455. package/dist/routes/api/auth/login/post.js +76 -0
  456. package/dist/routes/api/auth/login/post.js.map +1 -0
  457. package/dist/routes/api/auth/logout/post.d.ts +14 -0
  458. package/dist/routes/api/auth/logout/post.d.ts.map +1 -0
  459. package/dist/routes/api/auth/logout/post.js +21 -0
  460. package/dist/routes/api/auth/logout/post.js.map +1 -0
  461. package/dist/routes/api/auth/passkey/options/post.d.ts +31 -0
  462. package/dist/routes/api/auth/passkey/options/post.d.ts.map +1 -0
  463. package/dist/routes/api/auth/passkey/options/post.js +43 -0
  464. package/dist/routes/api/auth/passkey/options/post.js.map +1 -0
  465. package/dist/routes/api/auth/passkey/verify/post.d.ts +41 -0
  466. package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -0
  467. package/dist/routes/api/auth/passkey/verify/post.js +75 -0
  468. package/dist/routes/api/auth/passkey/verify/post.js.map +1 -0
  469. package/dist/routes/api/auth/password/forgot/post.d.ts +22 -0
  470. package/dist/routes/api/auth/password/forgot/post.d.ts.map +1 -0
  471. package/dist/routes/api/auth/password/forgot/post.js +72 -0
  472. package/dist/routes/api/auth/password/forgot/post.js.map +1 -0
  473. package/dist/routes/api/auth/password/reset/post.d.ts +19 -0
  474. package/dist/routes/api/auth/password/reset/post.d.ts.map +1 -0
  475. package/dist/routes/api/auth/password/reset/post.js +62 -0
  476. package/dist/routes/api/auth/password/reset/post.js.map +1 -0
  477. package/dist/routes/api/auth/register/post.d.ts +39 -0
  478. package/dist/routes/api/auth/register/post.d.ts.map +1 -0
  479. package/dist/routes/api/auth/register/post.js +95 -0
  480. package/dist/routes/api/auth/register/post.js.map +1 -0
  481. package/dist/routes/api/auth/totp/recovery/verify/post.d.ts +36 -0
  482. package/dist/routes/api/auth/totp/recovery/verify/post.d.ts.map +1 -0
  483. package/dist/routes/api/auth/totp/recovery/verify/post.js +68 -0
  484. package/dist/routes/api/auth/totp/recovery/verify/post.js.map +1 -0
  485. package/dist/routes/api/auth/totp/verify/post.d.ts +29 -0
  486. package/dist/routes/api/auth/totp/verify/post.d.ts.map +1 -0
  487. package/dist/routes/api/auth/totp/verify/post.js +59 -0
  488. package/dist/routes/api/auth/totp/verify/post.js.map +1 -0
  489. package/dist/routes/api/config/get.d.ts +76 -0
  490. package/dist/routes/api/config/get.d.ts.map +1 -0
  491. package/dist/routes/api/config/get.js +70 -0
  492. package/dist/routes/api/config/get.js.map +1 -0
  493. package/dist/routes/api/config/index.d.ts +76 -0
  494. package/dist/routes/api/config/index.d.ts.map +1 -0
  495. package/dist/routes/api/config/index.js +4 -0
  496. package/dist/routes/api/config/index.js.map +1 -0
  497. package/dist/routes/api/consent/get.d.ts +37 -0
  498. package/dist/routes/api/consent/get.d.ts.map +1 -0
  499. package/dist/routes/api/consent/get.js +73 -0
  500. package/dist/routes/api/consent/get.js.map +1 -0
  501. package/dist/routes/api/consent/index.d.ts +54 -0
  502. package/dist/routes/api/consent/index.d.ts.map +1 -0
  503. package/dist/routes/api/consent/index.js +7 -0
  504. package/dist/routes/api/consent/index.js.map +1 -0
  505. package/dist/routes/api/consent/post.d.ts +33 -0
  506. package/dist/routes/api/consent/post.d.ts.map +1 -0
  507. package/dist/routes/api/consent/post.js +105 -0
  508. package/dist/routes/api/consent/post.js.map +1 -0
  509. package/dist/routes/api/docs/get.d.ts +17 -0
  510. package/dist/routes/api/docs/get.d.ts.map +1 -0
  511. package/dist/routes/api/docs/get.js +19 -0
  512. package/dist/routes/api/docs/get.js.map +1 -0
  513. package/dist/routes/api/docs/index.d.ts +12 -0
  514. package/dist/routes/api/docs/index.d.ts.map +1 -0
  515. package/dist/routes/api/docs/index.js +4 -0
  516. package/dist/routes/api/docs/index.js.map +1 -0
  517. package/dist/routes/api/health/get.d.ts +36 -0
  518. package/dist/routes/api/health/get.d.ts.map +1 -0
  519. package/dist/routes/api/health/get.js +64 -0
  520. package/dist/routes/api/health/get.js.map +1 -0
  521. package/dist/routes/api/health/index.d.ts +66 -0
  522. package/dist/routes/api/health/index.d.ts.map +1 -0
  523. package/dist/routes/api/health/index.js +9 -0
  524. package/dist/routes/api/health/index.js.map +1 -0
  525. package/dist/routes/api/health/live/get.d.ts +20 -0
  526. package/dist/routes/api/health/live/get.d.ts.map +1 -0
  527. package/dist/routes/api/health/live/get.js +28 -0
  528. package/dist/routes/api/health/live/get.js.map +1 -0
  529. package/dist/routes/api/health/ready/get.d.ts +35 -0
  530. package/dist/routes/api/health/ready/get.d.ts.map +1 -0
  531. package/dist/routes/api/health/ready/get.js +60 -0
  532. package/dist/routes/api/health/ready/get.js.map +1 -0
  533. package/dist/routes/api/index.d.ts +927 -0
  534. package/dist/routes/api/index.d.ts.map +1 -0
  535. package/dist/routes/api/index.js +19 -0
  536. package/dist/routes/api/index.js.map +1 -0
  537. package/dist/routes/api/oauth/_provider/authorize/get.d.ts +21 -0
  538. package/dist/routes/api/oauth/_provider/authorize/get.d.ts.map +1 -0
  539. package/dist/routes/api/oauth/_provider/authorize/get.js +60 -0
  540. package/dist/routes/api/oauth/_provider/authorize/get.js.map +1 -0
  541. package/dist/routes/api/oauth/_provider/callback/get.d.ts +23 -0
  542. package/dist/routes/api/oauth/_provider/callback/get.d.ts.map +1 -0
  543. package/dist/routes/api/oauth/_provider/callback/get.js +137 -0
  544. package/dist/routes/api/oauth/_provider/callback/get.js.map +1 -0
  545. package/dist/routes/api/oauth/_provider/callback/post.d.ts +23 -0
  546. package/dist/routes/api/oauth/_provider/callback/post.d.ts.map +1 -0
  547. package/dist/routes/api/oauth/_provider/callback/post.js +140 -0
  548. package/dist/routes/api/oauth/_provider/callback/post.js.map +1 -0
  549. package/dist/routes/api/oauth/_provider/delete.d.ts +18 -0
  550. package/dist/routes/api/oauth/_provider/delete.d.ts.map +1 -0
  551. package/dist/routes/api/oauth/_provider/delete.js +62 -0
  552. package/dist/routes/api/oauth/_provider/delete.js.map +1 -0
  553. package/dist/routes/api/oauth/index.d.ts +76 -0
  554. package/dist/routes/api/oauth/index.d.ts.map +1 -0
  555. package/dist/routes/api/oauth/index.js +11 -0
  556. package/dist/routes/api/oauth/index.js.map +1 -0
  557. package/dist/routes/api/terms/consent/post.d.ts +29 -0
  558. package/dist/routes/api/terms/consent/post.d.ts.map +1 -0
  559. package/dist/routes/api/terms/consent/post.js +111 -0
  560. package/dist/routes/api/terms/consent/post.js.map +1 -0
  561. package/dist/routes/api/terms/get.d.ts +40 -0
  562. package/dist/routes/api/terms/get.d.ts.map +1 -0
  563. package/dist/routes/api/terms/get.js +53 -0
  564. package/dist/routes/api/terms/get.js.map +1 -0
  565. package/dist/routes/api/terms/index.d.ts +55 -0
  566. package/dist/routes/api/terms/index.d.ts.map +1 -0
  567. package/dist/routes/api/terms/index.js +7 -0
  568. package/dist/routes/api/terms/index.js.map +1 -0
  569. package/dist/routes/api/user/delete.d.ts +21 -0
  570. package/dist/routes/api/user/delete.d.ts.map +1 -0
  571. package/dist/routes/api/user/delete.js +89 -0
  572. package/dist/routes/api/user/delete.js.map +1 -0
  573. package/dist/routes/api/user/index.d.ts +334 -0
  574. package/dist/routes/api/user/index.d.ts.map +1 -0
  575. package/dist/routes/api/user/index.js +35 -0
  576. package/dist/routes/api/user/index.js.map +1 -0
  577. package/dist/routes/api/user/oauth-accounts/get.d.ts +23 -0
  578. package/dist/routes/api/user/oauth-accounts/get.d.ts.map +1 -0
  579. package/dist/routes/api/user/oauth-accounts/get.js +58 -0
  580. package/dist/routes/api/user/oauth-accounts/get.js.map +1 -0
  581. package/dist/routes/api/user/passkeys/_id/delete.d.ts +18 -0
  582. package/dist/routes/api/user/passkeys/_id/delete.d.ts.map +1 -0
  583. package/dist/routes/api/user/passkeys/_id/delete.js +87 -0
  584. package/dist/routes/api/user/passkeys/_id/delete.js.map +1 -0
  585. package/dist/routes/api/user/passkeys/_id/patch.d.ts +22 -0
  586. package/dist/routes/api/user/passkeys/_id/patch.d.ts.map +1 -0
  587. package/dist/routes/api/user/passkeys/_id/patch.js +64 -0
  588. package/dist/routes/api/user/passkeys/_id/patch.js.map +1 -0
  589. package/dist/routes/api/user/passkeys/get.d.ts +21 -0
  590. package/dist/routes/api/user/passkeys/get.d.ts.map +1 -0
  591. package/dist/routes/api/user/passkeys/get.js +52 -0
  592. package/dist/routes/api/user/passkeys/get.js.map +1 -0
  593. package/dist/routes/api/user/passkeys/register/options/post.d.ts +55 -0
  594. package/dist/routes/api/user/passkeys/register/options/post.d.ts.map +1 -0
  595. package/dist/routes/api/user/passkeys/register/options/post.js +74 -0
  596. package/dist/routes/api/user/passkeys/register/options/post.js.map +1 -0
  597. package/dist/routes/api/user/passkeys/register/verify/post.d.ts +50 -0
  598. package/dist/routes/api/user/passkeys/register/verify/post.d.ts.map +1 -0
  599. package/dist/routes/api/user/passkeys/register/verify/post.js +95 -0
  600. package/dist/routes/api/user/passkeys/register/verify/post.js.map +1 -0
  601. package/dist/routes/api/user/password/delete.d.ts +23 -0
  602. package/dist/routes/api/user/password/delete.d.ts.map +1 -0
  603. package/dist/routes/api/user/password/delete.js +78 -0
  604. package/dist/routes/api/user/password/delete.js.map +1 -0
  605. package/dist/routes/api/user/password/post.d.ts +23 -0
  606. package/dist/routes/api/user/password/post.d.ts.map +1 -0
  607. package/dist/routes/api/user/password/post.js +81 -0
  608. package/dist/routes/api/user/password/post.js.map +1 -0
  609. package/dist/routes/api/user/password/put.d.ts +24 -0
  610. package/dist/routes/api/user/password/put.d.ts.map +1 -0
  611. package/dist/routes/api/user/password/put.js +74 -0
  612. package/dist/routes/api/user/password/put.js.map +1 -0
  613. package/dist/routes/api/user/session/get.d.ts +32 -0
  614. package/dist/routes/api/user/session/get.d.ts.map +1 -0
  615. package/dist/routes/api/user/session/get.js +36 -0
  616. package/dist/routes/api/user/session/get.js.map +1 -0
  617. package/dist/routes/api/user/totp/confirm/post.d.ts +32 -0
  618. package/dist/routes/api/user/totp/confirm/post.d.ts.map +1 -0
  619. package/dist/routes/api/user/totp/confirm/post.js +73 -0
  620. package/dist/routes/api/user/totp/confirm/post.js.map +1 -0
  621. package/dist/routes/api/user/totp/delete.d.ts +23 -0
  622. package/dist/routes/api/user/totp/delete.d.ts.map +1 -0
  623. package/dist/routes/api/user/totp/delete.js +74 -0
  624. package/dist/routes/api/user/totp/delete.js.map +1 -0
  625. package/dist/routes/api/user/totp/recovery/regenerate/post.d.ts +18 -0
  626. package/dist/routes/api/user/totp/recovery/regenerate/post.d.ts.map +1 -0
  627. package/dist/routes/api/user/totp/recovery/regenerate/post.js +54 -0
  628. package/dist/routes/api/user/totp/recovery/regenerate/post.js.map +1 -0
  629. package/dist/routes/api/user/totp/setup/post.d.ts +22 -0
  630. package/dist/routes/api/user/totp/setup/post.d.ts.map +1 -0
  631. package/dist/routes/api/user/totp/setup/post.js +82 -0
  632. package/dist/routes/api/user/totp/setup/post.js.map +1 -0
  633. package/dist/routes/api/user/totp/verify/post.d.ts +23 -0
  634. package/dist/routes/api/user/totp/verify/post.d.ts.map +1 -0
  635. package/dist/routes/api/user/totp/verify/post.js +71 -0
  636. package/dist/routes/api/user/totp/verify/post.js.map +1 -0
  637. package/dist/routes/index.d.ts +1115 -0
  638. package/dist/routes/index.d.ts.map +1 -0
  639. package/dist/routes/index.js +9 -0
  640. package/dist/routes/index.js.map +1 -0
  641. package/dist/routes/oauth/.well-known/jwks/get.d.ts +24 -0
  642. package/dist/routes/oauth/.well-known/jwks/get.d.ts.map +1 -0
  643. package/dist/routes/oauth/.well-known/jwks/get.js +41 -0
  644. package/dist/routes/oauth/.well-known/jwks/get.js.map +1 -0
  645. package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts +29 -0
  646. package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts.map +1 -0
  647. package/dist/routes/oauth/.well-known/openid-configuration/get.js +119 -0
  648. package/dist/routes/oauth/.well-known/openid-configuration/get.js.map +1 -0
  649. package/dist/routes/oauth/authorize/get.d.ts +48 -0
  650. package/dist/routes/oauth/authorize/get.d.ts.map +1 -0
  651. package/dist/routes/oauth/authorize/get.js +102 -0
  652. package/dist/routes/oauth/authorize/get.js.map +1 -0
  653. package/dist/routes/oauth/index.d.ts +182 -0
  654. package/dist/routes/oauth/index.d.ts.map +1 -0
  655. package/dist/routes/oauth/index.js +17 -0
  656. package/dist/routes/oauth/index.js.map +1 -0
  657. package/dist/routes/oauth/introspect/post.d.ts +28 -0
  658. package/dist/routes/oauth/introspect/post.d.ts.map +1 -0
  659. package/dist/routes/oauth/introspect/post.js +69 -0
  660. package/dist/routes/oauth/introspect/post.js.map +1 -0
  661. package/dist/routes/oauth/revoke/post.d.ts +22 -0
  662. package/dist/routes/oauth/revoke/post.d.ts.map +1 -0
  663. package/dist/routes/oauth/revoke/post.js +73 -0
  664. package/dist/routes/oauth/revoke/post.js.map +1 -0
  665. package/dist/routes/oauth/token/post.d.ts +29 -0
  666. package/dist/routes/oauth/token/post.d.ts.map +1 -0
  667. package/dist/routes/oauth/token/post.js +98 -0
  668. package/dist/routes/oauth/token/post.js.map +1 -0
  669. package/dist/routes/oauth/userinfo/get.d.ts +23 -0
  670. package/dist/routes/oauth/userinfo/get.d.ts.map +1 -0
  671. package/dist/routes/oauth/userinfo/get.js +65 -0
  672. package/dist/routes/oauth/userinfo/get.js.map +1 -0
  673. package/dist/schemas/error.d.ts +2104 -0
  674. package/dist/schemas/error.d.ts.map +1 -0
  675. package/dist/schemas/error.js +164 -0
  676. package/dist/schemas/error.js.map +1 -0
  677. package/dist/schemas/field.d.ts +97 -0
  678. package/dist/schemas/field.d.ts.map +1 -0
  679. package/dist/schemas/field.js +168 -0
  680. package/dist/schemas/field.js.map +1 -0
  681. package/dist/schemas/header.d.ts +7 -0
  682. package/dist/schemas/header.d.ts.map +1 -0
  683. package/dist/schemas/header.js +11 -0
  684. package/dist/schemas/header.js.map +1 -0
  685. package/dist/schemas/oauth.d.ts +26 -0
  686. package/dist/schemas/oauth.d.ts.map +1 -0
  687. package/dist/schemas/oauth.js +51 -0
  688. package/dist/schemas/oauth.js.map +1 -0
  689. package/dist/schemas/provider.d.ts +7 -0
  690. package/dist/schemas/provider.d.ts.map +1 -0
  691. package/dist/schemas/provider.js +31 -0
  692. package/dist/schemas/provider.js.map +1 -0
  693. package/dist/schemas/response.d.ts +645 -0
  694. package/dist/schemas/response.d.ts.map +1 -0
  695. package/dist/schemas/response.js +598 -0
  696. package/dist/schemas/response.js.map +1 -0
  697. package/dist/schemas/terms.d.ts +93 -0
  698. package/dist/schemas/terms.d.ts.map +1 -0
  699. package/dist/schemas/terms.js +109 -0
  700. package/dist/schemas/terms.js.map +1 -0
  701. package/dist/seeders/config.seeder.d.ts +21 -0
  702. package/dist/seeders/config.seeder.d.ts.map +1 -0
  703. package/dist/seeders/config.seeder.js +168 -0
  704. package/dist/seeders/config.seeder.js.map +1 -0
  705. package/dist/services/cleanup.service.d.ts +166 -0
  706. package/dist/services/cleanup.service.d.ts.map +1 -0
  707. package/dist/services/cleanup.service.js +605 -0
  708. package/dist/services/cleanup.service.js.map +1 -0
  709. package/dist/services/container.d.ts +201 -0
  710. package/dist/services/container.d.ts.map +1 -0
  711. package/dist/services/container.js +75 -0
  712. package/dist/services/container.js.map +1 -0
  713. package/dist/services/email.service.d.ts +69 -0
  714. package/dist/services/email.service.d.ts.map +1 -0
  715. package/dist/services/email.service.js +164 -0
  716. package/dist/services/email.service.js.map +1 -0
  717. package/dist/services/jwt.service.d.ts +321 -0
  718. package/dist/services/jwt.service.d.ts.map +1 -0
  719. package/dist/services/jwt.service.js +524 -0
  720. package/dist/services/jwt.service.js.map +1 -0
  721. package/dist/services/mikro.service.d.ts +43 -0
  722. package/dist/services/mikro.service.d.ts.map +1 -0
  723. package/dist/services/mikro.service.js +68 -0
  724. package/dist/services/mikro.service.js.map +1 -0
  725. package/dist/services/oauth-authorize.service.d.ts +91 -0
  726. package/dist/services/oauth-authorize.service.d.ts.map +1 -0
  727. package/dist/services/oauth-authorize.service.js +237 -0
  728. package/dist/services/oauth-authorize.service.js.map +1 -0
  729. package/dist/services/oauth-client.service.d.ts +38 -0
  730. package/dist/services/oauth-client.service.d.ts.map +1 -0
  731. package/dist/services/oauth-client.service.js +80 -0
  732. package/dist/services/oauth-client.service.js.map +1 -0
  733. package/dist/services/oauth-connect.service.d.ts +182 -0
  734. package/dist/services/oauth-connect.service.d.ts.map +1 -0
  735. package/dist/services/oauth-connect.service.js +592 -0
  736. package/dist/services/oauth-connect.service.js.map +1 -0
  737. package/dist/services/oauth-token.service.d.ts +162 -0
  738. package/dist/services/oauth-token.service.d.ts.map +1 -0
  739. package/dist/services/oauth-token.service.js +374 -0
  740. package/dist/services/oauth-token.service.js.map +1 -0
  741. package/dist/services/passkey.service.d.ts +73 -0
  742. package/dist/services/passkey.service.d.ts.map +1 -0
  743. package/dist/services/passkey.service.js +199 -0
  744. package/dist/services/passkey.service.js.map +1 -0
  745. package/dist/services/password-auth.service.d.ts +24 -0
  746. package/dist/services/password-auth.service.d.ts.map +1 -0
  747. package/dist/services/password-auth.service.js +87 -0
  748. package/dist/services/password-auth.service.js.map +1 -0
  749. package/dist/services/password-reset.service.d.ts +31 -0
  750. package/dist/services/password-reset.service.d.ts.map +1 -0
  751. package/dist/services/password-reset.service.js +54 -0
  752. package/dist/services/password-reset.service.js.map +1 -0
  753. package/dist/services/scheduler.service.d.ts +15 -0
  754. package/dist/services/scheduler.service.d.ts.map +1 -0
  755. package/dist/services/scheduler.service.js +52 -0
  756. package/dist/services/scheduler.service.js.map +1 -0
  757. package/dist/services/security.service.d.ts +17 -0
  758. package/dist/services/security.service.d.ts.map +1 -0
  759. package/dist/services/security.service.js +82 -0
  760. package/dist/services/security.service.js.map +1 -0
  761. package/dist/services/terms.service.d.ts +131 -0
  762. package/dist/services/terms.service.d.ts.map +1 -0
  763. package/dist/services/terms.service.js +210 -0
  764. package/dist/services/terms.service.js.map +1 -0
  765. package/dist/services/totp.service.d.ts +86 -0
  766. package/dist/services/totp.service.d.ts.map +1 -0
  767. package/dist/services/totp.service.js +244 -0
  768. package/dist/services/totp.service.js.map +1 -0
  769. package/dist/services/user-consent.service.d.ts +34 -0
  770. package/dist/services/user-consent.service.d.ts.map +1 -0
  771. package/dist/services/user-consent.service.js +42 -0
  772. package/dist/services/user-consent.service.js.map +1 -0
  773. package/dist/services/user.service.d.ts +60 -0
  774. package/dist/services/user.service.d.ts.map +1 -0
  775. package/dist/services/user.service.js +176 -0
  776. package/dist/services/user.service.js.map +1 -0
  777. package/package.json +155 -0
  778. package/public/assets/index-CrY7bb7j.css +2 -0
  779. package/public/assets/index-jYk5DHP_.js +75 -0
  780. package/public/assets/index-jYk5DHP_.js.map +1 -0
  781. package/public/index.html +27 -0
  782. package/public/vite.svg +1 -0
@@ -0,0 +1,1300 @@
1
+ import { type TinyAuthRuntimeConfigInput } from '../lib/config/index.ts';
2
+ /**
3
+ * Application configuration for the backend runtime.
4
+ */
5
+ export type CreateAppOptions = TinyAuthRuntimeConfigInput;
6
+ export declare function createApp(options: CreateAppOptions): Promise<{
7
+ app: import("hono/hono-base").HonoBase<import("../middleware/logger.ts").LoggerEnv & import("../middleware/session.ts").SessionEnv & import("../middleware/services.ts").ServicesEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
8
+ "/auth/login": {
9
+ $post: {
10
+ input: {
11
+ json: {
12
+ email: string;
13
+ password: string;
14
+ };
15
+ };
16
+ output: {
17
+ user: {
18
+ managed_by: "database" | "config";
19
+ sub: string;
20
+ email: string;
21
+ email_verified: boolean;
22
+ email_verification_required: boolean;
23
+ has_password: boolean;
24
+ totp_registered: boolean;
25
+ totp_recovery_codes_missing: boolean;
26
+ second_factor_required: boolean;
27
+ passkey_count: number;
28
+ };
29
+ };
30
+ outputFormat: "json";
31
+ status: 200;
32
+ };
33
+ };
34
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
35
+ "/auth/logout": {
36
+ $post: {
37
+ input: {};
38
+ output: {
39
+ ok: true;
40
+ };
41
+ outputFormat: "json";
42
+ status: 200;
43
+ };
44
+ };
45
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
46
+ "/auth/register": {
47
+ $post: {
48
+ input: {
49
+ header: {
50
+ 'accept-language'?: string;
51
+ };
52
+ } & {
53
+ json: {
54
+ email: string;
55
+ password: string;
56
+ consents?: {
57
+ termsId: string;
58
+ agreed: boolean;
59
+ consentType?: "explicit" | "implicit" | undefined;
60
+ }[] | undefined;
61
+ };
62
+ };
63
+ output: {
64
+ user: {
65
+ managed_by: "database" | "config";
66
+ sub: string;
67
+ email: string;
68
+ email_verified: boolean;
69
+ email_verification_required: boolean;
70
+ has_password: boolean;
71
+ totp_registered: boolean;
72
+ totp_recovery_codes_missing: boolean;
73
+ second_factor_required: boolean;
74
+ passkey_count: number;
75
+ };
76
+ };
77
+ outputFormat: "json";
78
+ status: 200;
79
+ };
80
+ };
81
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
82
+ "/auth/password/forgot": {
83
+ $post: {
84
+ input: {
85
+ header: {
86
+ 'accept-language'?: string;
87
+ };
88
+ } & {
89
+ json: {
90
+ email: string;
91
+ };
92
+ };
93
+ output: {
94
+ ok: true;
95
+ };
96
+ outputFormat: "json";
97
+ status: 200;
98
+ };
99
+ };
100
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
101
+ "/auth/password/reset": {
102
+ $post: {
103
+ input: {
104
+ json: {
105
+ token: string;
106
+ password: string;
107
+ };
108
+ };
109
+ output: {
110
+ message: string;
111
+ };
112
+ outputFormat: "json";
113
+ status: 200;
114
+ };
115
+ };
116
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
117
+ "/auth/email/verify": {
118
+ $post: {
119
+ input: {
120
+ json: {
121
+ token: string;
122
+ };
123
+ };
124
+ output: {
125
+ user: {
126
+ managed_by: "database" | "config";
127
+ sub: string;
128
+ email: string;
129
+ email_verified: boolean;
130
+ email_verification_required: boolean;
131
+ has_password: boolean;
132
+ totp_registered: boolean;
133
+ totp_recovery_codes_missing: boolean;
134
+ second_factor_required: boolean;
135
+ passkey_count: number;
136
+ };
137
+ };
138
+ outputFormat: "json";
139
+ status: 200;
140
+ };
141
+ };
142
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
143
+ "/auth/email/resend": {
144
+ $post: {
145
+ input: {
146
+ header: {
147
+ 'accept-language'?: string;
148
+ };
149
+ } & {
150
+ json: {
151
+ email: string;
152
+ };
153
+ };
154
+ output: {
155
+ message: string;
156
+ };
157
+ outputFormat: "json";
158
+ status: 200;
159
+ };
160
+ };
161
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
162
+ "/auth/totp/verify": {
163
+ $post: {
164
+ input: {
165
+ json: {
166
+ code: string;
167
+ };
168
+ };
169
+ output: {
170
+ user: {
171
+ managed_by: "database" | "config";
172
+ sub: string;
173
+ email: string;
174
+ email_verified: boolean;
175
+ email_verification_required: boolean;
176
+ has_password: boolean;
177
+ totp_registered: boolean;
178
+ totp_recovery_codes_missing: boolean;
179
+ second_factor_required: boolean;
180
+ passkey_count: number;
181
+ };
182
+ };
183
+ outputFormat: "json";
184
+ status: 200;
185
+ };
186
+ };
187
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
188
+ "/auth/totp/recovery/verify": {
189
+ $post: {
190
+ input: {
191
+ json: {
192
+ code: string;
193
+ };
194
+ };
195
+ output: {
196
+ user: {
197
+ managed_by: "database" | "config";
198
+ sub: string;
199
+ email: string;
200
+ email_verified: boolean;
201
+ email_verification_required: boolean;
202
+ has_password: boolean;
203
+ totp_registered: boolean;
204
+ totp_recovery_codes_missing: boolean;
205
+ second_factor_required: boolean;
206
+ passkey_count: number;
207
+ };
208
+ };
209
+ outputFormat: "json";
210
+ status: 200;
211
+ };
212
+ };
213
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
214
+ "/auth/passkey/options": {
215
+ $post: {
216
+ input: {};
217
+ output: {
218
+ options: {
219
+ challenge: import("@simplewebauthn/server").Base64URLString;
220
+ timeout?: number | undefined;
221
+ rpId?: string | undefined;
222
+ allowCredentials?: {
223
+ id: import("@simplewebauthn/server").Base64URLString;
224
+ type: import("@simplewebauthn/server").PublicKeyCredentialType;
225
+ transports?: import("@simplewebauthn/server").AuthenticatorTransportFuture[] | undefined;
226
+ }[] | undefined;
227
+ userVerification?: import("@simplewebauthn/server").UserVerificationRequirement | undefined;
228
+ hints?: import("@simplewebauthn/server").PublicKeyCredentialHint[] | undefined;
229
+ extensions?: {
230
+ appid?: string | undefined;
231
+ credProps?: boolean | undefined;
232
+ hmacCreateSecret?: boolean | undefined;
233
+ minPinLength?: boolean | undefined;
234
+ } | undefined;
235
+ };
236
+ };
237
+ outputFormat: "json";
238
+ status: 200;
239
+ };
240
+ };
241
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
242
+ "/auth/passkey/verify": {
243
+ $post: {
244
+ input: {
245
+ json: {
246
+ response: {
247
+ id: string;
248
+ rawId: string;
249
+ response: {
250
+ clientDataJSON: string;
251
+ authenticatorData: string;
252
+ signature: string;
253
+ userHandle?: string | undefined;
254
+ };
255
+ clientExtensionResults: Record<string, unknown>;
256
+ type: "public-key";
257
+ authenticatorAttachment?: "platform" | "cross-platform" | undefined;
258
+ };
259
+ };
260
+ };
261
+ output: {
262
+ user: {
263
+ managed_by: "database" | "config";
264
+ sub: string;
265
+ email: string;
266
+ email_verified: boolean;
267
+ email_verification_required: boolean;
268
+ has_password: boolean;
269
+ totp_registered: boolean;
270
+ totp_recovery_codes_missing: boolean;
271
+ second_factor_required: boolean;
272
+ passkey_count: number;
273
+ };
274
+ };
275
+ outputFormat: "json";
276
+ status: 200;
277
+ };
278
+ };
279
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
280
+ "/config": {
281
+ $get: {
282
+ input: {};
283
+ output: {
284
+ i18n: {
285
+ supported_languages: ("en" | "ko" | "ja")[];
286
+ default_language: "en" | "ko" | "ja" | "auto";
287
+ fallback_language: "en" | "ko" | "ja";
288
+ };
289
+ branding: {
290
+ light_theme: "light" | "dark" | "cupcake" | "bumblebee" | "emerald" | "corporate" | "synthwave" | "retro" | "cyberpunk" | "valentine" | "halloween" | "garden" | "forest" | "aqua" | "lofi" | "pastel" | "fantasy" | "wireframe" | "black" | "luxury" | "dracula" | "cmyk" | "autumn" | "business" | "acid" | "lemonade" | "night" | "coffee" | "winter" | "dim" | "nord" | "sunset" | "caramellatte" | "abyss" | "silk";
291
+ dark_theme: "light" | "dark" | "cupcake" | "bumblebee" | "emerald" | "corporate" | "synthwave" | "retro" | "cyberpunk" | "valentine" | "halloween" | "garden" | "forest" | "aqua" | "lofi" | "pastel" | "fantasy" | "wireframe" | "black" | "luxury" | "dracula" | "cmyk" | "autumn" | "business" | "acid" | "lemonade" | "night" | "coffee" | "winter" | "dim" | "nord" | "sunset" | "caramellatte" | "abyss" | "silk";
292
+ theme_mode: "light" | "dark" | "system";
293
+ background_url: string;
294
+ icon_url: string | undefined;
295
+ title: {
296
+ [x: string]: string;
297
+ };
298
+ subtitle: {
299
+ [x: string]: string;
300
+ };
301
+ };
302
+ registration: {
303
+ public_registration: boolean;
304
+ email_pattern_filter_enabled: boolean;
305
+ email_verification_required: boolean;
306
+ signup_notice: {
307
+ [x: string]: string;
308
+ };
309
+ };
310
+ database: {
311
+ enabled: true;
312
+ };
313
+ email: {
314
+ enabled: boolean;
315
+ };
316
+ auth: {
317
+ password: {
318
+ enabled: boolean;
319
+ two_factor: {
320
+ enrollment_required: boolean;
321
+ };
322
+ totp: {
323
+ enabled: boolean;
324
+ issuer: string;
325
+ };
326
+ policy: {
327
+ min_length: number;
328
+ max_length: number;
329
+ };
330
+ };
331
+ passkey: {
332
+ enabled: boolean;
333
+ rp_id?: string | undefined;
334
+ origins?: string[] | undefined;
335
+ };
336
+ };
337
+ identity_providers: {
338
+ id: string;
339
+ type: "github" | "google" | "apple" | "generic_oauth";
340
+ display_name: string;
341
+ icon_url?: string | undefined;
342
+ }[];
343
+ account_deletion: {
344
+ enabled: boolean;
345
+ retention: string;
346
+ };
347
+ };
348
+ outputFormat: "json";
349
+ status: 200;
350
+ };
351
+ };
352
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
353
+ "/consent": {
354
+ $get: {
355
+ input: {
356
+ query: {
357
+ client_id: string | string[];
358
+ scope?: string | string[];
359
+ };
360
+ };
361
+ output: {
362
+ client: {
363
+ id: string;
364
+ clientId: string;
365
+ name: string;
366
+ };
367
+ scopes: {
368
+ name: string;
369
+ description: string;
370
+ }[];
371
+ user: {
372
+ sub: import("@mikro-orm/core").Opt<string>;
373
+ email: string;
374
+ };
375
+ };
376
+ outputFormat: "json";
377
+ status: 200;
378
+ };
379
+ };
380
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
381
+ "/consent": {
382
+ $post: {
383
+ input: {
384
+ json: {
385
+ client_id: string;
386
+ redirect_uri: string;
387
+ response_type: string;
388
+ decision: "allow" | "deny";
389
+ scope?: string | undefined;
390
+ state?: string | undefined;
391
+ nonce?: string | undefined;
392
+ code_challenge?: string | undefined;
393
+ code_challenge_method?: "S256" | "plain" | undefined;
394
+ };
395
+ };
396
+ output: {
397
+ redirect_url: string;
398
+ };
399
+ outputFormat: "json";
400
+ status: 200;
401
+ };
402
+ };
403
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
404
+ "/health": {
405
+ $get: {
406
+ input: {};
407
+ output: {
408
+ status: "ok";
409
+ uptime: number;
410
+ checks: {
411
+ database: "ok";
412
+ };
413
+ };
414
+ outputFormat: "json";
415
+ status: 200;
416
+ } | {
417
+ input: {};
418
+ output: {
419
+ status: "error";
420
+ uptime: number;
421
+ checks: {
422
+ database: "error";
423
+ };
424
+ error: string | undefined;
425
+ };
426
+ outputFormat: "json";
427
+ status: 503;
428
+ };
429
+ };
430
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
431
+ "/health/ready": {
432
+ $get: {
433
+ input: {};
434
+ output: {
435
+ status: "ok";
436
+ checks: {
437
+ database: "ok";
438
+ };
439
+ };
440
+ outputFormat: "json";
441
+ status: 200;
442
+ } | {
443
+ input: {};
444
+ output: {
445
+ status: "error";
446
+ checks: {
447
+ database: "error";
448
+ };
449
+ error: string | undefined;
450
+ };
451
+ outputFormat: "json";
452
+ status: 503;
453
+ };
454
+ };
455
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
456
+ "/health/live": {
457
+ $get: {
458
+ input: {};
459
+ output: {
460
+ status: "ok";
461
+ };
462
+ outputFormat: "json";
463
+ status: 200;
464
+ };
465
+ };
466
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
467
+ "/terms": {
468
+ $get: {
469
+ input: {
470
+ query: {
471
+ lang?: string | string[];
472
+ };
473
+ };
474
+ output: {
475
+ terms: {
476
+ userConsent: {
477
+ agreedAt: string | null;
478
+ agreed: boolean;
479
+ agreedVersion: string | null;
480
+ consentType: "explicit" | "implicit" | null;
481
+ requiresUpdate: boolean;
482
+ } | null;
483
+ id: string;
484
+ required: boolean;
485
+ consentMode: "explicit" | "implicit";
486
+ version: string;
487
+ title: string;
488
+ type: import("../services/terms.service.ts").TermsContentType;
489
+ content: string;
490
+ }[];
491
+ pendingTerms: string[];
492
+ };
493
+ outputFormat: "json";
494
+ status: 200;
495
+ };
496
+ };
497
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
498
+ "/terms/consent": {
499
+ $post: {
500
+ input: {
501
+ json: {
502
+ consents: {
503
+ termsId: string;
504
+ agreed: boolean;
505
+ consentType?: "explicit" | "implicit" | undefined;
506
+ }[];
507
+ registrationToken?: string | undefined;
508
+ };
509
+ };
510
+ output: {
511
+ ok: true;
512
+ recorded: number;
513
+ };
514
+ outputFormat: "json";
515
+ status: 200;
516
+ };
517
+ };
518
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
519
+ "/docs": {
520
+ $get: {
521
+ input: {};
522
+ output: {};
523
+ outputFormat: string;
524
+ status: import("hono/utils/http-status").StatusCode;
525
+ };
526
+ };
527
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
528
+ "/user": {
529
+ $delete: {
530
+ input: {};
531
+ output: {
532
+ ok: true;
533
+ deleted_at: string;
534
+ permanent_deletion_at: string;
535
+ };
536
+ outputFormat: "json";
537
+ status: 200;
538
+ };
539
+ };
540
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
541
+ "/user/session": {
542
+ $get: {
543
+ input: {};
544
+ output: {
545
+ user: null;
546
+ };
547
+ outputFormat: "json";
548
+ status: 200;
549
+ } | {
550
+ input: {};
551
+ output: {
552
+ user: {
553
+ managed_by: "database" | "config";
554
+ sub: string;
555
+ email: string;
556
+ email_verified: boolean;
557
+ email_verification_required: boolean;
558
+ has_password: boolean;
559
+ totp_registered: boolean;
560
+ totp_recovery_codes_missing: boolean;
561
+ second_factor_required: boolean;
562
+ passkey_count: number;
563
+ };
564
+ };
565
+ outputFormat: "json";
566
+ status: 200;
567
+ };
568
+ };
569
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
570
+ "/user/password": {
571
+ $post: {
572
+ input: {
573
+ json: {
574
+ password: string;
575
+ };
576
+ };
577
+ output: {
578
+ ok: true;
579
+ };
580
+ outputFormat: "json";
581
+ status: 200;
582
+ };
583
+ };
584
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
585
+ "/user/password": {
586
+ $put: {
587
+ input: {
588
+ json: {
589
+ current_password: string;
590
+ new_password: string;
591
+ };
592
+ };
593
+ output: {
594
+ ok: true;
595
+ };
596
+ outputFormat: "json";
597
+ status: 200;
598
+ };
599
+ };
600
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
601
+ "/user/password": {
602
+ $delete: {
603
+ input: {
604
+ json: {
605
+ current_password: string;
606
+ };
607
+ };
608
+ output: {
609
+ ok: true;
610
+ };
611
+ outputFormat: "json";
612
+ status: 200;
613
+ };
614
+ };
615
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
616
+ "/user/oauth-accounts": {
617
+ $get: {
618
+ input: {};
619
+ output: {
620
+ accounts: {
621
+ provider_name: string;
622
+ linked_at: string;
623
+ }[];
624
+ available_providers: {
625
+ id: string;
626
+ display_name: string;
627
+ icon_url: string | undefined;
628
+ linked: boolean;
629
+ }[];
630
+ };
631
+ outputFormat: "json";
632
+ status: 200;
633
+ };
634
+ };
635
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
636
+ "/user/totp/setup": {
637
+ $post: {
638
+ input: {};
639
+ output: {
640
+ secret: string;
641
+ otpauth_url: string;
642
+ qr_code: string;
643
+ };
644
+ outputFormat: "json";
645
+ status: 200;
646
+ };
647
+ };
648
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
649
+ "/user/totp/verify": {
650
+ $post: {
651
+ input: {
652
+ json: {
653
+ code: string;
654
+ };
655
+ };
656
+ output: {
657
+ recovery_codes: string[];
658
+ };
659
+ outputFormat: "json";
660
+ status: 200;
661
+ };
662
+ };
663
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
664
+ "/user/totp/confirm": {
665
+ $post: {
666
+ input: {
667
+ json?: Record<string, never> | null | undefined;
668
+ };
669
+ output: {
670
+ user: {
671
+ managed_by: "database" | "config";
672
+ sub: string;
673
+ email: string;
674
+ email_verified: boolean;
675
+ email_verification_required: boolean;
676
+ has_password: boolean;
677
+ totp_registered: boolean;
678
+ totp_recovery_codes_missing: boolean;
679
+ second_factor_required: boolean;
680
+ passkey_count: number;
681
+ };
682
+ };
683
+ outputFormat: "json";
684
+ status: 200;
685
+ };
686
+ };
687
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
688
+ "/user/totp/recovery/regenerate": {
689
+ $post: {
690
+ input: {
691
+ json: {
692
+ code: string;
693
+ };
694
+ };
695
+ output: {
696
+ recovery_codes: string[];
697
+ };
698
+ outputFormat: "json";
699
+ status: 200;
700
+ };
701
+ };
702
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
703
+ "/user/totp": {
704
+ $delete: {
705
+ input: {
706
+ json: {
707
+ code: string;
708
+ };
709
+ };
710
+ output: {
711
+ ok: true;
712
+ };
713
+ outputFormat: "json";
714
+ status: 200;
715
+ };
716
+ };
717
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
718
+ "/user/passkeys": {
719
+ $get: {
720
+ input: {};
721
+ output: {
722
+ passkeys: {
723
+ id: string;
724
+ credential_id: string;
725
+ name: string | null;
726
+ device_type: "singleDevice" | "multiDevice";
727
+ backed_up: boolean;
728
+ created_at: string;
729
+ }[];
730
+ };
731
+ outputFormat: "json";
732
+ status: 200;
733
+ };
734
+ };
735
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
736
+ "/user/passkeys/:id": {
737
+ $delete: {
738
+ input: {
739
+ param: {
740
+ id: string;
741
+ };
742
+ };
743
+ output: {
744
+ ok: true;
745
+ };
746
+ outputFormat: "json";
747
+ status: 200;
748
+ };
749
+ };
750
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
751
+ "/user/passkeys/:id": {
752
+ $patch: {
753
+ input: {
754
+ param: {
755
+ id: string;
756
+ };
757
+ } & {
758
+ json: {
759
+ name: string;
760
+ };
761
+ };
762
+ output: {
763
+ ok: true;
764
+ };
765
+ outputFormat: "json";
766
+ status: 200;
767
+ };
768
+ };
769
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
770
+ "/user/passkeys/register/options": {
771
+ $post: {
772
+ input: {};
773
+ output: {
774
+ options: {
775
+ rp: {
776
+ id?: string | undefined;
777
+ name: string;
778
+ };
779
+ user: {
780
+ id: string;
781
+ name: string;
782
+ displayName: string;
783
+ };
784
+ challenge: import("@simplewebauthn/server").Base64URLString;
785
+ pubKeyCredParams: {
786
+ alg: import("@simplewebauthn/server").COSEAlgorithmIdentifier;
787
+ type: import("@simplewebauthn/server").PublicKeyCredentialType;
788
+ }[];
789
+ timeout?: number | undefined;
790
+ excludeCredentials?: {
791
+ id: import("@simplewebauthn/server").Base64URLString;
792
+ type: import("@simplewebauthn/server").PublicKeyCredentialType;
793
+ transports?: import("@simplewebauthn/server").AuthenticatorTransportFuture[] | undefined;
794
+ }[] | undefined;
795
+ authenticatorSelection?: {
796
+ authenticatorAttachment?: import("@simplewebauthn/server").AuthenticatorAttachment | undefined;
797
+ requireResidentKey?: boolean | undefined;
798
+ residentKey?: import("@simplewebauthn/server").ResidentKeyRequirement | undefined;
799
+ userVerification?: import("@simplewebauthn/server").UserVerificationRequirement | undefined;
800
+ } | undefined;
801
+ hints?: import("@simplewebauthn/server").PublicKeyCredentialHint[] | undefined;
802
+ attestation?: import("@simplewebauthn/server").AttestationConveyancePreference | undefined;
803
+ attestationFormats?: import("@simplewebauthn/server").AttestationFormat[] | undefined;
804
+ extensions?: {
805
+ appid?: string | undefined;
806
+ credProps?: boolean | undefined;
807
+ hmacCreateSecret?: boolean | undefined;
808
+ minPinLength?: boolean | undefined;
809
+ } | undefined;
810
+ };
811
+ };
812
+ outputFormat: "json";
813
+ status: 200;
814
+ };
815
+ };
816
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
817
+ "/user/passkeys/register/verify": {
818
+ $post: {
819
+ input: {
820
+ json: {
821
+ response: Record<string, any>;
822
+ name?: string | undefined;
823
+ };
824
+ };
825
+ output: {
826
+ ok: true;
827
+ user: {
828
+ managed_by: "database" | "config";
829
+ sub: string;
830
+ email: string;
831
+ email_verified: boolean;
832
+ email_verification_required: boolean;
833
+ has_password: boolean;
834
+ totp_registered: boolean;
835
+ totp_recovery_codes_missing: boolean;
836
+ second_factor_required: boolean;
837
+ passkey_count: number;
838
+ };
839
+ second_factor_setup_completed: true;
840
+ };
841
+ outputFormat: "json";
842
+ status: 200;
843
+ } | {
844
+ input: {
845
+ json: {
846
+ response: Record<string, any>;
847
+ name?: string | undefined;
848
+ };
849
+ };
850
+ output: {
851
+ ok: true;
852
+ second_factor_setup_completed: false;
853
+ };
854
+ outputFormat: "json";
855
+ status: 200;
856
+ };
857
+ };
858
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
859
+ "/oauth/:provider/authorize": {
860
+ $get: {
861
+ input: {
862
+ param: {
863
+ provider: string;
864
+ };
865
+ } & {
866
+ query: {
867
+ mode?: string | string[];
868
+ return_url?: string | string[];
869
+ };
870
+ };
871
+ output: undefined;
872
+ outputFormat: "redirect";
873
+ status: 302;
874
+ };
875
+ };
876
+ }, "/"> | import("hono/types").MergeSchemaPath<{
877
+ "/oauth/:provider/callback": {
878
+ $get: {
879
+ input: {
880
+ param: {
881
+ provider: string;
882
+ };
883
+ } & {
884
+ query: {
885
+ code?: string | string[];
886
+ state?: string | string[];
887
+ error?: string | string[];
888
+ error_description?: string | string[];
889
+ };
890
+ };
891
+ output: undefined;
892
+ outputFormat: "redirect";
893
+ status: 302;
894
+ };
895
+ };
896
+ }, "/"> | import("hono/types").MergeSchemaPath<{
897
+ "/oauth/:provider/callback": {
898
+ $post: {
899
+ input: {
900
+ param: {
901
+ provider: string;
902
+ };
903
+ } & {
904
+ form: {
905
+ code?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
906
+ state?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
907
+ error?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
908
+ error_description?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
909
+ };
910
+ };
911
+ output: undefined;
912
+ outputFormat: "redirect";
913
+ status: 302;
914
+ };
915
+ };
916
+ }, "/"> | import("hono/types").MergeSchemaPath<{
917
+ "/oauth/:provider": {
918
+ $delete: {
919
+ input: {
920
+ param: {
921
+ provider: string;
922
+ };
923
+ };
924
+ output: {
925
+ ok: true;
926
+ };
927
+ outputFormat: "json";
928
+ status: 200;
929
+ };
930
+ };
931
+ }, "/">, "/">, "/api"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
932
+ "/authorize": {
933
+ $get: {
934
+ input: {
935
+ query: {
936
+ response_type: string | string[];
937
+ redirect_uri: string | string[];
938
+ client_id: string | string[];
939
+ state?: string | string[];
940
+ code_challenge?: string | string[];
941
+ code_challenge_method?: string | string[];
942
+ scope?: string | string[];
943
+ nonce?: string | string[];
944
+ prompt?: string | string[];
945
+ max_age?: string | string[];
946
+ display?: string | string[];
947
+ };
948
+ };
949
+ output: undefined;
950
+ outputFormat: "redirect";
951
+ status: 302;
952
+ } | {
953
+ input: {
954
+ query: {
955
+ response_type: string | string[];
956
+ redirect_uri: string | string[];
957
+ client_id: string | string[];
958
+ state?: string | string[];
959
+ code_challenge?: string | string[];
960
+ code_challenge_method?: string | string[];
961
+ scope?: string | string[];
962
+ nonce?: string | string[];
963
+ prompt?: string | string[];
964
+ max_age?: string | string[];
965
+ display?: string | string[];
966
+ };
967
+ };
968
+ output: {
969
+ error: string;
970
+ error_description: string;
971
+ };
972
+ outputFormat: "json";
973
+ status: 400;
974
+ };
975
+ };
976
+ }, "/"> | import("hono/types").MergeSchemaPath<{
977
+ "/token": {
978
+ $post: {
979
+ input: {
980
+ form: {
981
+ grant_type: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
982
+ client_id: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
983
+ code?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
984
+ redirect_uri?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
985
+ client_secret?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
986
+ code_verifier?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
987
+ refresh_token?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
988
+ };
989
+ };
990
+ output: {
991
+ access_token: string;
992
+ token_type: "Bearer";
993
+ expires_in: number;
994
+ refresh_token: string;
995
+ id_token?: string | undefined | undefined;
996
+ scope: string;
997
+ };
998
+ outputFormat: "json";
999
+ status: 200;
1000
+ };
1001
+ };
1002
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1003
+ "/introspect": {
1004
+ $post: {
1005
+ input: {
1006
+ form: {
1007
+ token: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1008
+ token_type_hint?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1009
+ client_id?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1010
+ client_secret?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1011
+ };
1012
+ };
1013
+ output: {
1014
+ active: boolean;
1015
+ scope?: string | undefined | undefined;
1016
+ client_id?: string | undefined | undefined;
1017
+ token_type?: "Bearer" | undefined | undefined;
1018
+ exp?: number | undefined | undefined;
1019
+ iat?: number | undefined | undefined;
1020
+ sub?: string | undefined | undefined;
1021
+ iss?: string | undefined | undefined;
1022
+ };
1023
+ outputFormat: "json";
1024
+ status: 200;
1025
+ };
1026
+ };
1027
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1028
+ "/revoke": {
1029
+ $post: {
1030
+ input: {
1031
+ form: {
1032
+ token: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1033
+ token_type_hint?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1034
+ client_id?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1035
+ client_secret?: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
1036
+ };
1037
+ };
1038
+ output: {};
1039
+ outputFormat: "json";
1040
+ status: 200;
1041
+ };
1042
+ };
1043
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1044
+ "/userinfo": {
1045
+ $get: {
1046
+ input: {
1047
+ header: {
1048
+ authorization?: string;
1049
+ };
1050
+ };
1051
+ output: {
1052
+ sub: string;
1053
+ email?: string | undefined;
1054
+ email_verified?: boolean | undefined;
1055
+ name?: string | undefined;
1056
+ picture?: string | undefined;
1057
+ preferred_username?: string | undefined;
1058
+ };
1059
+ outputFormat: "json";
1060
+ status: 200;
1061
+ };
1062
+ };
1063
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1064
+ "/.well-known/jwks": {
1065
+ $get: {
1066
+ input: {};
1067
+ output: {
1068
+ keys: {
1069
+ kty: string;
1070
+ use: string;
1071
+ kid: string;
1072
+ alg: string;
1073
+ n?: string | undefined | undefined;
1074
+ e?: string | undefined | undefined;
1075
+ x?: string | undefined | undefined;
1076
+ y?: string | undefined | undefined;
1077
+ crv?: string | undefined | undefined;
1078
+ }[];
1079
+ };
1080
+ outputFormat: "json";
1081
+ status: 200;
1082
+ };
1083
+ };
1084
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1085
+ "/.well-known/openid-configuration": {
1086
+ $get: {
1087
+ input: {};
1088
+ output: {
1089
+ issuer: string;
1090
+ authorization_endpoint: string;
1091
+ token_endpoint: string;
1092
+ jwks_uri: string;
1093
+ response_types_supported: string[];
1094
+ subject_types_supported: string[];
1095
+ id_token_signing_alg_values_supported: string[];
1096
+ userinfo_endpoint: string;
1097
+ scopes_supported: string[];
1098
+ claims_supported: string[];
1099
+ grant_types_supported: string[];
1100
+ token_endpoint_auth_methods_supported: string[];
1101
+ code_challenge_methods_supported: string[];
1102
+ introspection_endpoint: string;
1103
+ revocation_endpoint: string;
1104
+ ui_locales_supported: ("en" | "ko" | "ja")[];
1105
+ };
1106
+ outputFormat: "json";
1107
+ status: 200;
1108
+ };
1109
+ };
1110
+ }, "/">, "/oauth"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1111
+ "/openid-configuration": {
1112
+ $get: {
1113
+ input: {};
1114
+ output: undefined;
1115
+ outputFormat: "redirect";
1116
+ status: 302;
1117
+ };
1118
+ };
1119
+ }, "/">, "/.well-known">, "/">, "/", "*">;
1120
+ services: {
1121
+ config: {
1122
+ server: {
1123
+ public_origin: string;
1124
+ listen_port: number;
1125
+ trust_proxy: string | number | boolean | string[];
1126
+ };
1127
+ tokens: {
1128
+ access_token_ttl: number;
1129
+ refresh_token_ttl: number;
1130
+ key_rotation: {
1131
+ enabled: boolean;
1132
+ interval_days: number;
1133
+ overlap_days: number;
1134
+ };
1135
+ };
1136
+ i18n: {
1137
+ supported_languages: ("en" | "ko" | "ja")[];
1138
+ default_language: "en" | "ko" | "ja" | "auto";
1139
+ fallback_language: "en" | "ko" | "ja";
1140
+ };
1141
+ branding: {
1142
+ light_theme: "light" | "dark" | "cupcake" | "bumblebee" | "emerald" | "corporate" | "synthwave" | "retro" | "cyberpunk" | "valentine" | "halloween" | "garden" | "forest" | "aqua" | "lofi" | "pastel" | "fantasy" | "wireframe" | "black" | "luxury" | "dracula" | "cmyk" | "autumn" | "business" | "acid" | "lemonade" | "night" | "coffee" | "winter" | "dim" | "nord" | "sunset" | "caramellatte" | "abyss" | "silk";
1143
+ dark_theme: "light" | "dark" | "cupcake" | "bumblebee" | "emerald" | "corporate" | "synthwave" | "retro" | "cyberpunk" | "valentine" | "halloween" | "garden" | "forest" | "aqua" | "lofi" | "pastel" | "fantasy" | "wireframe" | "black" | "luxury" | "dracula" | "cmyk" | "autumn" | "business" | "acid" | "lemonade" | "night" | "coffee" | "winter" | "dim" | "nord" | "sunset" | "caramellatte" | "abyss" | "silk";
1144
+ theme_mode: "light" | "dark" | "system";
1145
+ background_url: string;
1146
+ title: Record<string, string>;
1147
+ subtitle: Record<string, string>;
1148
+ icon_url?: string | undefined;
1149
+ };
1150
+ registration: {
1151
+ enabled: boolean;
1152
+ allowed_email_patterns: string[];
1153
+ email_verification_required: boolean;
1154
+ signup_notice: Record<string, string>;
1155
+ };
1156
+ account_deletion: {
1157
+ enabled: boolean;
1158
+ retention: string;
1159
+ };
1160
+ logging: {
1161
+ level: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "silent";
1162
+ format: "json" | "pretty";
1163
+ };
1164
+ openapi: {
1165
+ enabled: boolean;
1166
+ title: string;
1167
+ description: string;
1168
+ ui_title: string;
1169
+ };
1170
+ auth: {
1171
+ password: {
1172
+ enabled: boolean;
1173
+ two_factor: {
1174
+ enrollment_required: boolean;
1175
+ };
1176
+ totp: {
1177
+ enabled: boolean;
1178
+ issuer: string;
1179
+ };
1180
+ policy: {
1181
+ min_length: number;
1182
+ max_length: number;
1183
+ };
1184
+ };
1185
+ passkey: {
1186
+ enabled: boolean;
1187
+ rp_id?: string | undefined;
1188
+ origins?: string[] | undefined;
1189
+ };
1190
+ };
1191
+ security: {
1192
+ session_secret: string;
1193
+ hash_secret: string;
1194
+ pbkdf2_iterations: number;
1195
+ };
1196
+ cleanup: {
1197
+ revoked_tokens: {
1198
+ enabled: boolean;
1199
+ retention: string;
1200
+ };
1201
+ oauth_codes: {
1202
+ enabled: boolean;
1203
+ consumed_retention: string;
1204
+ };
1205
+ email_verifications: {
1206
+ enabled: boolean;
1207
+ retention: string;
1208
+ };
1209
+ password_resets: {
1210
+ enabled: boolean;
1211
+ retention: string;
1212
+ };
1213
+ pending_oauth_registrations: {
1214
+ enabled: boolean;
1215
+ retention: string;
1216
+ };
1217
+ };
1218
+ terms: {
1219
+ id: string;
1220
+ required: boolean;
1221
+ consent_mode: "explicit" | "implicit";
1222
+ version: string;
1223
+ content: Record<string, {
1224
+ title: string;
1225
+ type: "link";
1226
+ content: string;
1227
+ } | {
1228
+ title: string;
1229
+ type: "text";
1230
+ content: string;
1231
+ }>;
1232
+ }[];
1233
+ clients: {
1234
+ id: string;
1235
+ name: string;
1236
+ client_id: string;
1237
+ redirect_uris: string[];
1238
+ response_types: string[];
1239
+ grant_types: string[];
1240
+ scope: string;
1241
+ logo_uri?: string | undefined;
1242
+ client_secret?: string | undefined;
1243
+ }[];
1244
+ users: {
1245
+ sub: string;
1246
+ email: string;
1247
+ password: string;
1248
+ role: "user" | "admin";
1249
+ }[];
1250
+ database: import("../lib/config/database.ts").DatabaseConfig;
1251
+ identity_providers: {
1252
+ id: string;
1253
+ type: "github" | "google" | "apple" | "generic_oauth";
1254
+ enabled: boolean;
1255
+ display_name: string;
1256
+ client_id: string;
1257
+ client_secret: string;
1258
+ authorization_url: string;
1259
+ token_url: string;
1260
+ userinfo_url: string | null;
1261
+ scopes: string[];
1262
+ email_conflict_strategy: "auto_link" | "require_link";
1263
+ userinfo_mapping: {
1264
+ id: string;
1265
+ email: string;
1266
+ email_verified?: string | undefined;
1267
+ name?: string | undefined;
1268
+ picture?: string | undefined;
1269
+ };
1270
+ icon_url?: string | undefined;
1271
+ email_url?: string | undefined;
1272
+ response_mode?: string | undefined;
1273
+ }[];
1274
+ scheduler?: import("../lib/config/scheduler.ts").SchedulerConfig | undefined;
1275
+ frontend?: import("../lib/config/frontend.ts").FrontendConfig | undefined;
1276
+ email?: import("../lib/config/email.ts").EmailConfig | undefined;
1277
+ };
1278
+ securityService: import("../services/security.service.ts").SecurityService;
1279
+ mikro: import("../services/mikro.service.ts").MikroService;
1280
+ scheduler: import("../services/scheduler.service.ts").SchedulerService;
1281
+ emailService: import("../services/email.service.ts").EmailService;
1282
+ jwtService: import("../services/jwt.service.ts").JwtService;
1283
+ passwordAuthService: import("../services/password-auth.service.ts").PasswordAuthService;
1284
+ passwordResetService: import("../services/password-reset.service.ts").PasswordResetService;
1285
+ termsService: import("../services/terms.service.ts").TermsService;
1286
+ userConsentService: import("../services/user-consent.service.ts").UserConsentService;
1287
+ oauthClientService: import("../services/oauth-client.service.ts").OAuthClientService;
1288
+ totpService: import("../services/totp.service.ts").TotpService;
1289
+ passkeyService: import("../services/passkey.service.ts").PasskeyService;
1290
+ userService: import("../services/user.service.ts").UserService;
1291
+ oauthAuthorizeService: import("../services/oauth-authorize.service.ts").OAuthAuthorizeService;
1292
+ oauthConnectService: import("../services/oauth-connect.service.ts").OAuthConnectService;
1293
+ oauthTokenService: import("../services/oauth-token.service.ts").OAuthTokenService;
1294
+ cleanupService: import("../services/cleanup.service.ts").CleanupService;
1295
+ };
1296
+ cleanup: () => Promise<void>;
1297
+ logger: import("pino").Logger<never, boolean>;
1298
+ }>;
1299
+ export type AppType = Awaited<ReturnType<typeof createApp>>['app'];
1300
+ //# sourceMappingURL=app.d.ts.map