moyan-api 1.0.33 → 1.0.35
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 +4 -0
- package/package.json +1 -1
- package/view/schemas.ejs +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.35](https://gitee.com/ymoo/moyan-api/compare/v1.0.34...v1.0.35) (2023-06-08)
|
|
6
|
+
|
|
7
|
+
### [1.0.34](https://gitee.com/ymoo/moyan-api/compare/v1.0.33...v1.0.34) (2023-06-08)
|
|
8
|
+
|
|
5
9
|
### [1.0.33](https://gitee.com/ymoo/moyan-api/compare/v1.0.32...v1.0.33) (2022-08-31)
|
|
6
10
|
|
|
7
11
|
### [1.0.32](https://gitee.com/ymoo/moyan-api/compare/v1.0.31...v1.0.32) (2022-04-26)
|
package/package.json
CHANGED
package/view/schemas.ejs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type ObjectId = string
|
|
2
|
-
export type int = number
|
|
3
|
-
export type integer = number
|
|
4
|
-
export type float = number
|
|
5
|
-
export type tinyint = number
|
|
2
|
+
export type int = number | string
|
|
3
|
+
export type integer = number | string
|
|
4
|
+
export type float = number | string
|
|
5
|
+
export type tinyint = number | string
|
|
6
6
|
export type char = string
|
|
7
7
|
export type varchar = string
|
|
8
8
|
export type json = {[key:string]:any}|Array<{[key:string]:any}>
|
|
@@ -10,7 +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
|
+
export type decimal = number | string
|
|
14
14
|
|
|
15
15
|
<% list.forEach((item) => { %>
|
|
16
16
|
export type <%= item.key %> = {
|