@extk/expressive 0.4.1 → 0.4.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.
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,6 +26,7 @@ type ReqSnapshot = {
|
|
|
26
26
|
|
|
27
27
|
type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete' | 'head' | 'options' | 'trace';
|
|
28
28
|
type OtherString = string & {};
|
|
29
|
+
type OtherUnknown = unknown & {};
|
|
29
30
|
type ContentType = 'application/json' | 'application/xml' | 'text/plain' | 'text/html' | OtherString;
|
|
30
31
|
type AlertHandler = (err: Error & Record<string, any>, reqSnapshot?: ReqSnapshot) => void | Promise<void>;
|
|
31
32
|
type Logger = Logger$1;
|
|
@@ -88,7 +89,7 @@ type Schema = BaseSchema | {
|
|
|
88
89
|
anyOf: Schema[];
|
|
89
90
|
} | {
|
|
90
91
|
oneOf: Schema[];
|
|
91
|
-
} |
|
|
92
|
+
} | OtherUnknown;
|
|
92
93
|
type Content = {
|
|
93
94
|
description?: string;
|
|
94
95
|
content?: Partial<Record<ContentType, {
|
|
@@ -320,4 +321,4 @@ declare function bootstrap(container: Container): {
|
|
|
320
321
|
};
|
|
321
322
|
};
|
|
322
323
|
|
|
323
|
-
export { type AlertHandler, ApiError, ApiErrorResponse, ApiResponse, type AuthMethod, BadRequestError, type Container, type Content, type ContentType, DuplicateError, type Env, type ExpressHandler, type ExpressLocalsObj, type ExpressRoute, FileTooBigError, ForbiddenError, type HttpMethod, InternalError, InvalidCredentialsError, InvalidFileTypeError, type Logger, NotFoundError, type OtherString, type Pagination, type PaginationQuery, type Param, type PathItem, type ReqSnapshot, SWG, type Schema, SchemaValidationError, type SecurityScheme, type Servers, type SwaggerConfig, TokenExpiredError, TooManyRequestsError, UserUnauthorizedError, bootstrap, createLogger, createReqSnapshot, getDefaultConsoleLogger, getDefaultFileLogger, getEnvVar, getTmpDir, getTmpPath, isDev, isProd, parseDefaultPagination, parseIdOrFail, parsePositiveInteger, slugify };
|
|
324
|
+
export { type AlertHandler, ApiError, ApiErrorResponse, ApiResponse, type AuthMethod, BadRequestError, type Container, type Content, type ContentType, DuplicateError, type Env, type ExpressHandler, type ExpressLocalsObj, type ExpressRoute, FileTooBigError, ForbiddenError, type HttpMethod, InternalError, InvalidCredentialsError, InvalidFileTypeError, type Logger, NotFoundError, type OtherString, type OtherUnknown, type Pagination, type PaginationQuery, type Param, type PathItem, type ReqSnapshot, SWG, type Schema, SchemaValidationError, type SecurityScheme, type Servers, type SwaggerConfig, TokenExpiredError, TooManyRequestsError, UserUnauthorizedError, bootstrap, createLogger, createReqSnapshot, getDefaultConsoleLogger, getDefaultFileLogger, getEnvVar, getTmpDir, getTmpPath, isDev, isProd, parseDefaultPagination, parseIdOrFail, parsePositiveInteger, slugify };
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ type ReqSnapshot = {
|
|
|
26
26
|
|
|
27
27
|
type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete' | 'head' | 'options' | 'trace';
|
|
28
28
|
type OtherString = string & {};
|
|
29
|
+
type OtherUnknown = unknown & {};
|
|
29
30
|
type ContentType = 'application/json' | 'application/xml' | 'text/plain' | 'text/html' | OtherString;
|
|
30
31
|
type AlertHandler = (err: Error & Record<string, any>, reqSnapshot?: ReqSnapshot) => void | Promise<void>;
|
|
31
32
|
type Logger = Logger$1;
|
|
@@ -88,7 +89,7 @@ type Schema = BaseSchema | {
|
|
|
88
89
|
anyOf: Schema[];
|
|
89
90
|
} | {
|
|
90
91
|
oneOf: Schema[];
|
|
91
|
-
} |
|
|
92
|
+
} | OtherUnknown;
|
|
92
93
|
type Content = {
|
|
93
94
|
description?: string;
|
|
94
95
|
content?: Partial<Record<ContentType, {
|
|
@@ -320,4 +321,4 @@ declare function bootstrap(container: Container): {
|
|
|
320
321
|
};
|
|
321
322
|
};
|
|
322
323
|
|
|
323
|
-
export { type AlertHandler, ApiError, ApiErrorResponse, ApiResponse, type AuthMethod, BadRequestError, type Container, type Content, type ContentType, DuplicateError, type Env, type ExpressHandler, type ExpressLocalsObj, type ExpressRoute, FileTooBigError, ForbiddenError, type HttpMethod, InternalError, InvalidCredentialsError, InvalidFileTypeError, type Logger, NotFoundError, type OtherString, type Pagination, type PaginationQuery, type Param, type PathItem, type ReqSnapshot, SWG, type Schema, SchemaValidationError, type SecurityScheme, type Servers, type SwaggerConfig, TokenExpiredError, TooManyRequestsError, UserUnauthorizedError, bootstrap, createLogger, createReqSnapshot, getDefaultConsoleLogger, getDefaultFileLogger, getEnvVar, getTmpDir, getTmpPath, isDev, isProd, parseDefaultPagination, parseIdOrFail, parsePositiveInteger, slugify };
|
|
324
|
+
export { type AlertHandler, ApiError, ApiErrorResponse, ApiResponse, type AuthMethod, BadRequestError, type Container, type Content, type ContentType, DuplicateError, type Env, type ExpressHandler, type ExpressLocalsObj, type ExpressRoute, FileTooBigError, ForbiddenError, type HttpMethod, InternalError, InvalidCredentialsError, InvalidFileTypeError, type Logger, NotFoundError, type OtherString, type OtherUnknown, type Pagination, type PaginationQuery, type Param, type PathItem, type ReqSnapshot, SWG, type Schema, SchemaValidationError, type SecurityScheme, type Servers, type SwaggerConfig, TokenExpiredError, TooManyRequestsError, UserUnauthorizedError, bootstrap, createLogger, createReqSnapshot, getDefaultConsoleLogger, getDefaultFileLogger, getEnvVar, getTmpDir, getTmpPath, isDev, isProd, parseDefaultPagination, parseIdOrFail, parsePositiveInteger, slugify };
|