@k3000/store 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,7 +45,6 @@ import upgrade, {
45
45
  bigintSerialize,
46
46
  BigUint,
47
47
  Buffer,
48
- Byte,
49
48
  Float,
50
49
  Id,
51
50
  Int,
@@ -84,7 +83,7 @@ Id()
84
83
  .remark('备注') // 可缺省
85
84
 
86
85
  // Uint 用法
87
- Uint()
86
+ Uint(4)
88
87
  .index(false) // 是否索引,此类型默认为 false
89
88
  .value(2) // 默认值,此类型没有缺省值
90
89
  .step(2) // 缺省自增值,此类型没有缺省值
@@ -95,6 +94,7 @@ Int()
95
94
  .index(false) // 是否索引,此类型默认为 false
96
95
  .value(2) // 默认值,此类型没有缺省值
97
96
  .step(2) // 缺省自增值,此类型没有缺省值
97
+ .length(4) // 长度,此类型默认为 4
98
98
  .remark('备注') // 可缺省
99
99
 
100
100
  // Bool 用法
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k3000/store",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "storage",
5
5
  "main": "generator.mjs",
6
6
  "scripts": {