alepha 0.10.4 → 0.10.5

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/api/users.d.ts CHANGED
@@ -1,14 +1,12 @@
1
1
  import * as _alepha_core0 from "alepha";
2
2
  import { Alepha, Static } from "alepha";
3
- import * as _alepha_react_auth0 from "alepha/react/auth";
3
+ import * as _alepha_react_auth1 from "alepha/react/auth";
4
4
  import { OAuth2Profile } from "alepha/react/auth";
5
5
  import { DateTimeProvider } from "alepha/datetime";
6
- import * as _alepha_postgres92 from "alepha/postgres";
6
+ import * as _alepha_postgres296 from "alepha/postgres";
7
7
  import * as _alepha_security0 from "alepha/security";
8
8
  import { CryptoProvider, RealmDescriptor, RealmDescriptorOptions, UserAccount } from "alepha/security";
9
- import * as typebox131 from "typebox";
10
- import * as _alepha_postgres_src_helpers_pgAttr_ts83 from "alepha/postgres/src/helpers/pgAttr.ts";
11
- import * as _alepha_postgres_src_helpers_pgAttr0 from "alepha/postgres/src/helpers/pgAttr";
9
+ import * as typebox230 from "typebox";
12
10
 
13
11
  //#region src/descriptors/$authApple.d.ts
14
12
  /**
@@ -16,6 +14,9 @@ import * as _alepha_postgres_src_helpers_pgAttr0 from "alepha/postgres/src/helpe
16
14
  */
17
15
  declare const $authApple: () => never;
18
16
  //#endregion
17
+ //#region src/descriptors/$authCredentials.d.ts
18
+ declare const $authCredentials: (realm: RealmDescriptor) => _alepha_react_auth1.AuthDescriptor;
19
+ //#endregion
19
20
  //#region src/descriptors/$authGithub.d.ts
20
21
  /**
21
22
  * Already configured GitHub authentication descriptor.
@@ -27,7 +28,7 @@ declare const $authApple: () => never;
27
28
  * - `GITHUB_CLIENT_ID`: The client ID obtained from the GitHub Developer Settings.
28
29
  * - `GITHUB_CLIENT_SECRET`: The client secret obtained from the GitHub Developer Settings.
29
30
  */
30
- declare const $authGithub: (realm: RealmDescriptor) => _alepha_react_auth0.AuthDescriptor;
31
+ declare const $authGithub: (realm: RealmDescriptor) => _alepha_react_auth1.AuthDescriptor;
31
32
  //#endregion
32
33
  //#region src/descriptors/$authGoogle.d.ts
33
34
  /**
@@ -40,7 +41,7 @@ declare const $authGithub: (realm: RealmDescriptor) => _alepha_react_auth0.AuthD
40
41
  * - `GOOGLE_CLIENT_ID`: The client ID obtained from the Google Developer Console.
41
42
  * - `GOOGLE_CLIENT_SECRET`: The client secret obtained from the Google Developer Console.
42
43
  */
43
- declare const $authGoogle: (realm: RealmDescriptor) => _alepha_react_auth0.AuthDescriptor;
44
+ declare const $authGoogle: (realm: RealmDescriptor) => _alepha_react_auth1.AuthDescriptor;
44
45
  //#endregion
45
46
  //#region src/descriptors/$realmUsers.d.ts
