alepha 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +68 -80
  2. package/dist/api/audits/index.d.ts +332 -332
  3. package/dist/api/audits/index.d.ts.map +1 -1
  4. package/dist/api/files/index.d.ts +170 -170
  5. package/dist/api/files/index.d.ts.map +1 -1
  6. package/dist/api/jobs/index.d.ts +151 -151
  7. package/dist/api/keys/index.d.ts +195 -195
  8. package/dist/api/keys/index.d.ts.map +1 -1
  9. package/dist/api/parameters/index.d.ts +260 -260
  10. package/dist/api/users/index.d.ts +22 -11
  11. package/dist/api/users/index.d.ts.map +1 -1
  12. package/dist/api/users/index.js +7 -2
  13. package/dist/api/users/index.js.map +1 -1
  14. package/dist/api/verifications/index.d.ts +128 -128
  15. package/dist/api/verifications/index.d.ts.map +1 -1
  16. package/dist/bucket/index.d.ts +8 -0
  17. package/dist/bucket/index.d.ts.map +1 -1
  18. package/dist/bucket/index.js +7 -2
  19. package/dist/bucket/index.js.map +1 -1
  20. package/dist/cli/index.d.ts +191 -74
  21. package/dist/cli/index.d.ts.map +1 -1
  22. package/dist/cli/index.js +215 -48
  23. package/dist/cli/index.js.map +1 -1
  24. package/dist/command/index.d.ts +10 -0
  25. package/dist/command/index.d.ts.map +1 -1
  26. package/dist/command/index.js +67 -13
  27. package/dist/command/index.js.map +1 -1
  28. package/dist/core/index.browser.js +28 -21
  29. package/dist/core/index.browser.js.map +1 -1
  30. package/dist/core/index.d.ts.map +1 -1
  31. package/dist/core/index.js +28 -21
  32. package/dist/core/index.js.map +1 -1
  33. package/dist/core/index.native.js +28 -21
  34. package/dist/core/index.native.js.map +1 -1
  35. package/dist/email/index.d.ts +8 -0
  36. package/dist/email/index.d.ts.map +1 -1
  37. package/dist/email/index.js +7 -2
  38. package/dist/email/index.js.map +1 -1
  39. package/dist/mcp/index.d.ts +5 -5
  40. package/dist/orm/index.bun.js +32 -16
  41. package/dist/orm/index.bun.js.map +1 -1
  42. package/dist/orm/index.d.ts +4 -1
  43. package/dist/orm/index.d.ts.map +1 -1
  44. package/dist/orm/index.js +34 -22
  45. package/dist/orm/index.js.map +1 -1
  46. package/dist/react/router/index.browser.js +9 -15
  47. package/dist/react/router/index.browser.js.map +1 -1
  48. package/dist/react/router/index.d.ts +295 -407
  49. package/dist/react/router/index.d.ts.map +1 -1
  50. package/dist/react/router/index.js +566 -776
  51. package/dist/react/router/index.js.map +1 -1
  52. package/dist/redis/index.d.ts +19 -19
  53. package/dist/security/index.d.ts +42 -42
  54. package/dist/security/index.d.ts.map +1 -1
  55. package/dist/security/index.js +8 -7
  56. package/dist/security/index.js.map +1 -1
  57. package/dist/server/auth/index.d.ts +167 -167
  58. package/dist/server/core/index.d.ts +9 -9
  59. package/dist/server/health/index.d.ts +17 -17
  60. package/dist/server/links/index.d.ts +39 -39
  61. package/dist/server/static/index.js +7 -2
  62. package/dist/server/static/index.js.map +1 -1
  63. package/dist/server/swagger/index.d.ts +8 -0
  64. package/dist/server/swagger/index.d.ts.map +1 -1
  65. package/dist/server/swagger/index.js +7 -2
  66. package/dist/server/swagger/index.js.map +1 -1
  67. package/dist/sms/index.d.ts +8 -0
  68. package/dist/sms/index.d.ts.map +1 -1
  69. package/dist/sms/index.js +7 -2
  70. package/dist/sms/index.js.map +1 -1
  71. package/dist/system/index.browser.js +734 -12
  72. package/dist/system/index.browser.js.map +1 -1
  73. package/dist/system/index.d.ts +8 -0
  74. package/dist/system/index.d.ts.map +1 -1
  75. package/dist/system/index.js +7 -2
  76. package/dist/system/index.js.map +1 -1
  77. package/dist/vite/index.d.ts +1 -1
  78. package/dist/vite/index.js +15 -7
  79. package/dist/vite/index.js.map +1 -1
  80. package/package.json +4 -2
  81. package/src/api/logs/TODO.md +13 -10
  82. package/src/cli/apps/AlephaPackageBuilderCli.ts +9 -0
  83. package/src/cli/atoms/buildOptions.ts +99 -9
  84. package/src/cli/commands/build.ts +149 -32
  85. package/src/cli/commands/db.ts +5 -7
  86. package/src/cli/commands/init.spec.ts +50 -6
  87. package/src/cli/commands/init.ts +28 -5
  88. package/src/cli/providers/ViteDevServerProvider.ts +1 -10
  89. package/src/cli/services/AlephaCliUtils.ts +16 -0
  90. package/src/cli/services/PackageManagerUtils.ts +2 -0
  91. package/src/cli/services/ProjectScaffolder.spec.ts +97 -0
  92. package/src/cli/services/ProjectScaffolder.ts +28 -6
  93. package/src/cli/templates/agentMd.ts +6 -1
  94. package/src/cli/templates/apiAppSecurityTs.ts +11 -0
  95. package/src/cli/templates/apiIndexTs.ts +18 -4
  96. package/src/cli/templates/webAppRouterTs.ts +25 -1
  97. package/src/cli/templates/webHelloComponentTsx.ts +15 -5
  98. package/src/command/helpers/Runner.spec.ts +135 -0
  99. package/src/command/helpers/Runner.ts +4 -1
  100. package/src/command/providers/CliProvider.spec.ts +325 -0
  101. package/src/command/providers/CliProvider.ts +117 -7
  102. package/src/core/Alepha.ts +32 -25
  103. package/src/orm/index.bun.ts +1 -1
  104. package/src/orm/index.ts +2 -6
  105. package/src/orm/providers/drivers/BunSqliteProvider.ts +4 -1
  106. package/src/orm/providers/drivers/CloudflareD1Provider.ts +57 -30
  107. package/src/orm/providers/drivers/DatabaseProvider.ts +9 -1
  108. package/src/orm/providers/drivers/NodeSqliteProvider.ts +4 -1
  109. package/src/react/router/hooks/useActive.ts +1 -1
  110. package/src/react/router/hooks/useRouter.ts +1 -1
  111. package/src/react/router/index.ts +4 -0
  112. package/src/react/router/primitives/$page.browser.spec.tsx +24 -24
  113. package/src/react/router/primitives/$page.spec.tsx +0 -32
  114. package/src/react/router/primitives/$page.ts +6 -14
  115. package/src/react/router/providers/ReactBrowserProvider.ts +6 -3
  116. package/src/react/router/providers/ReactPageProvider.ts +1 -1
  117. package/src/react/router/providers/ReactPreloadProvider.spec.ts +142 -0
  118. package/src/react/router/providers/ReactPreloadProvider.ts +85 -0
  119. package/src/react/router/providers/ReactServerProvider.ts +7 -78
  120. package/src/react/router/providers/ReactServerTemplateProvider.spec.ts +210 -0
  121. package/src/react/router/providers/ReactServerTemplateProvider.ts +228 -665
  122. package/src/react/router/services/ReactRouter.ts +13 -13
  123. package/src/security/__tests__/ServerSecurityProvider.spec.ts +77 -0
  124. package/src/security/providers/ServerSecurityProvider.ts +30 -22
  125. package/src/server/core/providers/NodeHttpServerProvider.spec.ts +9 -3
  126. package/src/system/index.browser.ts +25 -0
  127. package/src/system/index.workerd.ts +1 -0
  128. package/src/system/providers/FileSystemProvider.ts +8 -0
  129. package/src/system/providers/NodeFileSystemProvider.ts +11 -2
  130. package/src/vite/tasks/buildServer.ts +2 -12
  131. package/src/vite/tasks/generateCloudflare.ts +10 -7
  132. package/src/vite/tasks/generateDocker.ts +4 -0
