@stacksjs/defaults 0.75.157 → 0.75.159

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.
@@ -26,6 +26,9 @@ type UserUpdate = UpdateModelData<typeof User>
26
26
 
27
27
  ModelRow derives attributes, trait fields and relationship foreign keys from
28
28
  the actual model. It is not a universal row with uuid/timestamps always present.
29
+ Enum validators retain their literal values in both model rows and query/write
30
+ methods even when a seed factory returns a broad `string`. Explicit attribute
31
+ types still take precedence; other factories keep their existing inference.
29
32
  Use that inferred row instead of a legacy UserModel interface when custom
30
33
  columns matter. NewModelData/UpdateModelData follow their real exported definitions;
31
34
  do not assume every field is optional. Global compatibility aliases delegate to
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.157",
5
+ "version": "0.75.159",
6
6
  "description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.157",
5
+ "version": "0.75.159",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@iconify-json/f7": "^1.2.2",
57
57
  "@iconify-json/hugeicons": "^1.2.35",
58
- "@stacksjs/mobile": "0.75.157",
58
+ "@stacksjs/mobile": "0.75.159",
59
59
  "@stacksjs/sanitizer": "^0.2.483",
60
60
  "@xterm/addon-fit": "^0.11.0",
61
61
  "@xterm/xterm": "^6.0.0",