@omnifyjp/omnify 5.8.29 → 5.8.31

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/omnify-schema.json +23 -0
  2. package/package.json +6 -6
@@ -312,6 +312,9 @@
312
312
  {
313
313
  "$ref": "#/definitions/JsonProperty"
314
314
  },
315
+ {
316
+ "$ref": "#/definitions/BinaryProperty"
317
+ },
315
318
  {
316
319
  "$ref": "#/definitions/EnumProperty"
317
320
  },
@@ -748,6 +751,26 @@
748
751
  }
749
752
  ]
750
753
  },
754
+ "BinaryProperty": {
755
+ "allOf": [
756
+ { "$ref": "#/definitions/BaseProperty" },
757
+ {
758
+ "type": "object",
759
+ "required": ["type"],
760
+ "properties": {
761
+ "type": {
762
+ "const": "Binary",
763
+ "description": "Binary blob: VARBINARY(N) on MariaDB / BLOB on SQLite / BYTEA on Postgres → []byte in Go. Use for raw binary data (encrypted secrets, hashes, image thumbnails). Issue #103 follow-up."
764
+ },
765
+ "length": {
766
+ "type": "integer",
767
+ "minimum": 1,
768
+ "description": "VARBINARY length in bytes. Defaults to 255. Above 65535 falls back to MEDIUMBLOB / LONGBLOB."
769
+ }
770
+ }
771
+ }
772
+ ]
773
+ },
751
774
  "JsonProperty": {
752
775
  "allOf": [
753
776
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnifyjp/omnify",
3
- "version": "5.8.29",
3
+ "version": "5.8.31",
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.8.29",
40
- "@omnifyjp/omnify-darwin-x64": "5.8.29",
41
- "@omnifyjp/omnify-linux-x64": "5.8.29",
42
- "@omnifyjp/omnify-linux-arm64": "5.8.29",
43
- "@omnifyjp/omnify-win32-x64": "5.8.29"
39
+ "@omnifyjp/omnify-darwin-arm64": "5.8.31",
40
+ "@omnifyjp/omnify-darwin-x64": "5.8.31",
41
+ "@omnifyjp/omnify-linux-x64": "5.8.31",
42
+ "@omnifyjp/omnify-linux-arm64": "5.8.31",
43
+ "@omnifyjp/omnify-win32-x64": "5.8.31"
44
44
  }
45
45
  }