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/README.md +7 -19
- package/api/files.d.ts +43 -45
- package/api/jobs.d.ts +166 -168
- package/api/users.d.ts +219 -218
- package/bucket.d.ts +81 -4
- package/devtools.d.ts +247 -247
- package/package.json +47 -47
- package/postgres.d.ts +31 -11
- package/react/auth.d.ts +5 -0
- package/react.d.ts +26 -26
- package/server/links.d.ts +29 -29
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
|
|
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
|
|
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
|
|
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) =>
|
|
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) =>
|
|
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:
|
|
66
|
-
id:
|
|
67
|
-
version:
|
|
68
|
-
createdAt:
|
|
69
|
-
updatedAt:
|
|
70
|
-
userId:
|
|
71
|
-
provider:
|
|
72
|
-
providerUserId:
|
|
73
|
-
providerData:
|
|
74
|
-
}>,
|
|
75
|
-
id:
|
|
76
|
-
version:
|
|
77
|
-
createdAt:
|
|
78
|
-
updatedAt:
|
|
79
|
-
userId:
|
|
80
|
-
provider:
|
|
81
|
-
providerUserId:
|
|
82
|
-
providerData:
|
|
83
|
-
}>>>,
|
|
84
|
-
id:
|
|
85
|
-
version:
|
|
86
|
-
createdAt:
|
|
87
|
-
updatedAt:
|
|
88
|
-
userId:
|
|
89
|
-
provider:
|
|
90
|
-
providerUserId:
|
|
91
|
-
providerData:
|
|
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:
|
|
97
|
-
id:
|
|
98
|
-
version:
|
|
99
|
-
createdAt:
|
|
100
|
-
updatedAt:
|
|
101
|
-
refreshToken:
|
|
102
|
-
userId:
|
|
103
|
-
expiresAt:
|
|
104
|
-
ip:
|
|
105
|
-
userAgent:
|
|
106
|
-
os:
|
|
107
|
-
browser:
|
|
108
|
-
device:
|
|
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
|
-
}>,
|
|
111
|
-
id:
|
|
112
|
-
version:
|
|
113
|
-
createdAt:
|
|
114
|
-
updatedAt:
|
|
115
|
-
refreshToken:
|
|
116
|
-
userId:
|
|
117
|
-
expiresAt:
|
|
118
|
-
ip:
|
|
119
|
-
userAgent:
|
|
120
|
-
os:
|
|
121
|
-
browser:
|
|
122
|
-
device:
|
|
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
|
-
}>>>,
|
|
125
|
-
id:
|
|
126
|
-
version:
|
|
127
|
-
createdAt:
|
|
128
|
-
updatedAt:
|
|
129
|
-
refreshToken:
|
|
130
|
-
userId:
|
|
131
|
-
expiresAt:
|
|
132
|
-
ip:
|
|
133
|
-
userAgent:
|
|
134
|
-
os:
|
|
135
|
-
browser:
|
|
136
|
-
device:
|
|
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:
|
|
143
|
-
id:
|
|
144
|
-
version:
|
|
145
|
-
createdAt:
|
|
146
|
-
updatedAt:
|
|
147
|
-
email:
|
|
148
|
-
roles:
|
|
149
|
-
name:
|
|
150
|
-
firstName:
|
|
151
|
-
lastName:
|
|
152
|
-
picture:
|
|
153
|
-
enabled:
|
|
154
|
-
emailVerified:
|
|
155
|
-
}>,
|
|
156
|
-
id:
|
|
157
|
-
version:
|
|
158
|
-
createdAt:
|
|
159
|
-
updatedAt:
|
|
160
|
-
email:
|
|
161
|
-
roles:
|
|
162
|
-
name:
|
|
163
|
-
firstName:
|
|
164
|
-
lastName:
|
|
165
|
-
picture:
|
|
166
|
-
enabled:
|
|
167
|
-
emailVerified:
|
|
168
|
-
}>>>,
|
|
169
|
-
id:
|
|
170
|
-
version:
|
|
171
|
-
createdAt:
|
|
172
|
-
updatedAt:
|
|
173
|
-
email:
|
|
174
|
-
roles:
|
|
175
|
-
name:
|
|
176
|
-
firstName:
|
|
177
|
-
lastName:
|
|
178
|
-
picture:
|
|
179
|
-
enabled:
|
|
180
|
-
emailVerified:
|
|
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:
|
|
190
|
-
id:
|
|
191
|
-
version:
|
|
192
|
-
createdAt:
|
|
193
|
-
updatedAt:
|
|
194
|
-
email:
|
|
195
|
-
roles:
|
|
196
|
-
name:
|
|
197
|
-
firstName:
|
|
198
|
-
lastName:
|
|
199
|
-
picture:
|
|
200
|
-
enabled:
|
|
201
|
-
emailVerified:
|
|
202
|
-
}>,
|
|
203
|
-
id:
|
|
204
|
-
version:
|
|
205
|
-
createdAt:
|
|
206
|
-
updatedAt:
|
|
207
|
-
email:
|
|
208
|
-
roles:
|
|
209
|
-
name:
|
|
210
|
-
firstName:
|
|
211
|
-
lastName:
|
|
212
|
-
picture:
|
|
213
|
-
enabled:
|
|
214
|
-
emailVerified:
|
|
215
|
-
}>>>,
|
|
216
|
-
id:
|
|
217
|
-
version:
|
|
218
|
-
createdAt:
|
|
219
|
-
updatedAt:
|
|
220
|
-
email:
|
|
221
|
-
roles:
|
|
222
|
-
name:
|
|
223
|
-
firstName:
|
|
224
|
-
lastName:
|
|
225
|
-
picture:
|
|
226
|
-
enabled:
|
|
227
|
-
emailVerified:
|
|
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:
|
|
230
|
-
id:
|
|
231
|
-
version:
|
|
232
|
-
createdAt:
|
|
233
|
-
updatedAt:
|
|
234
|
-
refreshToken:
|
|
235
|
-
userId:
|
|
236
|
-
expiresAt:
|
|
237
|
-
ip:
|
|
238
|
-
userAgent:
|
|
239
|
-
os:
|
|
240
|
-
browser:
|
|
241
|
-
device:
|
|
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
|
-
}>,
|
|
244
|
-
id:
|
|
245
|
-
version:
|
|
246
|
-
createdAt:
|
|
247
|
-
updatedAt:
|
|
248
|
-
refreshToken:
|
|
249
|
-
userId:
|
|
250
|
-
expiresAt:
|
|
251
|
-
ip:
|
|
252
|
-
userAgent:
|
|
253
|
-
os:
|
|
254
|
-
browser:
|
|
255
|
-
device:
|
|
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
|
-
}>>>,
|
|
258
|
-
id:
|
|
259
|
-
version:
|
|
260
|
-
createdAt:
|
|
261
|
-
updatedAt:
|
|
262
|
-
refreshToken:
|
|
263
|
-
userId:
|
|
264
|
-
expiresAt:
|
|
265
|
-
ip:
|
|
266
|
-
userAgent:
|
|
267
|
-
os:
|
|
268
|
-
browser:
|
|
269
|
-
device:
|
|
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:
|
|
273
|
-
id:
|
|
274
|
-
version:
|
|
275
|
-
createdAt:
|
|
276
|
-
updatedAt:
|
|
277
|
-
userId:
|
|
278
|
-
provider:
|
|
279
|
-
providerUserId:
|
|
280
|
-
providerData:
|
|
281
|
-
}>,
|
|
282
|
-
id:
|
|
283
|
-
version:
|
|
284
|
-
createdAt:
|
|
285
|
-
updatedAt:
|
|
286
|
-
userId:
|
|
287
|
-
provider:
|
|
288
|
-
providerUserId:
|
|
289
|
-
providerData:
|
|
290
|
-
}>>>,
|
|
291
|
-
id:
|
|
292
|
-
version:
|
|
293
|
-
createdAt:
|
|
294
|
-
updatedAt:
|
|
295
|
-
userId:
|
|
296
|
-
provider:
|
|
297
|
-
providerUserId:
|
|
298
|
-
providerData:
|
|
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
|