@ldsg/route 0.3.37 → 0.3.40

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.
@@ -17,6 +17,7 @@ test("application", async () => {
17
17
  kind: "application",
18
18
  parentId: "root",
19
19
  settings: {
20
+ slug: "application",
20
21
  title: "应用",
21
22
  description: "应用根资源",
22
23
  name: "测试应用",
@@ -27,6 +28,7 @@ test("application", async () => {
27
28
  kind: "route",
28
29
  parentId: "application",
29
30
  settings: {
31
+ slug: "route",
30
32
  title: "应用",
31
33
  description: "应用根资源",
32
34
  path: "/test",
@@ -38,6 +40,7 @@ test("application", async () => {
38
40
  kind: "handler",
39
41
  parentId: "root",
40
42
  settings: {
43
+ slug: "route-test-app-test-handler",
41
44
  title: "应用",
42
45
  description: "应用根资源",
43
46
  code: "",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sDAAsD,EAAE,uBAGpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uDAAuD,EAAE,+BAQnE,CAAC;AAEJ,eAAO,MAAM,6CAA6C,EAAE,uBAG3D,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,0CAG1D,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,kDAAkD,EAAE,uBAGhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mDAAmD,EAAE,+BAc/D,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sDAAsD,EAAE,uBAIpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uDAAuD,EAAE,+BAQnE,CAAC;AAEJ,eAAO,MAAM,6CAA6C,EAAE,uBAI3D,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,0CAG1D,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,kDAAkD,EAAE,uBAIhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mDAAmD,EAAE,+BAc/D,CAAC"}
package/dist/constants.js CHANGED
@@ -6,6 +6,7 @@ exports.DEFAULT_EXTENDED_HANDLER_SPECIFIC_RESOURCE_SETTINGS = exports.DEFAULT_EX
6
6
  * 实例化资源处理程序普通资源配置
7
7
  */
8
8
  exports.INSTANTIATE_RESOURCE_HANDLER_GENERAL_RESOURCE_SETTINGS = {
9
+ slug: "route-instantiate-resource-handler",
9
10
  title: "路由实例化资源处理程序",
10
11
  description: "",
11
12
  };
@@ -23,6 +24,7 @@ exports.INSTANTIATE_RESOURCE_HANDLER_SPECIFIC_RESOURCE_SETTINGS = {
23
24
  ],
24
25
  };
25
26
  exports.RESOURCE_DEFINITION_GENERAL_RESOURCE_SETTINGS = {
27
+ slug: "route-resource-definition",
26
28
  title: "路由资源定义",
27
29
  description: "",
28
30
  };
@@ -34,6 +36,7 @@ exports.RESOURCE_DEFINITION_SPECIFIC_RESOURCE_SETTINGS = {
34
36
  * 默认扩展处理程序普通资源配置
35
37
  */
36
38
  exports.DEFAULT_EXTENDED_HANDLER_GENERAL_RESOURCE_SETTINGS = {
39
+ slug: "route-default-extended-handler",
37
40
  title: "路由默认扩展处理程序",
38
41
  description: "",
39
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/route",
3
- "version": "0.3.37",
3
+ "version": "0.3.40",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,11 +15,11 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "zod": "^4.1.11",
18
- "@ldsg/application": "0.3.37",
19
- "@ldsg/handler": "0.3.37",
20
- "@ldsg/resource": "0.3.37",
21
- "@ldsg/resource-definition": "0.3.37",
22
- "@ldsg/types": "0.3.37"
18
+ "@ldsg/handler": "0.3.40",
19
+ "@ldsg/resource-definition": "0.3.40",
20
+ "@ldsg/types": "0.3.40",
21
+ "@ldsg/application": "0.3.40",
22
+ "@ldsg/resource": "0.3.40"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/express": "^4.17.17",