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
package/websql/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import * as taon_websql from 'taon/websql';
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
3
|
+
import * as expressType from 'express';
|
|
4
|
+
import { Request, Response, RequestHandler, Application } from 'express';
|
|
5
5
|
import { Models as Models$1, RestResponseWrapper, TaonServerMiddlewareInterceptOptions, TaonClientMiddlewareInterceptOptions, HttpResponseError, RestErrorResponseWrapper, Mapping } from 'ng2-rest/websql';
|
|
6
6
|
export { TaonClientMiddlewareInterceptOptions, TaonServerMiddlewareInterceptOptions } from 'ng2-rest/websql';
|
|
7
7
|
import { Server } from 'http';
|
|
@@ -819,7 +819,7 @@ declare class EndpointContext {
|
|
|
819
819
|
private initCustomBackendMiddlewares;
|
|
820
820
|
private initBackendMiddlewares;
|
|
821
821
|
private initServer;
|
|
822
|
-
protected sendError(res:
|
|
822
|
+
protected sendError(res: expressType.Response, error: unknown, req: expressType.Request, expressPath: string): void;
|
|
823
823
|
/**
|
|
824
824
|
* client can be browser or nodejs (when remote host)
|
|
825
825
|
*/
|
|
@@ -1387,7 +1387,7 @@ declare class TaonBaseFileUploadMiddleware extends TaonBaseMiddleware {
|
|
|
1387
1387
|
uploadDir(): string;
|
|
1388
1388
|
storage(): multer.StorageEngine;
|
|
1389
1389
|
upload(): multer.Multer;
|
|
1390
|
-
middleware():
|
|
1390
|
+
middleware(): RequestHandler;
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
1393
|
declare class TaonBaseMigration extends TaonBaseInjector implements MigrationInterface {
|
|
@@ -2017,8 +2017,8 @@ declare namespace Taon {
|
|
|
2017
2017
|
type Response<T = string> = Models.Http.Response<T>;
|
|
2018
2018
|
type StartParams = Models.StartParams;
|
|
2019
2019
|
const getResponseValue: <T>(response: Models.Http.Response<T>, options?: {
|
|
2020
|
-
req:
|
|
2021
|
-
res:
|
|
2020
|
+
req: expressType.Request<any>;
|
|
2021
|
+
res: expressType.Response<any>;
|
|
2022
2022
|
}) => Promise<T>;
|
|
2023
2023
|
const isBrowser: boolean;
|
|
2024
2024
|
const isNode: boolean;
|
|
@@ -2355,6 +2355,19 @@ class TaonAdminService {
|
|
|
2355
2355
|
/* */
|
|
2356
2356
|
/* */
|
|
2357
2357
|
//#endregion
|
|
2358
|
+
let bodyParser;
|
|
2359
|
+
let cookieParser;
|
|
2360
|
+
let cors;
|
|
2361
|
+
let express;
|
|
2362
|
+
let methodOverride;
|
|
2363
|
+
let expressSession;
|
|
2364
|
+
/* */
|
|
2365
|
+
/* */
|
|
2366
|
+
/* */
|
|
2367
|
+
/* */
|
|
2368
|
+
/* */
|
|
2369
|
+
/* */
|
|
2370
|
+
/* */
|
|
2358
2371
|
class EndpointContext {
|
|
2359
2372
|
//#endregion
|
|
2360
2373
|
//#endregion
|
|
@@ -5096,7 +5109,6 @@ const inject = (entity) => {
|
|
|
5096
5109
|
// return proxyObservable as Observable<SubscriptionEvent<T>>;
|
|
5097
5110
|
// };
|
|
5098
5111
|
|
|
5099
|
-
//#region imports
|
|
5100
5112
|
//#endregion
|
|
5101
5113
|
//#region get transform function
|
|
5102
5114
|
/**
|