@tego/server 1.3.42 → 1.3.44
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 -3
- package/lib/index.js +20 -23
- package/package.json +13 -12
package/lib/index.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ 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
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 '@
|
|
8
|
-
export type { AppLoggerOptions, DefaultContext, DefaultState, ApplicationOptions,
|
|
7
|
+
export { AppSupervisor, Application, Gateway, InjectedPlugin, Migration, NoticeType, Plugin, PluginManager, WSServer, AesEncryptor, } from '@tego/core';
|
|
8
|
+
export type { AppLoggerOptions, DefaultContext, DefaultState, ApplicationOptions, InstallOptions, PluginOptions, } from '@tego/core';
|
|
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,11 +30,11 @@ __export(index_exports, {
|
|
|
30
30
|
ACL: () => import_acl.ACL,
|
|
31
31
|
ACLResource: () => import_acl.ACLResource,
|
|
32
32
|
ACLRole: () => import_acl.ACLRole,
|
|
33
|
-
Action: () =>
|
|
34
|
-
AesEncryptor: () =>
|
|
35
|
-
App: () =>
|
|
36
|
-
AppSupervisor: () =>
|
|
37
|
-
Application: () =>
|
|
33
|
+
Action: () => import_di.Action,
|
|
34
|
+
AesEncryptor: () => import_core.AesEncryptor,
|
|
35
|
+
App: () => import_di.App,
|
|
36
|
+
AppSupervisor: () => import_core.AppSupervisor,
|
|
37
|
+
Application: () => import_core.Application,
|
|
38
38
|
ArrayFieldRepository: () => import_database.ArrayFieldRepository,
|
|
39
39
|
AsyncEmitter: () => import_utils.AsyncEmitter,
|
|
40
40
|
AuthError: () => import_auth.AuthError,
|
|
@@ -53,37 +53,37 @@ __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
|
-
Gateway: () =>
|
|
67
|
+
Gateway: () => import_core.Gateway,
|
|
68
68
|
HasManyField: () => import_database.HasManyField,
|
|
69
69
|
HasManyRepository: () => import_database.HasManyRepository,
|
|
70
70
|
HasOneField: () => import_database.HasOneField,
|
|
71
71
|
InheritedCollection: () => import_database.InheritedCollection,
|
|
72
|
-
Inject: () =>
|
|
73
|
-
InjectLog: () =>
|
|
74
|
-
InjectedPlugin: () =>
|
|
72
|
+
Inject: () => import_di.Inject,
|
|
73
|
+
InjectLog: () => import_di.InjectLog,
|
|
74
|
+
InjectedPlugin: () => import_core.InjectedPlugin,
|
|
75
75
|
Logger: () => import_logger.Logger,
|
|
76
76
|
MagicAttributeModel: () => import_database.MagicAttributeModel,
|
|
77
|
-
Migration: () =>
|
|
77
|
+
Migration: () => import_core.Migration,
|
|
78
78
|
MockDatabase: () => import_database.MockDatabase,
|
|
79
79
|
Model: () => import_database.Model,
|
|
80
80
|
MultipleRelationRepository: () => import_database.MultipleRelationRepository,
|
|
81
81
|
NoPermissionError: () => import_acl.NoPermissionError,
|
|
82
|
-
NoticeType: () =>
|
|
82
|
+
NoticeType: () => import_core.NoticeType,
|
|
83
83
|
Op: () => import_database.Op,
|
|
84
84
|
PasswordField: () => import_database.PasswordField,
|
|
85
|
-
Plugin: () =>
|
|
86
|
-
PluginManager: () =>
|
|
85
|
+
Plugin: () => import_core.Plugin,
|
|
86
|
+
PluginManager: () => import_core.PluginManager,
|
|
87
87
|
Registry: () => import_utils.Registry,
|
|
88
88
|
RelationField: () => import_database.RelationField,
|
|
89
89
|
Repository: () => import_database.Repository,
|
|
@@ -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,
|
|
@@ -99,13 +99,12 @@ __export(index_exports, {
|
|
|
99
99
|
ValidationErrorItem: () => import_database.ValidationErrorItem,
|
|
100
100
|
ViewCollection: () => import_database.ViewCollection,
|
|
101
101
|
ViewFieldInference: () => import_database.ViewFieldInference,
|
|
102
|
-
WSServer: () =>
|
|
102
|
+
WSServer: () => import_core.WSServer,
|
|
103
103
|
actions: () => import_actions.default,
|
|
104
104
|
appendArrayColumn: () => import_evaluators.appendArrayColumn,
|
|
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,
|
|
@@ -143,8 +141,9 @@ module.exports = __toCommonJS(index_exports);
|
|
|
143
141
|
var import_actions = __toESM(require("@tachybase/actions"));
|
|
144
142
|
var import_cache = require("@tachybase/cache");
|
|
145
143
|
var import_database = require("@tachybase/database");
|
|
146
|
-
var
|
|
144
|
+
var import_core = require("@tego/core");
|
|
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.44",
|
|
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/
|
|
10
|
-
"@tachybase/
|
|
11
|
-
"@tachybase/
|
|
12
|
-
"@tachybase/
|
|
13
|
-
"@tachybase/database": "1.3.
|
|
14
|
-
"@tachybase/
|
|
15
|
-
"@tachybase/
|
|
16
|
-
"@tachybase/
|
|
17
|
-
"@tachybase/evaluators": "1.3.
|
|
18
|
-
"@tachybase/
|
|
19
|
-
"@
|
|
9
|
+
"@tachybase/actions": "1.3.44",
|
|
10
|
+
"@tachybase/auth": "1.3.44",
|
|
11
|
+
"@tachybase/cache": "1.3.44",
|
|
12
|
+
"@tachybase/acl": "1.3.44",
|
|
13
|
+
"@tachybase/database": "1.3.44",
|
|
14
|
+
"@tachybase/data-source": "1.3.44",
|
|
15
|
+
"@tachybase/di": "1.3.44",
|
|
16
|
+
"@tachybase/logger": "1.3.44",
|
|
17
|
+
"@tachybase/evaluators": "1.3.44",
|
|
18
|
+
"@tachybase/resourcer": "1.3.44",
|
|
19
|
+
"@tego/core": "1.3.44",
|
|
20
|
+
"@tachybase/utils": "1.3.44"
|
|
20
21
|
}
|
|
21
22
|
}
|