alepha 0.14.1 → 0.14.2

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.
Files changed (97) hide show
  1. package/README.md +3 -3
  2. package/dist/api/audits/index.d.ts +342 -342
  3. package/dist/api/audits/index.d.ts.map +1 -1
  4. package/dist/api/audits/index.js.map +1 -1
  5. package/dist/api/files/index.js.map +1 -1
  6. package/dist/api/jobs/index.d.ts +161 -161
  7. package/dist/api/jobs/index.js.map +1 -1
  8. package/dist/api/parameters/index.js.map +1 -1
  9. package/dist/api/users/index.d.ts +791 -791
  10. package/dist/api/users/index.d.ts.map +1 -1
  11. package/dist/api/users/index.js +4 -0
  12. package/dist/api/users/index.js.map +1 -1
  13. package/dist/api/verifications/index.d.ts +128 -128
  14. package/dist/api/verifications/index.d.ts.map +1 -1
  15. package/dist/batch/index.js.map +1 -1
  16. package/dist/cache/core/index.js.map +1 -1
  17. package/dist/cli/index.d.ts +173 -167
  18. package/dist/cli/index.d.ts.map +1 -1
  19. package/dist/cli/index.js +427 -409
  20. package/dist/cli/index.js.map +1 -1
  21. package/dist/command/index.d.ts +5 -5
  22. package/dist/command/index.js.map +1 -1
  23. package/dist/core/index.browser.js.map +1 -1
  24. package/dist/core/index.d.ts.map +1 -1
  25. package/dist/core/index.js +7 -6
  26. package/dist/core/index.js.map +1 -1
  27. package/dist/core/index.native.js +7 -6
  28. package/dist/core/index.native.js.map +1 -1
  29. package/dist/datetime/index.js.map +1 -1
  30. package/dist/fake/index.js.map +1 -1
  31. package/dist/file/index.js.map +1 -1
  32. package/dist/lock/redis/index.js.map +1 -1
  33. package/dist/logger/index.js.map +1 -1
  34. package/dist/mcp/index.js.map +1 -1
  35. package/dist/orm/index.browser.js +26 -5
  36. package/dist/orm/index.browser.js.map +1 -1
  37. package/dist/orm/index.d.ts +115 -90
  38. package/dist/orm/index.d.ts.map +1 -1
  39. package/dist/orm/index.js +37 -12
  40. package/dist/orm/index.js.map +1 -1
  41. package/dist/redis/index.js.map +1 -1
  42. package/dist/retry/index.js.map +1 -1
  43. package/dist/router/index.js.map +1 -1
  44. package/dist/scheduler/index.d.ts +6 -6
  45. package/dist/scheduler/index.js.map +1 -1
  46. package/dist/security/index.d.ts +28 -28
  47. package/dist/security/index.d.ts.map +1 -1
  48. package/dist/security/index.js.map +1 -1
  49. package/dist/server/auth/index.d.ts +155 -155
  50. package/dist/server/auth/index.js.map +1 -1
  51. package/dist/server/cache/index.js.map +1 -1
  52. package/dist/server/cookies/index.browser.js.map +1 -1
  53. package/dist/server/cookies/index.js.map +1 -1
  54. package/dist/server/core/index.browser.js.map +1 -1
  55. package/dist/server/core/index.js.map +1 -1
  56. package/dist/server/health/index.d.ts +17 -17
  57. package/dist/server/helmet/index.js.map +1 -1
  58. package/dist/server/links/index.browser.js.map +1 -1
  59. package/dist/server/links/index.js.map +1 -1
  60. package/dist/server/multipart/index.js.map +1 -1
  61. package/dist/server/rate-limit/index.js.map +1 -1
  62. package/dist/server/security/index.d.ts +9 -9
  63. package/dist/server/security/index.js.map +1 -1
  64. package/dist/server/swagger/index.js.map +1 -1
  65. package/dist/thread/index.js.map +1 -1
  66. package/dist/topic/core/index.js.map +1 -1
  67. package/dist/vite/index.js.map +1 -1
  68. package/dist/websocket/index.browser.js.map +1 -1
  69. package/dist/websocket/index.d.ts +7 -7
  70. package/dist/websocket/index.js.map +1 -1
  71. package/package.json +3 -3
  72. package/src/api/users/index.ts +4 -0
  73. package/src/cli/apps/AlephaCli.ts +31 -14
  74. package/src/cli/apps/AlephaPackageBuilderCli.ts +2 -1
  75. package/src/cli/assets/appRouterTs.ts +1 -1
  76. package/src/cli/commands/{ViteCommands.ts → build.ts} +2 -105
  77. package/src/cli/commands/{ChangelogCommands.ts → changelog.ts} +7 -22
  78. package/src/cli/commands/clean.ts +14 -0
  79. package/src/cli/commands/{DrizzleCommands.ts → db.ts} +10 -117
  80. package/src/cli/commands/{DeployCommands.ts → deploy.ts} +1 -1
  81. package/src/cli/commands/dev.ts +57 -0
  82. package/src/cli/commands/format.ts +17 -0
  83. package/src/cli/commands/{CoreCommands.ts → init.ts} +2 -40
  84. package/src/cli/commands/lint.ts +17 -0
  85. package/src/cli/commands/root.ts +32 -0
  86. package/src/cli/commands/run.ts +24 -0
  87. package/src/cli/commands/test.ts +42 -0
  88. package/src/cli/commands/typecheck.ts +19 -0
  89. package/src/cli/commands/{VerifyCommands.ts → verify.ts} +1 -13
  90. package/src/cli/defineConfig.ts +10 -1
  91. package/src/cli/index.ts +16 -7
  92. package/src/cli/services/GitMessageParser.ts +1 -1
  93. package/src/core/Alepha.ts +7 -4
  94. package/src/orm/index.browser.ts +1 -1
  95. package/src/orm/index.ts +10 -6
  96. package/src/orm/providers/{PostgresTypeProvider.ts → DatabaseTypeProvider.ts} +25 -3
  97. package/src/cli/commands/BiomeCommands.ts +0 -29
