@tinyrack/tinyauth-server 0.1.0 → 0.3.0
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.
- package/dist/emails/components/email-layout.d.ts +1 -1
- package/dist/emails/components/email-layout.d.ts.map +1 -1
- package/dist/emails/templates/password-reset.d.ts +1 -1
- package/dist/emails/templates/password-reset.d.ts.map +1 -1
- package/dist/emails/templates/verification.d.ts +1 -1
- package/dist/emails/templates/verification.d.ts.map +1 -1
- package/dist/entities/background-job.entity.d.ts +42 -42
- package/dist/entities/background-job.entity.d.ts.map +1 -1
- package/dist/entities/base.entity.d.ts +8 -8
- package/dist/entities/base.entity.d.ts.map +1 -1
- package/dist/entities/bootstrap-state.entity.d.ts +15 -15
- package/dist/entities/bootstrap-state.entity.d.ts.map +1 -1
- package/dist/entities/email-verification.entity.d.ts +33 -27
- package/dist/entities/email-verification.entity.d.ts.map +1 -1
- package/dist/entities/jwt-key.entity.d.ts +36 -36
- package/dist/entities/jwt-key.entity.d.ts.map +1 -1
- package/dist/entities/oauth-client.entity.d.ts +519 -471
- package/dist/entities/oauth-client.entity.d.ts.map +1 -1
- package/dist/entities/oauth-code.entity.d.ts +519 -471
- package/dist/entities/oauth-code.entity.d.ts.map +1 -1
- package/dist/entities/password-reset.entity.d.ts +33 -27
- package/dist/entities/password-reset.entity.d.ts.map +1 -1
- package/dist/entities/pending-oauth-registration.entity.d.ts +39 -39
- package/dist/entities/pending-oauth-registration.entity.d.ts.map +1 -1
- package/dist/entities/revoked-token.entity.d.ts +519 -471
- package/dist/entities/revoked-token.entity.d.ts.map +1 -1
- package/dist/entities/scheduler-job.entity.d.ts +48 -48
- package/dist/entities/scheduler-job.entity.d.ts.map +1 -1
- package/dist/entities/terms-content.entity.d.ts +279 -249
- package/dist/entities/terms-content.entity.d.ts.map +1 -1
- package/dist/entities/terms.entity.d.ts +279 -249
- package/dist/entities/terms.entity.d.ts.map +1 -1
- package/dist/entities/user-consent.entity.d.ts +519 -471
- package/dist/entities/user-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-oauth.entity.d.ts +36 -30
- package/dist/entities/user-oauth.entity.d.ts.map +1 -1
- package/dist/entities/user-passkey.entity.d.ts +45 -39
- package/dist/entities/user-passkey.entity.d.ts.map +1 -1
- package/dist/entities/user-terms-consent.entity.d.ts +279 -249
- package/dist/entities/user-terms-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-totp-recovery-code.entity.d.ts +177 -159
- package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -1
- package/dist/entities/user-totp.entity.d.ts +177 -159
- package/dist/entities/user-totp.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.d.ts +177 -159
- package/dist/entities/user.entity.d.ts.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.js +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.js +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
- package/dist/repositories/user-passkey.repository.d.ts +45 -39
- package/dist/repositories/user-passkey.repository.d.ts.map +1 -1
- package/dist/repositories/user-totp-recovery-code.repository.d.ts +118 -106
- package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -1
- package/dist/repositories/user-totp.repository.d.ts +177 -159
- package/dist/repositories/user-totp.repository.d.ts.map +1 -1
- package/dist/routes/oauth/.well-known/openid-configuration/get.js +2 -2
- package/dist/routes/oauth/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/oauth/authorize/get.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.js +11 -3
- package/dist/routes/oauth/authorize/get.js.map +1 -1
- package/dist/schemas/error.d.ts +25 -0
- package/dist/schemas/error.d.ts.map +1 -1
- package/dist/schemas/error.js +1 -0
- package/dist/schemas/error.js.map +1 -1
- package/dist/services/container.d.ts.map +1 -1
- package/dist/services/container.js +1 -1
- package/dist/services/container.js.map +1 -1
- package/dist/services/oauth-authorize.service.d.ts +6 -1
- package/dist/services/oauth-authorize.service.d.ts.map +1 -1
- package/dist/services/oauth-authorize.service.js +68 -3
- package/dist/services/oauth-authorize.service.js.map +1 -1
- package/package.json +28 -28
- package/public/assets/index-5_9rzim1.css +2 -0
- package/public/assets/index-BTGeW26-.js +75 -0
- package/public/assets/index-BTGeW26-.js.map +1 -0
- package/public/index.html +2 -2
- package/public/assets/index-6odabbrQ.css +0 -1
- package/public/assets/index-DaJe6s9D.js +0 -76
- package/public/assets/index-DaJe6s9D.js.map +0 -1
|
@@ -5,53 +5,55 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
5
5
|
primary: true;
|
|
6
6
|
} & {
|
|
7
7
|
onCreate: (...args: any[]) => any;
|
|
8
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
8
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
9
9
|
readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
10
10
|
readonly sub: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
11
11
|
primary: true;
|
|
12
12
|
} & {
|
|
13
13
|
onCreate: (...args: any[]) => any;
|
|
14
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
15
|
-
readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
14
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
15
|
+
readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
16
16
|
readonly email_verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
17
17
|
default: false;
|
|
18
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
18
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
19
19
|
readonly password_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
20
20
|
nullable: true;
|
|
21
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
21
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
22
22
|
readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
23
23
|
default: "database";
|
|
24
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
24
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
25
25
|
readonly role: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"user" | "admin", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
26
26
|
default: "user";
|
|
27
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
27
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
28
28
|
readonly deleted_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
29
29
|
nullable: true;
|
|
30
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
30
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
31
31
|
readonly oauthAccounts: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
32
32
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<bigint, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
33
33
|
primary: true;
|
|
34
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
35
|
-
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
34
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
35
|
+
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
36
36
|
kind: "m:1";
|
|
37
37
|
}, "ref"> & {
|
|
38
38
|
ref: true;
|
|
39
|
+
}, "index"> & {
|
|
40
|
+
index: "user_oauth_user_sub_idx";
|
|
39
41
|
}>;
|
|
40
|
-
readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
41
|
-
readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
42
|
-
readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
43
|
-
readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
42
|
+
readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
43
|
+
readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
44
|
+
readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
45
|
+
readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
44
46
|
readonly expires_at: import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@mikro-orm/core").RequiredNullable<Date>, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
45
47
|
nullable: true;
|
|
46
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
48
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
47
49
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
48
50
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
49
51
|
onCreate: (...args: any[]) => any;
|
|
50
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
52
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
51
53
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
52
54
|
onCreate: (...args: any[]) => any;
|
|
53
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
54
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
55
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
56
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
55
57
|
kind: "1:m";
|
|
56
58
|
}>;
|
|
57
59
|
readonly passkeys: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
@@ -59,58 +61,60 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
59
61
|
primary: true;
|
|
60
62
|
} & {
|
|
61
63
|
onCreate: (...args: any[]) => any;
|
|
62
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
63
|
-
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
64
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
65
|
+
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
64
66
|
kind: "m:1";
|
|
65
67
|
}, "ref"> & {
|
|
66
68
|
ref: true;
|
|
69
|
+
}, "index"> & {
|
|
70
|
+
index: "user_passkey_user_sub_idx";
|
|
67
71
|
}>;
|
|
68
|
-
readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
72
|
+
readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
69
73
|
readonly public_key: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
|
|
70
74
|
hidden: true;
|
|
71
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
75
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
72
76
|
readonly counter: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<number, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
73
77
|
default: 0;
|
|
74
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
78
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
75
79
|
readonly device_type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"singleDevice" | "multiDevice", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
76
80
|
default: "singleDevice";
|
|
77
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
81
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
78
82
|
readonly backed_up: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
79
83
|
default: false;
|
|
80
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
84
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
81
85
|
readonly transports: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@simplewebauthn/server").AuthenticatorTransportFuture[] | null, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
82
86
|
nullable: true;
|
|
83
87
|
}, "default"> & {
|
|
84
88
|
default: null;
|
|
85
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
89
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
86
90
|
readonly name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
87
91
|
nullable: true;
|
|
88
92
|
}, "default"> & {
|
|
89
93
|
default: null;
|
|
90
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
94
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
91
95
|
readonly aaguid: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
92
96
|
nullable: true;
|
|
93
97
|
}, "default"> & {
|
|
94
98
|
default: null;
|
|
95
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
99
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
96
100
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
97
101
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
98
102
|
onCreate: (...args: any[]) => any;
|
|
99
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
103
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
100
104
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
101
105
|
onCreate: (...args: any[]) => any;
|
|
102
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
103
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
106
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
107
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
104
108
|
kind: "1:m";
|
|
105
109
|
}>;
|
|
106
110
|
readonly totps: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
107
111
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
108
112
|
onCreate: (...args: any[]) => any;
|
|
109
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
113
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
110
114
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
111
115
|
onCreate: (...args: any[]) => any;
|
|
112
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
113
|
-
}, undefined, never, never, false>, typeof UserTotpRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
116
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
117
|
+
}, undefined, never, never, false, undefined, undefined>, typeof UserTotpRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
114
118
|
kind: "1:m";
|
|
115
119
|
}>;
|
|
116
120
|
readonly totpRecoveryCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
@@ -118,121 +122,125 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
118
122
|
primary: true;
|
|
119
123
|
} & {
|
|
120
124
|
onCreate: (...args: any[]) => any;
|
|
121
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
125
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
122
126
|
readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
123
127
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
124
128
|
onCreate: (...args: any[]) => any;
|
|
125
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
129
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
126
130
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
127
131
|
onCreate: (...args: any[]) => any;
|
|
128
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
129
|
-
}, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
132
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
133
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user.repository.ts").UserRepository, false, undefined, undefined>, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
130
134
|
kind: "m:1";
|
|
135
|
+
}, "index"> & {
|
|
136
|
+
index: "user_totp_recovery_code_user_sub_idx";
|
|
131
137
|
}>;
|
|
132
|
-
readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
138
|
+
readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
133
139
|
readonly used: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
134
140
|
default: false;
|
|
135
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
141
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
136
142
|
readonly used_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
137
143
|
nullable: true;
|
|
138
144
|
}, "default"> & {
|
|
139
145
|
default: null;
|
|
140
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
146
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
141
147
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
142
148
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
143
149
|
onCreate: (...args: any[]) => any;
|
|
144
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
150
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
145
151
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
146
152
|
onCreate: (...args: any[]) => any;
|
|
147
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
148
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
153
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
154
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
149
155
|
kind: "1:m";
|
|
150
156
|
}>;
|
|
151
157
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
152
158
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
153
159
|
onCreate: (...args: any[]) => any;
|
|
154
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
160
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
155
161
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
156
162
|
onCreate: (...args: any[]) => any;
|
|
157
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
158
|
-
}, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
163
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
164
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user.repository.ts").UserRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
159
165
|
kind: "m:1";
|
|
160
166
|
}>;
|
|
161
167
|
readonly secret: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
|
|
162
168
|
hidden: true;
|
|
163
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
169
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
164
170
|
readonly verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
165
171
|
default: false;
|
|
166
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
172
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
167
173
|
readonly recovery_confirmed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
168
174
|
default: false;
|
|
169
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
175
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
170
176
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
171
177
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
172
178
|
onCreate: (...args: any[]) => any;
|
|
173
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
179
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
174
180
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
175
181
|
onCreate: (...args: any[]) => any;
|
|
176
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
177
|
-
}, undefined, never, never, false>, typeof UserTotpRepository, false>, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
182
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
183
|
+
}, undefined, never, never, false, undefined, undefined>, typeof UserTotpRepository, false, undefined, undefined>, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
178
184
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
179
185
|
onCreate: (...args: any[]) => any;
|
|
180
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
186
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
181
187
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
182
188
|
onCreate: (...args: any[]) => any;
|
|
183
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
184
|
-
}, undefined, never, never, false>, {
|
|
189
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
190
|
+
}, undefined, never, never, false, undefined, undefined>, {
|
|
185
191
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
186
192
|
primary: true;
|
|
187
193
|
} & {
|
|
188
194
|
onCreate: (...args: any[]) => any;
|
|
189
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
195
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
190
196
|
readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
191
197
|
readonly sub: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
192
198
|
primary: true;
|
|
193
199
|
} & {
|
|
194
200
|
onCreate: (...args: any[]) => any;
|
|
195
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
196
|
-
readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
201
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
202
|
+
readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
197
203
|
readonly email_verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
198
204
|
default: false;
|
|
199
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
205
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
200
206
|
readonly password_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
201
207
|
nullable: true;
|
|
202
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
208
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
203
209
|
readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
204
210
|
default: "database";
|
|
205
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
211
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
206
212
|
readonly role: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"user" | "admin", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
207
213
|
default: "user";
|
|
208
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
214
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
209
215
|
readonly deleted_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
210
216
|
nullable: true;
|
|
211
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
217
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
212
218
|
readonly oauthAccounts: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
213
219
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<bigint, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
214
220
|
primary: true;
|
|
215
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
216
|
-
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
221
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
222
|
+
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
217
223
|
kind: "m:1";
|
|
218
224
|
}, "ref"> & {
|
|
219
225
|
ref: true;
|
|
226
|
+
}, "index"> & {
|
|
227
|
+
index: "user_oauth_user_sub_idx";
|
|
220
228
|
}>;
|
|
221
|
-
readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
222
|
-
readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
223
|
-
readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
224
|
-
readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
229
|
+
readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
230
|
+
readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
231
|
+
readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
232
|
+
readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
225
233
|
readonly expires_at: import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@mikro-orm/core").RequiredNullable<Date>, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
226
234
|
nullable: true;
|
|
227
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
235
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
228
236
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
229
237
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
230
238
|
onCreate: (...args: any[]) => any;
|
|
231
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
239
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
232
240
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
233
241
|
onCreate: (...args: any[]) => any;
|
|
234
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
235
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
242
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
243
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
236
244
|
kind: "1:m";
|
|
237
245
|
}>;
|
|
238
246
|
readonly passkeys: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
@@ -240,58 +248,60 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
240
248
|
primary: true;
|
|
241
249
|
} & {
|
|
242
250
|
onCreate: (...args: any[]) => any;
|
|
243
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
244
|
-
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
251
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
252
|
+
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
245
253
|
kind: "m:1";
|
|
246
254
|
}, "ref"> & {
|
|
247
255
|
ref: true;
|
|
256
|
+
}, "index"> & {
|
|
257
|
+
index: "user_passkey_user_sub_idx";
|
|
248
258
|
}>;
|
|
249
|
-
readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
259
|
+
readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
250
260
|
readonly public_key: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
|
|
251
261
|
hidden: true;
|
|
252
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
262
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
253
263
|
readonly counter: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<number, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
254
264
|
default: 0;
|
|
255
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
265
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
256
266
|
readonly device_type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"singleDevice" | "multiDevice", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
257
267
|
default: "singleDevice";
|
|
258
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
268
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
259
269
|
readonly backed_up: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
260
270
|
default: false;
|
|
261
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
271
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
262
272
|
readonly transports: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@simplewebauthn/server").AuthenticatorTransportFuture[] | null, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
263
273
|
nullable: true;
|
|
264
274
|
}, "default"> & {
|
|
265
275
|
default: null;
|
|
266
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
276
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
267
277
|
readonly name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
268
278
|
nullable: true;
|
|
269
279
|
}, "default"> & {
|
|
270
280
|
default: null;
|
|
271
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
281
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
272
282
|
readonly aaguid: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
273
283
|
nullable: true;
|
|
274
284
|
}, "default"> & {
|
|
275
285
|
default: null;
|
|
276
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
286
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
277
287
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
278
288
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
279
289
|
onCreate: (...args: any[]) => any;
|
|
280
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
290
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
281
291
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
282
292
|
onCreate: (...args: any[]) => any;
|
|
283
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
284
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
293
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
294
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
285
295
|
kind: "1:m";
|
|
286
296
|
}>;
|
|
287
297
|
readonly totps: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
288
298
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
289
299
|
onCreate: (...args: any[]) => any;
|
|
290
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
300
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
291
301
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
292
302
|
onCreate: (...args: any[]) => any;
|
|
293
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
294
|
-
}, undefined, never, never, false>, typeof UserTotpRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
303
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
304
|
+
}, undefined, never, never, false, undefined, undefined>, typeof UserTotpRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
295
305
|
kind: "1:m";
|
|
296
306
|
}>;
|
|
297
307
|
readonly totpRecoveryCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
@@ -299,107 +309,111 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
299
309
|
primary: true;
|
|
300
310
|
} & {
|
|
301
311
|
onCreate: (...args: any[]) => any;
|
|
302
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
312
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
303
313
|
readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
304
314
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
305
315
|
onCreate: (...args: any[]) => any;
|
|
306
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
316
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
307
317
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
308
318
|
onCreate: (...args: any[]) => any;
|
|
309
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
310
|
-
}, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
319
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
320
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user.repository.ts").UserRepository, false, undefined, undefined>, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
311
321
|
kind: "m:1";
|
|
322
|
+
}, "index"> & {
|
|
323
|
+
index: "user_totp_recovery_code_user_sub_idx";
|
|
312
324
|
}>;
|
|
313
|
-
readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
325
|
+
readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
314
326
|
readonly used: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
315
327
|
default: false;
|
|
316
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
328
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
317
329
|
readonly used_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
318
330
|
nullable: true;
|
|
319
331
|
}, "default"> & {
|
|
320
332
|
default: null;
|
|
321
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
333
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
322
334
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
323
335
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
324
336
|
onCreate: (...args: any[]) => any;
|
|
325
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
337
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
326
338
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
327
339
|
onCreate: (...args: any[]) => any;
|
|
328
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
329
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
340
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
341
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
330
342
|
kind: "1:m";
|
|
331
343
|
}>;
|
|
332
344
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
333
345
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
334
346
|
onCreate: (...args: any[]) => any;
|
|
335
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
347
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
336
348
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
337
349
|
onCreate: (...args: any[]) => any;
|
|
338
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
339
|
-
}, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
350
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
351
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user.repository.ts").UserRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
340
352
|
kind: "m:1";
|
|
341
353
|
}>;
|
|
342
354
|
readonly secret: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
|
|
343
355
|
hidden: true;
|
|
344
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
356
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
345
357
|
readonly verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
346
358
|
default: false;
|
|
347
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
359
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
348
360
|
readonly recovery_confirmed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
349
361
|
default: false;
|
|
350
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
362
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
351
363
|
}, import("@mikro-orm/core").EntityCtor<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
352
364
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
353
365
|
primary: true;
|
|
354
366
|
} & {
|
|
355
367
|
onCreate: (...args: any[]) => any;
|
|
356
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
368
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
357
369
|
readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
358
370
|
readonly sub: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
359
371
|
primary: true;
|
|
360
372
|
} & {
|
|
361
373
|
onCreate: (...args: any[]) => any;
|
|
362
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
363
|
-
readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
374
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
375
|
+
readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
364
376
|
readonly email_verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
365
377
|
default: false;
|
|
366
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
378
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
367
379
|
readonly password_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
368
380
|
nullable: true;
|
|
369
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
381
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
370
382
|
readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
371
383
|
default: "database";
|
|
372
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
384
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
373
385
|
readonly role: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"user" | "admin", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
374
386
|
default: "user";
|
|
375
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
387
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
376
388
|
readonly deleted_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
377
389
|
nullable: true;
|
|
378
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
390
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
379
391
|
readonly oauthAccounts: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
380
392
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<bigint, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
381
393
|
primary: true;
|
|
382
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
383
|
-
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
394
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
395
|
+
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
384
396
|
kind: "m:1";
|
|
385
397
|
}, "ref"> & {
|
|
386
398
|
ref: true;
|
|
399
|
+
}, "index"> & {
|
|
400
|
+
index: "user_oauth_user_sub_idx";
|
|
387
401
|
}>;
|
|
388
|
-
readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
389
|
-
readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
390
|
-
readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
391
|
-
readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
402
|
+
readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
403
|
+
readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
404
|
+
readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
405
|
+
readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
392
406
|
readonly expires_at: import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@mikro-orm/core").RequiredNullable<Date>, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
393
407
|
nullable: true;
|
|
394
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
408
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
395
409
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
396
410
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
397
411
|
onCreate: (...args: any[]) => any;
|
|
398
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
412
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
399
413
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
400
414
|
onCreate: (...args: any[]) => any;
|
|
401
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
402
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
415
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
416
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
403
417
|
kind: "1:m";
|
|
404
418
|
}>;
|
|
405
419
|
readonly passkeys: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
@@ -407,58 +421,60 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
407
421
|
primary: true;
|
|
408
422
|
} & {
|
|
409
423
|
onCreate: (...args: any[]) => any;
|
|
410
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
411
|
-
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
424
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
425
|
+
readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
412
426
|
kind: "m:1";
|
|
413
427
|
}, "ref"> & {
|
|
414
428
|
ref: true;
|
|
429
|
+
}, "index"> & {
|
|
430
|
+
index: "user_passkey_user_sub_idx";
|
|
415
431
|
}>;
|
|
416
|
-
readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
432
|
+
readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
417
433
|
readonly public_key: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
|
|
418
434
|
hidden: true;
|
|
419
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
435
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
420
436
|
readonly counter: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<number, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
421
437
|
default: 0;
|
|
422
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
438
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
423
439
|
readonly device_type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"singleDevice" | "multiDevice", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
424
440
|
default: "singleDevice";
|
|
425
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
441
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
426
442
|
readonly backed_up: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
427
443
|
default: false;
|
|
428
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
444
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
429
445
|
readonly transports: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@simplewebauthn/server").AuthenticatorTransportFuture[] | null, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
430
446
|
nullable: true;
|
|
431
447
|
}, "default"> & {
|
|
432
448
|
default: null;
|
|
433
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
449
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
434
450
|
readonly name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
435
451
|
nullable: true;
|
|
436
452
|
}, "default"> & {
|
|
437
453
|
default: null;
|
|
438
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
454
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
439
455
|
readonly aaguid: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
440
456
|
nullable: true;
|
|
441
457
|
}, "default"> & {
|
|
442
458
|
default: null;
|
|
443
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
459
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
444
460
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
445
461
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
446
462
|
onCreate: (...args: any[]) => any;
|
|
447
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
463
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
448
464
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
449
465
|
onCreate: (...args: any[]) => any;
|
|
450
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
451
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
466
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
467
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
452
468
|
kind: "1:m";
|
|
453
469
|
}>;
|
|
454
470
|
readonly totps: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
455
471
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
456
472
|
onCreate: (...args: any[]) => any;
|
|
457
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
473
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
458
474
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
459
475
|
onCreate: (...args: any[]) => any;
|
|
460
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
461
|
-
}, undefined, never, never, false>, typeof UserTotpRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
476
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
477
|
+
}, undefined, never, never, false, undefined, undefined>, typeof UserTotpRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
462
478
|
kind: "1:m";
|
|
463
479
|
}>;
|
|
464
480
|
readonly totpRecoveryCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
@@ -466,62 +482,64 @@ export declare const UserTotpEntitySchema: import("@mikro-orm/core").EntitySchem
|
|
|
466
482
|
primary: true;
|
|
467
483
|
} & {
|
|
468
484
|
onCreate: (...args: any[]) => any;
|
|
469
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
485
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
470
486
|
readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
471
487
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
472
488
|
onCreate: (...args: any[]) => any;
|
|
473
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
489
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
474
490
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
475
491
|
onCreate: (...args: any[]) => any;
|
|
476
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
477
|
-
}, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
492
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
493
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user.repository.ts").UserRepository, false, undefined, undefined>, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
478
494
|
kind: "m:1";
|
|
495
|
+
}, "index"> & {
|
|
496
|
+
index: "user_totp_recovery_code_user_sub_idx";
|
|
479
497
|
}>;
|
|
480
|
-
readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
498
|
+
readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
481
499
|
readonly used: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
482
500
|
default: false;
|
|
483
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
501
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
484
502
|
readonly used_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
485
503
|
nullable: true;
|
|
486
504
|
}, "default"> & {
|
|
487
505
|
default: null;
|
|
488
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
506
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
489
507
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
490
508
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
491
509
|
onCreate: (...args: any[]) => any;
|
|
492
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
510
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
493
511
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
494
512
|
onCreate: (...args: any[]) => any;
|
|
495
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
496
|
-
}, undefined, never, never, false>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
513
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
514
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
497
515
|
kind: "1:m";
|
|
498
516
|
}>;
|
|
499
517
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
500
518
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
501
519
|
onCreate: (...args: any[]) => any;
|
|
502
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
520
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
503
521
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
504
522
|
onCreate: (...args: any[]) => any;
|
|
505
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
506
|
-
}, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
|
|
523
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
524
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/user.repository.ts").UserRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
507
525
|
kind: "m:1";
|
|
508
526
|
}>;
|
|
509
527
|
readonly secret: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
|
|
510
528
|
hidden: true;
|
|
511
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
529
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
512
530
|
readonly verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
513
531
|
default: false;
|
|
514
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
532
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
515
533
|
readonly recovery_confirmed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
516
534
|
default: false;
|
|
517
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
535
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
518
536
|
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
519
537
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
520
538
|
onCreate: (...args: any[]) => any;
|
|
521
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
539
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
522
540
|
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
523
541
|
onCreate: (...args: any[]) => any;
|
|
524
|
-
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
|
|
525
|
-
}, undefined, never, never, false>, typeof UserTotpRepository, false
|
|
542
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
543
|
+
}, undefined, never, never, false, undefined, undefined>, typeof UserTotpRepository, false, undefined, undefined>>, undefined>;
|
|
526
544
|
export type IUserTotpEntity = InferEntity<typeof UserTotpEntitySchema>;
|
|
527
545
|
//# sourceMappingURL=user-totp.entity.d.ts.map
|