@omnifyjp/omnify 5.0.2 → 5.0.4
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 +11 -0
- package/package.json +6 -6
package/omnify-schema.json
CHANGED
|
@@ -28,6 +28,17 @@
|
|
|
28
28
|
"type": "string",
|
|
29
29
|
"description": "Target schema name for partial schemas (only used when kind is 'partial'). The partial schema's properties will be merged into the target."
|
|
30
30
|
},
|
|
31
|
+
"pivotFor": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": { "type": "string" },
|
|
34
|
+
"minItems": 2,
|
|
35
|
+
"maxItems": 2,
|
|
36
|
+
"description": "Required when kind is 'pivot' — the two schemas this join table connects (e.g. ['Post', 'Tag']). The two entries must be DISTINCT (self-referencing many-to-many is not supported by the auto-pivot path; declare an explicit join object schema instead). At least one side must declare a 'relation: ManyToMany' association pointing to the other."
|
|
37
|
+
},
|
|
38
|
+
"priority": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"description": "Merge priority for partial schemas (lower runs first). Defaults to 50."
|
|
41
|
+
},
|
|
31
42
|
"displayName": {
|
|
32
43
|
"$ref": "#/definitions/LocalizedString",
|
|
33
44
|
"description": "Human-readable display name (supports multi-language)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnifyjp/omnify",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
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": "5.0.
|
|
40
|
-
"@omnifyjp/omnify-darwin-x64": "5.0.
|
|
41
|
-
"@omnifyjp/omnify-linux-x64": "5.0.
|
|
42
|
-
"@omnifyjp/omnify-linux-arm64": "5.0.
|
|
43
|
-
"@omnifyjp/omnify-win32-x64": "5.0.
|
|
39
|
+
"@omnifyjp/omnify-darwin-arm64": "5.0.4",
|
|
40
|
+
"@omnifyjp/omnify-darwin-x64": "5.0.4",
|
|
41
|
+
"@omnifyjp/omnify-linux-x64": "5.0.4",
|
|
42
|
+
"@omnifyjp/omnify-linux-arm64": "5.0.4",
|
|
43
|
+
"@omnifyjp/omnify-win32-x64": "5.0.4"
|
|
44
44
|
}
|
|
45
45
|
}
|