@zenstackhq/schema 3.1.1 → 3.2.1
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.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -136,11 +136,13 @@ type FieldDef = {
|
|
|
136
136
|
type ProcedureParam = {
|
|
137
137
|
name: string;
|
|
138
138
|
type: string;
|
|
139
|
+
array?: boolean;
|
|
139
140
|
optional?: boolean;
|
|
140
141
|
};
|
|
141
142
|
type ProcedureDef = {
|
|
142
|
-
params:
|
|
143
|
+
params: Record<string, ProcedureParam>;
|
|
143
144
|
returnType: string;
|
|
145
|
+
returnArray?: boolean;
|
|
144
146
|
mutation?: boolean;
|
|
145
147
|
};
|
|
146
148
|
type BuiltinType = 'String' | 'Boolean' | 'Int' | 'Float' | 'BigInt' | 'Decimal' | 'DateTime' | 'Bytes' | 'Json' | 'Unsupported';
|
package/dist/index.d.ts
CHANGED
|
@@ -136,11 +136,13 @@ type FieldDef = {
|
|
|
136
136
|
type ProcedureParam = {
|
|
137
137
|
name: string;
|
|
138
138
|
type: string;
|
|
139
|
+
array?: boolean;
|
|
139
140
|
optional?: boolean;
|
|
140
141
|
};
|
|
141
142
|
type ProcedureDef = {
|
|
142
|
-
params:
|
|
143
|
+
params: Record<string, ProcedureParam>;
|
|
143
144
|
returnType: string;
|
|
145
|
+
returnArray?: boolean;
|
|
144
146
|
mutation?: boolean;
|
|
145
147
|
};
|
|
146
148
|
type BuiltinType = 'String' | 'Boolean' | 'Int' | 'Float' | 'BigInt' | 'Decimal' | 'DateTime' | 'Bytes' | 'Json' | 'Unsupported';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenstackhq/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "ZenStack Runtime Schema",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"decimal.js": "^10.4.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@zenstackhq/
|
|
29
|
-
"@zenstackhq/
|
|
28
|
+
"@zenstackhq/eslint-config": "3.2.1",
|
|
29
|
+
"@zenstackhq/typescript-config": "3.2.1"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsc --noEmit && tsup-node",
|