taon 21.0.50 → 21.0.52
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/browser/fesm2022/taon-browser.mjs +13 -1
- package/browser/fesm2022/taon-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/taon-browser.d.ts +6 -6
- package/browser-prod/fesm2022/taon-browser.mjs +13 -1
- package/browser-prod/fesm2022/taon-browser.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/taon-browser.d.ts +6 -6
- package/lib/base-classes/base-file-upload.middleware.d.ts +2 -2
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/endpoint-context.d.ts +2 -2
- package/lib/endpoint-context.js +97 -91
- package/lib/endpoint-context.js.map +1 -1
- package/lib/entity-process.d.ts +1 -1
- package/lib/entity-process.js +32 -33
- package/lib/entity-process.js.map +1 -1
- package/lib/express-types.d.ts +1 -1
- package/lib/package.json +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/lib-prod/base-classes/base-file-upload.middleware.ts +2 -2
- package/lib-prod/build-info._auto-generated_.ts +1 -1
- package/lib-prod/endpoint-context.ts +27 -17
- package/lib-prod/entity-process.ts +8 -5
- package/lib-prod/express-types.ts +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/ui/index.ts +1 -1
- package/lib-prod/ui/taon-admin-mode-configuration/index.ts +1 -1
- package/package.json +1 -1
- package/websql/fesm2022/taon-websql.mjs +13 -1
- package/websql/fesm2022/taon-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/taon-websql.d.ts +6 -6
- package/websql-prod/fesm2022/taon-websql.mjs +13 -1
- package/websql-prod/fesm2022/taon-websql.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/taon-websql.d.ts +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import * as taon_browser from 'taon/browser';
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
3
|
+
import * as expressType from 'express';
|
|
4
|
+
import { Request, Response, Application, RequestHandler } from 'express';
|
|
5
5
|
import { Models__NS__PromiseObservableMix, Models__NS__HttpResponse, Models__NS__Ng2RestAxiosRequestConfig, RestResponseWrapper, TaonServerMiddlewareInterceptOptions, TaonClientMiddlewareInterceptOptions, Models__NS__ResponseTypeAxios, HttpResponseError, RestErrorResponseWrapper, Mapping__NS__ModelValue, Mapping__NS__Mapping } from 'ng2-rest/browser-prod';
|
|
6
6
|
export { TaonClientMiddlewareInterceptOptions, TaonServerMiddlewareInterceptOptions } from 'ng2-rest/browser-prod';
|
|
7
7
|
import { Server } from 'http';
|
|
@@ -806,7 +806,7 @@ declare class EndpointContext {
|
|
|
806
806
|
private initCustomBackendMiddlewares;
|
|
807
807
|
private initBackendMiddlewares;
|
|
808
808
|
private initServer;
|
|
809
|
-
protected sendError(res:
|
|
809
|
+
protected sendError(res: expressType.Response, error: unknown, req: expressType.Request, expressPath: string): void;
|
|
810
810
|
/**
|
|
811
811
|
* client can be browser or nodejs (when remote host)
|
|
812
812
|
*/
|
|
@@ -1370,7 +1370,7 @@ declare class TaonBaseFileUploadMiddleware extends TaonBaseMiddleware {
|
|
|
1370
1370
|
uploadDir(): string;
|
|
1371
1371
|
storage(): multer.StorageEngine;
|
|
1372
1372
|
upload(): multer.Multer;
|
|
1373
|
-
middleware():
|
|
1373
|
+
middleware(): RequestHandler;
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
declare class TaonBaseMigration extends TaonBaseInjector implements MigrationInterface {
|
|
@@ -1993,8 +1993,8 @@ type Taon__NS__ResponseHtml = Models__NS__Http__NS__Response<string>;
|
|
|
1993
1993
|
type Taon__NS__Response<T = string> = Models__NS__Http__NS__Response<T>;
|
|
1994
1994
|
type Taon__NS__StartParams = Models__NS__StartParams;
|
|
1995
1995
|
declare const Taon__NS__getResponseValue: <T>(response: Models__NS__Http__NS__Response<T>, options?: {
|
|
1996
|
-
req:
|
|
1997
|
-
res:
|
|
1996
|
+
req: expressType.Request<any>;
|
|
1997
|
+
res: expressType.Response<any>;
|
|
1998
1998
|
}) => Promise<T>;
|
|
1999
1999
|
declare const Taon__NS__isBrowser: boolean;
|
|
2000
2000
|
declare const Taon__NS__isNode: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { RequestHandler } from 'express';
|
|
2
2
|
import * as multer from 'multer';
|
|
3
3
|
import { TaonServerMiddlewareInterceptOptions } from 'ng2-rest';
|
|
4
4
|
import { TaonBaseMiddleware, TaonAdditionalMiddlewareMethodInfo } from './base-middleware';
|
|
@@ -10,5 +10,5 @@ export declare class TaonBaseFileUploadMiddleware extends TaonBaseMiddleware {
|
|
|
10
10
|
uploadDir(): string;
|
|
11
11
|
storage(): multer.StorageEngine;
|
|
12
12
|
upload(): multer.Multer;
|
|
13
|
-
middleware():
|
|
13
|
+
middleware(): RequestHandler;
|
|
14
14
|
}
|
|
@@ -25,6 +25,6 @@ exports.CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
25
25
|
/**
|
|
26
26
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
27
27
|
*/
|
|
28
|
-
exports.CURRENT_PACKAGE_VERSION = '21.0.
|
|
28
|
+
exports.CURRENT_PACKAGE_VERSION = '21.0.52';
|
|
29
29
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
30
30
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Server } from 'http';
|
|
2
2
|
import { URL } from 'url';
|
|
3
|
-
import * as express from 'express';
|
|
4
3
|
import type { Application } from 'express';
|
|
4
|
+
import type * as expressType from 'express';
|
|
5
5
|
import type { Repository } from 'taon-typeorm';
|
|
6
6
|
import { DataSource } from 'taon-typeorm';
|
|
7
7
|
import { CoreModels } from 'tnp-core';
|
|
@@ -189,7 +189,7 @@ export declare class EndpointContext {
|
|
|
189
189
|
private initCustomBackendMiddlewares;
|
|
190
190
|
private initBackendMiddlewares;
|
|
191
191
|
private initServer;
|
|
192
|
-
protected sendError(res:
|
|
192
|
+
protected sendError(res: expressType.Response, error: unknown, req: expressType.Request, expressPath: string): void;
|
|
193
193
|
/**
|
|
194
194
|
* client can be browser or nodejs (when remote host)
|
|
195
195
|
*/
|