@@ -1,4 +1,4 @@
1
- import * as alepha204 from "alepha";
1
+ import * as alepha188 from "alepha";
2
2
  import { Alepha, Async, KIND, Primitive, Static } from "alepha";
3
3
  import * as alepha_server_cookies0 from "alepha/server/cookies";
4
4
  import { Cookies, ServerCookiesProvider } from "alepha/server/cookies";
@@ -20,82 +20,82 @@ declare const alephaServerAuthRoutes: {
20
20
  };
21
21
  //#endregion
22
22
  //#region ../../src/server/auth/schemas/authenticationProviderSchema.d.ts
23
- declare const authenticationProviderSchema: alepha204.TObject<{
24
- name: alepha204.TString;
25
- type: alepha204.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
23
+ declare const authenticationProviderSchema: alepha188.TObject<{
24
+ name: alepha188.TString;
25
+ type: alepha188.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
26
26
  }>;
27
27
  type AuthenticationProvider = Static<typeof authenticationProviderSchema>;
28
28
  //#endregion
29
29
  //#region ../../src/server/auth/schemas/tokenResponseSchema.d.ts
30
- declare const tokenResponseSchema: alepha204.TObject<{
31
- provider: alepha204.TString;
32
- access_token: alepha204.TString;
33
- issued_at: alepha204.TNumber;
34
- expires_in: alepha204.TOptional<alepha204.TNumber>;
35
- refresh_token: alepha204.TOptional<alepha204.TString>;
36
- refresh_token_expires_in: alepha204.TOptional<alepha204.TNumber>;
37
- refresh_expires_in: alepha204.TOptional<alepha204.TNumber>;
38
- id_token: alepha204.TOptional<alepha204.TString>;
39
- scope: alepha204.TOptional<alepha204.TString>;
40
- user: alepha204.TObject<{
41
- id: alepha204.TString;
42
- name: alepha204.TOptional<alepha204.TString>;
43
- email: alepha204.TOptional<alepha204.TString>;
44
- username: alepha204.TOptional<alepha204.TString>;
45
- picture: alepha204.TOptional<alepha204.TString>;
46
- sessionId: alepha204.TOptional<alepha204.TString>;
47
- organizations: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
48
- roles: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
30
+ declare const tokenResponseSchema: alepha188.TObject<{
31
+ provider: alepha188.TString;
32
+ access_token: alepha188.TString;
33
+ issued_at: alepha188.TNumber;
34
+ expires_in: alepha188.TOptional<alepha188.TNumber>;
35
+ refresh_token: alepha188.TOptional<alepha188.TString>;
36
+ refresh_token_expires_in: alepha188.TOptional<alepha188.TNumber>;
37
+ refresh_expires_in: alepha188.TOptional<alepha188.TNumber>;
38
+ id_token: alepha188.TOptional<alepha188.TString>;
39
+ scope: alepha188.TOptional<alepha188.TString>;
40
+ user: alepha188.TObject<{
41
+ id: alepha188.TString;
42
+ name: alepha188.TOptional<alepha188.TString>;
43
+ email: alepha188.TOptional<alepha188.TString>;
44
+ username: alepha188.TOptional<alepha188.TString>;
45
+ picture: alepha188.TOptional<alepha188.TString>;
46
+ sessionId: alepha188.TOptional<alepha188.TString>;
47
+ organizations: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
48
+ roles: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
49
49
  }>;
50
- api: alepha204.TObject<{
51
- prefix: alepha204.TOptional<alepha204.TString>;
52
- links: alepha204.TArray<alepha204.TObject<{
53
- name: alepha204.TString;
54
- group: alepha204.TOptional<alepha204.TString>;
55
- path: alepha204.TString;
56
- method: alepha204.TOptional<alepha204.TString>;
57
- requestBodyType: alepha204.TOptional<alepha204.TString>;
58
- service: alepha204.TOptional<alepha204.TString>;
50
+ api: alepha188.TObject<{
51
+ prefix: alepha188.TOptional<alepha188.TString>;
52
+ links: alepha188.TArray<alepha188.TObject<{
53
+ name: alepha188.TString;
54
+ group: alepha188.TOptional<alepha188.TString>;
55
+ path: alepha188.TString;
56
+ method: alepha188.TOptional<alepha188.TString>;
57
+ requestBodyType: alepha188.TOptional<alepha188.TString>;
58
+ service: alepha188.TOptional<alepha188.TString>;
59
59
  }>>;
60
60
  }>;
61
61
  }>;
62
62
  type TokenResponse = Static<typeof tokenResponseSchema>;
63
63
  //#endregion
64
64
  //#region ../../src/server/auth/schemas/tokensSchema.d.ts
65
- declare const tokensSchema: alepha204.TObject<{
66
- provider: alepha204.TString;
67
- access_token: alepha204.TString;
68
- issued_at: alepha204.TNumber;
69
- expires_in: alepha204.TOptional<alepha204.TNumber>;
70
- refresh_token: alepha204.TOptional<alepha204.TString>;
71
- refresh_token_expires_in: alepha204.TOptional<alepha204.TNumber>;
72
- refresh_expires_in: alepha204.TOptional<alepha204.TNumber>;
73
- id_token: alepha204.TOptional<alepha204.TString>;
74
- scope: alepha204.TOptional<alepha204.TString>;
65
+ declare const tokensSchema: alepha188.TObject<{
66
+ provider: alepha188.TString;
67
+ access_token: alepha188.TString;
68
+ issued_at: alepha188.TNumber;
69
+ expires_in: alepha188.TOptional<alepha188.TNumber>;
70
+ refresh_token: alepha188.TOptional<alepha188.TString>;
71
+ refresh_token_expires_in: alepha188.TOptional<alepha188.TNumber>;
72
+ refresh_expires_in: alepha188.TOptional<alepha188.TNumber>;
73
+ id_token: alepha188.TOptional<alepha188.TString>;
74
+ scope: alepha188.TOptional<alepha188.TString>;
75
75
  }>;
76
76
  type Tokens = Static<typeof tokensSchema>;
77
77
  //#endregion
78
78
  //#region ../../src/server/auth/schemas/userinfoResponseSchema.d.ts
79
- declare const userinfoResponseSchema: alepha204.TObject<{
80
- user: alepha204.TOptional<alepha204.TObject<{
81
- id: alepha204.TString;
82
- name: alepha204.TOptional<alepha204.TString>;
83
- email: alepha204.TOptional<alepha204.TString>;
84
- username: alepha204.TOptional<alepha204.TString>;
85
- picture: alepha204.TOptional<alepha204.TString>;
86
- sessionId: alepha204.TOptional<alepha204.TString>;
87
- organizations: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
88
- roles: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
79
+ declare const userinfoResponseSchema: alepha188.TObject<{
80
+ user: alepha188.TOptional<alepha188.TObject<{
81
+ id: alepha188.TString;
82
+ name: alepha188.TOptional<alepha188.TString>;
83
+ email: alepha188.TOptional<alepha188.TString>;
84
+ username: alepha188.TOptional<alepha188.TString>;
85
+ picture: alepha188.TOptional<alepha188.TString>;
86
+ sessionId: alepha188.TOptional<alepha188.TString>;
87
+ organizations: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
88
+ roles: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
89
89
  }>>;
90
- api: alepha204.TObject<{
91
- prefix: alepha204.TOptional<alepha204.TString>;
92
- links: alepha204.TArray<alepha204.TObject<{
93
- name: alepha204.TString;
94
- group: alepha204.TOptional<alepha204.TString>;
95
- path: alepha204.TString;
96
- method: alepha204.TOptional<alepha204.TString>;
97
- requestBodyType: alepha204.TOptional<alepha204.TString>;
98
- service: alepha204.TOptional<alepha204.TString>;
90
+ api: alepha188.TObject<{
91
+ prefix: alepha188.TOptional<alepha188.TString>;
92
+ links: alepha188.TArray<alepha188.TObject<{
93
+ name: alepha188.TString;
94
+ group: alepha188.TOptional<alepha188.TString>;
95
+ path: alepha188.TString;
96
+ method: alepha188.TOptional<alepha188.TString>;
97
+ requestBodyType: alepha188.TOptional<alepha188.TString>;
98
+ service: alepha188.TOptional<alepha188.TString>;
99
99
  }>>;
100
100
  }>;
101
101
  }>;
@@ -108,35 +108,35 @@ declare class ServerAuthProvider {
108
108
  protected readonly serverCookiesProvider: ServerCookiesProvider;
109
109
  protected readonly dateTimeProvider: DateTimeProvider;
110
110
  protected readonly serverLinksProvider: ServerLinksProvider;
111
- protected readonly authorizationCode: alepha_server_cookies0.AbstractCookiePrimitive<alepha204.TObject<{
112
- provider: alepha204.TString;
113
- realm: alepha204.TOptional<alepha204.TString>;
114
- codeVerifier: alepha204.TOptional<alepha204.TString>;
115
- redirectUri: alepha204.TOptional<alepha204.TString>;
116
- state: alepha204.TOptional<alepha204.TString>;
117
- nonce: alepha204.TOptional<alepha204.TString>;
111
+ protected readonly authorizationCode: alepha_server_cookies0.AbstractCookiePrimitive<alepha188.TObject<{
112
+ provider: alepha188.TString;
113
+ realm: alepha188.TOptional<alepha188.TString>;
114
+ codeVerifier: alepha188.TOptional<alepha188.TString>;
115
+ redirectUri: alepha188.TOptional<alepha188.TString>;
116
+ state: alepha188.TOptional<alepha188.TString>;
117
+ nonce: alepha188.TOptional<alepha188.TString>;
118
118
  }>>;
119
- readonly tokens: alepha_server_cookies0.AbstractCookiePrimitive<alepha204.TObject<{
120
- provider: alepha204.TString;
121
- access_token: alepha204.TString;
122
- issued_at: alepha204.TNumber;
123
- expires_in: alepha204.TOptional<alepha204.TNumber>;
124
- refresh_token: alepha204.TOptional<alepha204.TString>;
125
- refresh_token_expires_in: alepha204.TOptional<alepha204.TNumber>;
126
- refresh_expires_in: alepha204.TOptional<alepha204.TNumber>;
127
- id_token: alepha204.TOptional<alepha204.TString>;
128
- scope: alepha204.TOptional<alepha204.TString>;
119
+ readonly tokens: alepha_server_cookies0.AbstractCookiePrimitive<alepha188.TObject<{
120
+ provider: alepha188.TString;
121
+ access_token: alepha188.TString;
122
+ issued_at: alepha188.TNumber;
123
+ expires_in: alepha188.TOptional<alepha188.TNumber>;
124
+ refresh_token: alepha188.TOptional<alepha188.TString>;
125
+ refresh_token_expires_in: alepha188.TOptional<alepha188.TNumber>;
126
+ refresh_expires_in: alepha188.TOptional<alepha188.TNumber>;
127
+ id_token: alepha188.TOptional<alepha188.TString>;
128
+ scope: alepha188.TOptional<alepha188.TString>;
129
129
  }>>;
130
130
  get identities(): Array<AuthPrimitive>;
131
131
  getAuthenticationProviders(filters?: {
132
132
  realmName?: string;
133
133
  }): AuthenticationProvider[];
134
- protected readonly configure: alepha204.HookPrimitive<"configure">;
134
+ protected readonly configure: alepha188.HookPrimitive<"configure">;
135
135
  protected getAccessTokens(tokens: Tokens): string | undefined;
136
136
  /**
137
137
  * Fill request headers with access token from cookies or fallback to provider's fallback function.
138
138
  */
139
- protected readonly onRequest: alepha204.HookPrimitive<"server:onRequest">;
139
+ protected readonly onRequest: alepha188.HookPrimitive<"server:onRequest">;
140
140
  /**
141
141
  * Convert cookies to tokens.
142
142
  * If the tokens are expired, try to refresh them using the refresh token.
@@ -147,26 +147,26 @@ declare class ServerAuthProvider {
147
147
  * Get user information.
148
148
  */
149
149
  readonly userinfo: alepha_server0.RoutePrimitive<{
150
- response: alepha204.TObject<{
151
- user: alepha204.TOptional<alepha204.TObject<{
152
- id: alepha204.TString;
153
- name: alepha204.TOptional<alepha204.TString>;
154
- email: alepha204.TOptional<alepha204.TString>;
155
- username: alepha204.TOptional<alepha204.TString>;
156
- picture: alepha204.TOptional<alepha204.TString>;
157
- sessionId: alepha204.TOptional<alepha204.TString>;
158
- organizations: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
159
- roles: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
150
+ response: alepha188.TObject<{
151
+ user: alepha188.TOptional<alepha188.TObject<{
152
+ id: alepha188.TString;
153
+ name: alepha188.TOptional<alepha188.TString>;
154
+ email: alepha188.TOptional<alepha188.TString>;
155
+ username: alepha188.TOptional<alepha188.TString>;
156
+ picture: alepha188.TOptional<alepha188.TString>;
157
+ sessionId: alepha188.TOptional<alepha188.TString>;
158
+ organizations: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
159
+ roles: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
160
160
  }>>;
161
- api: alepha204.TObject<{
162
- prefix: alepha204.TOptional<alepha204.TString>;
163
- links: alepha204.TArray<alepha204.TObject<{
164
- name: alepha204.TString;
165
- group: alepha204.TOptional<alepha204.TString>;
166
- path: alepha204.TString;
167
- method: alepha204.TOptional<alepha204.TString>;
168
- requestBodyType: alepha204.TOptional<alepha204.TString>;
169
- service: alepha204.TOptional<alepha204.TString>;
161
+ api: alepha188.TObject<{
162
+ prefix: alepha188.TOptional<alepha188.TString>;
163
+ links: alepha188.TArray<alepha188.TObject<{
164
+ name: alepha188.TString;
165
+ group: alepha188.TOptional<alepha188.TString>;
166
+ path: alepha188.TString;
167
+ method: alepha188.TOptional<alepha188.TString>;
168
+ requestBodyType: alepha188.TOptional<alepha188.TString>;
169
+ service: alepha188.TOptional<alepha188.TString>;
170
170
  }>>;
171
171
  }>;
172
172
  }>;
@@ -175,66 +175,66 @@ declare class ServerAuthProvider {
175
175
  * Refresh a token for internal providers.
176
176
  */
177
177
  readonly refresh: alepha_server0.RoutePrimitive<{
178
- query: alepha204.TObject<{
179
- provider: alepha204.TString;
178
+ query: alepha188.TObject<{
179
+ provider: alepha188.TString;
180
180
  }>;
181
- body: alepha204.TObject<{
182
- refresh_token: alepha204.TString;
183
- access_token: alepha204.TOptional<alepha204.TString>;
181
+ body: alepha188.TObject<{
182
+ refresh_token: alepha188.TString;
183
+ access_token: alepha188.TOptional<alepha188.TString>;
184
184
  }>;
185
- response: alepha204.TObject<{
186
- provider: alepha204.TString;
187
- access_token: alepha204.TString;
188
- issued_at: alepha204.TNumber;
189
- expires_in: alepha204.TOptional<alepha204.TNumber>;
190
- refresh_token: alepha204.TOptional<alepha204.TString>;
191
- refresh_token_expires_in: alepha204.TOptional<alepha204.TNumber>;
192
- refresh_expires_in: alepha204.TOptional<alepha204.TNumber>;
193
- id_token: alepha204.TOptional<alepha204.TString>;
194
- scope: alepha204.TOptional<alepha204.TString>;
185
+ response: alepha188.TObject<{
186
+ provider: alepha188.TString;
187
+ access_token: alepha188.TString;
188
+ issued_at: alepha188.TNumber;
189
+ expires_in: alepha188.TOptional<alepha188.TNumber>;
190
+ refresh_token: alepha188.TOptional<alepha188.TString>;
191
+ refresh_token_expires_in: alepha188.TOptional<alepha188.TNumber>;
192
+ refresh_expires_in: alepha188.TOptional<alepha188.TNumber>;
193
+ id_token: alepha188.TOptional<alepha188.TString>;
194
+ scope: alepha188.TOptional<alepha188.TString>;
195
195
  }>;
196
196
  }>;
197
197
  /**
198
198
  * Login for local password-based authentication.
199
199
  */
200
200
  readonly token: alepha_server0.RoutePrimitive<{
201
- query: alepha204.TObject<{
202
- provider: alepha204.TString;
203
- realm: alepha204.TOptional<alepha204.TString>;
201
+ query: alepha188.TObject<{
202
+ provider: alepha188.TString;
203
+ realm: alepha188.TOptional<alepha188.TString>;
204
204
  }>;
205
- body: alepha204.TObject<{
206
- username: alepha204.TString;
207
- password: alepha204.TString;
205
+ body: alepha188.TObject<{
206
+ username: alepha188.TString;
207
+ password: alepha188.TString;
208
208
  }>;
209
- response: alepha204.TObject<{
210
- provider: alepha204.TString;
211
- access_token: alepha204.TString;
212
- issued_at: alepha204.TNumber;
213
- expires_in: alepha204.TOptional<alepha204.TNumber>;
214
- refresh_token: alepha204.TOptional<alepha204.TString>;
215
- refresh_token_expires_in: alepha204.TOptional<alepha204.TNumber>;
216
- refresh_expires_in: alepha204.TOptional<alepha204.TNumber>;
217
- id_token: alepha204.TOptional<alepha204.TString>;
218
- scope: alepha204.TOptional<alepha204.TString>;
219
- user: alepha204.TObject<{
220
- id: alepha204.TString;
221
- name: alepha204.TOptional<alepha204.TString>;
222
- email: alepha204.TOptional<alepha204.TString>;
223
- username: alepha204.TOptional<alepha204.TString>;
224
- picture: alepha204.TOptional<alepha204.TString>;
225
- sessionId: alepha204.TOptional<alepha204.TString>;
226
- organizations: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
227
- roles: alepha204.TOptional<alepha204.TArray<alepha204.TString>>;
209
+ response: alepha188.TObject<{
210
+ provider: alepha188.TString;
211
+ access_token: alepha188.TString;
212
+ issued_at: alepha188.TNumber;
213
+ expires_in: alepha188.TOptional<alepha188.TNumber>;
214
+ refresh_token: alepha188.TOptional<alepha188.TString>;
215
+ refresh_token_expires_in: alepha188.TOptional<alepha188.TNumber>;
216
+ refresh_expires_in: alepha188.TOptional<alepha188.TNumber>;
217
+ id_token: alepha188.TOptional<alepha188.TString>;
218
+ scope: alepha188.TOptional<alepha188.TString>;
219
+ user: alepha188.TObject<{
220
+ id: alepha188.TString;
221
+ name: alepha188.TOptional<alepha188.TString>;
222
+ email: alepha188.TOptional<alepha188.TString>;
223
+ username: alepha188.TOptional<alepha188.TString>;
224
+ picture: alepha188.TOptional<alepha188.TString>;
225
+ sessionId: alepha188.TOptional<alepha188.TString>;
226
+ organizations: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
227
+ roles: alepha188.TOptional<alepha188.TArray<alepha188.TString>>;
228
228
  }>;
229
- api: alepha204.TObject<{
230
- prefix: alepha204.TOptional<alepha204.TString>;
231
- links: alepha204.TArray<alepha204.TObject<{
232
- name: alepha204.TString;
233
- group: alepha204.TOptional<alepha204.TString>;
234
- path: alepha204.TString;
235
- method: alepha204.TOptional<alepha204.TString>;
236
- requestBodyType: alepha204.TOptional<alepha204.TString>;
237
- service: alepha204.TOptional<alepha204.TString>;
229
+ api: alepha188.TObject<{
230
+ prefix: alepha188.TOptional<alepha188.TString>;
231
+ links: alepha188.TArray<alepha188.TObject<{
232
+ name: alepha188.TString;
233
+ group: alepha188.TOptional<alepha188.TString>;
234
+ path: alepha188.TString;
235
+ method: alepha188.TOptional<alepha188.TString>;
236
+ requestBodyType: alepha188.TOptional<alepha188.TString>;
237
+ service: alepha188.TOptional<alepha188.TString>;
238
238
  }>>;
239
239
  }>;
240
240
  }>;
@@ -243,10 +243,10 @@ declare class ServerAuthProvider {
243
243
  * Oauth2/OIDC login route.
244
244
  */
245
245
  readonly login: alepha_server0.RoutePrimitive<{
246
- query: alepha204.TObject<{
247
- provider: alepha204.TString;
248
- realm: alepha204.TOptional<alepha204.TString>;
249
- redirect_uri: alepha204.TOptional<alepha204.TString>;
246
+ query: alepha188.TObject<{
247
+ provider: alepha188.TString;
248
+ realm: alepha188.TOptional<alepha188.TString>;
249
+ redirect_uri: alepha188.TOptional<alepha188.TString>;
250
250
  }>;
251
251
  }>;
252
252
  /**
@@ -258,8 +258,8 @@ declare class ServerAuthProvider {
258
258
  * Logout route for OAuth2/OIDC providers.
259
259
  */
260
260
  readonly logout: alepha_server0.RoutePrimitive<{
261
- query: alepha204.TObject<{
262
- post_logout_redirect_uri: alepha204.TOptional<alepha204.TString>;
261
+ query: alepha188.TObject<{
262
+ post_logout_redirect_uri: alepha188.TOptional<alepha188.TString>;
263
263
  }>;
264
264
  }>;
265
265
  /**
@@ -588,7 +588,7 @@ declare module "alepha" {
588
588
  * @see {@link ServerAuthProvider}
589
589
  * @module alepha.server.auth
590
590
  */
591
- declare const AlephaServerAuth: alepha204.Service<alepha204.Module>;
591
+ declare const AlephaServerAuth: alepha188.Service<alepha188.Module>;
592
592
  //#endregion
593
593
  export { $auth, $authCredentials, $authGithub, $authGoogle, AccessToken, AlephaServerAuth, AuthExternal, AuthInternal, AuthPrimitive, AuthPrimitiveOptions, AuthenticationProvider, Credentials, CredentialsFn, CredentialsOptions, LinkAccountFn, LinkAccountOptions, OAuth2Options, OAuth2Profile, OidcOptions, ServerAuthProvider, TokenResponse, Tokens, UserinfoResponse, WithLinkFn, WithLoginFn, alephaServerAuthRoutes, authenticationProviderSchema, tokenResponseSchema, tokensSchema, userinfoResponseSchema };
594
594
  //# sourceMappingURL=index.d.ts.map