alepha 0.12.1 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist/api-notifications/index.d.ts +111 -111
  2. package/dist/api-users/index.d.ts +1240 -1240
  3. package/dist/api-verifications/index.d.ts +94 -94
  4. package/dist/cli/{dist-Sz2EXvQX.cjs → dist-Dl9Vl7Ur.js} +17 -13
  5. package/dist/cli/{dist-BBPjuQ56.js.map → dist-Dl9Vl7Ur.js.map} +1 -1
  6. package/dist/cli/index.d.ts +3 -11
  7. package/dist/cli/index.js +106 -74
  8. package/dist/cli/index.js.map +1 -1
  9. package/dist/email/index.js +71 -73
  10. package/dist/email/index.js.map +1 -1
  11. package/dist/orm/index.d.ts +1 -1
  12. package/dist/orm/index.js.map +1 -1
  13. package/dist/queue/index.d.ts +4 -4
  14. package/dist/redis/index.d.ts +10 -10
  15. package/dist/retry/index.d.ts +1 -1
  16. package/dist/retry/index.js +2 -2
  17. package/dist/retry/index.js.map +1 -1
  18. package/dist/scheduler/index.d.ts +6 -6
  19. package/dist/server/index.js +1 -1
  20. package/dist/server/index.js.map +1 -1
  21. package/dist/server-auth/index.d.ts +193 -193
  22. package/dist/server-health/index.d.ts +17 -17
  23. package/dist/server-links/index.d.ts +34 -34
  24. package/dist/server-metrics/index.js +170 -174
  25. package/dist/server-metrics/index.js.map +1 -1
  26. package/dist/server-security/index.d.ts +9 -9
  27. package/dist/vite/index.js +4 -5
  28. package/dist/vite/index.js.map +1 -1
  29. package/dist/websocket/index.d.ts +7 -7
  30. package/package.json +52 -103
  31. package/src/cli/apps/AlephaPackageBuilderCli.ts +7 -2
  32. package/src/cli/assets/appRouterTs.ts +9 -0
  33. package/src/cli/assets/indexHtml.ts +2 -1
  34. package/src/cli/assets/mainBrowserTs.ts +10 -0
  35. package/src/cli/commands/CoreCommands.ts +6 -5
  36. package/src/cli/commands/DrizzleCommands.ts +65 -57
  37. package/src/cli/commands/VerifyCommands.ts +1 -1
  38. package/src/cli/services/ProjectUtils.ts +44 -38
  39. package/src/orm/providers/DrizzleKitProvider.ts +1 -1
  40. package/src/retry/descriptors/$retry.ts +5 -3
  41. package/src/server/providers/NodeHttpServerProvider.ts +1 -1
  42. package/src/vite/helpers/boot.ts +3 -3
  43. package/dist/api-files/index.cjs +0 -1293
  44. package/dist/api-files/index.cjs.map +0 -1
  45. package/dist/api-files/index.d.cts +0 -829
  46. package/dist/api-jobs/index.cjs +0 -274
  47. package/dist/api-jobs/index.cjs.map +0 -1
  48. package/dist/api-jobs/index.d.cts +0 -654
  49. package/dist/api-notifications/index.cjs +0 -380
  50. package/dist/api-notifications/index.cjs.map +0 -1
  51. package/dist/api-notifications/index.d.cts +0 -289
  52. package/dist/api-parameters/index.cjs +0 -66
  53. package/dist/api-parameters/index.cjs.map +0 -1
  54. package/dist/api-parameters/index.d.cts +0 -84
  55. package/dist/api-users/index.cjs +0 -6009
  56. package/dist/api-users/index.cjs.map +0 -1
  57. package/dist/api-users/index.d.cts +0 -4740
  58. package/dist/api-verifications/index.cjs +0 -407
  59. package/dist/api-verifications/index.cjs.map +0 -1
  60. package/dist/api-verifications/index.d.cts +0 -207
  61. package/dist/batch/index.cjs +0 -408
  62. package/dist/batch/index.cjs.map +0 -1
  63. package/dist/batch/index.d.cts +0 -330
  64. package/dist/bin/index.cjs +0 -17
  65. package/dist/bin/index.cjs.map +0 -1
  66. package/dist/bin/index.d.cts +0 -1
  67. package/dist/bucket/index.cjs +0 -303
  68. package/dist/bucket/index.cjs.map +0 -1
  69. package/dist/bucket/index.d.cts +0 -355
  70. package/dist/cache/index.cjs +0 -241
  71. package/dist/cache/index.cjs.map +0 -1
  72. package/dist/cache/index.d.cts +0 -202
  73. package/dist/cache-redis/index.cjs +0 -84
  74. package/dist/cache-redis/index.cjs.map +0 -1
  75. package/dist/cache-redis/index.d.cts +0 -40
  76. package/dist/cli/chunk-DSlc6foC.cjs +0 -43
  77. package/dist/cli/dist-BBPjuQ56.js +0 -2778
  78. package/dist/cli/dist-Sz2EXvQX.cjs.map +0 -1
  79. package/dist/cli/index.cjs +0 -1241
  80. package/dist/cli/index.cjs.map +0 -1
  81. package/dist/cli/index.d.cts +0 -422
  82. package/dist/command/index.cjs +0 -693
  83. package/dist/command/index.cjs.map +0 -1
  84. package/dist/command/index.d.cts +0 -340
  85. package/dist/core/index.cjs +0 -2264
  86. package/dist/core/index.cjs.map +0 -1
  87. package/dist/core/index.d.cts +0 -1927
  88. package/dist/datetime/index.cjs +0 -318
  89. package/dist/datetime/index.cjs.map +0 -1
  90. package/dist/datetime/index.d.cts +0 -145
  91. package/dist/email/index.cjs +0 -10874
  92. package/dist/email/index.cjs.map +0 -1
  93. package/dist/email/index.d.cts +0 -186
  94. package/dist/fake/index.cjs +0 -34641
  95. package/dist/fake/index.cjs.map +0 -1
  96. package/dist/fake/index.d.cts +0 -74
  97. package/dist/file/index.cjs +0 -1212
  98. package/dist/file/index.cjs.map +0 -1
  99. package/dist/file/index.d.cts +0 -698
  100. package/dist/lock/index.cjs +0 -226
  101. package/dist/lock/index.cjs.map +0 -1
  102. package/dist/lock/index.d.cts +0 -361
  103. package/dist/lock-redis/index.cjs +0 -113
  104. package/dist/lock-redis/index.cjs.map +0 -1
  105. package/dist/lock-redis/index.d.cts +0 -24
  106. package/dist/logger/index.cjs +0 -521
  107. package/dist/logger/index.cjs.map +0 -1
  108. package/dist/logger/index.d.cts +0 -281
  109. package/dist/orm/index.cjs +0 -2986
  110. package/dist/orm/index.cjs.map +0 -1
  111. package/dist/orm/index.d.cts +0 -2213
  112. package/dist/queue/index.cjs +0 -1044
  113. package/dist/queue/index.cjs.map +0 -1
  114. package/dist/queue/index.d.cts +0 -1265
  115. package/dist/queue-redis/index.cjs +0 -873
  116. package/dist/queue-redis/index.cjs.map +0 -1
  117. package/dist/queue-redis/index.d.cts +0 -82
  118. package/dist/redis/index.cjs +0 -153
  119. package/dist/redis/index.cjs.map +0 -1
  120. package/dist/redis/index.d.cts +0 -82
  121. package/dist/retry/index.cjs +0 -146
  122. package/dist/retry/index.cjs.map +0 -1
  123. package/dist/retry/index.d.cts +0 -172
  124. package/dist/router/index.cjs +0 -111
  125. package/dist/router/index.cjs.map +0 -1
  126. package/dist/router/index.d.cts +0 -46
  127. package/dist/scheduler/index.cjs +0 -576
  128. package/dist/scheduler/index.cjs.map +0 -1
  129. package/dist/scheduler/index.d.cts +0 -145
  130. package/dist/security/index.cjs +0 -2402
  131. package/dist/security/index.cjs.map +0 -1
  132. package/dist/security/index.d.cts +0 -598
  133. package/dist/server/index.cjs +0 -1680
  134. package/dist/server/index.cjs.map +0 -1
  135. package/dist/server/index.d.cts +0 -810
  136. package/dist/server-auth/index.cjs +0 -3146
  137. package/dist/server-auth/index.cjs.map +0 -1
  138. package/dist/server-auth/index.d.cts +0 -1164
  139. package/dist/server-cache/index.cjs +0 -252
  140. package/dist/server-cache/index.cjs.map +0 -1
  141. package/dist/server-cache/index.d.cts +0 -164
  142. package/dist/server-compress/index.cjs +0 -141
  143. package/dist/server-compress/index.cjs.map +0 -1
  144. package/dist/server-compress/index.d.cts +0 -38
  145. package/dist/server-cookies/index.cjs +0 -234
  146. package/dist/server-cookies/index.cjs.map +0 -1
  147. package/dist/server-cookies/index.d.cts +0 -144
  148. package/dist/server-cors/index.cjs +0 -201
  149. package/dist/server-cors/index.cjs.map +0 -1
  150. package/dist/server-cors/index.d.cts +0 -140
  151. package/dist/server-health/index.cjs +0 -62
  152. package/dist/server-health/index.cjs.map +0 -1
  153. package/dist/server-health/index.d.cts +0 -58
  154. package/dist/server-helmet/index.cjs +0 -131
  155. package/dist/server-helmet/index.cjs.map +0 -1
  156. package/dist/server-helmet/index.d.cts +0 -97
  157. package/dist/server-links/index.cjs +0 -992
  158. package/dist/server-links/index.cjs.map +0 -1
  159. package/dist/server-links/index.d.cts +0 -513
  160. package/dist/server-metrics/index.cjs +0 -4535
  161. package/dist/server-metrics/index.cjs.map +0 -1
  162. package/dist/server-metrics/index.d.cts +0 -35
  163. package/dist/server-multipart/index.cjs +0 -237
  164. package/dist/server-multipart/index.cjs.map +0 -1
  165. package/dist/server-multipart/index.d.cts +0 -50
  166. package/dist/server-proxy/index.cjs +0 -186
  167. package/dist/server-proxy/index.cjs.map +0 -1
  168. package/dist/server-proxy/index.d.cts +0 -234
  169. package/dist/server-rate-limit/index.cjs +0 -241
  170. package/dist/server-rate-limit/index.cjs.map +0 -1
  171. package/dist/server-rate-limit/index.d.cts +0 -183
  172. package/dist/server-security/index.cjs +0 -316
  173. package/dist/server-security/index.cjs.map +0 -1
  174. package/dist/server-security/index.d.cts +0 -173
  175. package/dist/server-static/index.cjs +0 -170
  176. package/dist/server-static/index.cjs.map +0 -1
  177. package/dist/server-static/index.d.cts +0 -121
  178. package/dist/server-swagger/index.cjs +0 -1021
  179. package/dist/server-swagger/index.cjs.map +0 -1
  180. package/dist/server-swagger/index.d.cts +0 -382
  181. package/dist/sms/index.cjs +0 -221
  182. package/dist/sms/index.cjs.map +0 -1
  183. package/dist/sms/index.d.cts +0 -130
  184. package/dist/thread/index.cjs +0 -350
  185. package/dist/thread/index.cjs.map +0 -1
  186. package/dist/thread/index.d.cts +0 -260
  187. package/dist/topic/index.cjs +0 -282
  188. package/dist/topic/index.cjs.map +0 -1
  189. package/dist/topic/index.d.cts +0 -523
  190. package/dist/topic-redis/index.cjs +0 -71
  191. package/dist/topic-redis/index.cjs.map +0 -1
  192. package/dist/topic-redis/index.d.cts +0 -42
  193. package/dist/vite/index.cjs +0 -1077
  194. package/dist/vite/index.cjs.map +0 -1
  195. package/dist/vite/index.d.cts +0 -542
  196. package/dist/websocket/index.cjs +0 -1117
  197. package/dist/websocket/index.cjs.map +0 -1
  198. package/dist/websocket/index.d.cts +0 -861
