@everystack/cli 0.4.16 → 0.4.17
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": "@everystack/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "CLI and OTA updates for Expo apps on everystack",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"author": "Scalable Technology, Inc. <licensing@scalable.technology>",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"structured-headers": "1.0.1",
|
|
83
83
|
"tsx": "4.21.0",
|
|
84
84
|
"typescript": "5.9.3",
|
|
85
|
-
"@everystack/model": "0.4.
|
|
85
|
+
"@everystack/model": "0.4.4"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@everystack/server": ">=0.1.0",
|
package/src/cli/model-render.ts
CHANGED
package/src/cli/schema-source.ts
CHANGED
|
@@ -96,6 +96,8 @@ function baseColumnSource(columnName: string, spec: FieldSpec): { call: string;
|
|
|
96
96
|
: { call: `varchar(${n})`, builder: 'varchar' };
|
|
97
97
|
case 'jsonb':
|
|
98
98
|
return { call: `jsonb(${n})`, builder: 'jsonb' };
|
|
99
|
+
case 'json':
|
|
100
|
+
return { call: `json(${n})`, builder: 'json' };
|
|
99
101
|
case 'enum': {
|
|
100
102
|
if (!spec.enumName) throw new Error('enum field is missing enumName');
|
|
101
103
|
return { call: `${enumConstName(spec.enumName)}(${n})`, builder: enumConstName(spec.enumName) };
|