@tego/server 1.3.42 → 1.3.43
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 +4 -2
- package/lib/index.js +9 -12
- package/package.json +13 -12
package/lib/index.d.ts
CHANGED
|
@@ -5,10 +5,12 @@ 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
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
7
|
export { AppSupervisor, Application, Gateway, InjectedPlugin, Migration, NoticeType, Plugin, PluginManager, WSServer, AesEncryptor, } from '@tachybase/server';
|
|
8
|
-
export type { AppLoggerOptions, DefaultContext, DefaultState, ApplicationOptions,
|
|
8
|
+
export type { AppLoggerOptions, DefaultContext, DefaultState, ApplicationOptions, 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
|
-
export { Action, App,
|
|
11
|
+
export { Action, App, Container, Controller, Db, Inject, InjectLog, Service } from '@tachybase/di';
|
|
12
|
+
export { AsyncEmitter, CollectionsGraph, Registry, applyMixins, assign, currentProcessNum, fsExists, getDateVars, getDefaultFormat, isMain, koaMulter, merge, parse, parseFilter, requireModule, str2moment, toFixedByStep, tval, uid, } from '@tachybase/utils';
|
|
13
|
+
export type { Constructable, Constructable as Constructor } from '@tachybase/utils';
|
|
12
14
|
export { Logger, getLoggerFilePath, getLoggerTransport } from '@tachybase/logger';
|
|
13
15
|
export type { LoggerOptions, SystemLogger } from '@tachybase/logger';
|
|
14
16
|
export { appendArrayColumn, evaluate, evaluators } from '@tachybase/evaluators';
|
package/lib/index.js
CHANGED
|
@@ -30,9 +30,9 @@ __export(index_exports, {
|
|
|
30
30
|
ACL: () => import_acl.ACL,
|
|
31
31
|
ACLResource: () => import_acl.ACLResource,
|
|
32
32
|
ACLRole: () => import_acl.ACLRole,
|
|
33
|
-
Action: () =>
|
|
33
|
+
Action: () => import_di.Action,
|
|
34
34
|
AesEncryptor: () => import_server.AesEncryptor,
|
|
35
|
-
App: () =>
|
|
35
|
+
App: () => import_di.App,
|
|
36
36
|
AppSupervisor: () => import_server.AppSupervisor,
|
|
37
37
|
Application: () => import_server.Application,
|
|
38
38
|
ArrayFieldRepository: () => import_database.ArrayFieldRepository,
|
|
@@ -53,15 +53,15 @@ __export(index_exports, {
|
|
|
53
53
|
CollectionGroupManager: () => import_database.CollectionGroupManager,
|
|
54
54
|
CollectionManager: () => import_data_source.CollectionManager,
|
|
55
55
|
CollectionsGraph: () => import_utils.CollectionsGraph,
|
|
56
|
-
Container: () =>
|
|
57
|
-
Controller: () =>
|
|
56
|
+
Container: () => import_di.Container,
|
|
57
|
+
Controller: () => import_di.Controller,
|
|
58
58
|
DEFAULT_PAGE: () => import_actions.DEFAULT_PAGE,
|
|
59
59
|
DEFAULT_PER_PAGE: () => import_actions.DEFAULT_PER_PAGE,
|
|
60
60
|
DataSource: () => import_data_source.DataSource,
|
|
61
61
|
DataSourceCollection: () => import_data_source.DataSourceCollection,
|
|
62
62
|
DataTypes: () => import_database.DataTypes,
|
|
63
63
|
Database: () => import_database.Database,
|
|
64
|
-
Db: () =>
|
|
64
|
+
Db: () => import_di.Db,
|
|
65
65
|
Field: () => import_database.Field,
|
|
66
66
|
FilterParser: () => import_database.FilterParser,
|
|
67
67
|
Gateway: () => import_server.Gateway,
|
|
@@ -69,8 +69,8 @@ __export(index_exports, {
|
|
|
69
69
|
HasManyRepository: () => import_database.HasManyRepository,
|
|
70
70
|
HasOneField: () => import_database.HasOneField,
|
|
71
71
|
InheritedCollection: () => import_database.InheritedCollection,
|
|
72
|
-
Inject: () =>
|
|
73
|
-
InjectLog: () =>
|
|
72
|
+
Inject: () => import_di.Inject,
|
|
73
|
+
InjectLog: () => import_di.InjectLog,
|
|
74
74
|
InjectedPlugin: () => import_server.InjectedPlugin,
|
|
75
75
|
Logger: () => import_logger.Logger,
|
|
76
76
|
MagicAttributeModel: () => import_database.MagicAttributeModel,
|
|
@@ -91,7 +91,7 @@ __export(index_exports, {
|
|
|
91
91
|
SQLModel: () => import_database.SQLModel,
|
|
92
92
|
SequelizeCollectionManager: () => import_data_source.SequelizeCollectionManager,
|
|
93
93
|
SequelizeDataSource: () => import_data_source.SequelizeDataSource,
|
|
94
|
-
Service: () =>
|
|
94
|
+
Service: () => import_di.Service,
|
|
95
95
|
SqlCollection: () => import_database.SqlCollection,
|
|
96
96
|
Transaction: () => import_database.Transaction,
|
|
97
97
|
UniqueConstraintError: () => import_database.UniqueConstraintError,
|
|
@@ -105,7 +105,6 @@ __export(index_exports, {
|
|
|
105
105
|
applyMixins: () => import_utils.applyMixins,
|
|
106
106
|
assign: () => import_utils.assign,
|
|
107
107
|
currentProcessNum: () => import_utils.currentProcessNum,
|
|
108
|
-
dayjs: () => import_utils.dayjs,
|
|
109
108
|
defineCollection: () => import_database.defineCollection,
|
|
110
109
|
evaluate: () => import_evaluators.evaluate,
|
|
111
110
|
evaluators: () => import_evaluators.evaluators,
|
|
@@ -121,7 +120,6 @@ __export(index_exports, {
|
|
|
121
120
|
joinCollectionName: () => import_data_source.joinCollectionName,
|
|
122
121
|
koaMulter: () => import_utils.koaMulter,
|
|
123
122
|
literal: () => import_database.literal,
|
|
124
|
-
lodash: () => import_utils.lodash,
|
|
125
123
|
md5: () => import_database.md5,
|
|
126
124
|
merge: () => import_utils.merge,
|
|
127
125
|
mockDatabase: () => import_database.mockDatabase,
|
|
@@ -145,6 +143,7 @@ var import_cache = require("@tachybase/cache");
|
|
|
145
143
|
var import_database = require("@tachybase/database");
|
|
146
144
|
var import_server = require("@tachybase/server");
|
|
147
145
|
var import_auth = require("@tachybase/auth");
|
|
146
|
+
var import_di = require("@tachybase/di");
|
|
148
147
|
var import_utils = require("@tachybase/utils");
|
|
149
148
|
var import_logger = require("@tachybase/logger");
|
|
150
149
|
var import_evaluators = require("@tachybase/evaluators");
|
|
@@ -231,7 +230,6 @@ var import_acl = require("@tachybase/acl");
|
|
|
231
230
|
applyMixins,
|
|
232
231
|
assign,
|
|
233
232
|
currentProcessNum,
|
|
234
|
-
dayjs,
|
|
235
233
|
defineCollection,
|
|
236
234
|
evaluate,
|
|
237
235
|
evaluators,
|
|
@@ -247,7 +245,6 @@ var import_acl = require("@tachybase/acl");
|
|
|
247
245
|
joinCollectionName,
|
|
248
246
|
koaMulter,
|
|
249
247
|
literal,
|
|
250
|
-
lodash,
|
|
251
248
|
md5,
|
|
252
249
|
merge,
|
|
253
250
|
mockDatabase,
|
package/package.json
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tego/server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.43",
|
|
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/actions": "1.3.
|
|
11
|
-
"@tachybase/
|
|
12
|
-
"@tachybase/
|
|
13
|
-
"@tachybase/
|
|
14
|
-
"@tachybase/
|
|
15
|
-
"@tachybase/
|
|
16
|
-
"@tachybase/
|
|
17
|
-
"@tachybase/
|
|
18
|
-
"@tachybase/
|
|
19
|
-
"@tachybase/
|
|
9
|
+
"@tachybase/acl": "1.3.43",
|
|
10
|
+
"@tachybase/actions": "1.3.43",
|
|
11
|
+
"@tachybase/auth": "1.3.43",
|
|
12
|
+
"@tachybase/data-source": "1.3.43",
|
|
13
|
+
"@tachybase/cache": "1.3.43",
|
|
14
|
+
"@tachybase/database": "1.3.43",
|
|
15
|
+
"@tachybase/evaluators": "1.3.43",
|
|
16
|
+
"@tachybase/di": "1.3.43",
|
|
17
|
+
"@tachybase/resourcer": "1.3.43",
|
|
18
|
+
"@tachybase/logger": "1.3.43",
|
|
19
|
+
"@tachybase/server": "1.3.43",
|
|
20
|
+
"@tachybase/utils": "1.3.43"
|
|
20
21
|
}
|
|
21
22
|
}
|