@zenstackhq/sdk 3.0.0-alpha.8 → 3.0.0-alpha.9
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schema.d.cts +1 -1
- package/dist/schema.d.ts +1 -1
- package/package.json +5 -5
package/dist/schema.d.cts
CHANGED
|
@@ -103,7 +103,7 @@ type ProcedureDef = {
|
|
|
103
103
|
returnType: string;
|
|
104
104
|
mutation?: boolean;
|
|
105
105
|
};
|
|
106
|
-
type BuiltinType = 'String' | 'Boolean' | 'Int' | 'Float' | 'BigInt' | 'Decimal' | 'DateTime' | 'Bytes';
|
|
106
|
+
type BuiltinType = 'String' | 'Boolean' | 'Int' | 'Float' | 'BigInt' | 'Decimal' | 'DateTime' | 'Bytes' | 'Json' | 'Unsupported';
|
|
107
107
|
type MappedBuiltinType = string | boolean | number | bigint | Decimal | Date;
|
|
108
108
|
type EnumDef = Record<string, string>;
|
|
109
109
|
type GetModels<Schema extends SchemaDef> = Extract<keyof Schema['models'], string>;
|
package/dist/schema.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ type ProcedureDef = {
|
|
|
103
103
|
returnType: string;
|
|
104
104
|
mutation?: boolean;
|
|
105
105
|
};
|
|
106
|
-
type BuiltinType = 'String' | 'Boolean' | 'Int' | 'Float' | 'BigInt' | 'Decimal' | 'DateTime' | 'Bytes';
|
|
106
|
+
type BuiltinType = 'String' | 'Boolean' | 'Int' | 'Float' | 'BigInt' | 'Decimal' | 'DateTime' | 'Bytes' | 'Json' | 'Unsupported';
|
|
107
107
|
type MappedBuiltinType = string | boolean | number | bigint | Decimal | Date;
|
|
108
108
|
type EnumDef = Record<string, string>;
|
|
109
109
|
type GetModels<Schema extends SchemaDef> = Extract<keyof Schema['models'], string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenstackhq/sdk",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.9",
|
|
4
4
|
"description": "ZenStack SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"langium": "3.5.0",
|
|
36
36
|
"ts-pattern": "^5.7.1",
|
|
37
37
|
"typescript": "^5.0.0",
|
|
38
|
-
"@zenstackhq/
|
|
39
|
-
"@zenstackhq/
|
|
38
|
+
"@zenstackhq/language": "3.0.0-alpha.9",
|
|
39
|
+
"@zenstackhq/common-helpers": "3.0.0-alpha.9"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"decimal.js": "^10.4.3",
|
|
43
43
|
"kysely": "^0.27.6",
|
|
44
|
-
"@zenstackhq/typescript-config": "3.0.0-alpha.
|
|
45
|
-
"@zenstackhq/eslint-config": "3.0.0-alpha.
|
|
44
|
+
"@zenstackhq/typescript-config": "3.0.0-alpha.9",
|
|
45
|
+
"@zenstackhq/eslint-config": "3.0.0-alpha.9"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup-node",
|