@@ -1,4 +1,4 @@
1
- import * as alepha76 from "alepha";
1
+ import * as alepha62 from "alepha";
2
2
  import { Static } from "alepha";
3
3
  import * as alepha_server0 from "alepha/server";
4
4
  import { DateTimeProvider } from "alepha/datetime";
@@ -6,35 +6,35 @@ import * as alepha_logger0 from "alepha/logger";
6
6
  import * as alepha_orm56 from "alepha/orm";
7
7
 
8
8
  //#region src/api-verifications/entities/verifications.d.ts
9
- declare const verifications: alepha_orm56.EntityDescriptor<alepha76.TObject<{
10
- id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
11
- createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
12
- updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
13
- version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
14
- type: alepha76.TUnsafe<"link" | "code">;
15
- target: alepha76.TString;
16
- code: alepha76.TString;
17
- verifiedAt: alepha76.TOptional<alepha76.TString>;
18
- attempts: alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_DEFAULT>;
9
+ declare const verifications: alepha_orm56.EntityDescriptor<alepha62.TObject<{
10
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
11
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
12
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
13
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
14
+ type: alepha62.TUnsafe<"link" | "code">;
15
+ target: alepha62.TString;
16
+ code: alepha62.TString;
17
+ verifiedAt: alepha62.TOptional<alepha62.TString>;
18
+ attempts: alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_DEFAULT>;
19
19
  }>>;
20
20
  type VerificationEntity = Static<typeof verifications.schema>;
21
21
  //#endregion
22
22
  //#region src/api-verifications/schemas/verificationSettingsSchema.d.ts
23
- declare const verificationSettingsSchema: alepha76.TObject<{
24
- code: alepha76.TObject<{
25
- maxAttempts: alepha76.TInteger;
26
- codeLength: alepha76.TInteger;
27
- codeExpiration: alepha76.TInteger;
28
- verificationCooldown: alepha76.TInteger;
29
- limitPerDay: alepha76.TInteger;
23
+ declare const verificationSettingsSchema: alepha62.TObject<{
24
+ code: alepha62.TObject<{
25
+ maxAttempts: alepha62.TInteger;
26
+ codeLength: alepha62.TInteger;
27
+ codeExpiration: alepha62.TInteger;
28
+ verificationCooldown: alepha62.TInteger;
29
+ limitPerDay: alepha62.TInteger;
30
30
  }>;
31
- link: alepha76.TObject<{
32
- maxAttempts: alepha76.TInteger;
33
- codeExpiration: alepha76.TInteger;
34
- verificationCooldown: alepha76.TInteger;
35
- limitPerDay: alepha76.TInteger;
31
+ link: alepha62.TObject<{
32
+ maxAttempts: alepha62.TInteger;
33
+ codeExpiration: alepha62.TInteger;
34
+ verificationCooldown: alepha62.TInteger;
35
+ limitPerDay: alepha62.TInteger;
36
36
  }>;
37
- purgeDays: alepha76.TInteger;
37
+ purgeDays: alepha62.TInteger;
38
38
  }>;
39
39
  type VerificationSettings = Static<typeof verificationSettingsSchema>;
40
40
  //#endregion
@@ -42,21 +42,21 @@ type VerificationSettings = Static<typeof verificationSettingsSchema>;
42
42
  /**
43
43
  * Verification settings configuration atom
44
44
  */
45
- declare const verificationOptions: alepha76.Atom<alepha76.TObject<{
46
- code: alepha76.TObject<{
47
- maxAttempts: alepha76.TInteger;
48
- codeLength: alepha76.TInteger;
49
- codeExpiration: alepha76.TInteger;
50
- verificationCooldown: alepha76.TInteger;
51
- limitPerDay: alepha76.TInteger;
45
+ declare const verificationOptions: alepha62.Atom<alepha62.TObject<{
46
+ code: alepha62.TObject<{
47
+ maxAttempts: alepha62.TInteger;
48
+ codeLength: alepha62.TInteger;
49
+ codeExpiration: alepha62.TInteger;
50
+ verificationCooldown: alepha62.TInteger;
51
+ limitPerDay: alepha62.TInteger;
52
52
  }>;
53
- link: alepha76.TObject<{
54
- maxAttempts: alepha76.TInteger;
55
- codeExpiration: alepha76.TInteger;
56
- verificationCooldown: alepha76.TInteger;
57
- limitPerDay: alepha76.TInteger;
53
+ link: alepha62.TObject<{
54
+ maxAttempts: alepha62.TInteger;
55
+ codeExpiration: alepha62.TInteger;
56
+ verificationCooldown: alepha62.TInteger;
57
+ limitPerDay: alepha62.TInteger;
58
58
  }>;
59
- purgeDays: alepha76.TInteger;
59
+ purgeDays: alepha62.TInteger;
60
60
  }>, "alepha.api.verifications.options">;
61
61
  type VerificationOptions = Static<typeof verificationOptions.schema>;
62
62
  declare module "alepha" {
@@ -85,23 +85,23 @@ declare class VerificationParameters {
85
85
  }
86
86
  //#endregion
87
87
  //#region src/api-verifications/schemas/requestVerificationCodeResponseSchema.d.ts
88
- declare const requestVerificationCodeResponseSchema: alepha76.TObject<{
89
- token: alepha76.TString;
90
- codeExpiration: alepha76.TInteger;
91
- verificationCooldown: alepha76.TInteger;
92
- maxVerificationAttempts: alepha76.TInteger;
88
+ declare const requestVerificationCodeResponseSchema: alepha62.TObject<{
89
+ token: alepha62.TString;
90
+ codeExpiration: alepha62.TInteger;
91
+ verificationCooldown: alepha62.TInteger;
92
+ maxVerificationAttempts: alepha62.TInteger;
93
93
  }>;
94
94
  type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
95
95
  //#endregion
96
96
  //#region src/api-verifications/schemas/validateVerificationCodeResponseSchema.d.ts
97
- declare const validateVerificationCodeResponseSchema: alepha76.TObject<{
98
- ok: alepha76.TBoolean;
99
- alreadyVerified: alepha76.TOptional<alepha76.TBoolean>;
97
+ declare const validateVerificationCodeResponseSchema: alepha62.TObject<{
98
+ ok: alepha62.TBoolean;
99
+ alreadyVerified: alepha62.TOptional<alepha62.TBoolean>;
100
100
  }>;
101
101
  type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
102
102
  //#endregion
103
103
  //#region src/api-verifications/schemas/verificationTypeEnumSchema.d.ts
104
- declare const verificationTypeEnumSchema: alepha76.TUnsafe<"link" | "code">;
104
+ declare const verificationTypeEnumSchema: alepha62.TUnsafe<"link" | "code">;
105
105
  type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
106
106
  //#endregion
107
107
  //#region src/api-verifications/services/VerificationService.d.ts
@@ -109,38 +109,38 @@ declare class VerificationService {
109
109
  protected readonly log: alepha_logger0.Logger;
110
110
  protected readonly dateTimeProvider: DateTimeProvider;
111
111
  protected readonly verificationParameters: VerificationParameters;
112
- protected readonly verificationRepository: alepha_orm56.Repository<alepha76.TObject<{
113
- id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
114
- createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
115
- updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
116
- version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
117
- type: alepha76.TUnsafe<"link" | "code">;
118
- target: alepha76.TString;
119
- code: alepha76.TString;
120
- verifiedAt: alepha76.TOptional<alepha76.TString>;
121
- attempts: alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_DEFAULT>;
112
+ protected readonly verificationRepository: alepha_orm56.Repository<alepha62.TObject<{
113
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
114
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
115
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
116
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
117
+ type: alepha62.TUnsafe<"link" | "code">;
118
+ target: alepha62.TString;
119
+ code: alepha62.TString;
120
+ verifiedAt: alepha62.TOptional<alepha62.TString>;
121
+ attempts: alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_DEFAULT>;
122
122
  }>>;
123
123
  findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
124
- findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm56.PgStatic<alepha76.TObject<{
125
- id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
126
- createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
127
- updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
128
- version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
129
- type: alepha76.TUnsafe<"link" | "code">;
130
- target: alepha76.TString;
131
- code: alepha76.TString;
132
- verifiedAt: alepha76.TOptional<alepha76.TString>;
133
- attempts: alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_DEFAULT>;
134
- }>, alepha_orm56.PgRelationMap<alepha76.TObject<{
135
- id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
136
- createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
137
- updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
138
- version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
139
- type: alepha76.TUnsafe<"link" | "code">;
140
- target: alepha76.TString;
141
- code: alepha76.TString;
142
- verifiedAt: alepha76.TOptional<alepha76.TString>;
143
- attempts: alepha_orm56.PgAttr<alepha76.TInteger, typeof alepha_orm56.PG_DEFAULT>;
124
+ findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm56.PgStatic<alepha62.TObject<{
125
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
126
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
127
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
128
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
129
+ type: alepha62.TUnsafe<"link" | "code">;
130
+ target: alepha62.TString;
131
+ code: alepha62.TString;
132
+ verifiedAt: alepha62.TOptional<alepha62.TString>;
133
+ attempts: alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_DEFAULT>;
134
+ }>, alepha_orm56.PgRelationMap<alepha62.TObject<{
135
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
136
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
137
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
138
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
139
+ type: alepha62.TUnsafe<"link" | "code">;
140
+ target: alepha62.TString;
141
+ code: alepha62.TString;
142
+ verifiedAt: alepha62.TOptional<alepha62.TString>;
143
+ attempts: alepha_orm56.PgAttr<alepha62.TInteger, typeof alepha_orm56.PG_DEFAULT>;
144
144
  }>>>[]>;
145
145
  /**
146
146
  * Creates a verification entry and returns the token.
@@ -163,30 +163,30 @@ declare class VerificationController {
163
163
  readonly url = "/verifications";
164
164
  readonly group = "verifications";
165
165
  readonly requestVerificationCode: alepha_server0.ActionDescriptorFn<{
166
- params: alepha76.TObject<{
167
- type: alepha76.TUnsafe<"link" | "code">;
166
+ params: alepha62.TObject<{
167
+ type: alepha62.TUnsafe<"link" | "code">;
168
168
  }>;
169
- body: alepha76.TObject<{
170
- target: alepha76.TString;
169
+ body: alepha62.TObject<{
170
+ target: alepha62.TString;
171
171
  }>;
172
- response: alepha76.TObject<{
173
- token: alepha76.TString;
174
- codeExpiration: alepha76.TInteger;
175
- verificationCooldown: alepha76.TInteger;
176
- maxVerificationAttempts: alepha76.TInteger;
172
+ response: alepha62.TObject<{
173
+ token: alepha62.TString;
174
+ codeExpiration: alepha62.TInteger;
175
+ verificationCooldown: alepha62.TInteger;
176
+ maxVerificationAttempts: alepha62.TInteger;
177
177
  }>;
178
178
  }>;
179
179
  readonly validateVerificationCode: alepha_server0.ActionDescriptorFn<{
180
- params: alepha76.TObject<{
181
- type: alepha76.TUnsafe<"link" | "code">;
180
+ params: alepha62.TObject<{
181
+ type: alepha62.TUnsafe<"link" | "code">;
182
182
  }>;
183
- body: alepha76.TObject<{
184
- target: alepha76.TString;
185
- token: alepha76.TString;
183
+ body: alepha62.TObject<{
184
+ target: alepha62.TString;
185
+ token: alepha62.TString;
186
186
  }>;
187
- response: alepha76.TObject<{
188
- ok: alepha76.TBoolean;
189
- alreadyVerified: alepha76.TOptional<alepha76.TBoolean>;
187
+ response: alepha62.TObject<{
188
+ ok: alepha62.TBoolean;
189
+ alreadyVerified: alepha62.TOptional<alepha62.TBoolean>;
190
190
  }>;
191
191
  }>;
192
192
  }
@@ -201,7 +201,7 @@ declare class VerificationController {
201
201
  *
202
202
  * @module alepha.api.verifications
203
203
  */
204
- declare const AlephaApiVerification: alepha76.Service<alepha76.Module>;
204
+ declare const AlephaApiVerification: alepha62.Service<alepha62.Module>;
205
205
  //#endregion
206
206
  export { AlephaApiVerification, RequestVerificationResponse, ValidateVerificationCodeResponse, VerificationController, VerificationEntry, VerificationService, VerificationTypeEnum, requestVerificationCodeResponseSchema, validateVerificationCodeResponseSchema, verificationTypeEnumSchema };
207
207
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,9 @@
1
- const require_chunk = require('./chunk-DSlc6foC.cjs');
2
- require("vite/module-runner");
1
+ import "vite/module-runner";
3
2
 
3
+ //#region rolldown:runtime
4
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
5
+
6
+ //#endregion
4
7
  //#region ../../node_modules/tinyrainbow/dist/index.js
5
8
  var d = {
6
9
  reset: [0, 0],
@@ -2639,31 +2642,31 @@ function manageArtifactAttachment(attachment) {
2639
2642
 
2640
2643
  //#endregion
2641
2644
  //#region ../../node_modules/expect-type/dist/branding.js
2642
- var require_branding = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/expect-type/dist/branding.js": ((exports) => {
2645
+ var require_branding = /* @__PURE__ */ __commonJSMin(((exports) => {
2643
2646
  Object.defineProperty(exports, "__esModule", { value: true });
2644
- }) });
2647
+ }));
2645
2648
 
2646
2649
  //#endregion
2647
2650
  //#region ../../node_modules/expect-type/dist/messages.js
2648
- var require_messages = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/expect-type/dist/messages.js": ((exports) => {
2651
+ var require_messages = /* @__PURE__ */ __commonJSMin(((exports) => {
2649
2652
  Object.defineProperty(exports, "__esModule", { value: true });
2650
- }) });
2653
+ }));
2651
2654
 
2652
2655
  //#endregion
2653
2656
  //#region ../../node_modules/expect-type/dist/overloads.js
2654
- var require_overloads = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/expect-type/dist/overloads.js": ((exports) => {
2657
+ var require_overloads = /* @__PURE__ */ __commonJSMin(((exports) => {
2655
2658
  Object.defineProperty(exports, "__esModule", { value: true });
2656
- }) });
2659
+ }));
2657
2660
 
2658
2661
  //#endregion
2659
2662
  //#region ../../node_modules/expect-type/dist/utils.js
2660
- var require_utils = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/expect-type/dist/utils.js": ((exports) => {
2663
+ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
2661
2664
  Object.defineProperty(exports, "__esModule", { value: true });
2662
- }) });
2665
+ }));
2663
2666
 
2664
2667
  //#endregion
2665
2668
  //#region ../../node_modules/expect-type/dist/index.js
2666
- var require_dist = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/expect-type/dist/index.js": ((exports) => {
2669
+ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
2667
2670
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2668
2671
  if (k2 === void 0) k2 = k;
2669
2672
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -2760,11 +2763,12 @@ var require_dist = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_module
2760
2763
  return obj;
2761
2764
  };
2762
2765
  exports.expectTypeOf = expectTypeOf$1;
2763
- }) });
2766
+ }));
2764
2767
 
2765
2768
  //#endregion
2766
2769
  //#region ../../node_modules/vitest/dist/index.js
2767
2770
  var import_dist = require_dist();
2768
2771
 
2769
2772
  //#endregion
2770
- //# sourceMappingURL=dist-Sz2EXvQX.cjs.map
2773
+ export { };
2774
+ //# sourceMappingURL=dist-Dl9Vl7Ur.js.map