@@ -29,7 +29,7 @@ type Query {
2929 "Get multiple users."
3030 users (
3131 filters : _ @filter
32- ): [User ! ]! @paginate (type : CONNECTION ) @orderBy ( column : " id " )
32+ ): [User ! ]! @paginate (type : CONNECTION )
3333
3434 "Find a single project."
3535 project (
@@ -43,7 +43,7 @@ type Query {
4343 "List the projects available to the current user."
4444 projects (
4545 filters : _ @filter
46- ): [Project ! ]! @paginate (scopes : ["forUser" ], type : CONNECTION ) @orderBy ( column : " id " )
46+ ): [Project ! ]! @paginate (scopes : ["forUser" ], type : CONNECTION )
4747
4848 "Find a single build by ID."
4949 build (
@@ -228,7 +228,7 @@ type User {
228228
229229 projects (
230230 filters : _ @filter
231- ): [Project ! ]! @hasMany (type : CONNECTION , scopes : ["forUser" ]) @orderBy ( column : " id " )
231+ ): [Project ! ]! @hasMany (type : CONNECTION , scopes : ["forUser" ])
232232
233233 authenticationTokens : [AuthToken ! ]! @canRoot (ability : " viewAuthenticationTokens" ) @hasMany (type : CONNECTION ) @orderBy (column : " id" )
234234}
@@ -359,7 +359,7 @@ type Project {
359359
360360 builds (
361361 filters : _ @filter
362- ): [Build ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " )
362+ ): [Build ! ]! @hasMany (type : CONNECTION )
363363
364364 """
365365 An efficient way to get the number of builds matching a given filter.
@@ -377,7 +377,7 @@ type Project {
377377 "The sites which have submitted a build to this project."
378378 sites (
379379 filters : _ @filter
380- ): [Site ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " )
380+ ): [Site ! ]! @belongsToMany (type : CONNECTION )
381381
382382 "Users with the lowest user role for this project."
383383 basicUsers : [User ! ]! @belongsToMany (type : CONNECTION ) @orderBy (column : " id" )
@@ -856,14 +856,14 @@ type Build {
856856 "Test results associated with this build."
857857 tests (
858858 filters : _ @filter
859- ): [Test ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
859+ ): [Test ! ]! @hasMany (type : CONNECTION )
860860
861861 """
862862 A list of warnings and errors submitted for this build.
863863 """
864864 buildErrors (
865865 filters : _ @filter
866- ): [BuildError ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
866+ ): [BuildError ! ]! @hasMany (type : CONNECTION )
867867
868868 project : Project ! @belongsTo
869869
@@ -887,11 +887,11 @@ type Build {
887887 """
888888 children (
889889 filters : _ @filter
890- ): [Build ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " )
890+ ): [Build ! ]! @hasMany (type : CONNECTION )
891891
892892 coverage (
893893 filters : _ @filter
894- ): [Coverage ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
894+ ): [Coverage ! ]! @belongsToMany (type : CONNECTION )
895895
896896 coverageDiffs : [CoverageDiff ! ]! @hasMany (type : CONNECTION ) @orderBy (column : " id" , direction : DESC )
897897
@@ -906,15 +906,15 @@ type Build {
906906
907907 labels (
908908 filters : _ @filter
909- ): [Label ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
909+ ): [Label ! ]! @belongsToMany (type : CONNECTION )
910910
911911 targets (
912912 filters : _ @filter
913- ): [Target ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : ASC )
913+ ): [Target ! ]! @hasMany (type : CONNECTION )
914914
915915 commands (
916916 filters : _ @filter
917- ): [BuildCommand ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : ASC )
917+ ): [BuildCommand ! ]! @hasMany (type : CONNECTION )
918918
919919 urls : [UploadedUrl ! ]! @hasMany (relation : " uploadedFiles" , type : CONNECTION , scopes : ["urls" ]) @orderBy (column : " id" , direction : ASC )
920920
@@ -926,7 +926,7 @@ type Build {
926926
927927 dynamicAnalyses (
928928 filters : _ @filter
929- ): [DynamicAnalysis ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : ASC )
929+ ): [DynamicAnalysis ! ]! @hasMany (type : CONNECTION )
930930
931931 updateStep : Update @belongsTo
932932
@@ -965,15 +965,15 @@ type Test {
965965
966966 testMeasurements (
967967 filters : _ @filter
968- ): [TestMeasurement ! ]! @hasMany @orderBy ( column : " id " , direction : DESC )
968+ ): [TestMeasurement ! ]! @hasMany
969969
970970 testImages (
971971 filters : _ @filter
972- ): [TestImage ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
972+ ): [TestImage ! ]! @hasMany (type : CONNECTION )
973973
974974 labels (
975975 filters : _ @filter
976- ): [Label ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
976+ ): [Label ! ]! @belongsToMany (type : CONNECTION )
977977}
978978
979979enum TestStatus {
@@ -1052,15 +1052,15 @@ type BuildCommand @model(class: "App\\Models\\BuildCommand") {
10521052
10531053 measurements (
10541054 filters : _ @filter
1055- ): [BuildMeasurement ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : ASC )
1055+ ): [BuildMeasurement ! ]! @hasMany (type : CONNECTION )
10561056
10571057 """
10581058 Output filenames and corresponding sizes associated with this command. Most command types only
10591059 produce one output file.
10601060 """
10611061 outputs (
10621062 filters : _ @filter
1063- ): [BuildCommandOutput ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : ASC )
1063+ ): [BuildCommandOutput ! ]! @hasMany (type : CONNECTION )
10641064}
10651065
10661066
@@ -1151,7 +1151,7 @@ type BuildError {
11511151
11521152 labels (
11531153 filters : _ @filter
1154- ): [Label ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " )
1154+ ): [Label ! ]! @belongsToMany (type : CONNECTION )
11551155}
11561156
11571157
@@ -1185,7 +1185,7 @@ type Site {
11851185 "The users who have signed up to maintain this site."
11861186 maintainers (
11871187 filters : _ @filter
1188- ): [User ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " )
1188+ ): [User ! ]! @belongsToMany (type : CONNECTION )
11891189}
11901190
11911191
@@ -1329,7 +1329,7 @@ type Coverage @model(class: "App\\Models\\CoverageView") {
13291329
13301330 labels (
13311331 filters : _ @filter
1332- ): [Label ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
1332+ ): [Label ! ]! @belongsToMany (type : CONNECTION )
13331333}
13341334
13351335
@@ -1401,11 +1401,11 @@ type Target {
14011401
14021402 commands (
14031403 filters : _ @filter
1404- ): [BuildCommand ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : ASC )
1404+ ): [BuildCommand ! ]! @hasMany (type : CONNECTION )
14051405
14061406 labels (
14071407 filters : _ @filter
1408- ): [Label ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
1408+ ): [Label ! ]! @belongsToMany (type : CONNECTION )
14091409}
14101410
14111411
@@ -1460,7 +1460,7 @@ type DynamicAnalysis {
14601460
14611461 labels (
14621462 filters : _ @filter
1463- ): [Label ! ]! @belongsToMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
1463+ ): [Label ! ]! @belongsToMany (type : CONNECTION )
14641464}
14651465
14661466
@@ -1492,7 +1492,7 @@ type Update @model(class: "App\\Models\\BuildUpdate") {
14921492
14931493 updateFiles (
14941494 filters : _ @filter
1495- ): [UpdateFile ! ]! @hasMany (type : CONNECTION ) @orderBy ( column : " id " , direction : DESC )
1495+ ): [UpdateFile ! ]! @hasMany (type : CONNECTION )
14961496}
14971497
14981498
0 commit comments