46
47
  /**
@@ -62,122 +63,122 @@ declare const $realmUsers: (options?: {
62
63
  }) => _alepha_security0.RealmDescriptor;
63
64
  //#endregion
64
65
  //#region src/entities/identities.d.ts
65
- declare const identities: _alepha_postgres92.PgTableWithColumnsAndSchema<_alepha_postgres92.PgTableConfig<"identities", typebox131.TObject<{
66
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
67
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
68
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
69
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
70
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
71
- provider: typebox131.TString;
72
- providerUserId: typebox131.TString;
73
- providerData: typebox131.TOptional<typebox131.TRecord<string, typebox131.TAny>>;
74
- }>, _alepha_postgres92.FromSchema<typebox131.TObject<{
75
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
76
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
77
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
78
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
79
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
80
- provider: typebox131.TString;
81
- providerUserId: typebox131.TString;
82
- providerData: typebox131.TOptional<typebox131.TRecord<string, typebox131.TAny>>;
83
- }>>>, typebox131.TObject<{
84
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
85
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
86
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
87
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
88
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
89
- provider: typebox131.TString;
90
- providerUserId: typebox131.TString;
91
- providerData: typebox131.TOptional<typebox131.TRecord<string, typebox131.TAny>>;
66
+ declare const identities: _alepha_postgres296.PgTableWithColumnsAndSchema<_alepha_postgres296.PgTableConfig<"identities", typebox230.TObject<{
67
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
68
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
69
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
70
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
71
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
72
+ provider: typebox230.TString;
73
+ providerUserId: typebox230.TString;
74
+ providerData: typebox230.TOptional<typebox230.TRecord<string, typebox230.TAny>>;
75
+ }>, _alepha_postgres296.FromSchema<typebox230.TObject<{
76
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
77
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
78
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
79
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
80
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
81
+ provider: typebox230.TString;
82
+ providerUserId: typebox230.TString;
83
+ providerData: typebox230.TOptional<typebox230.TRecord<string, typebox230.TAny>>;
84
+ }>>>, typebox230.TObject<{
85
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
86
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
87
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
88
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
89
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
90
+ provider: typebox230.TString;
91
+ providerUserId: typebox230.TString;
92
+ providerData: typebox230.TOptional<typebox230.TRecord<string, typebox230.TAny>>;
92
93
  }>>;
93
94
  type IdentityEntity = Static<typeof identities.$schema>;
94
95
  //#endregion
95
96
  //#region src/entities/sessions.d.ts
96
- declare const sessions: _alepha_postgres92.PgTableWithColumnsAndSchema<_alepha_postgres92.PgTableConfig<"sessions", typebox131.TObject<{
97
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
98
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
99
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
100
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
101
- refreshToken: typebox131.TString;
102
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
103
- expiresAt: typebox131.TString;
104
- ip: typebox131.TOptional<typebox131.TString>;
105
- userAgent: typebox131.TOptional<typebox131.TObject<{
106
- os: typebox131.TString;
107
- browser: typebox131.TString;
108
- device: typebox131.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
97
+ declare const sessions: _alepha_postgres296.PgTableWithColumnsAndSchema<_alepha_postgres296.PgTableConfig<"sessions", typebox230.TObject<{
98
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
99
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
100
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
101
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
102
+ refreshToken: typebox230.TString;
103
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
104
+ expiresAt: typebox230.TString;
105
+ ip: typebox230.TOptional<typebox230.TString>;
106
+ userAgent: typebox230.TOptional<typebox230.TObject<{
107
+ os: typebox230.TString;
108
+ browser: typebox230.TString;
109
+ device: typebox230.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
109
110
  }>>;
110
- }>, _alepha_postgres92.FromSchema<typebox131.TObject<{
111
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
112
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
113
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
114
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
115
- refreshToken: typebox131.TString;
116
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
117
- expiresAt: typebox131.TString;
118
- ip: typebox131.TOptional<typebox131.TString>;
119
- userAgent: typebox131.TOptional<typebox131.TObject<{
120
- os: typebox131.TString;
121
- browser: typebox131.TString;
122
- device: typebox131.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
111
+ }>, _alepha_postgres296.FromSchema<typebox230.TObject<{
112
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
113
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
114
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
115
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
116
+ refreshToken: typebox230.TString;
117
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
118
+ expiresAt: typebox230.TString;
119
+ ip: typebox230.TOptional<typebox230.TString>;
120
+ userAgent: typebox230.TOptional<typebox230.TObject<{
121
+ os: typebox230.TString;
122
+ browser: typebox230.TString;
123
+ device: typebox230.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
123
124
  }>>;
124
- }>>>, typebox131.TObject<{
125
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
126
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
127
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
128
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
129
- refreshToken: typebox131.TString;
130
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
131
- expiresAt: typebox131.TString;
132
- ip: typebox131.TOptional<typebox131.TString>;
133
- userAgent: typebox131.TOptional<typebox131.TObject<{
134
- os: typebox131.TString;
135
- browser: typebox131.TString;
136
- device: typebox131.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
125
+ }>>>, typebox230.TObject<{
126
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
127
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
128
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
129
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
130
+ refreshToken: typebox230.TString;
131
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
132
+ expiresAt: typebox230.TString;
133
+ ip: typebox230.TOptional<typebox230.TString>;
134
+ userAgent: typebox230.TOptional<typebox230.TObject<{
135
+ os: typebox230.TString;
136
+ browser: typebox230.TString;
137
+ device: typebox230.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
137
138
  }>>;
138
139
  }>>;
139
140
  type SessionEntity = Static<typeof sessions.$schema>;
140
141
  //#endregion
141
142
  //#region src/entities/users.d.ts
142
- declare const users: _alepha_postgres92.PgTableWithColumnsAndSchema<_alepha_postgres92.PgTableConfig<"users", typebox131.TObject<{
143
- id: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
144
- version: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
145
- createdAt: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
146
- updatedAt: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
147
- email: typebox131.TString;
148
- roles: typebox131.TArray<typebox131.TString>;
149
- name: typebox131.TOptional<typebox131.TString>;
150
- firstName: typebox131.TOptional<typebox131.TString>;
151
- lastName: typebox131.TOptional<typebox131.TString>;
152
- picture: typebox131.TOptional<typebox131.TString>;
153
- enabled: _alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
154
- emailVerified: _alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
155
- }>, _alepha_postgres92.FromSchema<typebox131.TObject<{
156
- id: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
157
- version: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
158
- createdAt: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
159
- updatedAt: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
160
- email: typebox131.TString;
161
- roles: typebox131.TArray<typebox131.TString>;
162
- name: typebox131.TOptional<typebox131.TString>;
163
- firstName: typebox131.TOptional<typebox131.TString>;
164
- lastName: typebox131.TOptional<typebox131.TString>;
165
- picture: typebox131.TOptional<typebox131.TString>;
166
- enabled: _alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
167
- emailVerified: _alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
168
- }>>>, typebox131.TObject<{
169
- id: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
170
- version: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
171
- createdAt: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
172
- updatedAt: _alepha_postgres_src_helpers_pgAttr0.PgAttr<_alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
173
- email: typebox131.TString;
174
- roles: typebox131.TArray<typebox131.TString>;
175
- name: typebox131.TOptional<typebox131.TString>;
176
- firstName: typebox131.TOptional<typebox131.TString>;
177
- lastName: typebox131.TOptional<typebox131.TString>;
178
- picture: typebox131.TOptional<typebox131.TString>;
179
- enabled: _alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
180
- emailVerified: _alepha_postgres_src_helpers_pgAttr0.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
143
+ declare const users: _alepha_postgres296.PgTableWithColumnsAndSchema<_alepha_postgres296.PgTableConfig<"users", typebox230.TObject<{
144
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
145
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
146
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
147
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
148
+ email: typebox230.TString;
149
+ roles: typebox230.TArray<typebox230.TString>;
150
+ name: typebox230.TOptional<typebox230.TString>;
151
+ firstName: typebox230.TOptional<typebox230.TString>;
152
+ lastName: typebox230.TOptional<typebox230.TString>;
153
+ picture: typebox230.TOptional<typebox230.TString>;
154
+ enabled: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
155
+ emailVerified: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
156
+ }>, _alepha_postgres296.FromSchema<typebox230.TObject<{
157
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
158
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
159
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
160
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
161
+ email: typebox230.TString;
162
+ roles: typebox230.TArray<typebox230.TString>;
163
+ name: typebox230.TOptional<typebox230.TString>;
164
+ firstName: typebox230.TOptional<typebox230.TString>;
165
+ lastName: typebox230.TOptional<typebox230.TString>;
166
+ picture: typebox230.TOptional<typebox230.TString>;
167
+ enabled: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
168
+ emailVerified: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
169
+ }>>>, typebox230.TObject<{
170
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
171
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
172
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
173
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
174
+ email: typebox230.TString;
175
+ roles: typebox230.TArray<typebox230.TString>;
176
+ name: typebox230.TOptional<typebox230.TString>;
177
+ firstName: typebox230.TOptional<typebox230.TString>;
178
+ lastName: typebox230.TOptional<typebox230.TString>;
179
+ picture: typebox230.TOptional<typebox230.TString>;
180
+ enabled: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
181
+ emailVerified: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
181
182
  }>>;
182
183
  type UserEntity = Static<typeof users.$schema>;
183
184
  //#endregion
@@ -186,116 +187,116 @@ declare class SessionService {
186
187
  protected readonly alepha: Alepha;
187
188
  protected readonly dateTimeProvider: DateTimeProvider;
188
189
  protected readonly cryptoProvider: CryptoProvider;
189
- readonly users: _alepha_postgres92.RepositoryDescriptor<_alepha_postgres92.PgTableConfig<"users", typebox131.TObject<{
190
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
191
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
192
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
193
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
194
- email: typebox131.TString;
195
- roles: typebox131.TArray<typebox131.TString>;
196
- name: typebox131.TOptional<typebox131.TString>;
197
- firstName: typebox131.TOptional<typebox131.TString>;
198
- lastName: typebox131.TOptional<typebox131.TString>;
199
- picture: typebox131.TOptional<typebox131.TString>;
200
- enabled: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
201
- emailVerified: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
202
- }>, _alepha_postgres92.FromSchema<typebox131.TObject<{
203
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
204
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
205
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
206
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
207
- email: typebox131.TString;
208
- roles: typebox131.TArray<typebox131.TString>;
209
- name: typebox131.TOptional<typebox131.TString>;
210
- firstName: typebox131.TOptional<typebox131.TString>;
211
- lastName: typebox131.TOptional<typebox131.TString>;
212
- picture: typebox131.TOptional<typebox131.TString>;
213
- enabled: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
214
- emailVerified: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
215
- }>>>, typebox131.TObject<{
216
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
217
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
218
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
219
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
220
- email: typebox131.TString;
221
- roles: typebox131.TArray<typebox131.TString>;
222
- name: typebox131.TOptional<typebox131.TString>;
223
- firstName: typebox131.TOptional<typebox131.TString>;
224
- lastName: typebox131.TOptional<typebox131.TString>;
225
- picture: typebox131.TOptional<typebox131.TString>;
226
- enabled: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
227
- emailVerified: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TBoolean, typeof _alepha_postgres92.PG_DEFAULT>;
190
+ readonly users: _alepha_postgres296.RepositoryDescriptor<_alepha_postgres296.PgTableConfig<"users", typebox230.TObject<{
191
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
192
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
193
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
194
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
195
+ email: typebox230.TString;
196
+ roles: typebox230.TArray<typebox230.TString>;
197
+ name: typebox230.TOptional<typebox230.TString>;
198
+ firstName: typebox230.TOptional<typebox230.TString>;
199
+ lastName: typebox230.TOptional<typebox230.TString>;
200
+ picture: typebox230.TOptional<typebox230.TString>;
201
+ enabled: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
202
+ emailVerified: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
203
+ }>, _alepha_postgres296.FromSchema<typebox230.TObject<{
204
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
205
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
206
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
207
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
208
+ email: typebox230.TString;
209
+ roles: typebox230.TArray<typebox230.TString>;
210
+ name: typebox230.TOptional<typebox230.TString>;
211
+ firstName: typebox230.TOptional<typebox230.TString>;
212
+ lastName: typebox230.TOptional<typebox230.TString>;
213
+ picture: typebox230.TOptional<typebox230.TString>;
214
+ enabled: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
215
+ emailVerified: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
216
+ }>>>, typebox230.TObject<{
217
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
218
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
219
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
220
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
221
+ email: typebox230.TString;
222
+ roles: typebox230.TArray<typebox230.TString>;
223
+ name: typebox230.TOptional<typebox230.TString>;
224
+ firstName: typebox230.TOptional<typebox230.TString>;
225
+ lastName: typebox230.TOptional<typebox230.TString>;
226
+ picture: typebox230.TOptional<typebox230.TString>;
227
+ enabled: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
228
+ emailVerified: _alepha_postgres296.PgAttr<typebox230.TBoolean, typeof _alepha_postgres296.PG_DEFAULT>;
228
229
  }>>;
229
- readonly sessions: _alepha_postgres92.RepositoryDescriptor<_alepha_postgres92.PgTableConfig<"sessions", typebox131.TObject<{
230
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
231
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
232
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
233
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
234
- refreshToken: typebox131.TString;
235
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
236
- expiresAt: typebox131.TString;
237
- ip: typebox131.TOptional<typebox131.TString>;
238
- userAgent: typebox131.TOptional<typebox131.TObject<{
239
- os: typebox131.TString;
240
- browser: typebox131.TString;
241
- device: typebox131.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
230
+ readonly sessions: _alepha_postgres296.RepositoryDescriptor<_alepha_postgres296.PgTableConfig<"sessions", typebox230.TObject<{
231
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
232
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
233
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
234
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
235
+ refreshToken: typebox230.TString;
236
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
237
+ expiresAt: typebox230.TString;
238
+ ip: typebox230.TOptional<typebox230.TString>;
239
+ userAgent: typebox230.TOptional<typebox230.TObject<{
240
+ os: typebox230.TString;
241
+ browser: typebox230.TString;
242
+ device: typebox230.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
242
243
  }>>;
243
- }>, _alepha_postgres92.FromSchema<typebox131.TObject<{
244
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
245
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
246
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
247
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
248
- refreshToken: typebox131.TString;
249
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
250
- expiresAt: typebox131.TString;
251
- ip: typebox131.TOptional<typebox131.TString>;
252
- userAgent: typebox131.TOptional<typebox131.TObject<{
253
- os: typebox131.TString;
254
- browser: typebox131.TString;
255
- device: typebox131.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
244
+ }>, _alepha_postgres296.FromSchema<typebox230.TObject<{
245
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
246
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
247
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
248
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
249
+ refreshToken: typebox230.TString;
250
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
251
+ expiresAt: typebox230.TString;
252
+ ip: typebox230.TOptional<typebox230.TString>;
253
+ userAgent: typebox230.TOptional<typebox230.TObject<{
254
+ os: typebox230.TString;
255
+ browser: typebox230.TString;
256
+ device: typebox230.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
256
257
  }>>;
257
- }>>>, typebox131.TObject<{
258
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
259
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
260
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
261
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
262
- refreshToken: typebox131.TString;
263
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
264
- expiresAt: typebox131.TString;
265
- ip: typebox131.TOptional<typebox131.TString>;
266
- userAgent: typebox131.TOptional<typebox131.TObject<{
267
- os: typebox131.TString;
268
- browser: typebox131.TString;
269
- device: typebox131.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
258
+ }>>>, typebox230.TObject<{
259
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
260
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
261
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
262
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
263
+ refreshToken: typebox230.TString;
264
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
265
+ expiresAt: typebox230.TString;
266
+ ip: typebox230.TOptional<typebox230.TString>;
267
+ userAgent: typebox230.TOptional<typebox230.TObject<{
268
+ os: typebox230.TString;
269
+ browser: typebox230.TString;
270
+ device: typebox230.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
270
271
  }>>;
271
272
  }>>;
272
- readonly identities: _alepha_postgres92.RepositoryDescriptor<_alepha_postgres92.PgTableConfig<"identities", typebox131.TObject<{
273
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
274
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
275
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
276
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
277
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
278
- provider: typebox131.TString;
279
- providerUserId: typebox131.TString;
280
- providerData: typebox131.TOptional<typebox131.TRecord<string, typebox131.TAny>>;
281
- }>, _alepha_postgres92.FromSchema<typebox131.TObject<{
282
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
283
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
284
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
285
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
286
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
287
- provider: typebox131.TString;
288
- providerUserId: typebox131.TString;
289
- providerData: typebox131.TOptional<typebox131.TRecord<string, typebox131.TAny>>;
290
- }>>>, typebox131.TObject<{
291
- id: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_PRIMARY_KEY>, typeof _alepha_postgres92.PG_DEFAULT>;
292
- version: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TInteger, typeof _alepha_postgres92.PG_VERSION>, typeof _alepha_postgres92.PG_DEFAULT>;
293
- createdAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_CREATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
294
- updatedAt: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<_alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_UPDATED_AT>, typeof _alepha_postgres92.PG_DEFAULT>;
295
- userId: _alepha_postgres_src_helpers_pgAttr_ts83.PgAttr<typebox131.TString, typeof _alepha_postgres92.PG_REF>;
296
- provider: typebox131.TString;
297
- providerUserId: typebox131.TString;
298
- providerData: typebox131.TOptional<typebox131.TRecord<string, typebox131.TAny>>;
273
+ readonly identities: _alepha_postgres296.RepositoryDescriptor<_alepha_postgres296.PgTableConfig<"identities", typebox230.TObject<{
274
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
275
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
276
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
277
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
278
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
279
+ provider: typebox230.TString;
280
+ providerUserId: typebox230.TString;
281
+ providerData: typebox230.TOptional<typebox230.TRecord<string, typebox230.TAny>>;
282
+ }>, _alepha_postgres296.FromSchema<typebox230.TObject<{
283
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
284
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
285
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
286
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
287
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
288
+ provider: typebox230.TString;
289
+ providerUserId: typebox230.TString;
290
+ providerData: typebox230.TOptional<typebox230.TRecord<string, typebox230.TAny>>;
291
+ }>>>, typebox230.TObject<{
292
+ id: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_PRIMARY_KEY>, typeof _alepha_postgres296.PG_DEFAULT>;
293
+ version: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TInteger, typeof _alepha_postgres296.PG_VERSION>, typeof _alepha_postgres296.PG_DEFAULT>;
294
+ createdAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_CREATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
295
+ updatedAt: _alepha_postgres296.PgAttr<_alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_UPDATED_AT>, typeof _alepha_postgres296.PG_DEFAULT>;
296
+ userId: _alepha_postgres296.PgAttr<typebox230.TString, typeof _alepha_postgres296.PG_REF>;
297
+ provider: typebox230.TString;
298
+ providerUserId: typebox230.TString;
299
+ providerData: typebox230.TOptional<typebox230.TRecord<string, typebox230.TAny>>;
299
300
  }>>;
300
301
  login(provider: string, username: string, password: string): Promise<{
301
302
  name?: string | undefined;
@@ -390,5 +391,5 @@ declare class SessionService {
390
391
  */
391
392
  declare const AlephaApiUsers: _alepha_core0.Service<_alepha_core0.Module<{}>>;
392
393
  //#endregion
393
- export { $authApple, $authGithub, $authGoogle, $realmUsers, AlephaApiUsers, IdentityEntity, SessionEntity, SessionService, UserEntity, identities, sessions, users };
394
+ export { $authApple, $authCredentials, $authGithub, $authGoogle, $realmUsers, AlephaApiUsers, IdentityEntity, SessionEntity, SessionService, UserEntity, identities, sessions, users };
394
395
  //# sourceMappingURL=index.d.ts.map