moyan-api 1.0.31 → 1.0.32

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.32](https://gitee.com/ymoo/moyan-api/compare/v1.0.31...v1.0.32) (2022-04-26)
6
+
5
7
  ### [1.0.31](https://gitee.com/ymoo/moyan-api/compare/v1.0.30...v1.0.31) (2022-04-11)
6
8
 
7
9
  ### [1.0.30](https://gitee.com/ymoo/moyan-api/compare/v1.0.29...v1.0.30) (2022-04-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moyan-api",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "使用OpenApi 生成TypeScript的api调用skd",
5
5
  "main": "./dist/index.js",
6
6
  "types": "src",
package/view/api.ejs CHANGED
@@ -15,6 +15,7 @@ import {
15
15
  text,
16
16
  integer,
17
17
  float,
18
+ decimal
18
19
  } from './schemas'
19
20
 
20
21
 
package/view/schemas.ejs CHANGED
@@ -10,6 +10,7 @@ export type datetime = Date | string
10
10
  export type date = Date | string
11
11
  export type array = Array<any>
12
12
  export type text = string
13
+ export type decimal = number
13
14
 
14
15
  <% list.forEach((item) => { %>
15
16
  export type <%= item.key %> = {