alepha 0.11.7 → 0.11.9
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/files.d.ts +7 -7
- package/api/jobs.d.ts +135 -135
- package/api/users.d.ts +496 -496
- package/devtools.d.ts +160 -160
- package/email.d.ts +4 -4
- package/package.json +50 -57
- package/postgres.d.ts +20 -20
- package/security.d.ts +4 -4
- package/server/links.d.ts +29 -29
- package/server.d.ts +20 -20
- package/ui.cjs +0 -8
- package/ui.d.ts +0 -813
- package/ui.js +0 -1
package/postgres.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as drizzle_orm0 from "drizzle-orm";
|
|
|
5
5
|
import { BuildColumns, BuildExtraConfigColumns, SQL, SQLWrapper, sql } from "drizzle-orm";
|
|
6
6
|
import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
|
|
7
7
|
import { LockConfig, LockStrength, PgColumn, PgColumnBuilderBase, PgDatabase, PgInsertValue, PgSchema, PgSelectBase, PgSequenceOptions, PgTableExtraConfigValue, PgTableWithColumns, PgTransaction, UpdateDeleteAction } from "drizzle-orm/pg-core";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _alepha_logger0 from "alepha/logger";
|
|
9
9
|
import * as _alepha_lock0 from "alepha/lock";
|
|
10
10
|
import { PostgresJsDatabase } from "drizzle-orm/postgres-js";
|
|
11
11
|
import postgres from "postgres";
|
|
@@ -14,7 +14,7 @@ import { SQLiteColumnBuilderBase } from "drizzle-orm/sqlite-core";
|
|
|
14
14
|
import * as _alepha_retry0 from "alepha/retry";
|
|
15
15
|
import { DatabaseSync } from "node:sqlite";
|
|
16
16
|
import { PgTransactionConfig } from "drizzle-orm/pg-core/session";
|
|
17
|
-
import * as
|
|
17
|
+
import * as typebox2 from "typebox";
|
|
18
18
|
import * as DrizzleKit from "drizzle-kit/api";
|
|
19
19
|
import { UpdateDeleteAction as UpdateDeleteAction$1 } from "drizzle-orm/pg-core/foreign-keys";
|
|
20
20
|
export * from "drizzle-orm/pg-core";
|
|
@@ -867,7 +867,7 @@ declare abstract class ModelBuilder {
|
|
|
867
867
|
//#endregion
|
|
868
868
|
//#region src/providers/DrizzleKitProvider.d.ts
|
|
869
869
|
declare class DrizzleKitProvider {
|
|
870
|
-
protected readonly log:
|
|
870
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
871
871
|
protected readonly alepha: Alepha;
|
|
872
872
|
/**
|
|
873
873
|
* Synchronize database with current schema definitions.
|
|
@@ -903,11 +903,11 @@ declare class DrizzleKitProvider {
|
|
|
903
903
|
*/
|
|
904
904
|
protected importDrizzleKit(): typeof DrizzleKit;
|
|
905
905
|
}
|
|
906
|
-
declare const devMigrationsSchema:
|
|
907
|
-
id:
|
|
908
|
-
name:
|
|
909
|
-
snapshot:
|
|
910
|
-
created_at:
|
|
906
|
+
declare const devMigrationsSchema: typebox2.TObject<{
|
|
907
|
+
id: typebox2.TNumber;
|
|
908
|
+
name: typebox2.TString;
|
|
909
|
+
snapshot: typebox2.TString;
|
|
910
|
+
created_at: typebox2.TString;
|
|
911
911
|
}>;
|
|
912
912
|
type DevMigrations = Static<typeof devMigrationsSchema>;
|
|
913
913
|
//#endregion
|
|
@@ -915,7 +915,7 @@ type DevMigrations = Static<typeof devMigrationsSchema>;
|
|
|
915
915
|
type SQLLike = SQLWrapper | string;
|
|
916
916
|
declare abstract class DatabaseProvider {
|
|
917
917
|
protected readonly alepha: Alepha;
|
|
918
|
-
protected readonly log:
|
|
918
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
919
919
|
protected abstract readonly builder: ModelBuilder;
|
|
920
920
|
protected abstract readonly kit: DrizzleKitProvider;
|
|
921
921
|
abstract readonly db: PgDatabase<any>;
|
|
@@ -1681,7 +1681,7 @@ declare const envSchema: _alepha_core10.TObject<{
|
|
|
1681
1681
|
}>;
|
|
1682
1682
|
declare class NodePostgresProvider extends DatabaseProvider {
|
|
1683
1683
|
static readonly SSL_MODES: readonly ["require", "allow", "prefer", "verify-full"];
|
|
1684
|
-
protected readonly log:
|
|
1684
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
1685
1685
|
protected readonly env: {
|
|
1686
1686
|
DATABASE_URL?: string | undefined;
|
|
1687
1687
|
POSTGRES_SCHEMA?: string | undefined;
|
|
@@ -1821,10 +1821,10 @@ declare class SqliteModelBuilder extends ModelBuilder {
|
|
|
1821
1821
|
name: string;
|
|
1822
1822
|
dataType: "custom";
|
|
1823
1823
|
columnType: "SQLiteCustomColumn";
|
|
1824
|
-
data:
|
|
1824
|
+
data: typebox2.StaticType<[], "Decode", {}, {}, TDocument>;
|
|
1825
1825
|
driverParam: string;
|
|
1826
1826
|
enumValues: undefined;
|
|
1827
|
-
}>,
|
|
1827
|
+
}>, typebox2.StaticType<[], "Decode", {}, {}, TDocument>>;
|
|
1828
1828
|
sqliteDateTime: {
|
|
1829
1829
|
<TConfig extends Record<string, any>>(fieldConfig: TConfig): pg$1.SQLiteCustomColumnBuilder<{
|
|
1830
1830
|
name: "";
|
|
@@ -1886,8 +1886,8 @@ type SchemaToSqliteBuilder<T extends TObject> = { [key in keyof T["properties"]]
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* Configuration options for the Node.js SQLite database provider.
|
|
1888
1888
|
*/
|
|
1889
|
-
declare const nodeSqliteOptions: _alepha_core10.Atom<
|
|
1890
|
-
path:
|
|
1889
|
+
declare const nodeSqliteOptions: _alepha_core10.Atom<typebox2.TObject<{
|
|
1890
|
+
path: typebox2.TOptional<typebox2.TString>;
|
|
1891
1891
|
}>, "alepha.postgres.node-sqlite.options">;
|
|
1892
1892
|
type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
|
|
1893
1893
|
declare module "alepha" {
|
|
@@ -1903,7 +1903,7 @@ declare module "alepha" {
|
|
|
1903
1903
|
*/
|
|
1904
1904
|
declare class NodeSqliteProvider extends DatabaseProvider {
|
|
1905
1905
|
protected readonly kit: DrizzleKitProvider;
|
|
1906
|
-
protected readonly log:
|
|
1906
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
1907
1907
|
protected readonly env: {
|
|
1908
1908
|
DATABASE_URL?: string | undefined;
|
|
1909
1909
|
};
|
|
@@ -1976,7 +1976,7 @@ declare class PostgresTypeProvider {
|
|
|
1976
1976
|
* This is used to mark rows as deleted without actually removing them from the database.
|
|
1977
1977
|
* The column is nullable - NULL means not deleted, timestamp means deleted.
|
|
1978
1978
|
*/
|
|
1979
|
-
readonly deletedAt: (options?: TStringOptions) => PgAttr<
|
|
1979
|
+
readonly deletedAt: (options?: TStringOptions) => PgAttr<typebox2.TOptional<TString>, typeof PG_DELETED_AT>;
|
|
1980
1980
|
/**
|
|
1981
1981
|
* Creates a Postgres ENUM type.
|
|
1982
1982
|
*
|
|
@@ -2008,7 +2008,7 @@ declare const pg: PostgresTypeProvider;
|
|
|
2008
2008
|
declare class RepositoryProvider {
|
|
2009
2009
|
protected readonly alepha: Alepha;
|
|
2010
2010
|
protected readonly registry: Map<EntityDescriptor<any>, Service<Repository<any>>>;
|
|
2011
|
-
getRepositories(provider?: DatabaseProvider): Repository<TObject<
|
|
2011
|
+
getRepositories(provider?: DatabaseProvider): Repository<TObject<typebox2.TProperties>>[];
|
|
2012
2012
|
createClassRepository<T extends TObject>(entity: EntityDescriptor<T>): Service<Repository<T>>;
|
|
2013
2013
|
}
|
|
2014
2014
|
//#endregion
|
|
@@ -2016,7 +2016,7 @@ declare class RepositoryProvider {
|
|
|
2016
2016
|
/**
|
|
2017
2017
|
* @deprecated Use `pg.primaryKey()` instead.
|
|
2018
2018
|
*/
|
|
2019
|
-
declare const legacyIdSchema: PgAttr<PgAttr<PgAttr<
|
|
2019
|
+
declare const legacyIdSchema: PgAttr<PgAttr<PgAttr<typebox2.TInteger, typeof PG_PRIMARY_KEY>, typeof PG_SERIAL>, typeof PG_DEFAULT>;
|
|
2020
2020
|
//#endregion
|
|
2021
2021
|
//#region src/types/schema.d.ts
|
|
2022
2022
|
/**
|
|
@@ -2026,10 +2026,10 @@ declare const schema: <TDocument extends TSchema>(name: string, document: TDocum
|
|
|
2026
2026
|
name: string;
|
|
2027
2027
|
dataType: "custom";
|
|
2028
2028
|
columnType: "PgCustomColumn";
|
|
2029
|
-
data:
|
|
2029
|
+
data: typebox2.StaticType<[], "Decode", {}, {}, TDocument>;
|
|
2030
2030
|
driverParam: string;
|
|
2031
2031
|
enumValues: undefined;
|
|
2032
|
-
}>,
|
|
2032
|
+
}>, typebox2.StaticType<[], "Decode", {}, {}, TDocument>>;
|
|
2033
2033
|
//#endregion
|
|
2034
2034
|
//#region src/index.d.ts
|
|
2035
2035
|
declare module "alepha" {
|
package/security.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _alepha_core1 from "alepha";
|
|
2
2
|
import { Alepha, Descriptor, KIND, Static } from "alepha";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alepha_logger0 from "alepha/logger";
|
|
4
4
|
import { DateTimeProvider, Duration, DurationLike } from "alepha/datetime";
|
|
5
5
|
import { CryptoKey, FlattenedJWSInput, JSONWebKeySet, JWSHeaderParameters, JWTHeaderParameters, JWTPayload, JWTVerifyResult, KeyObject } from "jose";
|
|
6
6
|
import * as typebox0 from "typebox";
|
|
@@ -68,7 +68,7 @@ type Role = Static<typeof roleSchema>;
|
|
|
68
68
|
* Provides utilities for working with JSON Web Tokens (JWT).
|
|
69
69
|
*/
|
|
70
70
|
declare class JwtProvider {
|
|
71
|
-
protected readonly log:
|
|
71
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
72
72
|
protected readonly keystore: KeyLoaderHolder[];
|
|
73
73
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
74
74
|
protected readonly encoder: TextEncoder;
|
|
@@ -141,7 +141,7 @@ declare class SecurityProvider {
|
|
|
141
141
|
protected readonly UNKNOWN_USER_NAME = "Anonymous User";
|
|
142
142
|
protected readonly PERMISSION_REGEXP: RegExp;
|
|
143
143
|
protected readonly PERMISSION_REGEXP_WILDCARD: RegExp;
|
|
144
|
-
protected readonly log:
|
|
144
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
145
145
|
protected readonly jwt: JwtProvider;
|
|
146
146
|
protected readonly env: {
|
|
147
147
|
APP_SECRET: string;
|
|
@@ -400,7 +400,7 @@ declare class RealmDescriptor extends Descriptor<RealmDescriptorOptions> {
|
|
|
400
400
|
protected readonly securityProvider: SecurityProvider;
|
|
401
401
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
402
402
|
protected readonly jwt: JwtProvider;
|
|
403
|
-
protected readonly log:
|
|
403
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
404
404
|
get name(): string;
|
|
405
405
|
get accessTokenExpiration(): Duration;
|
|
406
406
|
get refreshTokenExpiration(): Duration;
|
package/server/links.d.ts
CHANGED
|
@@ -7,26 +7,26 @@ import * as _alepha_logger0 from "alepha/logger";
|
|
|
7
7
|
import * as _alepha_retry0 from "alepha/retry";
|
|
8
8
|
import { ProxyDescriptorOptions, ServerProxyProvider } from "alepha/server/proxy";
|
|
9
9
|
import { ServiceAccountDescriptor, UserAccountToken } from "alepha/security";
|
|
10
|
-
import * as
|
|
10
|
+
import * as typebox18 from "typebox";
|
|
11
11
|
|
|
12
12
|
//#region src/schemas/apiLinksResponseSchema.d.ts
|
|
13
|
-
declare const apiLinkSchema:
|
|
14
|
-
name:
|
|
15
|
-
group:
|
|
16
|
-
path:
|
|
17
|
-
method:
|
|
18
|
-
requestBodyType:
|
|
19
|
-
service:
|
|
13
|
+
declare const apiLinkSchema: typebox18.TObject<{
|
|
14
|
+
name: typebox18.TString;
|
|
15
|
+
group: typebox18.TOptional<typebox18.TString>;
|
|
16
|
+
path: typebox18.TString;
|
|
17
|
+
method: typebox18.TOptional<typebox18.TString>;
|
|
18
|
+
requestBodyType: typebox18.TOptional<typebox18.TString>;
|
|
19
|
+
service: typebox18.TOptional<typebox18.TString>;
|
|
20
20
|
}>;
|
|
21
|
-
declare const apiLinksResponseSchema:
|
|
22
|
-
prefix:
|
|
23
|
-
links:
|
|
24
|
-
name:
|
|
25
|
-
group:
|
|
26
|
-
path:
|
|
27
|
-
method:
|
|
28
|
-
requestBodyType:
|
|
29
|
-
service:
|
|
21
|
+
declare const apiLinksResponseSchema: typebox18.TObject<{
|
|
22
|
+
prefix: typebox18.TOptional<typebox18.TString>;
|
|
23
|
+
links: typebox18.TArray<typebox18.TObject<{
|
|
24
|
+
name: typebox18.TString;
|
|
25
|
+
group: typebox18.TOptional<typebox18.TString>;
|
|
26
|
+
path: typebox18.TString;
|
|
27
|
+
method: typebox18.TOptional<typebox18.TString>;
|
|
28
|
+
requestBodyType: typebox18.TOptional<typebox18.TString>;
|
|
29
|
+
service: typebox18.TOptional<typebox18.TString>;
|
|
30
30
|
}>>;
|
|
31
31
|
}>;
|
|
32
32
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
@@ -257,15 +257,15 @@ declare class ServerLinksProvider {
|
|
|
257
257
|
* This is based on the user's permissions.
|
|
258
258
|
*/
|
|
259
259
|
readonly links: _alepha_server0.RouteDescriptor<{
|
|
260
|
-
response:
|
|
261
|
-
prefix:
|
|
262
|
-
links:
|
|
263
|
-
name:
|
|
264
|
-
group:
|
|
265
|
-
path:
|
|
266
|
-
method:
|
|
267
|
-
requestBodyType:
|
|
268
|
-
service:
|
|
260
|
+
response: typebox18.TObject<{
|
|
261
|
+
prefix: typebox18.TOptional<typebox18.TString>;
|
|
262
|
+
links: typebox18.TArray<typebox18.TObject<{
|
|
263
|
+
name: typebox18.TString;
|
|
264
|
+
group: typebox18.TOptional<typebox18.TString>;
|
|
265
|
+
path: typebox18.TString;
|
|
266
|
+
method: typebox18.TOptional<typebox18.TString>;
|
|
267
|
+
requestBodyType: typebox18.TOptional<typebox18.TString>;
|
|
268
|
+
service: typebox18.TOptional<typebox18.TString>;
|
|
269
269
|
}>>;
|
|
270
270
|
}>;
|
|
271
271
|
}>;
|
|
@@ -276,10 +276,10 @@ declare class ServerLinksProvider {
|
|
|
276
276
|
* I mean for 150+ links, you got 50ms of serialization time.
|
|
277
277
|
*/
|
|
278
278
|
readonly schema: _alepha_server0.RouteDescriptor<{
|
|
279
|
-
params:
|
|
280
|
-
name:
|
|
279
|
+
params: typebox18.TObject<{
|
|
280
|
+
name: typebox18.TString;
|
|
281
281
|
}>;
|
|
282
|
-
response:
|
|
282
|
+
response: typebox18.TRecord<string, typebox18.TAny>;
|
|
283
283
|
}>;
|
|
284
284
|
getSchemaByName(name: string, options?: GetApiLinksOptions): Promise<RequestConfigSchema>;
|
|
285
285
|
/**
|
package/server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alepha_core1 from "alepha";
|
|
2
2
|
import { Alepha, AlephaError, Async, Descriptor, FileLike, KIND, Static, StreamLike, TArray, TFile, TObject, TRecord, TSchema, TStream, TString, TVoid } from "alepha";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alepha_logger0 from "alepha/logger";
|
|
4
4
|
import { Readable } from "node:stream";
|
|
5
5
|
import { ReadableStream } from "node:stream/web";
|
|
6
6
|
import { Route, RouterProvider } from "alepha/router";
|
|
@@ -186,14 +186,14 @@ declare class ServerRequestParser {
|
|
|
186
186
|
//#region src/providers/ServerTimingProvider.d.ts
|
|
187
187
|
type TimingMap = Record<string, [number, number]>;
|
|
188
188
|
declare class ServerTimingProvider {
|
|
189
|
-
protected readonly log:
|
|
189
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
190
190
|
protected readonly alepha: Alepha;
|
|
191
191
|
options: {
|
|
192
192
|
prefix: string;
|
|
193
193
|
disabled: boolean;
|
|
194
194
|
};
|
|
195
|
-
readonly onRequest:
|
|
196
|
-
readonly onResponse:
|
|
195
|
+
readonly onRequest: _alepha_core1.HookDescriptor<"server:onRequest">;
|
|
196
|
+
readonly onResponse: _alepha_core1.HookDescriptor<"server:onResponse">;
|
|
197
197
|
protected get handlerName(): string;
|
|
198
198
|
beginTiming(name: string): void;
|
|
199
199
|
endTiming(name: string): void;
|
|
@@ -234,7 +234,7 @@ declare class ServerRouterProvider extends RouterProvider<ServerRouteMatcher> {
|
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region src/services/HttpClient.d.ts
|
|
236
236
|
declare class HttpClient {
|
|
237
|
-
protected readonly log:
|
|
237
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
238
238
|
protected readonly alepha: Alepha;
|
|
239
239
|
readonly cache: _alepha_cache0.CacheDescriptorFn<HttpClientCache, any[]>;
|
|
240
240
|
protected readonly pendingRequests: HttpClientPendingRequests;
|
|
@@ -554,7 +554,7 @@ interface ActionDescriptorOptions<TConfig extends RequestConfigSchema> extends O
|
|
|
554
554
|
handler: ServerActionHandler<TConfig>;
|
|
555
555
|
}
|
|
556
556
|
declare class ActionDescriptor<TConfig extends RequestConfigSchema> extends Descriptor<ActionDescriptorOptions<TConfig>> {
|
|
557
|
-
protected readonly log:
|
|
557
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
558
558
|
protected readonly env: {
|
|
559
559
|
SERVER_API_PREFIX: string;
|
|
560
560
|
};
|
|
@@ -726,9 +726,9 @@ declare const okSchema: typebox0.TObject<{
|
|
|
726
726
|
type Ok = Static<typeof okSchema>;
|
|
727
727
|
//#endregion
|
|
728
728
|
//#region src/providers/NodeHttpServerProvider.d.ts
|
|
729
|
-
declare const envSchema:
|
|
730
|
-
SERVER_PORT:
|
|
731
|
-
SERVER_HOST:
|
|
729
|
+
declare const envSchema: _alepha_core1.TObject<{
|
|
730
|
+
SERVER_PORT: _alepha_core1.TInteger;
|
|
731
|
+
SERVER_HOST: _alepha_core1.TString;
|
|
732
732
|
}>;
|
|
733
733
|
declare module "alepha" {
|
|
734
734
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
@@ -736,29 +736,29 @@ declare module "alepha" {
|
|
|
736
736
|
declare class NodeHttpServerProvider extends ServerProvider {
|
|
737
737
|
protected readonly alepha: Alepha;
|
|
738
738
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
739
|
-
protected readonly log:
|
|
739
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
740
740
|
protected readonly env: {
|
|
741
741
|
SERVER_PORT: number;
|
|
742
742
|
SERVER_HOST: string;
|
|
743
743
|
};
|
|
744
744
|
protected readonly router: ServerRouterProvider;
|
|
745
745
|
protected readonly server: http0.Server<typeof IncomingMessage, typeof ServerResponse$1>;
|
|
746
|
-
protected readonly onNodeRequest:
|
|
746
|
+
protected readonly onNodeRequest: _alepha_core1.HookDescriptor<"node:request">;
|
|
747
747
|
handle(req: IncomingMessage, res: ServerResponse$1): Promise<void>;
|
|
748
748
|
get hostname(): string;
|
|
749
|
-
readonly start:
|
|
750
|
-
protected readonly stop:
|
|
749
|
+
readonly start: _alepha_core1.HookDescriptor<"start">;
|
|
750
|
+
protected readonly stop: _alepha_core1.HookDescriptor<"stop">;
|
|
751
751
|
protected listen(): Promise<void>;
|
|
752
752
|
protected close(): Promise<void>;
|
|
753
753
|
}
|
|
754
754
|
//#endregion
|
|
755
755
|
//#region src/providers/ServerLoggerProvider.d.ts
|
|
756
756
|
declare class ServerLoggerProvider {
|
|
757
|
-
protected readonly log:
|
|
757
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
758
758
|
protected readonly alepha: Alepha;
|
|
759
|
-
readonly onRequest:
|
|
760
|
-
readonly onError:
|
|
761
|
-
readonly onResponse:
|
|
759
|
+
readonly onRequest: _alepha_core1.HookDescriptor<"server:onRequest">;
|
|
760
|
+
readonly onError: _alepha_core1.HookDescriptor<"server:onError">;
|
|
761
|
+
readonly onResponse: _alepha_core1.HookDescriptor<"server:onResponse">;
|
|
762
762
|
}
|
|
763
763
|
//#endregion
|
|
764
764
|
//#region src/providers/ServerNotReadyProvider.d.ts
|
|
@@ -771,7 +771,7 @@ declare class ServerLoggerProvider {
|
|
|
771
771
|
*/
|
|
772
772
|
declare class ServerNotReadyProvider {
|
|
773
773
|
protected readonly alepha: Alepha;
|
|
774
|
-
readonly onRequest:
|
|
774
|
+
readonly onRequest: _alepha_core1.HookDescriptor<"server:onRequest">;
|
|
775
775
|
}
|
|
776
776
|
//#endregion
|
|
777
777
|
//#region src/index.d.ts
|
|
@@ -843,7 +843,7 @@ declare module "alepha" {
|
|
|
843
843
|
* @see {@link $action}
|
|
844
844
|
* @module alepha.server
|
|
845
845
|
*/
|
|
846
|
-
declare const AlephaServer:
|
|
846
|
+
declare const AlephaServer: _alepha_core1.Service<_alepha_core1.Module>;
|
|
847
847
|
//#endregion
|
|
848
848
|
export { $action, $route, ActionDescriptor, ActionDescriptorFn, ActionDescriptorOptions, AlephaServer, BadRequestError, ClientRequestEntry, ClientRequestEntryContainer, ClientRequestOptions, ClientRequestResponse, ConflictError, ErrorSchema, FetchActionArgs, FetchOptions, FetchResponse, ForbiddenError, HttpAction, HttpClient, HttpClientPendingRequests, HttpError, HttpErrorLike, NodeHttpServerProvider, NotFoundError, Ok, RequestConfigSchema, RequestInitWithOptions, ResponseBodyType, ResponseKind, RouteDescriptor, RouteDescriptorOptions, RouteMethod, ServerActionHandler, ServerActionRequest, ServerHandler, ServerLoggerProvider, ServerNotReadyProvider, ServerProvider, ServerRawRequest, ServerReply, ServerRequest, ServerRequestConfig, ServerRequestConfigEntry, ServerResponse, ServerResponseBody, ServerRoute, ServerRouteMatcher, ServerRouteRequestHandler, ServerRouterProvider, ServerTimingProvider, TRequestBody, TResponseBody, UnauthorizedError, ValidationError, errorNameByStatus, errorSchema, isHttpError, isMultipart, okSchema, routeMethods };
|
|
849
849
|
//# sourceMappingURL=index.d.ts.map
|
package/ui.cjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var m = require('@alepha/ui');
|
|
3
|
-
Object.keys(m).forEach(function (k) {
|
|
4
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
5
|
-
enumerable: true,
|
|
6
|
-
get: function () { return m[k]; }
|
|
7
|
-
});
|
|
8
|
-
});
|