@ldsg/resource-definition 0.2.1 → 0.2.3
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";
|
|
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,eAAe,CAAC;AAChE,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,eAAe,CAAC;AAChE,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,uBAIzD,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/resource-definition";`,
|
|
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/resource-definition",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@ldsg/handler": "0.2.
|
|
19
|
-
"@ldsg/resource": "0.2.
|
|
20
|
-
"@ldsg/resource-definition-part": "0.2.
|
|
21
|
-
"@ldsg/types": "0.2.
|
|
18
|
+
"@ldsg/handler": "0.2.3",
|
|
19
|
+
"@ldsg/resource": "0.2.3",
|
|
20
|
+
"@ldsg/resource-definition-part": "0.2.3",
|
|
21
|
+
"@ldsg/types": "0.2.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/lodash": "^4.14.202"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "
|
|
27
|
+
"build": "tsc --project tsconfig.build.json",
|
|
28
28
|
"clean": "rm -rf dist"
|
|
29
29
|
}
|
|
30
30
|
}
|