alepha 0.20.7 → 0.20.8
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.
|
@@ -13,7 +13,7 @@ declare const verifications: _$alepha_orm0.EntityPrimitive<_$typebox.TObject<{
|
|
|
13
13
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
14
14
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
15
15
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
16
|
-
type: _$typebox.TUnsafe<"
|
|
16
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
17
17
|
target: _$typebox.TString;
|
|
18
18
|
code: _$typebox.TString;
|
|
19
19
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -24,7 +24,7 @@ declare const verificationEntitySchema: _$typebox.TObject<{
|
|
|
24
24
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
25
25
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
26
26
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
27
|
-
type: _$typebox.TUnsafe<"
|
|
27
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
28
28
|
target: _$typebox.TString;
|
|
29
29
|
code: _$typebox.TString;
|
|
30
30
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -35,7 +35,7 @@ declare const verificationEntityInsertSchema: _$alepha_orm0.TObjectInsert<_$type
|
|
|
35
35
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
36
36
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
37
37
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
38
|
-
type: _$typebox.TUnsafe<"
|
|
38
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
39
39
|
target: _$typebox.TString;
|
|
40
40
|
code: _$typebox.TString;
|
|
41
41
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -90,17 +90,17 @@ declare module "alepha" {
|
|
|
90
90
|
}
|
|
91
91
|
declare class VerificationParameters {
|
|
92
92
|
protected readonly options: Readonly<{
|
|
93
|
-
|
|
93
|
+
code: {
|
|
94
94
|
codeExpiration: number;
|
|
95
95
|
verificationCooldown: number;
|
|
96
96
|
maxAttempts: number;
|
|
97
|
+
codeLength: number;
|
|
97
98
|
limitPerDay: number;
|
|
98
99
|
};
|
|
99
|
-
|
|
100
|
+
link: {
|
|
100
101
|
codeExpiration: number;
|
|
101
102
|
verificationCooldown: number;
|
|
102
103
|
maxAttempts: number;
|
|
103
|
-
codeLength: number;
|
|
104
104
|
limitPerDay: number;
|
|
105
105
|
};
|
|
106
106
|
purgeDays: number;
|
|
@@ -125,7 +125,7 @@ declare const validateVerificationCodeResponseSchema: _$typebox.TObject<{
|
|
|
125
125
|
type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
|
|
126
126
|
//#endregion
|
|
127
127
|
//#region ../../src/api/verifications/schemas/verificationTypeEnumSchema.d.ts
|
|
128
|
-
declare const verificationTypeEnumSchema: _$typebox.TUnsafe<"
|
|
128
|
+
declare const verificationTypeEnumSchema: _$typebox.TUnsafe<"code" | "link">;
|
|
129
129
|
type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
|
|
130
130
|
//#endregion
|
|
131
131
|
//#region ../../src/api/verifications/services/VerificationService.d.ts
|
|
@@ -138,7 +138,7 @@ declare class VerificationService {
|
|
|
138
138
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
139
139
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
140
140
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
141
|
-
type: _$typebox.TUnsafe<"
|
|
141
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
142
142
|
target: _$typebox.TString;
|
|
143
143
|
code: _$typebox.TString;
|
|
144
144
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -150,7 +150,7 @@ declare class VerificationService {
|
|
|
150
150
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
151
151
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
152
152
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
153
|
-
type: _$typebox.TUnsafe<"
|
|
153
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
154
154
|
target: _$typebox.TString;
|
|
155
155
|
code: _$typebox.TString;
|
|
156
156
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -160,7 +160,7 @@ declare class VerificationService {
|
|
|
160
160
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
161
161
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
162
162
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
163
|
-
type: _$typebox.TUnsafe<"
|
|
163
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
164
164
|
target: _$typebox.TString;
|
|
165
165
|
code: _$typebox.TString;
|
|
166
166
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
|
@@ -188,7 +188,7 @@ declare class VerificationController {
|
|
|
188
188
|
readonly group = "verifications";
|
|
189
189
|
readonly requestVerificationCode: _$alepha_server0.ActionPrimitiveFn<{
|
|
190
190
|
params: _$typebox.TObject<{
|
|
191
|
-
type: _$typebox.TUnsafe<"
|
|
191
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
192
192
|
}>;
|
|
193
193
|
body: _$typebox.TObject<{
|
|
194
194
|
target: _$typebox.TString;
|
|
@@ -202,7 +202,7 @@ declare class VerificationController {
|
|
|
202
202
|
}>;
|
|
203
203
|
readonly validateVerificationCode: _$alepha_server0.ActionPrimitiveFn<{
|
|
204
204
|
params: _$typebox.TObject<{
|
|
205
|
-
type: _$typebox.TUnsafe<"
|
|
205
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
206
206
|
}>;
|
|
207
207
|
body: _$typebox.TObject<{
|
|
208
208
|
target: _$typebox.TString;
|
|
@@ -222,7 +222,7 @@ declare class VerificationJobs {
|
|
|
222
222
|
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
223
223
|
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
224
224
|
version: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TInteger, typeof _$alepha_orm0.PG_VERSION>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
225
|
-
type: _$typebox.TUnsafe<"
|
|
225
|
+
type: _$typebox.TUnsafe<"code" | "link">;
|
|
226
226
|
target: _$typebox.TString;
|
|
227
227
|
code: _$typebox.TString;
|
|
228
228
|
verifiedAt: _$typebox.TOptional<_$typebox.TString>;
|
package/dist/cli/core/index.d.ts
CHANGED
|
@@ -2029,15 +2029,15 @@ declare class BuildCommand {
|
|
|
2029
2029
|
} | undefined;
|
|
2030
2030
|
} | undefined;
|
|
2031
2031
|
vercel?: {
|
|
2032
|
-
projectName?: string | undefined;
|
|
2033
|
-
orgId?: string | undefined;
|
|
2034
|
-
projectId?: string | undefined;
|
|
2035
2032
|
config?: {
|
|
2036
2033
|
crons?: {
|
|
2037
2034
|
path: string;
|
|
2038
2035
|
schedule: string;
|
|
2039
2036
|
}[] | undefined;
|
|
2040
2037
|
} | undefined;
|
|
2038
|
+
projectName?: string | undefined;
|
|
2039
|
+
orgId?: string | undefined;
|
|
2040
|
+
projectId?: string | undefined;
|
|
2041
2041
|
} | undefined;
|
|
2042
2042
|
cloudflare?: {
|
|
2043
2043
|
config?: Record<string, any> | undefined;
|
package/package.json
CHANGED