@tego/server 1.3.38 → 1.3.40
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/lib/index.d.ts +5 -5
- package/lib/index.js +4 -0
- package/package.json +12 -12
package/lib/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ export type { Context, Next } from '@tachybase/actions';
|
|
|
3
3
|
export { Cache, CacheManager } from '@tachybase/cache';
|
|
4
4
|
export type { BloomFilter } from '@tachybase/cache';
|
|
5
5
|
export { ArrayFieldRepository, BaseError, BaseValueParser, BelongsToField, BelongsToManyField, BelongsToManyRepository, BelongsToRepository, Collection, CollectionGroupManager, DataTypes, Database, Field, FilterParser, HasManyField, HasManyRepository, HasOneField, InheritedCollection, MagicAttributeModel, MockDatabase, Model, MultipleRelationRepository, Op, PasswordField, RelationField, Repository, SQLModel, SqlCollection, Transaction, UniqueConstraintError, ValidationError, ValidationErrorItem, ViewCollection, ViewFieldInference, defineCollection, extendCollection, filterMatch, fn, literal, md5, mockDatabase, modelAssociationByKey, snakeCase, traverseJSON, where, } from '@tachybase/database';
|
|
6
|
-
export type { BaseColumnFieldOptions, BaseFieldOptions, BelongsToGetAssociationMixin, CollectionGroup, CollectionOptions, CountOptions, CreateOptions, DestroyOptions, DumpRulesGroupType, FieldContext, Filter, FindOneOptions, FindOptions, HasManyCountAssociationsMixin, HasManyCreateAssociationMixin, HasManyGetAssociationsMixin, IDatabaseOptions, MigrationContext, ModelStatic, StringFieldOptions, SyncOptions, Transactionable, UpdateOptions, } from '@tachybase/database';
|
|
7
|
-
export { AppSupervisor, Application, Gateway, InjectedPlugin, Migration, NoticeType, Plugin, PluginManager, WSServer, } from '@tachybase/server';
|
|
8
|
-
export type { AppLoggerOptions, ApplicationOptions, Constructor, InstallOptions, PluginOptions, } from '@tachybase/server';
|
|
6
|
+
export type { BaseColumnFieldOptions, BaseFieldOptions, BelongsToGetAssociationMixin, CollectionDef, CollectionGroup, CollectionOptions, CountOptions, CreateOptions, DestroyOptions, DumpRulesGroupType, FieldContext, Filter, FindOneOptions, FindOptions, HasManyCountAssociationsMixin, HasManyCreateAssociationMixin, HasManyGetAssociationsMixin, IDatabaseOptions, MigrationContext, ModelStatic, StringFieldOptions, SyncOptions, Transactionable, UpdateOptions, } from '@tachybase/database';
|
|
7
|
+
export { AppSupervisor, Application, Gateway, InjectedPlugin, Migration, NoticeType, Plugin, PluginManager, WSServer, AesEncryptor, } from '@tachybase/server';
|
|
8
|
+
export type { AppLoggerOptions, DefaultContext, DefaultState, ApplicationOptions, Constructor, InstallOptions, PluginOptions, } from '@tachybase/server';
|
|
9
9
|
export { AuthError, AuthErrorCode, AuthManager, BaseAuth } from '@tachybase/auth';
|
|
10
10
|
export type { AuthConfig, Authenticator, ITokenBlacklistService, ITokenControlService, NumericTokenPolicyConfig, Storer, TokenInfo, TokenPolicyConfig, } from '@tachybase/auth';
|
|
11
11
|
export { Action, App, AsyncEmitter, CollectionsGraph, Container, Controller, Db, Inject, InjectLog, Registry, Service, applyMixins, assign, currentProcessNum, dayjs, fsExists, getDateVars, getDefaultFormat, isMain, koaMulter, lodash, merge, parse, parseFilter, requireModule, str2moment, toFixedByStep, tval, uid, } from '@tachybase/utils';
|
|
@@ -15,7 +15,7 @@ export { appendArrayColumn, evaluate, evaluators } from '@tachybase/evaluators';
|
|
|
15
15
|
export type { Evaluator } from '@tachybase/evaluators';
|
|
16
16
|
export { Resourcer } from '@tachybase/resourcer';
|
|
17
17
|
export type { ActionParams, HandlerType, ResourceOptions } from '@tachybase/resourcer';
|
|
18
|
-
export { CollectionManager, DataSource, SequelizeCollectionManager, SequelizeDataSource, joinCollectionName, parseCollectionName, } from '@tachybase/data-source';
|
|
19
|
-
export type { ICollection, IField, IRepository } from '@tachybase/data-source';
|
|
18
|
+
export { DataSourceCollection, CollectionManager, DataSource, SequelizeCollectionManager, SequelizeDataSource, joinCollectionName, parseCollectionName, } from '@tachybase/data-source';
|
|
19
|
+
export type { DataSourceCollectionOptions, ICollection, IField, IRepository } from '@tachybase/data-source';
|
|
20
20
|
export { ACL, ACLResource, type ACLResourceActions, ACLRole, NoPermissionError } from '@tachybase/acl';
|
|
21
21
|
export type { AvailableActionOptions, AvailableStrategyOptions, RoleActionParams } from '@tachybase/acl';
|
package/lib/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __export(index_exports, {
|
|
|
31
31
|
ACLResource: () => import_acl.ACLResource,
|
|
32
32
|
ACLRole: () => import_acl.ACLRole,
|
|
33
33
|
Action: () => import_utils.Action,
|
|
34
|
+
AesEncryptor: () => import_server.AesEncryptor,
|
|
34
35
|
App: () => import_utils.App,
|
|
35
36
|
AppSupervisor: () => import_server.AppSupervisor,
|
|
36
37
|
Application: () => import_server.Application,
|
|
@@ -57,6 +58,7 @@ __export(index_exports, {
|
|
|
57
58
|
DEFAULT_PAGE: () => import_actions.DEFAULT_PAGE,
|
|
58
59
|
DEFAULT_PER_PAGE: () => import_actions.DEFAULT_PER_PAGE,
|
|
59
60
|
DataSource: () => import_data_source.DataSource,
|
|
61
|
+
DataSourceCollection: () => import_data_source.DataSourceCollection,
|
|
60
62
|
DataTypes: () => import_database.DataTypes,
|
|
61
63
|
Database: () => import_database.Database,
|
|
62
64
|
Db: () => import_utils.Db,
|
|
@@ -155,6 +157,7 @@ var import_acl = require("@tachybase/acl");
|
|
|
155
157
|
ACLResource,
|
|
156
158
|
ACLRole,
|
|
157
159
|
Action,
|
|
160
|
+
AesEncryptor,
|
|
158
161
|
App,
|
|
159
162
|
AppSupervisor,
|
|
160
163
|
Application,
|
|
@@ -181,6 +184,7 @@ var import_acl = require("@tachybase/acl");
|
|
|
181
184
|
DEFAULT_PAGE,
|
|
182
185
|
DEFAULT_PER_PAGE,
|
|
183
186
|
DataSource,
|
|
187
|
+
DataSourceCollection,
|
|
184
188
|
DataTypes,
|
|
185
189
|
Database,
|
|
186
190
|
Db,
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tego/server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.40",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@tachybase/acl": "1.3.
|
|
10
|
-
"@tachybase/
|
|
11
|
-
"@tachybase/
|
|
12
|
-
"@tachybase/
|
|
13
|
-
"@tachybase/
|
|
14
|
-
"@tachybase/
|
|
15
|
-
"@tachybase/
|
|
16
|
-
"@tachybase/logger": "1.3.
|
|
17
|
-
"@tachybase/
|
|
18
|
-
"@tachybase/utils": "1.3.
|
|
19
|
-
"@tachybase/server": "1.3.
|
|
9
|
+
"@tachybase/acl": "1.3.40",
|
|
10
|
+
"@tachybase/actions": "1.3.40",
|
|
11
|
+
"@tachybase/cache": "1.3.40",
|
|
12
|
+
"@tachybase/data-source": "1.3.40",
|
|
13
|
+
"@tachybase/evaluators": "1.3.40",
|
|
14
|
+
"@tachybase/auth": "1.3.40",
|
|
15
|
+
"@tachybase/database": "1.3.40",
|
|
16
|
+
"@tachybase/logger": "1.3.40",
|
|
17
|
+
"@tachybase/resourcer": "1.3.40",
|
|
18
|
+
"@tachybase/utils": "1.3.40",
|
|
19
|
+
"@tachybase/server": "1.3.40"
|
|
20
20
|
}
|
|
21
21
|
}
|