moyan-api 1.0.14 → 1.0.15

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.15](https://gitee.com/ymoo/moyan-api/compare/v1.0.14...v1.0.15) (2022-03-30)
6
+
5
7
  ### [1.0.14](https://gitee.com/ymoo/moyan-api/compare/v1.0.13...v1.0.14) (2022-03-21)
6
8
 
7
9
  ### [1.0.13](https://gitee.com/ymoo/moyan-api/compare/v1.0.12...v1.0.13) (2022-03-17)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moyan-api",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "使用OpenApi 生成TypeScript的api调用skd",
5
5
  "main": "./dist/index.js",
6
6
  "types": "src",
package/view/api.ejs CHANGED
@@ -8,7 +8,8 @@ import {
8
8
  char,
9
9
  varchar,
10
10
  json,
11
- datetime
11
+ datetime,
12
+ array
12
13
  } from './schemas'
13
14
 
14
15
 
package/view/schemas.ejs CHANGED
@@ -4,6 +4,7 @@ export type char = string
4
4
  export type varchar = string
5
5
  export type json = {[key:string]:any}
6
6
  export type datetime = Date | string
7
+ export type array = Array<any>
7
8
 
8
9
  <% list.forEach((item) => { %>
9
10
  export type <%= item.key %> = {