@@ -1,63 +1,63 @@
1
- import * as alepha19 from "alepha";
1
+ import * as alepha52 from "alepha";
2
2
  import { Static } from "alepha";
3
3
  import * as alepha_server0 from "alepha/server";
4
4
  import { DateTimeProvider } from "alepha/datetime";
5
5
  import * as alepha_logger0 from "alepha/logger";
6
- import * as alepha_orm0 from "alepha/orm";
6
+ import * as alepha_orm56 from "alepha/orm";
7
7
  import * as alepha_scheduler0 from "alepha/scheduler";
8
8
 
9
9
  //#region ../../src/api/verifications/entities/verifications.d.ts
10
- declare const verifications: alepha_orm0.EntityPrimitive<alepha19.TObject<{
11
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
12
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
13
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
14
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
15
- type: alepha19.TUnsafe<"code" | "link">;
16
- target: alepha19.TString;
17
- code: alepha19.TString;
18
- verifiedAt: alepha19.TOptional<alepha19.TString>;
19
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
10
+ declare const verifications: alepha_orm56.EntityPrimitive<alepha52.TObject<{
11
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
12
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
13
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
14
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
15
+ type: alepha52.TUnsafe<"link" | "code">;
16
+ target: alepha52.TString;
17
+ code: alepha52.TString;
18
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
19
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
20
20
  }>>;
21
- declare const verificationEntitySchema: alepha19.TObject<{
22
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
23
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
24
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
25
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
26
- type: alepha19.TUnsafe<"code" | "link">;
27
- target: alepha19.TString;
28
- code: alepha19.TString;
29
- verifiedAt: alepha19.TOptional<alepha19.TString>;
30
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
21
+ declare const verificationEntitySchema: alepha52.TObject<{
22
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
23
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
24
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
25
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
26
+ type: alepha52.TUnsafe<"link" | "code">;
27
+ target: alepha52.TString;
28
+ code: alepha52.TString;
29
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
30
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
31
31
  }>;
32
- declare const verificationEntityInsertSchema: alepha_orm0.TObjectInsert<alepha19.TObject<{
33
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
34
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
35
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
36
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
37
- type: alepha19.TUnsafe<"code" | "link">;
38
- target: alepha19.TString;
39
- code: alepha19.TString;
40
- verifiedAt: alepha19.TOptional<alepha19.TString>;
41
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
32
+ declare const verificationEntityInsertSchema: alepha_orm56.TObjectInsert<alepha52.TObject<{
33
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
34
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
35
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
36
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
37
+ type: alepha52.TUnsafe<"link" | "code">;
38
+ target: alepha52.TString;
39
+ code: alepha52.TString;
40
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
41
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
42
42
  }>>;
43
43
  type VerificationEntity = Static<typeof verifications.schema>;
44
44
  //#endregion
45
45
  //#region ../../src/api/verifications/schemas/verificationSettingsSchema.d.ts
46
- declare const verificationSettingsSchema: alepha19.TObject<{
47
- code: alepha19.TObject<{
48
- maxAttempts: alepha19.TInteger;
49
- codeLength: alepha19.TInteger;
50
- codeExpiration: alepha19.TInteger;
51
- verificationCooldown: alepha19.TInteger;
52
- limitPerDay: alepha19.TInteger;
46
+ declare const verificationSettingsSchema: alepha52.TObject<{
47
+ code: alepha52.TObject<{
48
+ maxAttempts: alepha52.TInteger;
49
+ codeLength: alepha52.TInteger;
50
+ codeExpiration: alepha52.TInteger;
51
+ verificationCooldown: alepha52.TInteger;
52
+ limitPerDay: alepha52.TInteger;
53
53
  }>;
54
- link: alepha19.TObject<{
55
- maxAttempts: alepha19.TInteger;
56
- codeExpiration: alepha19.TInteger;
57
- verificationCooldown: alepha19.TInteger;
58
- limitPerDay: alepha19.TInteger;
54
+ link: alepha52.TObject<{
55
+ maxAttempts: alepha52.TInteger;
56
+ codeExpiration: alepha52.TInteger;
57
+ verificationCooldown: alepha52.TInteger;
58
+ limitPerDay: alepha52.TInteger;
59
59
  }>;
60
- purgeDays: alepha19.TInteger;
60
+ purgeDays: alepha52.TInteger;
61
61
  }>;
62
62
  type VerificationSettings = Static<typeof verificationSettingsSchema>;
63
63
  //#endregion
@@ -65,21 +65,21 @@ type VerificationSettings = Static<typeof verificationSettingsSchema>;
65
65
  /**
66
66
  * Verification settings configuration atom
67
67
  */
68
- declare const verificationOptions: alepha19.Atom<alepha19.TObject<{
69
- code: alepha19.TObject<{
70
- maxAttempts: alepha19.TInteger;
71
- codeLength: alepha19.TInteger;
72
- codeExpiration: alepha19.TInteger;
73
- verificationCooldown: alepha19.TInteger;
74
- limitPerDay: alepha19.TInteger;
68
+ declare const verificationOptions: alepha52.Atom<alepha52.TObject<{
69
+ code: alepha52.TObject<{
70
+ maxAttempts: alepha52.TInteger;
71
+ codeLength: alepha52.TInteger;
72
+ codeExpiration: alepha52.TInteger;
73
+ verificationCooldown: alepha52.TInteger;
74
+ limitPerDay: alepha52.TInteger;
75
75
  }>;
76
- link: alepha19.TObject<{
77
- maxAttempts: alepha19.TInteger;
78
- codeExpiration: alepha19.TInteger;
79
- verificationCooldown: alepha19.TInteger;
80
- limitPerDay: alepha19.TInteger;
76
+ link: alepha52.TObject<{
77
+ maxAttempts: alepha52.TInteger;
78
+ codeExpiration: alepha52.TInteger;
79
+ verificationCooldown: alepha52.TInteger;
80
+ limitPerDay: alepha52.TInteger;
81
81
  }>;
82
- purgeDays: alepha19.TInteger;
82
+ purgeDays: alepha52.TInteger;
83
83
  }>, "alepha.api.verifications.options">;
84
84
  type VerificationOptions = Static<typeof verificationOptions.schema>;
85
85
  declare module "alepha" {
@@ -89,17 +89,17 @@ declare module "alepha" {
89
89
  }
90
90
  declare class VerificationParameters {
91
91
  protected readonly options: Readonly<{
92
- code: {
92
+ link: {
93
93
  codeExpiration: number;
94
94
  verificationCooldown: number;
95
95
  maxAttempts: number;
96
- codeLength: number;
97
96
  limitPerDay: number;
98
97
  };
99
- link: {
98
+ code: {
100
99
  codeExpiration: number;
101
100
  verificationCooldown: number;
102
101
  maxAttempts: number;
102
+ codeLength: number;
103
103
  limitPerDay: number;
104
104
  };
105
105
  purgeDays: number;
@@ -108,23 +108,23 @@ declare class VerificationParameters {
108
108
  }
109
109
  //#endregion
110
110
  //#region ../../src/api/verifications/schemas/requestVerificationCodeResponseSchema.d.ts
111
- declare const requestVerificationCodeResponseSchema: alepha19.TObject<{
112
- token: alepha19.TString;
113
- codeExpiration: alepha19.TInteger;
114
- verificationCooldown: alepha19.TInteger;
115
- maxVerificationAttempts: alepha19.TInteger;
111
+ declare const requestVerificationCodeResponseSchema: alepha52.TObject<{
112
+ token: alepha52.TString;
113
+ codeExpiration: alepha52.TInteger;
114
+ verificationCooldown: alepha52.TInteger;
115
+ maxVerificationAttempts: alepha52.TInteger;
116
116
  }>;
117
117
  type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
118
118
  //#endregion
119
119
  //#region ../../src/api/verifications/schemas/validateVerificationCodeResponseSchema.d.ts
120
- declare const validateVerificationCodeResponseSchema: alepha19.TObject<{
121
- ok: alepha19.TBoolean;
122
- alreadyVerified: alepha19.TOptional<alepha19.TBoolean>;
120
+ declare const validateVerificationCodeResponseSchema: alepha52.TObject<{
121
+ ok: alepha52.TBoolean;
122
+ alreadyVerified: alepha52.TOptional<alepha52.TBoolean>;
123
123
  }>;
124
124
  type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
125
125
  //#endregion
126
126
  //#region ../../src/api/verifications/schemas/verificationTypeEnumSchema.d.ts
127
- declare const verificationTypeEnumSchema: alepha19.TUnsafe<"code" | "link">;
127
+ declare const verificationTypeEnumSchema: alepha52.TUnsafe<"link" | "code">;
128
128
  type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
129
129
  //#endregion
130
130
  //#region ../../src/api/verifications/services/VerificationService.d.ts
@@ -132,38 +132,38 @@ declare class VerificationService {
132
132
  protected readonly log: alepha_logger0.Logger;
133
133
  protected readonly dateTimeProvider: DateTimeProvider;
134
134
  protected readonly verificationParameters: VerificationParameters;
135
- protected readonly verificationRepository: alepha_orm0.Repository<alepha19.TObject<{
136
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
137
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
138
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
139
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
140
- type: alepha19.TUnsafe<"code" | "link">;
141
- target: alepha19.TString;
142
- code: alepha19.TString;
143
- verifiedAt: alepha19.TOptional<alepha19.TString>;
144
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
135
+ protected readonly verificationRepository: alepha_orm56.Repository<alepha52.TObject<{
136
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
137
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
138
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
139
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
140
+ type: alepha52.TUnsafe<"link" | "code">;
141
+ target: alepha52.TString;
142
+ code: alepha52.TString;
143
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
144
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
145
145
  }>>;
146
146
  findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
147
- findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm0.PgStatic<alepha19.TObject<{
148
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
149
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
150
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
151
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
152
- type: alepha19.TUnsafe<"code" | "link">;
153
- target: alepha19.TString;
154
- code: alepha19.TString;
155
- verifiedAt: alepha19.TOptional<alepha19.TString>;
156
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
157
- }>, alepha_orm0.PgRelationMap<alepha19.TObject<{
158
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
159
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
160
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
161
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
162
- type: alepha19.TUnsafe<"code" | "link">;
163
- target: alepha19.TString;
164
- code: alepha19.TString;
165
- verifiedAt: alepha19.TOptional<alepha19.TString>;
166
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
147
+ findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm56.PgStatic<alepha52.TObject<{
148
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
149
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
150
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
151
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
152
+ type: alepha52.TUnsafe<"link" | "code">;
153
+ target: alepha52.TString;
154
+ code: alepha52.TString;
155
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
156
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
157
+ }>, alepha_orm56.PgRelationMap<alepha52.TObject<{
158
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
159
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
160
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
161
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
162
+ type: alepha52.TUnsafe<"link" | "code">;
163
+ target: alepha52.TString;
164
+ code: alepha52.TString;
165
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
166
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
167
167
  }>>>[]>;
168
168
  /**
169
169
  * Creates a verification entry and returns the token.
@@ -186,46 +186,46 @@ declare class VerificationController {
186
186
  readonly url = "/verifications";
187
187
  readonly group = "verifications";
188
188
  readonly requestVerificationCode: alepha_server0.ActionPrimitiveFn<{
189
- params: alepha19.TObject<{
190
- type: alepha19.TUnsafe<"code" | "link">;
189
+ params: alepha52.TObject<{
190
+ type: alepha52.TUnsafe<"link" | "code">;
191
191
  }>;
192
- body: alepha19.TObject<{
193
- target: alepha19.TString;
192
+ body: alepha52.TObject<{
193
+ target: alepha52.TString;
194
194
  }>;
195
- response: alepha19.TObject<{
196
- token: alepha19.TString;
197
- codeExpiration: alepha19.TInteger;
198
- verificationCooldown: alepha19.TInteger;
199
- maxVerificationAttempts: alepha19.TInteger;
195
+ response: alepha52.TObject<{
196
+ token: alepha52.TString;
197
+ codeExpiration: alepha52.TInteger;
198
+ verificationCooldown: alepha52.TInteger;
199
+ maxVerificationAttempts: alepha52.TInteger;
200
200
  }>;
201
201
  }>;
202
202
  readonly validateVerificationCode: alepha_server0.ActionPrimitiveFn<{
203
- params: alepha19.TObject<{
204
- type: alepha19.TUnsafe<"code" | "link">;
203
+ params: alepha52.TObject<{
204
+ type: alepha52.TUnsafe<"link" | "code">;
205
205
  }>;
206
- body: alepha19.TObject<{
207
- target: alepha19.TString;
208
- token: alepha19.TString;
206
+ body: alepha52.TObject<{
207
+ target: alepha52.TString;
208
+ token: alepha52.TString;
209
209
  }>;
210
- response: alepha19.TObject<{
211
- ok: alepha19.TBoolean;
212
- alreadyVerified: alepha19.TOptional<alepha19.TBoolean>;
210
+ response: alepha52.TObject<{
211
+ ok: alepha52.TBoolean;
212
+ alreadyVerified: alepha52.TOptional<alepha52.TBoolean>;
213
213
  }>;
214
214
  }>;
215
215
  }
216
216
  //#endregion
217
217
  //#region ../../src/api/verifications/jobs/VerificationJobs.d.ts
218
218
  declare class VerificationJobs {
219
- protected readonly verificationRepository: alepha_orm0.Repository<alepha19.TObject<{
220
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
221
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
222
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
223
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
224
- type: alepha19.TUnsafe<"code" | "link">;
225
- target: alepha19.TString;
226
- code: alepha19.TString;
227
- verifiedAt: alepha19.TOptional<alepha19.TString>;
228
- attempts: alepha_orm0.PgAttr<alepha19.TInteger, typeof alepha_orm0.PG_DEFAULT>;
219
+ protected readonly verificationRepository: alepha_orm56.Repository<alepha52.TObject<{
220
+ id: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_PRIMARY_KEY>, typeof alepha_orm56.PG_DEFAULT>;
221
+ createdAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_CREATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
222
+ updatedAt: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TString, typeof alepha_orm56.PG_UPDATED_AT>, typeof alepha_orm56.PG_DEFAULT>;
223
+ version: alepha_orm56.PgAttr<alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_VERSION>, typeof alepha_orm56.PG_DEFAULT>;
224
+ type: alepha52.TUnsafe<"link" | "code">;
225
+ target: alepha52.TString;
226
+ code: alepha52.TString;
227
+ verifiedAt: alepha52.TOptional<alepha52.TString>;
228
+ attempts: alepha_orm56.PgAttr<alepha52.TInteger, typeof alepha_orm56.PG_DEFAULT>;
229
229
  }>>;
230
230
  protected readonly verificationParameters: VerificationParameters;
231
231
  protected readonly dateTimeProvider: DateTimeProvider;
@@ -248,7 +248,7 @@ declare class VerificationJobs {
248
248
  *
249
249
  * @module alepha.api.verifications
250
250
  */
251
- declare const AlephaApiVerification: alepha19.Service<alepha19.Module>;
251
+ declare const AlephaApiVerification: alepha52.Service<alepha52.Module>;
252
252
  //#endregion
253
253
  export { AlephaApiVerification, RequestVerificationResponse, ValidateVerificationCodeResponse, VerificationController, VerificationEntity, VerificationEntry, VerificationJobs, VerificationOptions, VerificationParameters, VerificationService, VerificationTypeEnum, requestVerificationCodeResponseSchema, validateVerificationCodeResponseSchema, verificationEntityInsertSchema, verificationEntitySchema, verificationOptions, verificationTypeEnumSchema, verifications };
254
254
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/api/verifications/entities/verifications.ts","../../../src/api/verifications/schemas/verificationSettingsSchema.ts","../../../src/api/verifications/parameters/VerificationParameters.ts","../../../src/api/verifications/schemas/requestVerificationCodeResponseSchema.ts","../../../src/api/verifications/schemas/validateVerificationCodeResponseSchema.ts","../../../src/api/verifications/schemas/verificationTypeEnumSchema.ts","../../../src/api/verifications/services/VerificationService.ts","../../../src/api/verifications/controllers/VerificationController.ts","../../../src/api/verifications/jobs/VerificationJobs.ts","../../../src/api/verifications/index.ts"],"mappings":";;;;;;;;;cAKa,aAAA,EAAa,WAAA,CAAA,eAAA,UAAA,OAAA;4CAwCxB,QAAA,CAAA,OAAA;;;;;;;;;;cAEW,wBAAA,WAAwB,OAAA;4CAAuB,QAAA,CAAA,OAAA;;;;;;;;;;cAC/C,8BAAA,EAA8B,WAAA,CAAA,aAAA,UAAA,OAAA;4CAA6B,QAAA,CAAA,OAAA;;;;;;;;;;KAC5D,kBAAA,GAAqB,MAAA,QAAc,aAAA,CAAc,MAAA;;;cC9ChD,0BAAA,WAA0B,OAAA;;iBAsErC,QAAA,CAAA,QAAA;;;;;;;;;;;;;;KAEU,oBAAA,GAAuB,MAAA,QAAc,0BAAA;;;;;;cChEpC,mBAAA,EAAmB,QAAA,CAAA,IAAA,UAAA,OAAA;;iBAmB9B,QAAA,CAAA,QAAA;;;;;;;;;;;;;;KAEU,mBAAA,GAAsB,MAAA,QAAc,mBAAA,CAAoB,MAAA;AAAA;EAAA,UAGxD,KAAA;IAAA,CACP,mBAAA,CAAoB,GAAA,GAAM,mBAAA;EAAA;AAAA;AAAA,cAMlB,sBAAA;EAAA,mBACQ,OAAA,EAAO,QAAA;;;;;;;;;;;;;;;;EAEnB,GAAA,iBAAoB,oBAAA,CAAA,CACzB,GAAA,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wB,iBAAA;;YAtBD,QAAA,CAAA,OAAA;IAAA;;;;;;;;;;;;;cCN5B,gBAAA;EAAA,mBACQ,sBAAA,EAAsB,WAAA,CAAA,UAAA,UAAA,OAAA;8CADd,QAAA,CAAA,OAAA;;;;;;;;;;qBAER,sBAAA,EAAsB,sBAAA;EAAA,mBACtB,gBAAA,EAAgB,gBAAA;EAAA,SAEnB,YAAA,EAFmB,iBAAA,CAEP,kBAAA;AAAA;;;;ARP9B;;;;;;;;;;;;;;cS6Ba,qBAAA,EAAqB,QAAA,CAAA,OAAA,CAQhC,QAAA,CARgC,MAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/api/verifications/entities/verifications.ts","../../../src/api/verifications/schemas/verificationSettingsSchema.ts","../../../src/api/verifications/parameters/VerificationParameters.ts","../../../src/api/verifications/schemas/requestVerificationCodeResponseSchema.ts","../../../src/api/verifications/schemas/validateVerificationCodeResponseSchema.ts","../../../src/api/verifications/schemas/verificationTypeEnumSchema.ts","../../../src/api/verifications/services/VerificationService.ts","../../../src/api/verifications/controllers/VerificationController.ts","../../../src/api/verifications/jobs/VerificationJobs.ts","../../../src/api/verifications/index.ts"],"mappings":";;;;;;;;;cAKa,aAAA,EAAa,YAAA,CAAA,eAAA,UAAA,OAAA;8CAwCxB,QAAA,CAAA,OAAA;;;;;;;;;;cAEW,wBAAA,WAAwB,OAAA;8CAAuB,QAAA,CAAA,OAAA;;;;;;;;;;cAC/C,8BAAA,EAA8B,YAAA,CAAA,aAAA,UAAA,OAAA;8CAA6B,QAAA,CAAA,OAAA;;;;;;;;;;KAC5D,kBAAA,GAAqB,MAAA,QAAc,aAAA,CAAc,MAAA;;;cC9ChD,0BAAA,WAA0B,OAAA;;iBAsErC,QAAA,CAAA,QAAA;;;;;;;;;;;;;;KAEU,oBAAA,GAAuB,MAAA,QAAc,0BAAA;;;;;;cChEpC,mBAAA,EAAmB,QAAA,CAAA,IAAA,UAAA,OAAA;;iBAmB9B,QAAA,CAAA,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,IAAA,EAAM,oBAAA;AAAA;AAAA,UAcZ,iBAAA;EACf,IAAA,EAAM,oBAAA;EACN,MAAA;AAAA;;;cCxPW,sBAAA;EAAA,mBACQ,mBAAA,EAAmB,mBAAA;EAAA,SAEtB,GAAA;EAAA,SACA,KAAA;EAAA,SAEA,uBAAA,iBAAuB,iBAAA;;YALD,QAAA,CAAA,OAAA;IAAA;;;;;;;;;;;WA2BtB,wBAAA,iBAAwB,iBAAA;;YAtBD,QAAA,CAAA,OAAA;IAAA;;;;;;;;;;;;;cCN5B,gBAAA;EAAA,mBACQ,sBAAA,EAAsB,YAAA,CAAA,UAAA,UAAA,OAAA;gDADd,QAAA,CAAA,OAAA;;;;;;;;;;qBAER,sBAAA,EAAsB,sBAAA;EAAA,mBACtB,gBAAA,EAAgB,gBAAA;EAAA,SAEnB,YAAA,EAFmB,iBAAA,CAEP,kBAAA;AAAA;;;;ARP9B;;;;;;;;;;;;;;cS6Ba,qBAAA,EAAqB,QAAA,CAAA,OAAA,CAQhC,QAAA,CARgC,MAAA"}
@@ -218,8 +218,16 @@ interface CpOptions {
218
218
  interface MkdirOptions {
219
219
  /**
220
220
  * If true, creates parent directories as needed
221
+ *
222
+ * @default true
221
223
  */
222
224
  recursive?: boolean;
225
+ /**
226
+ * If true, does not throw an error if the directory already exists
227
+ *
228
+ * @default true
229
+ */
230
+ force?: boolean;
223
231
  /**
224
232
  * File mode (permission and sticky bits)
225
233
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/bucket/providers/FileStorageProvider.ts","../../src/system/providers/FileSystemProvider.ts","../../src/system/services/FileDetector.ts","../../src/bucket/providers/MemoryFileStorageProvider.ts","../../src/bucket/primitives/$bucket.ts","../../src/bucket/errors/FileNotFoundError.ts","../../src/bucket/providers/LocalFileStorageProvider.ts","../../src/bucket/index.ts"],"mappings":";;;;;;;uBAEsB,mBAAA;;;;;;AAAtB;;;WASW,MAAA,CACP,UAAA,UACA,IAAA,EAAM,Q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A;EAAA;AAAA;AAAA,cAMtB,wBAAA,YAAoC,mBAAA;EAAA,mBAC5B,MAAA,EAAM,MAAA;EAAA,mBACN,GAAA,EADM,cAAA,CACH,MAAA;EAAA,mBACH,YAAA,EAAY,YAAA;EAAA,mBACZ,kBAAA,EAAkB,kBAAA;EAAA,mBAClB,OAAA,EAAO,QAAA;;;gBAEZ,WAAA,CAAA;EAAA,mBAIK,WAAA,EANO,OAAA,CAMI,aAAA;EAAA,mBAcX,OAAA,EAdW,OAAA,CAcJ,aAAA;EAqBb,MAAA,CACX,UAAA,UACA,IAAA,EAAM,QAAA,EACN,MAAA,YACC,OAAA;EAaU,QAAA,CAAS,UAAA,UAAoB,MAAA,WAAiB,OAAA,CAAQ,QAAA;EAqBtD,MAAA,CAAO,UAAA,UAAoB,MAAA,WAAiB,OAAA;EAY5C,MAAA,CAAO,UAAA,UAAoB,MAAA,WAAiB,OAAA;EAAA,UAW/C,IAAA,CAAK,MAAA,UAAgB,MAAA,WAAiB,OAAA,CAAQ,EAAA,CAAG,KAAA;EAAA,UAIjD,QAAA,CAAS,QAAA;EAAA,UAKT,IAAA,CAAK,MAAA,UAAgB,MAAA;EAAA,UAIrB,cAAA,CAAe,KAAA;AAAA;;;;YCvJf,KAAA;IPnB6B;;;;IOwBrC,sBAAA;MACE,EAAA;MACA,IAAA,EAAM,QAAA;MACN,MAAA,EAAQ,eAAA;MACR,OAAA,EAAS,iBAAA;IAAA;IPlBX;;;IOuBA,qBAAA;MACE,EAAA;MACA,MAAA,EAAQ,eAAA;IAAA;EAAA;AAAA;;;;;;;;;;;;;;;ANhCd;;;;cMyDa,YAAA,EAAY,OAAA,CAAA,OAAA,CAkBvB,OAAA,CAlBuB,MAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/bucket/providers/FileStorageProvider.ts","../../src/system/providers/FileSystemProvider.ts","../../src/system/services/FileDetector.ts","../../src/bucket/providers/MemoryFileStorageProvider.ts","../../src/bucket/primitives/$bucket.ts","../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,OAAA,CAkBvB,OAAA,CAlBuB,MAAA"}
@@ -1367,8 +1367,13 @@ var NodeFileSystemProvider = class {
1367
1367
  * await fs.mkdir("/tmp/mydir", { mode: 0o755 });
1368
1368
  * ```
1369
1369
  */
1370
- async mkdir(path, options) {
1371
- await mkdir(path, options);
1370
+ async mkdir(path, options = {}) {
1371
+ const p = mkdir(path, {
1372
+ recursive: options.recursive ?? true,
1373
+ mode: options.mode
1374
+ });
1375
+ if (options.force === false) await p;
1376
+ else await p.catch(() => {});
1372
1377
  }
1373
1378
  /**
1374
1379
  * Lists files in a directory.