@ez4/gateway 0.35.1 → 0.37.0
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 +120 -2
- package/dist/client/authorization.d.ts +1 -1
- package/dist/client/operations.d.ts +1 -2
- package/dist/errors/auth/authorizer.d.ts +4 -0
- package/dist/errors/{identity.d.ts → auth/identity.d.ts} +4 -2
- package/dist/errors/body.d.ts +4 -2
- package/dist/errors/defaults.d.ts +4 -2
- package/dist/errors/headers.d.ts +4 -2
- package/dist/errors/{authorization.d.ts → http/authorization.d.ts} +4 -2
- package/dist/errors/{cache.d.ts → http/cache.d.ts} +4 -2
- package/dist/errors/{cors.d.ts → http/cors.d.ts} +5 -3
- package/dist/errors/parameters.d.ts +9 -3
- package/dist/errors/preferences.d.ts +4 -2
- package/dist/errors/query.d.ts +4 -2
- package/dist/errors/ws/event.d.ts +10 -0
- package/dist/errors/{authorizer.d.ts → ws/target.d.ts} +1 -1
- package/dist/library.cjs +464 -310
- package/dist/library.d.ts +17 -14
- package/dist/library.mjs +445 -293
- package/dist/main.cjs +15 -14
- package/dist/main.d.ts +5 -3
- package/dist/main.mjs +8 -6
- package/dist/metadata/auth/handler.d.ts +4 -0
- package/dist/metadata/auth/identity.d.ts +6 -0
- package/dist/metadata/auth/request.d.ts +4 -0
- package/dist/metadata/auth/response.d.ts +4 -0
- package/dist/metadata/auth/types.d.ts +20 -0
- package/dist/metadata/body.d.ts +4 -3
- package/dist/metadata/headers.d.ts +3 -2
- package/dist/metadata/http/access.d.ts +4 -0
- package/dist/metadata/http/authorization.d.ts +4 -0
- package/dist/metadata/http/cache.d.ts +4 -0
- package/dist/metadata/http/cors.d.ts +4 -0
- package/dist/metadata/http/defaults.d.ts +4 -0
- package/dist/metadata/http/errors.d.ts +4 -0
- package/dist/metadata/http/handler.d.ts +4 -0
- package/dist/metadata/http/import.d.ts +7 -0
- package/dist/metadata/http/request.d.ts +4 -0
- package/dist/metadata/http/response.d.ts +4 -0
- package/dist/metadata/http/routes.d.ts +5 -0
- package/dist/metadata/http/service.d.ts +7 -0
- package/dist/metadata/http/types.d.ts +117 -0
- package/dist/metadata/parameters.d.ts +3 -2
- package/dist/metadata/preferences.d.ts +4 -3
- package/dist/metadata/provider.d.ts +4 -3
- package/dist/metadata/query.d.ts +3 -2
- package/dist/metadata/types.d.ts +4 -0
- package/dist/metadata/utils/name.d.ts +2 -0
- package/dist/metadata/utils/path.d.ts +2 -0
- package/dist/metadata/utils/provider.d.ts +4 -0
- package/dist/metadata/utils/schema.d.ts +3 -0
- package/dist/metadata/utils/validator.d.ts +5 -0
- package/dist/metadata/ws/connection.d.ts +4 -0
- package/dist/metadata/ws/defaults.d.ts +5 -0
- package/dist/metadata/ws/event.d.ts +4 -0
- package/dist/metadata/ws/handlers.d.ts +4 -0
- package/dist/metadata/ws/message.d.ts +4 -0
- package/dist/metadata/ws/request.d.ts +4 -0
- package/dist/metadata/ws/response.d.ts +4 -0
- package/dist/metadata/ws/service.d.ts +7 -0
- package/dist/metadata/ws/types.d.ts +83 -0
- package/dist/services/auth/cache.d.ts +9 -0
- package/dist/services/auth/handler.d.ts +9 -0
- package/dist/services/auth/identity.d.ts +5 -0
- package/dist/services/auth/incoming.d.ts +22 -0
- package/dist/services/auth/provider.d.ts +11 -0
- package/dist/services/auth/request.d.ts +20 -0
- package/dist/services/auth/response.d.ts +10 -0
- package/dist/services/body.d.ts +13 -0
- package/dist/services/defaults.d.ts +7 -16
- package/dist/services/errors.d.ts +6 -0
- package/dist/services/headers.d.ts +10 -0
- package/dist/services/{client.d.ts → http/client.d.ts} +3 -3
- package/dist/services/{contract.d.ts → http/contract.d.ts} +45 -31
- package/dist/services/http/defaults.d.ts +17 -0
- package/dist/services/http/errors.d.ts +6 -0
- package/dist/services/http/handler.d.ts +10 -0
- package/dist/services/http/incoming.d.ts +30 -0
- package/dist/services/http/listener.d.ts +9 -0
- package/dist/services/http/path.d.ts +2 -0
- package/dist/services/http/request.d.ts +30 -0
- package/dist/services/http/response.d.ts +19 -0
- package/dist/services/http/route.d.ts +45 -0
- package/dist/services/{utils.d.ts → http/utils.d.ts} +13 -5
- package/dist/services/parameters.d.ts +5 -0
- package/dist/services/preferences.d.ts +2 -2
- package/dist/services/query.d.ts +5 -0
- package/dist/services/target.d.ts +27 -0
- package/dist/services/ws/client.d.ts +19 -0
- package/dist/services/ws/connect.d.ts +23 -0
- package/dist/services/ws/contract.d.ts +110 -0
- package/dist/services/ws/defaults.d.ts +13 -0
- package/dist/services/ws/disconnect.d.ts +17 -0
- package/dist/services/ws/event.d.ts +20 -0
- package/dist/services/ws/handler.d.ts +10 -0
- package/dist/services/ws/incoming.d.ts +19 -0
- package/dist/services/ws/listener.d.ts +9 -0
- package/dist/services/ws/message.d.ts +17 -0
- package/dist/services/ws/request.d.ts +15 -0
- package/dist/services/ws/response.d.ts +10 -0
- package/dist/services/ws/utils.d.ts +11 -0
- package/dist/utils/body.d.ts +4 -3
- package/dist/utils/client.d.ts +4 -4
- package/dist/utils/errors.d.ts +1 -0
- package/dist/utils/headers.d.ts +3 -2
- package/dist/utils/identity.d.ts +3 -2
- package/dist/utils/parameters.d.ts +3 -2
- package/dist/utils/query.d.ts +3 -2
- package/dist/utils/validation.d.ts +2 -0
- package/dist/utils.cjs +62 -55
- package/dist/utils.d.ts +2 -1
- package/dist/utils.mjs +54 -52
- package/package.json +8 -8
- package/dist/metadata/access.d.ts +0 -3
- package/dist/metadata/authorization.d.ts +0 -3
- package/dist/metadata/authorizer.d.ts +0 -3
- package/dist/metadata/cache.d.ts +0 -3
- package/dist/metadata/cors.d.ts +0 -3
- package/dist/metadata/defaults.d.ts +0 -3
- package/dist/metadata/errors.d.ts +0 -4
- package/dist/metadata/handler.d.ts +0 -3
- package/dist/metadata/identity.d.ts +0 -5
- package/dist/metadata/import.d.ts +0 -6
- package/dist/metadata/request.d.ts +0 -4
- package/dist/metadata/response.d.ts +0 -4
- package/dist/metadata/route.d.ts +0 -4
- package/dist/metadata/schema.d.ts +0 -3
- package/dist/metadata/service.d.ts +0 -6
- package/dist/metadata/utils.d.ts +0 -24
- package/dist/services/cache.d.ts +0 -9
- package/dist/services/common.d.ts +0 -147
- package/dist/services/route.d.ts +0 -56
- package/dist/types/common.d.ts +0 -95
- package/dist/types/import.d.ts +0 -14
- package/dist/types/service.d.ts +0 -14
- /package/dist/errors/{access.d.ts → http/access.d.ts} +0 -0
- /package/dist/errors/{provider.d.ts → http/provider.d.ts} +0 -0
- /package/dist/errors/{route.d.ts → http/route.d.ts} +0 -0
- /package/dist/services/{access.d.ts → http/access.d.ts} +0 -0
- /package/dist/services/{authorization.d.ts → http/authorization.d.ts} +0 -0
- /package/dist/services/{cors.d.ts → http/cors.d.ts} +0 -0
- /package/dist/services/{provider.d.ts → http/provider.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,15 +1,133 @@
|
|
|
1
1
|
# EZ4: Gateway
|
|
2
2
|
|
|
3
|
-
It uses the power of [reflection](
|
|
3
|
+
It uses the power of [reflection](../../foundation/reflection/) to provide a contract that determines how to build and connect gateway components.
|
|
4
4
|
|
|
5
5
|
## Getting started
|
|
6
6
|
|
|
7
7
|
#### Install
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm install @ez4/gateway -D
|
|
10
|
+
npm install @ez4/gateway @ez4/local-gateway @ez4/aws-gateway -D
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
#### Create gateway
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
// file: server.ts
|
|
17
|
+
import type { Environment, Service } from '@ez4/common';
|
|
18
|
+
import type { Http } from '@ez4/gateway';
|
|
19
|
+
|
|
20
|
+
// MyServer declaration
|
|
21
|
+
export declare class MyServer extends Http.Service {
|
|
22
|
+
routes: [
|
|
23
|
+
Http.UseRoute<{
|
|
24
|
+
path: 'POST /post-route';
|
|
25
|
+
handler: typeof routeHandler;
|
|
26
|
+
}>
|
|
27
|
+
];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// MyServer route request
|
|
31
|
+
declare class MyRouteRequest implements Http.Request {
|
|
32
|
+
body: {
|
|
33
|
+
foo: string;
|
|
34
|
+
bar: number;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// MyServer route response
|
|
39
|
+
declare class MyRouteResponse implements Http.Response {
|
|
40
|
+
status: 201;
|
|
41
|
+
body: {
|
|
42
|
+
baz: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// MyServer route provider
|
|
47
|
+
interface MyRouteProvider extends Http.Provider {
|
|
48
|
+
variables: {
|
|
49
|
+
myVariable: Environment.Variable<'MY_VARIABLE'>;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
services: {
|
|
53
|
+
otherService: Environment.Service<OtherService>;
|
|
54
|
+
variables: Environment.ServiceVariables;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// MyServer route handler
|
|
59
|
+
export function routeHandler(request: Http.Incoming<MyRouteRequest>, context: Service.Context<MyRouteProvider>): MyRouteResponse {
|
|
60
|
+
const { otherService, variables } = context;
|
|
61
|
+
const { body } = request;
|
|
62
|
+
|
|
63
|
+
// Access body contents
|
|
64
|
+
body.foo;
|
|
65
|
+
|
|
66
|
+
// Access injected services
|
|
67
|
+
otherService.call();
|
|
68
|
+
|
|
69
|
+
// Access injected variables
|
|
70
|
+
variables.myVariable;
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
status: 201,
|
|
74
|
+
body: {
|
|
75
|
+
baz: 'baz'
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Gateway properties
|
|
82
|
+
|
|
83
|
+
#### Service
|
|
84
|
+
|
|
85
|
+
| Name | Type | Description |
|
|
86
|
+
| --------- | ------------------ | ----------------------------------------------- |
|
|
87
|
+
| routes | Http.UseRoute<> | All routes associated to the gateway. |
|
|
88
|
+
| defaults | Http.UseDefaults<> | Default gateway parameters. |
|
|
89
|
+
| cors | Http.UseCors<> | CORS configuration for all routes. |
|
|
90
|
+
| cache | Http.UseCache<> | Cache configuration for authorizers. |
|
|
91
|
+
| access | Http.UseAccess<> | Access configuration for logs. |
|
|
92
|
+
| name | string | Display name for the service. |
|
|
93
|
+
| variables | object | Environment variables associated to all routes. |
|
|
94
|
+
| services | object | Injected services associated to all routes. |
|
|
95
|
+
|
|
96
|
+
> Use type helpers for `routes`, `defaults`, `cors`, `cache` and `access` properties.
|
|
97
|
+
|
|
98
|
+
#### Routes
|
|
99
|
+
|
|
100
|
+
| Name | Type | Description |
|
|
101
|
+
| ------------ | -------- | -------------------------------------------------------- |
|
|
102
|
+
| name | string | Route operation name. |
|
|
103
|
+
| path | string | Route path including the HTTP verb. |
|
|
104
|
+
| listener | function | Life-cycle listener function for the route. |
|
|
105
|
+
| handler | function | Entry-point handler function for the route. |
|
|
106
|
+
| authorizer | function | Authorizer function for the route. |
|
|
107
|
+
| httpErrors | object | Map status codes and errors for all known exceptions. |
|
|
108
|
+
| variables | object | Environment variables associated to the route. |
|
|
109
|
+
| logRetention | integer | Log retention (in days) for the handler. |
|
|
110
|
+
| memory | integer | Memory available (in megabytes) for the handler. |
|
|
111
|
+
| timeout | integer | Max execution time (in seconds) for the route. |
|
|
112
|
+
| disabled | boolean | Determines whether or not the route is disabled. |
|
|
113
|
+
| cors | boolean | Determines whether or not CORS is enabled for the route. |
|
|
114
|
+
|
|
115
|
+
## Examples
|
|
116
|
+
|
|
117
|
+
- [Get started with API gateway](../../examples/hello-aws-gateway)
|
|
118
|
+
- [API Gateway authorizer](../../examples/aws-gateway-authorizer)
|
|
119
|
+
- [API Gateway websocket](../../examples/aws-gateway-websocket)
|
|
120
|
+
- [Importing gateway](../../examples/aws-import-gateway)
|
|
121
|
+
- [Aurora RDS CRUDL](../../examples/aws-aurora-crudl)
|
|
122
|
+
- [DynamoDB CRUDL](../../examples/aws-dynamodb-crudl)
|
|
123
|
+
- [Schedule manager](../../examples/aws-schedule-manager)
|
|
124
|
+
- [Storage manager](../../examples/aws-storage-manager)
|
|
125
|
+
|
|
126
|
+
## Providers
|
|
127
|
+
|
|
128
|
+
- [Local provider](../../providers/local/local-gateway)
|
|
129
|
+
- [AWS provider](../../providers/aws/aws-gateway)
|
|
130
|
+
|
|
13
131
|
## License
|
|
14
132
|
|
|
15
133
|
MIT License
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ArraySchema, NamingStyle, ObjectSchema, ScalarSchema, UnionSchema } from '@ez4/schema';
|
|
2
|
-
import type { HttpService } from '../types
|
|
3
|
-
import type { HttpImport } from '../types/import';
|
|
2
|
+
import type { HttpImport, HttpService } from '../metadata/http/types';
|
|
4
3
|
export type ClientOperation = {
|
|
5
4
|
namingStyle?: NamingStyle;
|
|
6
5
|
bodySchema?: ObjectSchema | UnionSchema | ArraySchema | ScalarSchema;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidIdentityTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectIdentityTypeError extends IncorrectTypeError {
|
|
6
7
|
identityType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(identityType: string, baseType: string, fileName?: string);
|
|
8
10
|
}
|
package/dist/errors/body.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidBodyTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectBodyTypeError extends IncorrectTypeError {
|
|
6
7
|
bodyType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(bodyType: string, baseType: string, fileName?: string);
|
|
8
10
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidDefaultsTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectDefaultsTypeError extends IncorrectTypeError {
|
|
6
7
|
defaultsType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(defaultsType: string, baseType: string, fileName?: string);
|
|
8
10
|
}
|
package/dist/errors/headers.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidHeadersTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectHeadersTypeError extends IncorrectTypeError {
|
|
6
7
|
headersType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(headersType: string, baseType: string, fileName?: string);
|
|
8
10
|
}
|
|
@@ -3,9 +3,11 @@ export declare class IncompleteAuthorizationError extends IncompleteTypeError {
|
|
|
3
3
|
constructor(properties: string[], fileName?: string);
|
|
4
4
|
}
|
|
5
5
|
export declare class InvalidAuthorizationTypeError extends InvalidTypeError {
|
|
6
|
-
|
|
6
|
+
baseType: string;
|
|
7
|
+
constructor(baseType: string, fileName?: string);
|
|
7
8
|
}
|
|
8
9
|
export declare class IncorrectAuthorizationTypeError extends IncorrectTypeError {
|
|
9
10
|
authorizationType: string;
|
|
10
|
-
|
|
11
|
+
baseType: string;
|
|
12
|
+
constructor(authorizationType: string, baseType: string, fileName?: string);
|
|
11
13
|
}
|
|
@@ -3,9 +3,11 @@ export declare class IncompleteCacheError extends IncompleteTypeError {
|
|
|
3
3
|
constructor(properties: string[], fileName?: string);
|
|
4
4
|
}
|
|
5
5
|
export declare class InvalidCacheTypeError extends InvalidTypeError {
|
|
6
|
-
|
|
6
|
+
baseType: string;
|
|
7
|
+
constructor(baseType: string, fileName?: string);
|
|
7
8
|
}
|
|
8
9
|
export declare class IncorrectCacheTypeError extends IncorrectTypeError {
|
|
9
10
|
cacheType: string;
|
|
10
|
-
|
|
11
|
+
baseType: string;
|
|
12
|
+
constructor(cacheType: string, baseType: string, fileName?: string);
|
|
11
13
|
}
|
|
@@ -3,9 +3,11 @@ export declare class IncompleteCorsError extends IncompleteTypeError {
|
|
|
3
3
|
constructor(properties: string[], fileName?: string);
|
|
4
4
|
}
|
|
5
5
|
export declare class InvalidCorsTypeError extends InvalidTypeError {
|
|
6
|
-
|
|
6
|
+
baseType: string;
|
|
7
|
+
constructor(baseType: string, fileName?: string);
|
|
7
8
|
}
|
|
8
9
|
export declare class IncorrectCorsTypeError extends IncorrectTypeError {
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
corsType: string;
|
|
11
|
+
baseType: string;
|
|
12
|
+
constructor(corsType: string, baseType: string, fileName?: string);
|
|
11
13
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
1
|
+
import { IncorrectTypeError, InvalidTypeError, TypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidParameterTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectParameterTypeError extends IncorrectTypeError {
|
|
6
7
|
parametersType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(parametersType: string, baseType: string, fileName?: string);
|
|
10
|
+
}
|
|
11
|
+
export declare class MismatchParametersTypeError extends TypeError {
|
|
12
|
+
parameterNames: string[];
|
|
13
|
+
constructor(parameterNames: string[], fileName?: string);
|
|
8
14
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidPreferencesTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectPreferencesTypeError extends IncorrectTypeError {
|
|
6
7
|
preferencesType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(preferencesType: string, baseType: string, fileName?: string);
|
|
8
10
|
}
|
package/dist/errors/query.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
2
|
export declare class InvalidQueryTypeError extends InvalidTypeError {
|
|
3
|
-
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
4
5
|
}
|
|
5
6
|
export declare class IncorrectQueryTypeError extends IncorrectTypeError {
|
|
6
7
|
queryType: string;
|
|
7
|
-
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(queryType: string, baseType: string, fileName?: string);
|
|
8
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IncorrectTypeError, InvalidTypeError } from '@ez4/common/library';
|
|
2
|
+
export declare class InvalidEventTypeError extends InvalidTypeError {
|
|
3
|
+
baseType: string;
|
|
4
|
+
constructor(baseType: string, fileName?: string);
|
|
5
|
+
}
|
|
6
|
+
export declare class IncorrectEventTypeError extends IncorrectTypeError {
|
|
7
|
+
eventType: string;
|
|
8
|
+
baseType: string;
|
|
9
|
+
constructor(eventType: string, baseType: string, fileName?: string);
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IncompleteTypeError } from '@ez4/common/library';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class IncompleteTargetError extends IncompleteTypeError {
|
|
3
3
|
constructor(properties: string[], fileName?: string);
|
|
4
4
|
}
|