@qimen-lab/core 0.1.2 → 0.1.4
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/dist/async/package.json +1 -1
- package/dist/cache/BaseCacheProvider.js +1 -1
- package/dist/cache/CacheFactory.js +1 -1
- package/dist/cache/package.json +3 -3
- package/dist/composable/ComposableBase.d.ts +1 -1
- package/dist/composable/ComposableBase.esm.js +1 -1
- package/dist/composable/ComposableBase.js +2 -2
- package/dist/composable/package.json +3 -3
- package/dist/context/RequestContextBuilder.js +1 -1
- package/dist/context/package.json +2 -2
- package/dist/crypto/package.json +1 -1
- package/dist/data-processor/DataProcessorRegistrar.d.ts +1 -1
- package/dist/data-processor/DataProcessorRegistrar.esm.js +1 -1
- package/dist/data-processor/DataProcessorRegistrar.js +1 -1
- package/dist/data-processor/executor.d.ts +3 -3
- package/dist/data-processor/executor.esm.js +1 -1
- package/dist/data-processor/executor.js +1 -1
- package/dist/data-processor/package.json +4 -4
- package/dist/data-processor-abp/index.js +3 -3
- package/dist/data-processor-abp/package.json +3 -3
- package/dist/data-processor-abp/post.d.ts +1 -1
- package/dist/data-processor-abp/post.esm.js +1 -1
- package/dist/data-processor-abp/post.js +1 -1
- package/dist/data-processor-abp/pre.d.ts +1 -1
- package/dist/data-processor-abp/pre.esm.js +1 -1
- package/dist/data-processor-abp/pre.js +1 -1
- package/dist/data-processor-abp/register.esm.js +1 -1
- package/dist/data-processor-abp/register.js +1 -1
- package/dist/data-processor-spring/index.js +3 -3
- package/dist/data-processor-spring/package.json +3 -3
- package/dist/data-processor-spring/post.d.ts +1 -1
- package/dist/data-processor-spring/post.esm.js +1 -1
- package/dist/data-processor-spring/post.js +1 -1
- package/dist/data-processor-spring/pre.d.ts +1 -1
- package/dist/data-processor-spring/pre.esm.js +1 -1
- package/dist/data-processor-spring/pre.js +1 -1
- package/dist/data-processor-spring/register.esm.js +1 -1
- package/dist/data-processor-spring/register.js +1 -1
- package/dist/entity/abilities/SchemaAbility.d.ts +1 -1
- package/dist/entity/abilities/SchemaAbility.js +1 -1
- package/dist/entity/abilities/core/CacheAbility.d.ts +1 -1
- package/dist/entity/abilities/core/CacheAbility.js +1 -1
- package/dist/entity/abilities/core/DirtyAbility.d.ts +1 -1
- package/dist/entity/abilities/core/SchemaProxyAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalDeleteAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalMutationAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalStateAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalStateAbility.js +2 -2
- package/dist/entity/abilities/local/LocalGetAbility.d.ts +1 -1
- package/dist/entity/abilities/local/LocalListAbility.d.ts +1 -1
- package/dist/entity/abilities/mutation/LocalMutationAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteGetAllAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteListAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteQueryAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteQueryAbility.js +1 -1
- package/dist/entity/abilities/remote/FlatRemoteStateAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteCreateAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteCreateAbility.js +1 -1
- package/dist/entity/abilities/remote/RemoteDeleteAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteDeleteAbility.js +1 -1
- package/dist/entity/abilities/remote/RemoteGetAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteToggleAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteUpdateAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteUpdateAbility.js +1 -1
- package/dist/entity/abilities/remote/TreeManagerAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/TreeRemoteStateAbility.d.ts +1 -1
- package/dist/entity/abilities/search/SearchAbility.d.ts +1 -1
- package/dist/entity/abilities/search/SearchAbility.js +1 -1
- package/dist/entity/abilities/tree/TreeLifecycleAbility.d.ts +1 -1
- package/dist/entity/abilities/tree/TreePathAbility.d.ts +1 -1
- package/dist/entity/abilities/tree/TreeSearchAbility.d.ts +1 -1
- package/dist/entity/abilities/tree/TreeSearchAbility.js +1 -1
- package/dist/entity/abilities/tree/TreeViewAbility.d.ts +1 -1
- package/dist/entity/manager/BaseEntityManager.d.ts +4 -4
- package/dist/entity/manager/CoreEntityManager.d.ts +7 -7
- package/dist/entity/manager/CoreEntityManager.js +11 -11
- package/dist/entity/manager/managers.d.ts +3 -3
- package/dist/entity/manager/managers.js +23 -23
- package/dist/entity/package.json +11 -11
- package/dist/entity/types/index.d.ts +11 -11
- package/dist/entity/types/index.js +2 -2
- package/dist/error/package.json +1 -1
- package/dist/event-dom/adapters/dom/DomEventAdapter.js +4 -4
- package/dist/event-dom/adapters/processors/GestureProcessor.d.ts +1 -1
- package/dist/event-dom/adapters/processors/GestureProcessor.js +4 -4
- package/dist/event-dom/adapters/processors/LongPressProcessor.js +1 -1
- package/dist/event-dom/adapters/processors/factory.js +2 -2
- package/dist/event-dom/adapters/semantic-map/resolve.js +1 -1
- package/dist/event-dom/adapters/utils/validation.js +1 -1
- package/dist/event-dom/package.json +7 -7
- package/dist/events/EventBus.js +1 -1
- package/dist/events/EventScope.js +1 -1
- package/dist/events/GlobalEventBus.js +1 -1
- package/dist/events/package.json +3 -3
- package/dist/http/HttpActionRegistrar.js +1 -1
- package/dist/http/HttpClient.js +1 -1
- package/dist/http/HttpExecutor.js +1 -1
- package/dist/http/StreamClient.js +1 -1
- package/dist/http/package.json +5 -5
- package/dist/i18n/package.json +1 -1
- package/dist/logger/package.json +1 -1
- package/dist/mime/MimeTypeRegistrar.js +2 -2
- package/dist/mime/package.json +2 -2
- package/dist/oauth2/OAuth2Manager.esm.js +1 -1
- package/dist/oauth2/OAuth2Manager.js +1 -1
- package/dist/oauth2/TokenRefreshHandler.d.ts +1 -1
- package/dist/oauth2/TokenRefreshHandler.esm.js +1 -1
- package/dist/oauth2/TokenRefreshHandler.js +1 -1
- package/dist/oauth2/package.json +5 -5
- package/dist/oauth2/register.esm.js +1 -1
- package/dist/oauth2/register.js +1 -1
- package/dist/pattern/PatternRegistrar.js +2 -2
- package/dist/pattern/package.json +2 -2
- package/dist/pipeline/executor.esm.js +1 -1
- package/dist/pipeline/executor.js +1 -1
- package/dist/pipeline/package.json +3 -3
- package/dist/pipeline/types.d.ts +1 -1
- package/dist/registry/errors.js +1 -1
- package/dist/registry/package.json +2 -2
- package/dist/registry/registrars/errors.js +1 -1
- package/dist/runtime/package.json +1 -1
- package/dist/schema/SchemaRegistrar.js +1 -1
- package/dist/schema/package.json +2 -2
- package/dist/system-abilities/interfaces/index.d.ts +1 -1
- package/dist/system-abilities/package.json +5 -5
- package/dist/system-abilities/system/DomEventsAbility.d.ts +1 -1
- package/dist/system-abilities/system/DomEventsAbility.js +1 -1
- package/dist/system-abilities/system/DomainAbility.d.ts +1 -1
- package/dist/system-abilities/system/DomainAbility.js +1 -1
- package/dist/system-abilities/system/EventAbility.d.ts +1 -1
- package/dist/system-abilities/system/EventAbility.js +1 -1
- package/dist/system-abilities/system/SystemAbility.d.ts +1 -1
- package/dist/system-abilities/system/SystemAbility.js +1 -1
- package/dist/task/errors/WorkerError.js +1 -1
- package/dist/task/errors/WorkerInitializationError.js +1 -1
- package/dist/task/hash-task/errors/ResourceNotAcquiredError.js +1 -1
- package/dist/task/hash-task/errors/ResourceUnavailableError.js +1 -1
- package/dist/task/hash-task/errors/TaskStateError.js +1 -1
- package/dist/task/hash-task/factory.js +1 -1
- package/dist/task/hash-task/hash/HashTask.d.ts +1 -1
- package/dist/task/hash-task/hash/HashTaskRunner.js +1 -1
- package/dist/task/hash-task/worker/DefaultWorkerHandle.js +1 -1
- package/dist/task/package.json +5 -5
- package/dist/task/task/TaskQueue.js +2 -2
- package/dist/task/worker/WorkerManagerBase.js +1 -1
- package/dist/types/package.json +1 -1
- package/dist/utils/package.json +1 -1
- package/dist/validation/core/ValidatorRegistrar.js +1 -1
- package/dist/validation/core/executor.d.ts +2 -2
- package/dist/validation/core/executor.js +1 -1
- package/dist/validation/errors/DuplicateValidatorError.d.ts +1 -1
- package/dist/validation/errors/DuplicateValidatorError.js +1 -1
- package/dist/validation/errors/ValidationError.d.ts +1 -1
- package/dist/validation/errors/ValidationError.js +1 -1
- package/dist/validation/errors/ValidationTypeNotDefinedError.d.ts +1 -1
- package/dist/validation/errors/ValidationTypeNotDefinedError.js +1 -1
- package/dist/validation/errors/ValidatorNotFoundError.d.ts +1 -1
- package/dist/validation/errors/ValidatorNotFoundError.js +1 -1
- package/dist/validation/index.js +1 -1
- package/dist/validation/package.json +4 -4
- package/dist/validation/processors/common/rule-align.js +1 -1
- package/dist/validation/processors/file/file.js +1 -1
- package/dist/validation/processors/format/format.js +1 -1
- package/dist/validation/processors/password/entries.d.ts +2 -2
- package/dist/validation/processors/password/entries.js +1 -1
- package/dist/validation/processors/password/password.js +1 -1
- package/dist/validation/types/index.js +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @module oauth2/OAuth2Manager
|
|
11
11
|
*/
|
|
12
12
|
import { createTokenStorage } from './TokenStorage';
|
|
13
|
-
import { DomainRegistrar } from '
|
|
13
|
+
import { DomainRegistrar } from '../registry/registrars/DomainRegistrar.esm.js';
|
|
14
14
|
/**
|
|
15
15
|
* OAuth2 核心管理器
|
|
16
16
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.oauth2 = exports.OAuth2Manager = void 0;
|
|
15
15
|
const TokenStorage_1 = require("./TokenStorage");
|
|
16
|
-
const DomainRegistrar_1 = require("
|
|
16
|
+
const DomainRegistrar_1 = require("../registry/registrars/DomainRegistrar.js");
|
|
17
17
|
/**
|
|
18
18
|
* OAuth2 核心管理器
|
|
19
19
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.TokenRefreshHandler = void 0;
|
|
12
12
|
const OAuth2Manager_1 = require("./OAuth2Manager");
|
|
13
|
-
const HttpExecutor_1 = require("
|
|
13
|
+
const HttpExecutor_1 = require("../http/HttpExecutor.js");
|
|
14
14
|
/**
|
|
15
15
|
* Token 刷新处理器
|
|
16
16
|
*
|
package/dist/oauth2/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/oauth2",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/http": "0.1.
|
|
17
|
-
"@qimen-lab/registry": "0.1.
|
|
18
|
-
"@qimen-lab/events": "0.1.
|
|
19
|
-
"@qimen-lab/cache": "0.1.
|
|
16
|
+
"@qimen-lab/http": "0.1.3",
|
|
17
|
+
"@qimen-lab/registry": "0.1.3",
|
|
18
|
+
"@qimen-lab/events": "0.1.3",
|
|
19
|
+
"@qimen-lab/cache": "0.1.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* 引入 @qimenjs/oauth2 时自动执行
|
|
5
5
|
*/
|
|
6
|
-
import { HttpActionRegistrar, HttpActionCategory } from '
|
|
6
|
+
import { HttpActionRegistrar, HttpActionCategory } from '../http/index.esm.js';
|
|
7
7
|
import { TokenRefreshHandler } from './TokenRefreshHandler';
|
|
8
8
|
/**
|
|
9
9
|
* 注册 OAuth2 HTTP 管道扩展
|
package/dist/oauth2/register.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.registerOAuth2Actions = registerOAuth2Actions;
|
|
9
|
-
const http_1 = require("
|
|
9
|
+
const http_1 = require("../http/index.js");
|
|
10
10
|
const TokenRefreshHandler_1 = require("./TokenRefreshHandler");
|
|
11
11
|
/**
|
|
12
12
|
* 注册 OAuth2 HTTP 管道扩展
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.PatternRegistrar = exports.PatternRegistrarName = void 0;
|
|
11
|
-
const registry_1 = require("
|
|
12
|
-
const registry_2 = require("
|
|
11
|
+
const registry_1 = require("../registry/index.js");
|
|
12
|
+
const registry_2 = require("../registry/index.js");
|
|
13
13
|
/**
|
|
14
14
|
* 模式注册器名称
|
|
15
15
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/pattern",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/registry": "0.1.
|
|
16
|
+
"@qimen-lab/registry": "0.1.3"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/pipeline",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/logger": "0.1.
|
|
17
|
-
"@qimen-lab/context": "0.1.
|
|
16
|
+
"@qimen-lab/logger": "0.1.3",
|
|
17
|
+
"@qimen-lab/context": "0.1.3"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/dist/pipeline/types.d.ts
CHANGED
package/dist/registry/errors.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RegistryHubConflictError = exports.RegistryHubLockedError = exports.RegistryHubError = exports.RegistryHubErrorCode = void 0;
|
|
4
|
-
const error_1 = require("
|
|
4
|
+
const error_1 = require("../error/index.js");
|
|
5
5
|
/**
|
|
6
6
|
* RegistryHub错误的错误代码枚举
|
|
7
7
|
* 定义了注册中心可能遇到的各种错误情况
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/error": "0.1.
|
|
16
|
+
"@qimen-lab/error": "0.1.3"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RegistrarInvalidArgumentError = exports.RegistrarNotFoundError = exports.RegistrarConflictError = exports.RegistrarLockedError = exports.RegistrarError = exports.RegistrarErrorCode = void 0;
|
|
4
|
-
const error_1 = require("
|
|
4
|
+
const error_1 = require("../../error/index.js");
|
|
5
5
|
/**
|
|
6
6
|
* 注册器错误代码枚举
|
|
7
7
|
* 定义了注册器系统中可能出现的各种错误类型
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.SchemaRegistrar = exports.SchemaRegistrarName = void 0;
|
|
10
|
-
const registry_1 = require("
|
|
10
|
+
const registry_1 = require("../registry/index.js");
|
|
11
11
|
/**
|
|
12
12
|
* Schema 注册器名称常量
|
|
13
13
|
*/
|
package/dist/schema/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/registry": "0.1.
|
|
16
|
+
"@qimen-lab/registry": "0.1.3"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/system-abilities",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/events": "0.1.
|
|
17
|
-
"@qimen-lab/composable": "0.1.
|
|
18
|
-
"@qimen-lab/registry": "0.1.
|
|
19
|
-
"@qimen-lab/event-dom": "0.1.
|
|
16
|
+
"@qimen-lab/events": "0.1.3",
|
|
17
|
+
"@qimen-lab/composable": "0.1.3",
|
|
18
|
+
"@qimen-lab/registry": "0.1.3",
|
|
19
|
+
"@qimen-lab/event-dom": "0.1.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DomainAbility = void 0;
|
|
4
|
-
const registry_1 = require("
|
|
4
|
+
const registry_1 = require("../../registry/index.js");
|
|
5
5
|
const abilities_1 = require("../types/abilities");
|
|
6
6
|
/**
|
|
7
7
|
* DomainAbility - 域能力
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createHashTask = createHashTask;
|
|
4
|
-
const runtime_1 = require("
|
|
4
|
+
const runtime_1 = require("../../runtime/index.js");
|
|
5
5
|
const worker_1 = require("./worker");
|
|
6
6
|
const chunk_1 = require("./chunk");
|
|
7
7
|
const hash_1 = require("./hash");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HashTaskRunner = void 0;
|
|
4
|
-
const logger_1 = require("
|
|
4
|
+
const logger_1 = require("../../../logger/index.js");
|
|
5
5
|
const worker_1 = require("../worker");
|
|
6
6
|
const HashTaskHealthMonitor_1 = require("./HashTaskHealthMonitor");
|
|
7
7
|
/**
|
package/dist/task/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/task",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/logger": "0.1.
|
|
17
|
-
"@qimen-lab/utils": "0.1.
|
|
18
|
-
"@qimen-lab/error": "0.1.
|
|
19
|
-
"@qimen-lab/runtime": "0.1.
|
|
16
|
+
"@qimen-lab/logger": "0.1.3",
|
|
17
|
+
"@qimen-lab/utils": "0.1.3",
|
|
18
|
+
"@qimen-lab/error": "0.1.3",
|
|
19
|
+
"@qimen-lab/runtime": "0.1.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.globalTaskQueue = exports.GlobalTaskQueue = void 0;
|
|
4
|
-
const logger_1 = require("
|
|
5
|
-
const utils_1 = require("
|
|
4
|
+
const logger_1 = require("../../logger/index.js");
|
|
5
|
+
const utils_1 = require("../../utils/index.js");
|
|
6
6
|
/**
|
|
7
7
|
* 全局任务队列 - 用于管理任务执行、优先级排序和重试的核心类
|
|
8
8
|
*
|
package/dist/types/package.json
CHANGED
package/dist/utils/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ValidatorRegistrar = void 0;
|
|
4
|
-
const registry_1 = require("
|
|
4
|
+
const registry_1 = require("../../registry/index.js");
|
|
5
5
|
const validate_1 = require("../types/validate");
|
|
6
6
|
class ValidatorRegistrar extends registry_1.RegistrarBase {
|
|
7
7
|
constructor() {
|
|
@@ -40,11 +40,11 @@ export declare class ValidationExecutor {
|
|
|
40
40
|
* const processors = Validator.get('string');
|
|
41
41
|
* const result = await executor.execute(context, processors, 'string');
|
|
42
42
|
*/
|
|
43
|
-
execute(context: ValidationContext, processors: any[], ruleType?: string): Promise<import("
|
|
43
|
+
execute(context: ValidationContext, processors: any[], ruleType?: string): Promise<import("../../pipeline/index.d.ts").PipelineResult<ValidationContext>>;
|
|
44
44
|
/**
|
|
45
45
|
* 获取执行统计
|
|
46
46
|
*/
|
|
47
|
-
getStats(): import("
|
|
47
|
+
getStats(): import("../../pipeline/index.d.ts").PipelineStats;
|
|
48
48
|
/**
|
|
49
49
|
* 重置统计
|
|
50
50
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.validationExecutor = exports.ValidationExecutor = void 0;
|
|
12
|
-
const pipeline_1 = require("
|
|
12
|
+
const pipeline_1 = require("../../pipeline/index.js");
|
|
13
13
|
/**
|
|
14
14
|
* 验证执行器
|
|
15
15
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DuplicateValidatorError = void 0;
|
|
4
4
|
// 导入基础错误类,用于继承并创建自定义错误类型
|
|
5
|
-
const error_1 = require("
|
|
5
|
+
const error_1 = require("../../error/index.js");
|
|
6
6
|
/**
|
|
7
7
|
* 重复注册验证器错误
|
|
8
8
|
* 当尝试注册一个已经存在的验证器时会抛出此错误
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ValidationTypeNotDefinedError = void 0;
|
|
4
4
|
// 导入基础错误类,作为自定义错误类型的基类
|
|
5
|
-
const error_1 = require("
|
|
5
|
+
const error_1 = require("../../error/index.js");
|
|
6
6
|
/**
|
|
7
7
|
* 验证类型未定义错误
|
|
8
8
|
* 当请求使用一个未定义或不存在的验证类型时抛出此错误
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ValidatorNotFoundError = void 0;
|
|
4
4
|
// 导入基础错误类,用于扩展自定义错误类型
|
|
5
|
-
const error_1 = require("
|
|
5
|
+
const error_1 = require("../../error/index.js");
|
|
6
6
|
/**
|
|
7
7
|
* 验证器未找到错误
|
|
8
8
|
* 当系统无法找到与指定规则类型相对应的验证器时抛出此错误
|
package/dist/validation/index.js
CHANGED
|
@@ -43,7 +43,7 @@ __exportStar(require("./core"), exports);
|
|
|
43
43
|
__exportStar(require("./types"), exports);
|
|
44
44
|
const AllEntries = __importStar(require("./processors"));
|
|
45
45
|
const core_1 = require("./core");
|
|
46
|
-
const registry_1 = require("
|
|
46
|
+
const registry_1 = require("../registry/index.js");
|
|
47
47
|
const bootstrapValidators = () => {
|
|
48
48
|
// AllEntries 现在是一个对象,Key 是变量名,Value 是 Entry 对象
|
|
49
49
|
Object.values(AllEntries).forEach((entry) => {
|