shcp-api-lib 1.0.5 → 1.0.6

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.
@@ -23,7 +23,7 @@ export declare class RightServiceConfigApi {
23
23
  * 慢病管理.查询单个(按ID)
24
24
  * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/detail
25
25
  */
26
- static getDiseaseCareDetail(id: number): Promise<CommonRes<DiseaseCareConfigDTO>>;
26
+ static getDiseaseCareDetail(rightId: number): Promise<CommonRes<DiseaseCareConfigDTO>>;
27
27
  /**
28
28
  * 慢病管理.查询单个(按条件)
29
29
  * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/right/serviceConfig/diseaseCare/get
@@ -3,37 +3,37 @@ import { RuleDTO, RuleQuery, RuleCreateRequest, RuleUpdateRequest, RuleExecuteRe
3
3
  export declare class RuleApi {
4
4
  /**
5
5
  * 单个查询(按ID)
6
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/detail
6
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/detail
7
7
  */
8
8
  static detail(id: number): Promise<CommonRes<RuleDTO>>;
9
9
  /**
10
10
  * 列表查询
11
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/list
11
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/list
12
12
  */
13
13
  static list(query: RuleQuery): Promise<CommonRes<RuleDTO[]>>;
14
14
  /**
15
15
  * 分页查询
16
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/page
16
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/page
17
17
  */
18
18
  static page(data: RuleQuery): Promise<CommonRes<PagedList<RuleDTO>>>;
19
19
  /**
20
20
  * 创建
21
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/create
21
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/create
22
22
  */
23
23
  static create(request: RuleCreateRequest): Promise<CommonRes<number>>;
24
24
  /**
25
25
  * 更新
26
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/update
26
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/update
27
27
  */
28
28
  static update(request: RuleUpdateRequest): Promise<CommonRes<number>>;
29
29
  /**
30
30
  * 删除
31
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/delete
31
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/delete
32
32
  */
33
33
  static delete(id: number): Promise<CommonRes<number>>;
34
34
  /**
35
35
  * 执行
36
- * URL: /api/blade-system/${ShcpApiSdk.getApiSuffix()}/rule/execute
36
+ * URL: /api/shcp-km/${ShcpApiSdk.getApiSuffix()}/rule/execute
37
37
  */
38
38
  static execute(request: RuleExecuteRequest): Promise<CommonRes<Record<string, any>>>;
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shcp-api-lib",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "SHCP Model Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -9,6 +9,18 @@
9
9
  "files": [
10
10
  "dist"
11
11
  ],
12
+ "scripts": {
13
+ "build": "rollup -c",
14
+ "dev": "rollup -c -w",
15
+ "clean": "rimraf dist",
16
+ "prebuild": "pnpm run clean",
17
+ "test": "node --loader ts-node/esm tests/example.ts",
18
+ "test:all": "node --loader ts-node/esm -e \"import('./tests/example.js').then(m => m.runAllExamples())\"",
19
+ "test:single": "node --loader ts-node/esm -e \"import('./tests/example.js').then(m => m.example2_SingleModuleTest())\"",
20
+ "test:batch": "node --loader ts-node/esm -e \"import('./tests/example.js').then(m => m.example3_BatchTest())\"",
21
+ "prepublishOnly": "pnpm run build",
22
+ "publish:local": "pnpm run build && pnpm pack"
23
+ },
12
24
  "keywords": [
13
25
  "shcp",
14
26
  "model",
@@ -33,15 +45,5 @@
33
45
  "tslib": "^2.8.1",
34
46
  "typescript": "^5.0.0"
35
47
  },
36
- "scripts": {
37
- "build": "rollup -c",
38
- "dev": "rollup -c -w",
39
- "clean": "rimraf dist",
40
- "prebuild": "pnpm run clean",
41
- "test": "node --loader ts-node/esm tests/example.ts",
42
- "test:all": "node --loader ts-node/esm -e \"import('./tests/example.js').then(m => m.runAllExamples())\"",
43
- "test:single": "node --loader ts-node/esm -e \"import('./tests/example.js').then(m => m.example2_SingleModuleTest())\"",
44
- "test:batch": "node --loader ts-node/esm -e \"import('./tests/example.js').then(m => m.example3_BatchTest())\"",
45
- "publish:local": "pnpm run build && pnpm pack"
46
- }
47
- }
48
+ "packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac"
49
+ }