alepha 0.10.5 → 0.10.6

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