@famgia/omnify-typescript 0.0.85 → 0.0.87

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@famgia/omnify-typescript",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "TypeScript type definitions generator for Omnify schemas",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -48,7 +48,7 @@
48
48
  "directory": "packages/typescript-generator"
49
49
  },
50
50
  "dependencies": {
51
- "@famgia/omnify-types": "0.0.95"
51
+ "@famgia/omnify-types": "0.0.97"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "zod": "^3.0.0"
@@ -313,8 +313,13 @@ php artisan migrate
313
313
  ## ⚠️ Common Mistakes
314
314
 
315
315
  ```yaml
316
- # ❌ Wrong: camelCase property name (use camelCase, converts to snake_case)
317
- firstName: # Correct - will become first_name in DB
316
+ # ❌ CRITICAL: String defaults with quotes produce CURLY QUOTES!
317
+ default: "'cloud'" # Produces: ''cloud'' (broken!)
318
+ default: "'member'" # ❌ Produces: ''member'' (broken!)
319
+
320
+ # ✅ CORRECT: Just the value, no quotes wrapper
321
+ default: cloud # ✅ Produces: 'cloud'
322
+ default: member # ✅ Produces: 'member'
318
323
 
319
324
  # ❌ Wrong: Missing displayName for non-English projects
320
325
  name: