taon 18.0.25 → 18.0.27
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 +112 -51
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/esm2022/lib/endpoint-context.mjs +4 -1
- package/browser/esm2022/lib/index.mjs +2 -2
- package/browser/esm2022/lib/models.mjs +1 -1
- package/browser/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +11 -11
- package/browser/fesm2022/taon.mjs +3 -0
- package/browser/fesm2022/taon.mjs.map +1 -1
- package/browser/lib/models.d.ts +5 -0
- package/browser/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +4 -4
- package/cli.js +11 -17
- package/cli.js.map +1 -1
- package/client/esm2022/lib/endpoint-context.mjs +4 -1
- package/client/esm2022/lib/index.mjs +2 -2
- package/client/esm2022/lib/models.mjs +1 -1
- package/client/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +11 -11
- package/client/fesm2022/taon.mjs +3 -0
- package/client/fesm2022/taon.mjs.map +1 -1
- package/client/lib/models.d.ts +5 -0
- package/client/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +4 -4
- package/index.js +15 -2
- package/index.js.map +1 -1
- package/lib/base-classes/base-abstract-entity.js +30 -28
- package/lib/base-classes/base-abstract-entity.js.map +1 -1
- package/lib/base-classes/base-class.js +9 -17
- package/lib/base-classes/base-class.js.map +1 -1
- package/lib/base-classes/base-context.js +4 -4
- package/lib/base-classes/base-context.js.map +1 -1
- package/lib/base-classes/base-controller.js +15 -15
- package/lib/base-classes/base-controller.js.map +1 -1
- package/lib/base-classes/base-crud-controller.js +211 -329
- package/lib/base-classes/base-crud-controller.js.map +1 -1
- package/lib/base-classes/base-entity.js +15 -15
- package/lib/base-classes/base-entity.js.map +1 -1
- package/lib/base-classes/base-injector.js +99 -124
- package/lib/base-classes/base-injector.js.map +1 -1
- package/lib/base-classes/base-migration.js +15 -31
- package/lib/base-classes/base-migration.js.map +1 -1
- package/lib/base-classes/base-provider.js +3 -9
- package/lib/base-classes/base-provider.js.map +1 -1
- package/lib/base-classes/base-repository.js +310 -444
- package/lib/base-classes/base-repository.js.map +1 -1
- package/lib/base-classes/base-subscriber-for-entity.js +73 -73
- package/lib/base-classes/base-subscriber-for-entity.js.map +1 -1
- package/lib/base-classes/base.js +10 -10
- package/lib/base-classes/base.js.map +1 -1
- package/lib/build-info._auto-generated_.js.map +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/context-db-migrations.js +325 -581
- package/lib/context-db-migrations.js.map +1 -1
- package/lib/create-context.js +80 -109
- package/lib/create-context.js.map +1 -1
- package/lib/decorators/classes/controller-decorator.js +15 -13
- package/lib/decorators/classes/controller-decorator.js.map +1 -1
- package/lib/decorators/classes/entity-decorator.js +23 -20
- package/lib/decorators/classes/entity-decorator.js.map +1 -1
- package/lib/decorators/classes/migration-decorator.js +7 -13
- package/lib/decorators/classes/migration-decorator.js.map +1 -1
- package/lib/decorators/classes/provider-decorator.js +7 -13
- package/lib/decorators/classes/provider-decorator.js.map +1 -1
- package/lib/decorators/classes/repository-decorator.js +7 -13
- package/lib/decorators/classes/repository-decorator.js.map +1 -1
- package/lib/decorators/classes/subscriber-decorator.js +8 -13
- package/lib/decorators/classes/subscriber-decorator.js.map +1 -1
- package/lib/decorators/http/http-decorators.js +4 -4
- package/lib/decorators/http/http-decorators.js.map +1 -1
- package/lib/decorators/http/http-methods-decorators.js +19 -25
- package/lib/decorators/http/http-methods-decorators.js.map +1 -1
- package/lib/decorators/http/http-params-decorators.js +7 -9
- package/lib/decorators/http/http-params-decorators.js.map +1 -1
- package/lib/dependency-injection/di-container.js +13 -18
- package/lib/dependency-injection/di-container.js.map +1 -1
- package/lib/endpoint-context.js +1196 -1543
- package/lib/endpoint-context.js.map +1 -1
- package/lib/entity-process.js +102 -112
- package/lib/entity-process.js.map +1 -1
- package/lib/env.js +2 -2
- package/lib/env.js.map +1 -1
- package/lib/formly/formly-group-wrapper-component.js +45 -23
- package/lib/formly/formly-group-wrapper-component.js.map +1 -1
- package/lib/formly/formly-repeat-component.js +74 -27
- package/lib/formly/formly-repeat-component.js.map +1 -1
- package/lib/formly/formly.models.js.map +1 -1
- package/lib/formly/fromly.js +57 -61
- package/lib/formly/fromly.js.map +1 -1
- package/lib/formly/type-from-entity.js +11 -16
- package/lib/formly/type-from-entity.js.map +1 -1
- package/lib/get-response-value.js +22 -33
- package/lib/get-response-value.js.map +1 -1
- package/lib/helpers/class-helpers.js +62 -73
- package/lib/helpers/class-helpers.js.map +1 -1
- package/lib/helpers/taon-helpers.js +33 -31
- package/lib/helpers/taon-helpers.js.map +1 -1
- package/lib/index._auto-generated_.d.ts +1 -0
- package/lib/index._auto-generated_.js.map +1 -1
- package/lib/index.d.ts +1 -25
- package/lib/index.js +44 -41
- package/lib/index.js.map +1 -1
- package/lib/inject.js +15 -15
- package/lib/inject.js.map +1 -1
- package/lib/models.d.ts +5 -0
- package/lib/models.js +124 -100
- package/lib/models.js.map +1 -1
- package/lib/orm.js +13 -27
- package/lib/orm.js.map +1 -1
- package/lib/realtime/realtime-client.js +70 -65
- package/lib/realtime/realtime-client.js.map +1 -1
- package/lib/realtime/realtime-core.js +48 -29
- package/lib/realtime/realtime-core.js.map +1 -1
- package/lib/realtime/realtime-server.js +81 -80
- package/lib/realtime/realtime-server.js.map +1 -1
- package/lib/realtime/realtime-strategy/index.js +18 -5
- package/lib/realtime/realtime-strategy/index.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc.js +132 -172
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock.js +158 -241
- package/lib/realtime/realtime-strategy/realtime-strategy-mock.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js +18 -29
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy.js +9 -13
- package/lib/realtime/realtime-strategy/realtime-strategy.js.map +1 -1
- package/lib/realtime/realtime-subs-manager.js +29 -30
- package/lib/realtime/realtime-subs-manager.js.map +1 -1
- package/lib/realtime/realtime.models.js.map +1 -1
- package/lib/storage.js +1 -1
- package/lib/storage.js.map +1 -1
- package/lib/symbols.js +62 -66
- package/lib/symbols.js.map +1 -1
- package/lib/ui/directives/index.js +2 -2
- package/lib/ui/directives/index.js.map +1 -1
- package/lib/ui/directives/view-mode.js.map +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.js.map +1 -1
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.d.ts +2 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js +5 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js.map +1 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +29 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.d.ts +2 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.d.ts +1 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js +5 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js.map +1 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/taon-db-admin.component.d.ts +8 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.d.ts +2 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js +5 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js.map +1 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +13 -0
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.d.ts +2 -0
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js.map +1 -1
- package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.d.ts +5 -0
- package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.js +3 -0
- package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.js.map +1 -0
- package/lib/ui/taon-admin-mode-configuration/taon-admin-control.service.d.ts +14 -0
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +4 -4
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.d.ts +2 -0
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +1 -1
- package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
- package/lib/ui/taon-github-fork-me-corner/index.js.map +1 -1
- package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.js.map +1 -1
- package/lib/ui/taon-notifications/index.js +15 -2
- package/lib/ui/taon-notifications/index.js.map +1 -1
- package/lib/ui/taon-notifications/taon-notifications.models.js +2 -2
- package/lib/ui/taon-notifications/taon-notifications.models.js.map +1 -1
- package/lib/ui/taon-progress-bar/index.js +2 -2
- package/lib/ui/taon-progress-bar/index.js.map +1 -1
- package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +2 -1
- package/lib/ui/taon-session-passcode/index.js +2 -2
- package/lib/ui/taon-session-passcode/index.js.map +1 -1
- package/lib/ui/taon-table/index.js +2 -2
- package/lib/ui/taon-table/index.js.map +1 -1
- package/lib/ui/taon.models.js.map +1 -1
- package/lib/validators.js +48 -16
- package/lib/validators.js.map +1 -1
- package/migrations/index.js +15 -2
- package/migrations/index.js.map +1 -1
- package/migrations/migrations_index._auto-generated_.d.ts +1 -0
- package/migrations/migrations_index._auto-generated_.js.map +1 -1
- package/old-app .d.ts +1 -0
- package/old-app .js +67 -78
- package/old-app .js.map +1 -1
- package/package.json +18 -65
- package/playground.d.ts +1 -0
- package/playground.js.map +1 -1
- package/src.d.ts +1 -1
- package/taon.jsonc +39 -42
- package/tmp-environment.json +8 -401
- package/websql/esm2022/lib/endpoint-context.mjs +4 -1
- package/websql/esm2022/lib/index.mjs +2 -2
- package/websql/esm2022/lib/models.mjs +1 -1
- package/websql/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +11 -11
- package/websql/fesm2022/taon.mjs +3 -0
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/lib/models.d.ts +5 -0
- package/websql/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +4 -4
- package/browser/package.json +0 -25
- package/websql/package.json +0 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taon-admin.models.js","sourceRoot":"","sources":[""],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"taon-admin.models.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-admin-mode-configuration/taon-admin.models.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1744139268116 = dummy1744139268116;
|
|
4
|
+
function dummy1744139268116() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-github-fork-me-corner/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1744139268118 = dummy1744139268118;
|
|
4
|
+
function dummy1744139268118() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-github-fork-me-ribbon/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* */
|
|
3
3
|
/* */
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
4
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
|
|
6
|
-
tslib_1.__exportStar(require("./taon-notifications.models"), exports);
|
|
19
|
+
__exportStar(require("./taon-notifications.models"), exports);
|
|
7
20
|
/* */
|
|
8
21
|
/* */
|
|
9
22
|
/* */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";AAAA,KAAK;AACL,KAAK
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-notifications/index.ts"],"names":[],"mappings":";AAAA,KAAK;AACL,KAAK;;;;;;;;;;;;;;;;AAEL,8DAA4C;AAC5C,KAAK;AACL,KAAK;AAEL,KAAK;AACL,KAAK"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1744139268121 = dummy1744139268121;
|
|
4
|
+
function dummy1744139268121() { }
|
|
5
5
|
//# sourceMappingURL=taon-notifications.models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taon-notifications.models.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"taon-notifications.models.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-notifications/taon-notifications.models.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1744139268121 = dummy1744139268121;
|
|
4
|
+
function dummy1744139268121() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-progress-bar/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import axios from 'axios';
|
|
3
4
|
import { NgProgressConfig, NgProgressRef } from 'ngx-progressbar';
|
|
4
5
|
export declare class TaonProgressBarComponent implements OnInit {
|
|
5
6
|
labProgress: NgProgressRef;
|
|
@@ -11,5 +12,5 @@ export declare class TaonProgressBarComponent implements OnInit {
|
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
14
|
ngAfterViewInit(): void;
|
|
14
|
-
loadProgressBar(config: any, instance?:
|
|
15
|
+
loadProgressBar(config: any, instance?: axios.AxiosStatic): void;
|
|
15
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1744139268123 = dummy1744139268123;
|
|
4
|
+
function dummy1744139268123() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-session-passcode/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1744139268124 = dummy1744139268124;
|
|
4
|
+
function dummy1744139268124() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon-table/index.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAAxC,SAAgB,kBAAkB,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taon.models.js","sourceRoot":"","sources":[""],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"taon.models.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/ui/taon.models.ts"],"names":[],"mappings":""}
|
package/lib/validators.js
CHANGED
|
@@ -1,52 +1,84 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Validators = void 0;
|
|
4
|
-
|
|
4
|
+
const tnp_core_1 = require("tnp-core");
|
|
5
5
|
var Validators;
|
|
6
6
|
(function (Validators) {
|
|
7
7
|
//#region vlidate class name
|
|
8
|
-
Validators.classNameVlidation =
|
|
9
|
-
setTimeout(
|
|
8
|
+
Validators.classNameVlidation = (className, target) => {
|
|
9
|
+
setTimeout(() => {
|
|
10
10
|
// console.log(`check after timeout ${className} , production mode: ${FrameworkContext.isProductionMode}`)
|
|
11
11
|
if (tnp_core_1._.isUndefined(className)) {
|
|
12
|
-
throw
|
|
12
|
+
throw `[Taon]
|
|
13
|
+
Please provide "className" property for each Controller and Entity:
|
|
14
|
+
|
|
15
|
+
@Taon.Controller({ className: 'MyExampleCtrl' })
|
|
16
|
+
class MyExampleCtrl {
|
|
17
|
+
...
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@Taon.Entity({ className: 'MyExampleEntity' })
|
|
21
|
+
class MyExampleEntity {
|
|
22
|
+
...
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
Notice that minified javascript code does not preserve
|
|
26
|
+
Functions/Classes names -this is only solution to preserve classes names.
|
|
27
|
+
|
|
28
|
+
`;
|
|
13
29
|
}
|
|
14
30
|
});
|
|
15
31
|
return tnp_core_1._.isUndefined(className) ? target.name : className;
|
|
16
32
|
};
|
|
17
33
|
//#endregion
|
|
18
34
|
//#region validate method config
|
|
19
|
-
Validators.checkIfMethodsWithReponseTYpeAlowed =
|
|
20
|
-
|
|
35
|
+
Validators.checkIfMethodsWithReponseTYpeAlowed = (methods, current) => {
|
|
36
|
+
const defaultResponseType = 'text or JSON';
|
|
21
37
|
if (!current.responseType) {
|
|
22
38
|
return;
|
|
23
39
|
}
|
|
24
|
-
for (
|
|
25
|
-
|
|
40
|
+
for (let index = 0; index < methods.length; index++) {
|
|
41
|
+
const m = methods[index];
|
|
26
42
|
if (m.path === current.path && m.responseType !== current.responseType) {
|
|
27
|
-
throw new Error(
|
|
43
|
+
throw new Error(`
|
|
44
|
+
[taon] you can have 2 methods with same path but differetn reponseType-s
|
|
45
|
+
|
|
46
|
+
${m.methodName}( ... path: ${m.path} ) -> responseType: ${m.responseType || defaultResponseType}
|
|
47
|
+
${current.methodName}( ... path: ${current.path} ) -> responseType: ${current.responseType}
|
|
48
|
+
|
|
49
|
+
Please change path name on of the methods.
|
|
50
|
+
|
|
51
|
+
`);
|
|
28
52
|
}
|
|
29
53
|
}
|
|
30
54
|
};
|
|
31
55
|
//#endregion
|
|
32
56
|
//#region validate class functions
|
|
33
57
|
// TODO
|
|
34
|
-
Validators.validateClassFunctions =
|
|
58
|
+
Validators.validateClassFunctions = (controllers, entities, proviers, repositories) => {
|
|
35
59
|
if (tnp_core_1._.isArray(controllers) &&
|
|
36
|
-
controllers.filter(
|
|
60
|
+
controllers.filter(f => !tnp_core_1._.isFunction(f)).length > 0) {
|
|
37
61
|
console.error('controllers', controllers);
|
|
38
|
-
throw
|
|
62
|
+
throw `
|
|
63
|
+
|
|
64
|
+
Incorect value for property "controllers" inside Taon.Init(...)
|
|
65
|
+
|
|
66
|
+
`;
|
|
39
67
|
}
|
|
40
68
|
if (tnp_core_1._.isArray(entities) &&
|
|
41
|
-
entities.filter(
|
|
69
|
+
entities.filter(f => !tnp_core_1._.isFunction(f)).length > 0) {
|
|
42
70
|
console.error('entites', entities);
|
|
43
|
-
throw
|
|
71
|
+
throw `
|
|
72
|
+
|
|
73
|
+
Incorect value for property "entities" inside Taon.Init(...)
|
|
74
|
+
|
|
75
|
+
`;
|
|
44
76
|
}
|
|
45
77
|
};
|
|
46
78
|
//#endregion
|
|
47
|
-
Validators.preventUndefinedModel =
|
|
79
|
+
Validators.preventUndefinedModel = (model, id) => {
|
|
48
80
|
if (tnp_core_1._.isUndefined(model)) {
|
|
49
|
-
throw
|
|
81
|
+
throw `Bad update by id, config, id: ${id}`;
|
|
50
82
|
}
|
|
51
83
|
};
|
|
52
84
|
})(Validators || (exports.Validators = Validators = {}));
|
package/lib/validators.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"validators.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/lib/validators.ts"],"names":[],"mappings":";;;AAAA,uCAA6B;AAG7B,IAAiB,UAAU,CA+F1B;AA/FD,WAAiB,UAAU;IACzB,4BAA4B;IACf,6BAAkB,GAAG,CAAC,SAAS,EAAE,MAAgB,EAAE,EAAE;QAChE,UAAU,CAAC,GAAG,EAAE;YACd,0GAA0G;YAC1G,IAAI,YAAC,CAAC,WAAW,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,CAAC,CAAC,MAAM,GAAG,CAAC,EACpD,CAAC;YACD,OAAO,CAAC,KAAK,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;YAC1C,MAAM;;;;GAIT,CAAC;QACA,CAAC;QAED,IACE,YAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;YACnB,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,EACjD,CAAC;YACD,OAAO,CAAC,KAAK,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;YACnC,MAAM;;;;GAIT,CAAC;QACA,CAAC;IACH,CAAC,CAAC;IACF,YAAY;IAEC,gCAAqB,GAAG,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE;QACjD,IAAI,YAAC,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,MAAM,iCAAiC,EAAE,EAAE,CAAC;QAC9C,CAAC;IACH,CAAC,CAAC;AACJ,CAAC,EA/FgB,UAAU,0BAAV,UAAU,QA+F1B"}
|
package/migrations/index.js
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
17
|
//@ts-nocheck
|
|
5
|
-
|
|
18
|
+
__exportStar(require("./migrations_index._auto-generated_"), exports);
|
|
6
19
|
//# sourceMappingURL=index.js.map
|
package/migrations/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/migrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,aAAa;AACb,sEAAoD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations_index._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":"AAAA,yCAAyC;AAEzC,yCAAyC;AAEzC,yCAAyC"}
|
|
1
|
+
{"version":3,"file":"migrations_index._auto-generated_.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/migrations/migrations_index._auto-generated_.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAEzC,yCAAyC;AAEzC,yCAAyC"}
|
package/old-app .d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/old-app .js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// import { Taon } from './lib/src';
|
|
2
2
|
// import { EMPTY, Observable, catchError, map, of, startWith } from 'rxjs';
|
|
3
3
|
// import { Helpers, _ } from 'tnp-core/src';
|
|
4
|
+
// //#region @notForNpm
|
|
5
|
+
// import { HOST_BACKEND_PORT } from './app.hosts';
|
|
4
6
|
/* */
|
|
5
7
|
/* */
|
|
6
8
|
/* */
|
|
@@ -34,82 +36,69 @@
|
|
|
34
36
|
/* */
|
|
35
37
|
/* */
|
|
36
38
|
/* */
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/* */
|
|
103
|
-
/* */
|
|
104
|
-
/* */
|
|
105
|
-
/* */
|
|
106
|
-
/* */
|
|
107
|
-
/* */
|
|
108
|
-
/* */
|
|
109
|
-
/* */
|
|
110
|
-
/* */
|
|
111
|
-
/* */
|
|
112
|
-
/* */
|
|
113
|
-
/* */
|
|
114
|
-
/* */
|
|
39
|
+
// @Taon.Entity({ className: 'User' })
|
|
40
|
+
// class User extends Taon.Base.Entity {
|
|
41
|
+
// static from(user: Partial<User>) {
|
|
42
|
+
// return _.merge(new User(), user);
|
|
43
|
+
// }
|
|
44
|
+
// public static ctrl?: UserController;
|
|
45
|
+
// //#region @websql
|
|
46
|
+
// @Taon.Orm.Column.Generated()
|
|
47
|
+
// //#endregion
|
|
48
|
+
// id?: string | number;
|
|
49
|
+
// //#region @websql
|
|
50
|
+
// @Taon.Orm.Column.Custom({ type: 'varchar', length: 100 })
|
|
51
|
+
// //#endregion
|
|
52
|
+
// name?: string;
|
|
53
|
+
// }
|
|
54
|
+
// @Taon.Controller({ className: 'UserController', entity: User })
|
|
55
|
+
// class UserController extends Taon.Base.Controller<User> {
|
|
56
|
+
// @Taon.Http.PUT()
|
|
57
|
+
// helloWorld(@Taon.Http.Param.Query('id') id: string, @Taon.Http.Param.Query('test') test: number): Taon.Response<string> {
|
|
58
|
+
// //#region @websqlFunc
|
|
59
|
+
// return async () => {
|
|
60
|
+
// console.log({ id, test })
|
|
61
|
+
// return 'hello world from ' + (Helpers.isElectron && Helpers.isNode) ? 'ipc' : 'http';
|
|
62
|
+
// }
|
|
63
|
+
// //#endregion
|
|
64
|
+
// }
|
|
65
|
+
// //#region @websql
|
|
66
|
+
// async initExampleDbData(): Promise<void> {
|
|
67
|
+
// await this.repository.save(User.from({ name: 'Sam' }))
|
|
68
|
+
// await this.repository.save(User.from({ name: 'Samuela' }))
|
|
69
|
+
// }
|
|
70
|
+
// //#endregion
|
|
71
|
+
// }
|
|
72
|
+
// async function start(portForBackend?: string) {
|
|
73
|
+
// console.log({ portForBackend })
|
|
74
|
+
// console.log('Helpers.isElectron', Helpers.isElectron)
|
|
75
|
+
// console.log('Your server will start on port ' + HOST_BACKEND_PORT);
|
|
76
|
+
// const host = 'http://localhost:' + HOST_BACKEND_PORT;
|
|
77
|
+
// const context = await Taon.init({
|
|
78
|
+
// host,
|
|
79
|
+
// controllers: [
|
|
80
|
+
// UserController,
|
|
81
|
+
// // PUT TAON CONTORLLERS HERE
|
|
82
|
+
// ],
|
|
83
|
+
// entities: [
|
|
84
|
+
// User,
|
|
85
|
+
// // PUT TAON ENTITIES HERE
|
|
86
|
+
// ],
|
|
87
|
+
// //#region @websql
|
|
88
|
+
// config: {
|
|
89
|
+
// type: 'better-sqlite3',
|
|
90
|
+
// database: 'tmp-db.sqlite',
|
|
91
|
+
// logging: false,
|
|
92
|
+
// }
|
|
93
|
+
// //#endregion
|
|
94
|
+
// });
|
|
95
|
+
// if (Taon.isBrowser) {
|
|
96
|
+
// const helloWorld = (await User.ctrl!.helloWorld('secrethashid', 444).received)!.body?.rawJson;
|
|
97
|
+
// console.log({
|
|
98
|
+
// 'helloWorld from backend': helloWorld
|
|
99
|
+
// })
|
|
100
|
+
// }
|
|
101
|
+
// }
|
|
102
|
+
// export default start;
|
|
103
|
+
// //#endregion
|
|
115
104
|
//# sourceMappingURL=old-app .js.map
|
package/old-app .js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"old-app .js","sourceRoot":"","sources":[""],"names":[],"mappings":"AAAA,oCAAoC;AACpC,4EAA4E;AAC5E,6CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"old-app .js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/old-app .ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,4EAA4E;AAC5E,6CAA6C;AAC7C,uBAAuB;AACvB,mDAAmD;AACnD,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AAGL,sCAAsC;AACtC,wCAAwC;AACxC,uCAAuC;AACvC,wCAAwC;AACxC,MAAM;AACN,yCAAyC;AACzC,sBAAsB;AACtB,iCAAiC;AACjC,iBAAiB;AACjB,0BAA0B;AAE1B,sBAAsB;AACtB,8DAA8D;AAC9D,iBAAiB;AACjB,mBAAmB;AACnB,IAAI;AAEJ,kEAAkE;AAClE,4DAA4D;AAE5D,qBAAqB;AACrB,8HAA8H;AAC9H,4BAA4B;AAC5B,2BAA2B;AAC3B,kCAAkC;AAClC,8FAA8F;AAC9F,QAAQ;AACR,mBAAmB;AACnB,MAAM;AAEN,sBAAsB;AACtB,+CAA+C;AAC/C,6DAA6D;AAC7D,iEAAiE;AACjE,MAAM;AACN,iBAAiB;AACjB,IAAI;AAEJ,kDAAkD;AAClD,oCAAoC;AAEpC,0DAA0D;AAC1D,wEAAwE;AACxE,0DAA0D;AAE1D,sCAAsC;AACtC,YAAY;AACZ,qBAAqB;AACrB,wBAAwB;AACxB,qCAAqC;AACrC,SAAS;AACT,kBAAkB;AAClB,cAAc;AACd,kCAAkC;AAClC,SAAS;AACT,wBAAwB;AACxB,gBAAgB;AAChB,gCAAgC;AAChC,mCAAmC;AACnC,wBAAwB;AACxB,QAAQ;AACR,mBAAmB;AACnB,QAAQ;AAER,0BAA0B;AAC1B,qGAAqG;AACrG,oBAAoB;AACpB,8CAA8C;AAC9C,SAAS;AACT,MAAM;AACN,IAAI;AAEJ,wBAAwB;AAExB,eAAe"}
|
package/package.json
CHANGED
|
@@ -1,82 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
-
"tnp": {
|
|
3
|
-
"resources": [
|
|
4
|
-
"README.md",
|
|
5
|
-
"bin"
|
|
6
|
-
],
|
|
7
|
-
"overrided": {
|
|
8
|
-
"linkedFolders": [],
|
|
9
|
-
"includeAsDev": [],
|
|
10
|
-
"includeOnly": [
|
|
11
|
-
"tnp",
|
|
12
|
-
"tslib",
|
|
13
|
-
"ora",
|
|
14
|
-
"ng2-rest",
|
|
15
|
-
"json10",
|
|
16
|
-
"lodash-walk-object",
|
|
17
|
-
"taon-type-sql",
|
|
18
|
-
"socket.io"
|
|
19
|
-
],
|
|
20
|
-
"ignoreDepsPattern": [],
|
|
21
|
-
"dependencies": {},
|
|
22
|
-
"npmFixes": []
|
|
23
|
-
},
|
|
24
|
-
"smartContainerBuildTarget": "",
|
|
25
|
-
"linkedRepos": [],
|
|
26
|
-
"libReleaseOptions": {
|
|
27
|
-
"nodts": false,
|
|
28
|
-
"obscure": false,
|
|
29
|
-
"ugly": false,
|
|
30
|
-
"includeNodeModules": false,
|
|
31
|
-
"cliBuildNoDts": false,
|
|
32
|
-
"cliBuildObscure": false,
|
|
33
|
-
"cliBuildIncludeNodeModules": false,
|
|
34
|
-
"cliBuildUglify": false
|
|
35
|
-
},
|
|
36
|
-
"smartContainerTarget": "",
|
|
37
|
-
"type": "isomorphic-lib",
|
|
38
|
-
"version": "v18",
|
|
39
|
-
"additionalNpmNames": [],
|
|
40
|
-
"scripts": {},
|
|
41
|
-
"description": "Isomorphic solution for backend and frontend",
|
|
42
|
-
"license": "MIT",
|
|
43
|
-
"private": false,
|
|
44
|
-
"author": "Dariusz Filipiak",
|
|
45
|
-
"homepage": "https://github.com/darekf77/taon#readme"
|
|
46
|
-
},
|
|
47
2
|
"name": "taon",
|
|
48
|
-
"version": "18.0.
|
|
49
|
-
"description": "Isomorphic solution for backend and frontend",
|
|
3
|
+
"version": "18.0.27",
|
|
50
4
|
"scripts": {
|
|
51
5
|
"mkdocs": "python3 -m mkdocs"
|
|
52
6
|
},
|
|
53
|
-
"
|
|
54
|
-
"type": "git",
|
|
55
|
-
"url": "git+https://github.com/darekf77/taon.git"
|
|
56
|
-
},
|
|
7
|
+
"license": "MIT",
|
|
57
8
|
"author": "Dariusz Filipiak",
|
|
9
|
+
"private": false,
|
|
10
|
+
"homepage": "https://github.com/darekf77/taon#readme",
|
|
58
11
|
"bugs": {
|
|
59
12
|
"url": "https://github.com/darekf77/taon/issues"
|
|
60
13
|
},
|
|
61
|
-
"homepage": "https://github.com/darekf77/taon#readme",
|
|
62
14
|
"dependencies": {
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"ng2-rest": "~18.0.20",
|
|
15
|
+
"tnp": "18.0.27",
|
|
16
|
+
"tslib": "~2.6.3",
|
|
66
17
|
"ora": "3.4.0",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
18
|
+
"ng2-rest": "18.0.21",
|
|
19
|
+
"json10": "18.0.21",
|
|
20
|
+
"lodash-walk-object": "18.0.21",
|
|
21
|
+
"taon-type-sql": "18.0.21",
|
|
22
|
+
"socket.io": "4.7.5"
|
|
23
|
+
},
|
|
24
|
+
"description": "Isomorphic solution for backend and frontend",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/darekf77/taon.git"
|
|
71
28
|
},
|
|
72
|
-
"license": "MIT",
|
|
73
|
-
"private": false,
|
|
74
|
-
"lastBuildTagHash": "652359761630e6f0a9f3b5e886a614bd29a4afb4",
|
|
75
|
-
"devDependencies": {},
|
|
76
|
-
"main": "dist/app.electron.js",
|
|
77
29
|
"bin": {
|
|
78
30
|
"taon": "bin/taon",
|
|
79
31
|
"taon-debug": "bin/taon-debug",
|
|
80
32
|
"taon-debug-brk": "bin/taon-debug-brk"
|
|
81
|
-
}
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {}
|
|
82
35
|
}
|
package/playground.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/playground.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground.js","sourceRoot":"","sources":[""],"names":[],"mappings":"AAAA,gBAAgB;AAEhB,gBAAgB;AAChB,kBAAkB;AAClB,wBAAwB;AACxB,IAAI;AAEJ,mBAAmB;AACnB,2BAA2B;AAC3B,kBAAkB;AAClB,wBAAwB;AACxB,IAAI;AAEJ,+BAA+B;AAC/B,iBAAiB;AACjB,UAAU;AACV,iBAAiB;AACjB,UAAU;AAEV,kEAAkE;AAElE,6DAA6D;AAC7D,yGAAyG;AAEzG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AChF,6GAA6G;AAC7G,0IAA0I;AAC1I,0CAA0C;AAC1C,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,gCAAgC;AAChC,6BAA6B;AAC7B,6CAA6C;AAC7C,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,gCAAgC;AAChC,6BAA6B;AAC7B,gDAAgD;AAChD,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,gCAAgC;AAChC,6BAA6B;AAC7B,mDAAmD;AACnD,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,gCAAgC;AAChC,6BAA6B;AAC7B,sDAAsD;AACtD,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,gCAAgC;AAChC,6BAA6B;AAC7B,yDAAyD;AACzD,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,gCAAgC;AAChC,6BAA6B;AAC7B,yDAAyD;AACzD,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,yCAAyC;AACzC,mCAAmC"}
|
|
1
|
+
{"version":3,"file":"playground.js","sourceRoot":"","sources":["/Users/dfilipiak/projects/npm/taon-dev/taon/src/playground.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAEhB,gBAAgB;AAChB,kBAAkB;AAClB,wBAAwB;AACxB,IAAI;AAEJ,mBAAmB;AACnB,2BAA2B;AAC3B,kBAAkB;AAClB,wBAAwB;AACxB,IAAI;AAEJ,+BAA+B;AAC/B,iBAAiB;AACjB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