File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,13 +144,14 @@ export type ModelDefinition = {
144144 kind : 'object' ;
145145 fields : readonly ObjectFieldDefinition [ ] ;
146146 }
147- | ( {
147+ | {
148148 kind : 'entity' ;
149149 root ?: boolean ;
150150 parent ?: string ;
151151 interfaces ?: readonly string [ ] ;
152152 queriable ?: boolean ;
153153 listQueriable ?: boolean | { args ?: readonly Field [ ] } ;
154+ aggregatable ?: boolean ;
154155 creatable ?:
155156 | boolean
156157 | {
@@ -189,13 +190,7 @@ export type ModelDefinition = {
189190 // temporary fields for the generation of migrations
190191 deleted ?: true ;
191192 oldName ?: string ;
192- } & (
193- | { aggregatable ?: false }
194- | {
195- aggregatable : true ;
196- listQueriable : true | { args ?: readonly Field [ ] } ;
197- }
198- ) )
193+ }
199194) ;
200195
201196export type ConstraintDefinition =
You can’t perform that action at this time.
0 commit comments