@ldsg/handler 0.2.2 → 0.2.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/constants.d.ts +9 -5
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +12 -8
- package/package.json +6 -6
package/dist/constants.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { HandlerSpecificResourceSettings } from "@ldsg/handler-part";
|
|
2
2
|
import { GeneralResourceSettings } from "@ldsg/types";
|
|
3
|
-
export declare const HANDLER_GENERAL_RESOURCE_SETTINGS: GeneralResourceSettings;
|
|
4
3
|
/**
|
|
5
|
-
* Handler Resource Settings
|
|
6
|
-
*
|
|
7
|
-
* 如无或为 undefined,则说明无需子级处理程序。
|
|
4
|
+
* Instantiate Resource Handler General Resource Settings
|
|
5
|
+
* 实例化资源处理程序普通资源配置
|
|
8
6
|
*/
|
|
9
|
-
export declare const
|
|
7
|
+
export declare const INSTANTIATE_RESOURCE_HANDLER_GENERAL_RESOURCE_SETTINGS: GeneralResourceSettings;
|
|
8
|
+
/**
|
|
9
|
+
* Instantiate Resource Handler Specific Resource Settings
|
|
10
|
+
* 实例化资源处理程序特殊资源配置
|
|
11
|
+
* 框架通过此实例化此资源
|
|
12
|
+
*/
|
|
13
|
+
export declare const INSTANTIATE_RESOURCE_HANDLER_SPECIFIC_RESOURCE_SETTINGS: HandlerSpecificResourceSettings;
|
|
10
14
|
import { ResourceDefinitionSpecificResourceSettings } from "@ldsg/resource-definition-part";
|
|
11
15
|
export declare const RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS: GeneralResourceSettings;
|
|
12
16
|
export declare const RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS: ResourceDefinitionSpecificResourceSettings;
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sDAAsD,EAAE,uBAIlE,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,uDAAuD,EAAE,+BAQnE,CAAC;AAEJ,OAAO,EAAE,0CAA0C,EAAE,MAAM,gCAAgC,CAAC;AAE5F,eAAO,MAAM,6CAA6C,EAAE,uBAKzD,CAAC;AAEJ,eAAO,MAAM,8CAA8C,EAAE,0CAI1D,CAAC"}
|
package/dist/constants.js
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS = exports.RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS = exports.
|
|
3
|
+
exports.RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS = exports.RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS = exports.INSTANTIATE_RESOURCE_HANDLER_SPECIFIC_RESOURCE_SETTINGS = exports.INSTANTIATE_RESOURCE_HANDLER_GENERAL_RESOURCE_SETTINGS = void 0;
|
|
4
4
|
const constants_1 = require("@ldsg/constants");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Instantiate Resource Handler General Resource Settings
|
|
7
|
+
* 实例化资源处理程序普通资源配置
|
|
8
|
+
*/
|
|
9
|
+
exports.INSTANTIATE_RESOURCE_HANDLER_GENERAL_RESOURCE_SETTINGS = {
|
|
10
|
+
title: "处理程序实例化资源处理程序",
|
|
7
11
|
description: "包含处理程序相应的模块,此模块主要通过",
|
|
8
12
|
};
|
|
9
13
|
/**
|
|
10
|
-
* Handler Resource Settings
|
|
11
|
-
*
|
|
12
|
-
*
|
|
14
|
+
* Instantiate Resource Handler Specific Resource Settings
|
|
15
|
+
* 实例化资源处理程序特殊资源配置
|
|
16
|
+
* 框架通过此实例化此资源
|
|
13
17
|
*/
|
|
14
|
-
exports.
|
|
18
|
+
exports.INSTANTIATE_RESOURCE_HANDLER_SPECIFIC_RESOURCE_SETTINGS = {
|
|
15
19
|
code: `export * from "@ldsg/handler";`,
|
|
16
20
|
dependencies: [
|
|
17
21
|
{
|
|
@@ -20,7 +24,7 @@ exports.HANDLER_SPECIFIC_RESOURCE_SETTINGS = {
|
|
|
20
24
|
],
|
|
21
25
|
};
|
|
22
26
|
exports.RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS = {
|
|
23
|
-
title: "
|
|
27
|
+
title: "处理程序资源定义",
|
|
24
28
|
description: "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
|
|
25
29
|
};
|
|
26
30
|
exports.RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/handler",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@ldsg/handler-part": "0.2.
|
|
18
|
-
"@ldsg/resource": "0.2.
|
|
19
|
-
"@ldsg/resource
|
|
20
|
-
"@ldsg/types": "0.2.
|
|
17
|
+
"@ldsg/handler-part": "0.2.4",
|
|
18
|
+
"@ldsg/resource-definition-part": "0.2.4",
|
|
19
|
+
"@ldsg/resource": "0.2.4",
|
|
20
|
+
"@ldsg/types": "0.2.4"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^20.13.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "
|
|
26
|
+
"build": "tsc --project tsconfig.build.json",
|
|
27
27
|
"clean": "rm -rf dist"
|
|
28
28
|
}
|
|
29
29
|
}
|