taon 19.0.75 → 19.0.78

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taon/browser",
3
- "version": "19.0.75",
3
+ "version": "19.0.78",
4
4
  "module": "fesm2022/taon.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {
@@ -17,4 +17,4 @@ export declare const PROJECT_NPM_NAME = "taon";
17
17
  /**
18
18
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
19
19
  */
20
- export declare const CURRENT_PACKAGE_VERSION = "19.0.75";
20
+ export declare const CURRENT_PACKAGE_VERSION = "19.0.78";
@@ -21,6 +21,6 @@ exports.PROJECT_NPM_NAME = 'taon';
21
21
  /**
22
22
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
23
23
  */
24
- exports.CURRENT_PACKAGE_VERSION = '19.0.75';
24
+ exports.CURRENT_PACKAGE_VERSION = '19.0.78';
25
25
  // THIS FILE IS GENERATED - DO NOT MODIFY
26
26
  //# sourceMappingURL=build-info._auto-generated_.js.map
@@ -0,0 +1,20 @@
1
+ import { Models } from '../../models';
2
+ import { TaonMiddlewareInheritanceObj } from '../http/http-methods-decorators';
3
+ import { TaonControllerOptions } from './controller-options';
4
+ export declare class ControllerConfig extends TaonControllerOptions {
5
+ methods: {
6
+ [methodName: string]: Models.MethodConfig;
7
+ };
8
+ /**
9
+ * Calculated path from parents controllers
10
+ */
11
+ calculatedPath?: string;
12
+ /**
13
+ * a way to transform entity before sending to browser
14
+ */
15
+ browserTransformFn?: (entity: any) => any;
16
+ /**
17
+ * Calculated middlewares object from parents controllers
18
+ */
19
+ calculatedMiddlewaresControllerObj?: TaonMiddlewareInheritanceObj;
20
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ControllerConfig = void 0;
4
+ const controller_options_1 = require("./controller-options");
5
+ class ControllerConfig extends controller_options_1.TaonControllerOptions {
6
+ methods = {};
7
+ /**
8
+ * Calculated path from parents controllers
9
+ */
10
+ calculatedPath;
11
+ /**
12
+ * a way to transform entity before sending to browser
13
+ */
14
+ browserTransformFn;
15
+ /**
16
+ * Calculated middlewares object from parents controllers
17
+ */
18
+ calculatedMiddlewaresControllerObj;
19
+ }
20
+ exports.ControllerConfig = ControllerConfig;
21
+ //# sourceMappingURL=controller-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controller-config.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAIA,6DAA6D;AAE7D,MAAa,gBAAiB,SAAQ,0CAAqB;IACzD,OAAO,GAAkD,EAAE,CAAC;IAC5D;;OAEG;IACH,cAAc,CAAU;IACxB;;OAEG;IACH,kBAAkB,CAAwB;IAC1C;;OAEG;IACH,kCAAkC,CAAgC;CACnE;AAdD,4CAcC"}
@@ -0,0 +1,16 @@
1
+ import { DecoratorAbstractOpt } from '../decorator-abstract-opt';
2
+ import type { TaonMiddlewareFunction } from '../http/http-methods-decorators';
3
+ export declare class TaonControllerOptions<ControllerClass = any> extends DecoratorAbstractOpt {
4
+ /**
5
+ * typeorm realtime subscribtion // TODO disabled for now, does not make sense ?s
6
+ */
7
+ realtime?: boolean;
8
+ /**
9
+ * override default path for controller api
10
+ */
11
+ path?: string;
12
+ /**
13
+ * Middlewares to be applied to all methods in the controller
14
+ */
15
+ middlewares?: TaonMiddlewareFunction;
16
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaonControllerOptions = void 0;
4
+ const decorator_abstract_opt_1 = require("../decorator-abstract-opt");
5
+ class TaonControllerOptions extends decorator_abstract_opt_1.DecoratorAbstractOpt {
6
+ /**
7
+ * typeorm realtime subscribtion // TODO disabled for now, does not make sense ?s
8
+ */
9
+ realtime;
10
+ /**
11
+ * override default path for controller api
12
+ */
13
+ path;
14
+ /**
15
+ * Middlewares to be applied to all methods in the controller
16
+ */
17
+ middlewares;
18
+ }
19
+ exports.TaonControllerOptions = TaonControllerOptions;
20
+ //# sourceMappingURL=controller-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controller-options.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,sEAAiE;AAGjE,MAAa,qBAEX,SAAQ,6CAAoB;IAC5B;;OAEG;IACH,QAAQ,CAAW;IACnB;;OAEG;IACH,IAAI,CAAU;IACd;;OAEG;IACH,WAAW,CAA0B;CACtC;AAfD,sDAeC"}
package/lib/ui/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1765050506778 = dummy1765050506778;
4
- function dummy1765050506778() { }
3
+ exports.dummy1765144225171 = dummy1765144225171;
4
+ function dummy1765144225171() { }
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1765050507340 = dummy1765050507340;
4
- function dummy1765050507340() { }
3
+ exports.dummy1765144226061 = dummy1765144226061;
4
+ function dummy1765144226061() { }
5
5
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taon",
3
- "version": "19.0.75",
3
+ "version": "19.0.78",
4
4
  "scripts": {
5
5
  "mkdocs": "python3 -m mkdocs",
6
6
  "taon init": "taon init",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taon/websql",
3
- "version": "19.0.75",
3
+ "version": "19.0.78",
4
4
  "module": "fesm2022/taon.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {