taon 18.0.22 → 18.0.24
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/esm2022/lib/create-context.mjs +8 -3
- package/browser/esm2022/lib/endpoint-context.mjs +12 -2
- package/browser/esm2022/lib/models.mjs +1 -1
- package/browser/esm2022/lib/orm.mjs +1 -1
- package/browser/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +24 -26
- package/browser/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin.service.mjs +4 -9
- package/browser/fesm2022/taon.mjs +46 -35
- package/browser/fesm2022/taon.mjs.map +1 -1
- package/browser/lib/endpoint-context.d.ts +1 -0
- package/browser/lib/models.d.ts +1 -0
- package/browser/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +1 -2
- package/browser/lib/ui/taon-admin-mode-configuration/taon-admin.service.d.ts +0 -3
- package/client/esm2022/lib/create-context.mjs +8 -3
- package/client/esm2022/lib/endpoint-context.mjs +12 -2
- package/client/esm2022/lib/models.mjs +1 -1
- package/client/esm2022/lib/orm.mjs +1 -1
- package/client/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +24 -26
- package/client/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin.service.mjs +4 -9
- package/client/fesm2022/taon.mjs +46 -35
- package/client/fesm2022/taon.mjs.map +1 -1
- package/client/lib/endpoint-context.d.ts +1 -0
- package/client/lib/models.d.ts +1 -0
- package/client/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +1 -2
- package/client/lib/ui/taon-admin-mode-configuration/taon-admin.service.d.ts +0 -3
- package/lib/base-classes/base-migration.d.ts +2 -2
- package/lib/base-classes/base-repository.d.ts +4 -4
- package/lib/base-classes/base-subscriber-for-entity.d.ts +2 -2
- package/lib/context-db-migrations.d.ts +2 -2
- package/lib/create-context.js +8 -2
- package/lib/create-context.js.map +1 -1
- package/lib/decorators/classes/entity-decorator.d.ts +2 -2
- package/lib/decorators/http/http-decorators.d.ts +2 -2
- package/lib/decorators/http/http-methods-decorators.d.ts +3 -3
- package/lib/endpoint-context.d.ts +2 -1
- package/lib/endpoint-context.js +93 -83
- package/lib/endpoint-context.js.map +1 -1
- package/lib/formly/fromly.d.ts +2 -2
- package/lib/models.d.ts +4 -3
- package/lib/models.js.map +1 -1
- package/lib/orm.d.ts +7 -3
- package/lib/orm.js +11 -2
- package/lib/orm.js.map +1 -1
- package/lib/ui/directives/index.js +2 -2
- package/lib/ui/directives/taon-long-press.directive.d.ts +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +2 -3
- package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
- package/lib/ui/taon-notifications/taon-notifications.models.js +2 -2
- package/lib/ui/taon-progress-bar/index.js +2 -2
- package/lib/ui/taon-session-passcode/index.js +2 -2
- package/lib/ui/taon-table/index.js +2 -2
- package/lib/ui/taon-table/taon-table.component.d.ts +1 -1
- package/lib/ui/taon.models.d.ts +2 -2
- package/package.json +7 -7
- package/tmp-environment.json +30 -29
- package/websql/esm2022/lib/create-context.mjs +8 -3
- package/websql/esm2022/lib/endpoint-context.mjs +24 -15
- package/websql/esm2022/lib/models.mjs +1 -1
- package/websql/esm2022/lib/orm.mjs +7 -2
- package/websql/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +24 -26
- package/websql/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin.service.mjs +4 -9
- package/websql/fesm2022/taon.mjs +62 -48
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/lib/endpoint-context.d.ts +1 -0
- package/websql/lib/models.d.ts +1 -0
- package/websql/lib/orm.d.ts +5 -1
- package/websql/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +1 -2
- package/websql/lib/ui/taon-admin-mode-configuration/taon-admin.service.d.ts +0 -3
package/client/lib/models.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare namespace Models {
|
|
|
108
108
|
subscribers?: SUBSCRIBERS;
|
|
109
109
|
migrations?: MIGRATIONS;
|
|
110
110
|
session?: ISession;
|
|
111
|
+
skipWritingServerRoutes?: boolean;
|
|
111
112
|
productionMode?: boolean;
|
|
112
113
|
abstract?: boolean;
|
|
113
114
|
logs?: boolean | ConnectionOptionsLogs;
|
package/client/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { Subject } from 'rxjs';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TaonAdminModeConfigurationComponent implements OnInit {
|
|
9
9
|
private breakpointsService;
|
|
10
|
-
admin: TaonAdminService;
|
|
11
10
|
$destroy: Subject<unknown>;
|
|
12
11
|
readonly cdr: ChangeDetectorRef;
|
|
13
12
|
readonly taonAdminService: TaonAdminService;
|
|
@@ -32,7 +31,7 @@ export declare class TaonAdminModeConfigurationComponent implements OnInit {
|
|
|
32
31
|
taonAdminModeConfigurationData: any;
|
|
33
32
|
get opened(): boolean;
|
|
34
33
|
set opened(v: boolean);
|
|
35
|
-
constructor(breakpointsService: BreakpointsService
|
|
34
|
+
constructor(breakpointsService: BreakpointsService);
|
|
36
35
|
ngOnInit(): Promise<void>;
|
|
37
36
|
ngAfterViewInit(): void;
|
|
38
37
|
ngOnDestroy(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class TaonAdminService {
|
|
4
3
|
private static _instance;
|
|
5
4
|
static get Instance(): TaonAdminService;
|
|
@@ -20,6 +19,4 @@ export declare class TaonAdminService {
|
|
|
20
19
|
hide(): void;
|
|
21
20
|
show(): void;
|
|
22
21
|
logout(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaonAdminService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaonAdminService>;
|
|
25
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseInjector } from './base-injector';
|
|
2
|
-
import { MigrationInterface, QueryRunner } from 'taon-typeorm
|
|
2
|
+
import { MigrationInterface, QueryRunner } from 'taon-typeorm';
|
|
3
3
|
export declare class BaseMigration extends BaseInjector implements MigrationInterface {
|
|
4
4
|
/**
|
|
5
5
|
* by default is READY to run
|
|
@@ -8,4 +8,4 @@ export declare class BaseMigration extends BaseInjector implements MigrationInte
|
|
|
8
8
|
getDescription(): string;
|
|
9
9
|
up(queryRunner: QueryRunner): Promise<any>;
|
|
10
10
|
down(queryRunner: QueryRunner): Promise<any>;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { FindManyOptions, FindOneOptions, FindOptionsWhere, InsertResult, Repository, SaveOptions, UpdateResult } from 'taon-typeorm
|
|
1
|
+
import type { FindManyOptions, FindOneOptions, FindOptionsWhere, InsertResult, Repository, SaveOptions, UpdateResult } from 'taon-typeorm';
|
|
2
2
|
import type { QueryDeepPartialEntity } from 'taon-typeorm/lib/typeorm/query-builder/QueryPartialEntity';
|
|
3
3
|
import type { UpsertOptions } from 'taon-typeorm/lib/typeorm/repository/UpsertOptions';
|
|
4
|
-
import type { DataSource as DataSourceType } from 'taon-typeorm
|
|
5
|
-
import { MySqlQuerySource } from 'taon-type-sql
|
|
4
|
+
import type { DataSource as DataSourceType } from 'taon-typeorm';
|
|
5
|
+
import { MySqlQuerySource } from 'taon-type-sql';
|
|
6
6
|
import { BaseInjector } from './base-injector';
|
|
7
7
|
export declare abstract class BaseRepository<Entity extends {
|
|
8
8
|
id?: any;
|
|
@@ -251,4 +251,4 @@ export declare abstract class BaseRepository<Entity extends {
|
|
|
251
251
|
totalCount: number;
|
|
252
252
|
}>;
|
|
253
253
|
getBy(id: number | string): Promise<Entity>;
|
|
254
|
-
}
|
|
254
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntitySubscriberInterface, RecoverEvent, SoftRemoveEvent, InsertEvent, TransactionStartEvent, TransactionCommitEvent, TransactionRollbackEvent, RemoveEvent, UpdateEvent } from 'taon-typeorm
|
|
1
|
+
import { EntitySubscriberInterface, RecoverEvent, SoftRemoveEvent, InsertEvent, TransactionStartEvent, TransactionCommitEvent, TransactionRollbackEvent, RemoveEvent, UpdateEvent } from 'taon-typeorm';
|
|
2
2
|
import { BaseInjector } from './base-injector';
|
|
3
3
|
export declare abstract class BaseSubscriberForEntity<Entity = any> extends BaseInjector implements EntitySubscriberInterface {
|
|
4
4
|
abstract listenTo(): new (...args: any[]) => Entity;
|
|
@@ -78,4 +78,4 @@ export declare abstract class BaseSubscriberForEntity<Entity = any> extends Base
|
|
|
78
78
|
* Called after transaction rollback.
|
|
79
79
|
*/
|
|
80
80
|
afterTransactionRollback(event: TransactionRollbackEvent): void;
|
|
81
|
-
}
|
|
81
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EndpointContext } from './endpoint-context';
|
|
2
|
-
import { Table } from 'taon-typeorm
|
|
2
|
+
import { Table } from 'taon-typeorm';
|
|
3
3
|
export type MigrationStatus = 'completed' | 'pending';
|
|
4
4
|
export declare class ContextDbMigrations {
|
|
5
5
|
private ctx;
|
|
@@ -14,4 +14,4 @@ export declare class ContextDbMigrations {
|
|
|
14
14
|
clearMigrationTable(): Promise<void>;
|
|
15
15
|
markAllMigrationsAsApplied(): Promise<void>;
|
|
16
16
|
runAllNotCompletedMigrations(): Promise<void>;
|
|
17
|
-
}
|
|
17
|
+
}
|
package/lib/create-context.js
CHANGED
|
@@ -158,9 +158,15 @@ var createContext = function (configFn) {
|
|
|
158
158
|
_a.sent();
|
|
159
159
|
keepWebsqlDbDataAfterReload = false;
|
|
160
160
|
if (!(!tnp_core_1.Helpers.isNode && keepWebsqlDbDataAfterReload)) return [3 /*break*/, 7];
|
|
161
|
-
tnp_core_1.
|
|
161
|
+
!tnp_core_1.UtilsOs.isRunningInCliMode() &&
|
|
162
|
+
tnp_core_1.Helpers.info("[taon] Keeping websql data after reload " +
|
|
163
|
+
"(context=".concat(endpointContextRef.contextName, ")."));
|
|
162
164
|
return [3 /*break*/, 9];
|
|
163
|
-
case 7:
|
|
165
|
+
case 7:
|
|
166
|
+
!tnp_core_1.UtilsOs.isRunningInCliMode() &&
|
|
167
|
+
tnp_core_1.Helpers.info("[taon] Dropping all tables and data " +
|
|
168
|
+
"(context=".concat(endpointContextRef.contextName, ")."));
|
|
169
|
+
return [4 /*yield*/, endpointContextRef.reinitControllers()];
|
|
164
170
|
case 8:
|
|
165
171
|
_a.sent();
|
|
166
172
|
_a.label = 9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-context.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,
|
|
1
|
+
{"version":3,"file":"create-context.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,qCAA4C;AAC5C,uDAAqD;AAGrD,6BAA4B;AAC5B,KAAK;AACL,KAAK;AAGL,uCAAuC;AACvC,qCAAqC;AACrC,YAAY;AAEL,IAAM,aAAa,GAAG,UAW3B,QAUC;IAED,IAAI,MAAM,GAAG,QAAQ,CAAC,SAAG,CAAC,CAAC;IAE3B,IAAM,kBAAkB,GAAG,IAAI,kCAAe,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAEjE,IAAM,GAAG,GAAG;QACV,eAAe;QACf,KAAK,EAAE;YACL,qBAAqB;YACrB,mBAAmB;YACnB,4BAA4B;YAC5B,KAAK;YACL,4CAA4C;YAC5C,mDAAmD;YACnD,2CAA2C;YAC3C,2CAA2C;YAC3C,oEAAoE;YACpE,0DAA0D;YAC1D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
|
@@ -16,4 +16,4 @@ export declare class TaonEntityOptions<T = any> extends Models.DecoratorAbstract
|
|
|
16
16
|
defaultModelMappingDeep?: {
|
|
17
17
|
[lodashPathes: string]: string | [string];
|
|
18
18
|
};
|
|
19
|
-
}
|
|
19
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as methods from './http-methods-decorators';
|
|
2
2
|
import * as params from './http-params-decorators';
|
|
3
|
-
import { Models } from 'ng2-rest
|
|
3
|
+
import { Models } from 'ng2-rest';
|
|
4
4
|
export declare namespace Http {
|
|
5
5
|
export import GET = methods.GET;
|
|
6
6
|
export import POST = methods.POST;
|
|
@@ -16,4 +16,4 @@ export declare namespace Http {
|
|
|
16
16
|
export import Cookie = params.Cookie;
|
|
17
17
|
export import Header = params.Header;
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CoreModels } from 'tnp-core
|
|
2
|
-
import { Models as ModelsNg2Rest } from 'ng2-rest
|
|
1
|
+
import { CoreModels } from 'tnp-core';
|
|
2
|
+
import { Models as ModelsNg2Rest } from 'ng2-rest';
|
|
3
3
|
export interface TaonHttpDecoratorOptions {
|
|
4
4
|
/**
|
|
5
5
|
* ! BE CAREFULL
|
|
@@ -20,4 +20,4 @@ export declare function HEAD(pathOrOptions?: string | TaonHttpDecoratorOptions,
|
|
|
20
20
|
export declare function POST(pathOrOptions?: string | TaonHttpDecoratorOptions, pathIsGlobal?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
21
21
|
export declare function PUT(pathOrOptions?: string | TaonHttpDecoratorOptions, pathIsGlobal?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
22
22
|
export declare function PATCH(pathOrOptions?: string | TaonHttpDecoratorOptions, pathIsGlobal?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
23
|
-
export declare function DELETE(pathOrOptions?: string | TaonHttpDecoratorOptions, pathIsGlobal?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
23
|
+
export declare function DELETE(pathOrOptions?: string | TaonHttpDecoratorOptions, pathIsGlobal?: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -2,7 +2,7 @@ import { URL } from 'url';
|
|
|
2
2
|
import { Models } from './models';
|
|
3
3
|
import type { Application } from 'express';
|
|
4
4
|
import type { NgZone } from '@angular/core';
|
|
5
|
-
import { DataSource } from 'taon-typeorm
|
|
5
|
+
import { DataSource } from 'taon-typeorm';
|
|
6
6
|
import type { Server } from 'http';
|
|
7
7
|
import type { BaseClass } from './base-classes/base-class';
|
|
8
8
|
import { ContextDbMigrations } from './context-db-migrations';
|
|
@@ -30,6 +30,7 @@ export declare class EndpointContext {
|
|
|
30
30
|
routePath: string;
|
|
31
31
|
method: Models.Http.Rest.HttpMethod;
|
|
32
32
|
}[];
|
|
33
|
+
readonly skipWritingServerRoutes: boolean;
|
|
33
34
|
private injectableTypesfromContexts;
|
|
34
35
|
private allTypesfromContexts;
|
|
35
36
|
expressApp: Application;
|