@omnifyjp/omnify 6.3.2 → 6.3.3
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/omnify-schema.json +5 -0
- package/package.json +6 -6
- package/ts-dist/types.d.ts +6 -0
package/omnify-schema.json
CHANGED
|
@@ -656,6 +656,11 @@
|
|
|
656
656
|
"default": false,
|
|
657
657
|
"description": "Whether the number is unsigned (positive only)"
|
|
658
658
|
},
|
|
659
|
+
"autoIncrement": {
|
|
660
|
+
"type": "boolean",
|
|
661
|
+
"default": false,
|
|
662
|
+
"description": "AUTO_INCREMENT on this column (#175). TinyInt/Int/BigInt only, and only on the table's single-column primary key — declare that with 'primary: true', or by naming this property in options.primaryKey. This is how a monotonic key that is not called 'id' is expressed."
|
|
663
|
+
},
|
|
659
664
|
"precision": {
|
|
660
665
|
"type": "integer",
|
|
661
666
|
"description": "Total number of digits for Decimal (default: 8)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnifyjp/omnify",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.3",
|
|
4
4
|
"description": "Schema-driven code generation for Laravel, TypeScript, and SQL",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"zod": "^3.24.0"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@omnifyjp/omnify-darwin-arm64": "6.3.
|
|
40
|
-
"@omnifyjp/omnify-darwin-x64": "6.3.
|
|
41
|
-
"@omnifyjp/omnify-linux-x64": "6.3.
|
|
42
|
-
"@omnifyjp/omnify-linux-arm64": "6.3.
|
|
43
|
-
"@omnifyjp/omnify-win32-x64": "6.3.
|
|
39
|
+
"@omnifyjp/omnify-darwin-arm64": "6.3.3",
|
|
40
|
+
"@omnifyjp/omnify-darwin-x64": "6.3.3",
|
|
41
|
+
"@omnifyjp/omnify-linux-x64": "6.3.3",
|
|
42
|
+
"@omnifyjp/omnify-linux-arm64": "6.3.3",
|
|
43
|
+
"@omnifyjp/omnify-win32-x64": "6.3.3"
|
|
44
44
|
}
|
|
45
45
|
}
|
package/ts-dist/types.d.ts
CHANGED
|
@@ -329,6 +329,12 @@ export interface PropertyDefinition {
|
|
|
329
329
|
readonly min?: number;
|
|
330
330
|
readonly max?: number;
|
|
331
331
|
readonly unsigned?: boolean;
|
|
332
|
+
/**
|
|
333
|
+
* AUTO_INCREMENT on this column (#175). TinyInt/Int/BigInt only, and only on
|
|
334
|
+
* the table's single-column primary key. Read by the model generator: an
|
|
335
|
+
* integer primary key WITHOUT it gets `$incrementing = false`.
|
|
336
|
+
*/
|
|
337
|
+
readonly autoIncrement?: boolean;
|
|
332
338
|
readonly precision?: number;
|
|
333
339
|
readonly scale?: number;
|
|
334
340
|
readonly pattern?: string;
|