diff --git a/go.mod b/go.mod index 822ea4d..48450d9 100644 --- a/go.mod +++ b/go.mod @@ -3,27 +3,27 @@ module github.com/DIMO-Network/telemetry-api go 1.23 require ( - github.com/99designs/gqlgen v0.17.57 + github.com/99designs/gqlgen v0.17.64 github.com/ClickHouse/clickhouse-go/v2 v2.30.0 github.com/DIMO-Network/attestation-api v0.0.11 github.com/DIMO-Network/clickhouse-infra v0.0.3 github.com/DIMO-Network/fetch-api v0.0.6 - github.com/DIMO-Network/model-garage v0.4.6 + github.com/DIMO-Network/model-garage v0.4.8 github.com/DIMO-Network/shared v0.12.7 github.com/Khan/genqlient v0.7.0 github.com/auth0/go-jwt-middleware/v2 v2.2.1 - github.com/ethereum/go-ethereum v1.14.12 + github.com/ethereum/go-ethereum v1.14.13 github.com/go-jose/go-jose/v4 v4.0.4 github.com/gofiber/fiber/v2 v2.52.6 github.com/prometheus/client_golang v1.20.5 github.com/rs/zerolog v1.33.0 github.com/stretchr/testify v1.10.0 github.com/uber/h3-go/v4 v4.1.2 - github.com/vektah/gqlparser/v2 v2.5.19 + github.com/vektah/gqlparser/v2 v2.5.22 github.com/volatiletech/sqlboiler/v4 v4.17.1 go.uber.org/mock v0.5.0 google.golang.org/grpc v1.67.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.4 ) require ( @@ -32,7 +32,7 @@ require ( github.com/ClickHouse/ch-go v0.61.5 // indirect github.com/DIMO-Network/yaml v0.1.0 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect - github.com/agnivade/levenshtein v1.1.1 // indirect + github.com/agnivade/levenshtein v1.2.0 // indirect github.com/andybalholm/brotli v1.1.1 // indirect github.com/avast/retry-go/v4 v4.6.0 // indirect github.com/aws/aws-sdk-go-v2 v1.32.7 // indirect @@ -72,7 +72,7 @@ require ( github.com/klauspost/compress v1.17.9 // indirect github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect github.com/magiconair/properties v1.8.7 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.16 // indirect github.com/mdelapenya/tlscert v0.1.0 // indirect @@ -94,7 +94,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect github.com/pquerna/cachecontrol v0.2.0 // indirect - github.com/pressly/goose/v3 v3.24.0 // indirect + github.com/pressly/goose/v3 v3.24.1 // indirect github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect @@ -130,7 +130,7 @@ require ( golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect golang.org/x/net v0.33.0 // indirect golang.org/x/sync v0.10.0 // indirect - golang.org/x/sys v0.28.0 // indirect + golang.org/x/sys v0.29.0 // indirect golang.org/x/text v0.21.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect diff --git a/go.sum b/go.sum index 3716fc3..2e7c2a8 100644 --- a/go.sum +++ b/go.sum @@ -56,8 +56,8 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/99designs/gqlgen v0.17.57 h1:Ak4p60BRq6QibxY0lEc0JnQhDurfhxA67sp02lMjmPc= -github.com/99designs/gqlgen v0.17.57/go.mod h1:Jx61hzOSTcR4VJy/HFIgXiQ5rJ0Ypw8DxWLjbYDAUw0= +github.com/99designs/gqlgen v0.17.64 h1:BzpqO5ofQXyy2XOa93Q6fP1BHLRjTOeU35ovTEsbYlw= +github.com/99designs/gqlgen v0.17.64/go.mod h1:kaxLetFxPGeBBwiuKk75NxuI1fe9HRvob17In74v/Zc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= @@ -80,8 +80,8 @@ github.com/DIMO-Network/clickhouse-infra v0.0.3 h1:B6/4IY9IxLcyydET14IjHUT+A5SDE github.com/DIMO-Network/clickhouse-infra v0.0.3/go.mod h1:NtpQ1btkPzebDvpYYygeqiiBmJ/q5oJb/T/JWzUVRlk= github.com/DIMO-Network/fetch-api v0.0.6 h1:kL5aYKKf+idUKWIgJNnnsurCol2C4n91gVPhiKDvEss= github.com/DIMO-Network/fetch-api v0.0.6/go.mod h1:W51V8G+5kjxGVJzsRK6e4Hzoh8kS/T2kQmsTUqaDyqE= -github.com/DIMO-Network/model-garage v0.4.6 h1:PwjrNA21lik/2cGE2LNOS8KiZHZ+PopJDdZoB5DOQLo= -github.com/DIMO-Network/model-garage v0.4.6/go.mod h1:n+6Yrh3EewjgBX+AFx45aJso8pnhgJRRcaTjW5Sak38= +github.com/DIMO-Network/model-garage v0.4.8 h1:JR2iffNUloLGKaM5OyDv1MDuAEtK8aw5JDtox/QB7TI= +github.com/DIMO-Network/model-garage v0.4.8/go.mod h1:XeYu3L7tBiKQ10e8RVnIR3wJanxYGgH/9Mnv0ViNows= github.com/DIMO-Network/shared v0.12.7 h1:6H8Pngxn2zXxhh/y34UHxCXBI6JGWCBr1Bpuczz57UQ= github.com/DIMO-Network/shared v0.12.7/go.mod h1:lDHUKwwT2LW6Zvd42Nb33dXklRNTmfyOlbUNx2dQfGY= github.com/DIMO-Network/yaml v0.1.0 h1:KQ3oKHUZETchR6Pxbmmol3e4ewrPv/q8cEwqxfwyZbU= @@ -98,8 +98,8 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE github.com/PuerkitoBio/goquery v1.9.3 h1:mpJr/ikUA9/GNJB/DBZcGeFDXUtosHRyRrwh7KGdTG0= github.com/PuerkitoBio/goquery v1.9.3/go.mod h1:1ndLHPdTz+DyQPICCWYlYQMPl0oXZj0G6D4LCYA6u4U= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= -github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= -github.com/agnivade/levenshtein v1.1.1/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= +github.com/agnivade/levenshtein v1.2.0 h1:U9L4IOT0Y3i0TIlUIDJ7rVUziKi/zPbrJGaFrtYH3SY= +github.com/agnivade/levenshtein v1.2.0/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -211,8 +211,8 @@ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeC github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnNEcHYvcCuK6dPZSg= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= -github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g= -github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= +github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54 h1:SG7nF6SRlWhcT7cNTs5R6Hk4V2lcmLz2NsG2VnInyNo= +github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= @@ -237,8 +237,8 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go. github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/ericlagergren/decimal v0.0.0-20190420051523-6335edbaa640/go.mod h1:mdYyfAkzn9kyJ/kMk/7WE9ufl9lflh+2NvecQ5mAghs= -github.com/ethereum/go-ethereum v1.14.12 h1:8hl57x77HSUo+cXExrURjU/w1VhL+ShCTJrTwcCQSe4= -github.com/ethereum/go-ethereum v1.14.12/go.mod h1:RAC2gVMWJ6FkxSPESfbshrcKpIokgQKsVKmAuqdekDY= +github.com/ethereum/go-ethereum v1.14.13 h1:L81Wmv0OUP6cf4CW6wtXsr23RUrDhKs2+Y9Qto+OgHU= +github.com/ethereum/go-ethereum v1.14.13/go.mod h1:RAC2gVMWJ6FkxSPESfbshrcKpIokgQKsVKmAuqdekDY= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= @@ -484,8 +484,9 @@ github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= +github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= @@ -587,8 +588,8 @@ github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b h1:0LFwY6Q3g github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/pquerna/cachecontrol v0.2.0 h1:vBXSNuE5MYP9IJ5kjsdo8uq+w41jSPgvba2DEnkRx9k= github.com/pquerna/cachecontrol v0.2.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI= -github.com/pressly/goose/v3 v3.24.0 h1:sFbNms7Bd++2VMq6HSgDHDLWa7kHz1qXzPb3ZIU72VU= -github.com/pressly/goose/v3 v3.24.0/go.mod h1:rEWreU9uVtt0DHCyLzF9gRcWiiTF/V+528DV+4DORug= +github.com/pressly/goose/v3 v3.24.1 h1:bZmxRco2uy5uu5Ng1MMVEfYsFlrMJI+e/VMXHQ3C4LY= +github.com/pressly/goose/v3 v3.24.1/go.mod h1:rEWreU9uVtt0DHCyLzF9gRcWiiTF/V+528DV+4DORug= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= @@ -719,8 +720,8 @@ github.com/valyala/fasthttp v1.55.0 h1:Zkefzgt6a7+bVKHnu/YaYSOPfNYNisSVBo/unVCf8 github.com/valyala/fasthttp v1.55.0/go.mod h1:NkY9JtkrpPKmgwV3HTaS2HWaJss9RSIsRVfcxxoHiOM= github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= -github.com/vektah/gqlparser/v2 v2.5.19 h1:bhCPCX1D4WWzCDvkPl4+TP1N8/kLrWnp43egplt7iSg= -github.com/vektah/gqlparser/v2 v2.5.19/go.mod h1:y7kvl5bBlDeuWIvLtA9849ncyvx6/lj06RsMrEjVy3U= +github.com/vektah/gqlparser/v2 v2.5.22 h1:yaaeJ0fu+nv1vUMW0Hl+aS1eiv1vMfapBNjpffAda1I= +github.com/vektah/gqlparser/v2 v2.5.22/go.mod h1:xMl+ta8a5M1Yo1A1Iwt/k7gSpscwSnHZdw7tfhEGfTM= github.com/volatiletech/inflect v0.0.1 h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU= github.com/volatiletech/inflect v0.0.1/go.mod h1:IBti31tG6phkHitLlr5j7shC5SOo//x0AjDzaJU1PLA= github.com/volatiletech/null/v8 v8.1.2 h1:kiTiX1PpwvuugKwfvUNX/SU/5A2KGZMXfGD0DUHdKEI= @@ -1028,8 +1029,8 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= -golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= +golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q= @@ -1291,8 +1292,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.4 h1:6A3ZDJHn/eNqc1i+IdefRzy/9PokBTPvcqMySR7NNIM= +google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/internal/app/app.go b/internal/app/app.go index f8358ca..0efd5a2 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -4,9 +4,13 @@ import ( "context" "errors" "net/http" + "time" "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/handler" + "github.com/99designs/gqlgen/graphql/handler/extension" + "github.com/99designs/gqlgen/graphql/handler/lru" + "github.com/99designs/gqlgen/graphql/handler/transport" "github.com/DIMO-Network/telemetry-api/internal/auth" "github.com/DIMO-Network/telemetry-api/internal/config" "github.com/DIMO-Network/telemetry-api/internal/graph" @@ -17,6 +21,7 @@ import ( "github.com/DIMO-Network/telemetry-api/internal/service/fetchapi" "github.com/DIMO-Network/telemetry-api/internal/service/identity" "github.com/rs/zerolog" + "github.com/vektah/gqlparser/v2/ast" "github.com/vektah/gqlparser/v2/gqlerror" ) @@ -55,9 +60,8 @@ func New(settings config.Settings, logger *zerolog.Logger) (*App, error) { cfg.Directives.RequiresOneOfPrivilege = auth.OneOfPrivilegeCheck cfg.Directives.IsSignal = noOp cfg.Directives.HasAggregation = noOp - cfg.Directives.OneOf = noOp - server := handler.NewDefaultServer(graph.NewExecutableSchema(cfg)) + server := newDefaultServer(graph.NewExecutableSchema(cfg)) errLogger := logger.With().Str("component", "gql").Logger() server.SetErrorPresenter(errorHandler(errLogger)) @@ -113,3 +117,24 @@ func errorHandler(log zerolog.Logger) func(ctx context.Context, e error) *gqlerr return gqlerror.Errorf("internal server error") } } + +func newDefaultServer(es graphql.ExecutableSchema) *handler.Server { + srv := handler.New(es) + + srv.AddTransport(transport.Websocket{ + KeepAlivePingInterval: 10 * time.Second, + }) + srv.AddTransport(transport.Options{}) + srv.AddTransport(transport.GET{}) + srv.AddTransport(transport.POST{}) + srv.AddTransport(transport.MultipartForm{}) + + srv.SetQueryCache(lru.New[*ast.QueryDocument](1000)) + + srv.Use(extension.Introspection{}) + srv.Use(extension.AutomaticPersistedQuery{ + Cache: lru.New[string](100), + }) + + return srv +} diff --git a/internal/graph/base.resolvers.go b/internal/graph/base.resolvers.go index 5fc5d7e..dba0431 100644 --- a/internal/graph/base.resolvers.go +++ b/internal/graph/base.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.57 +// Code generated by github.com/99designs/gqlgen version v0.17.64 import ( "context" diff --git a/internal/graph/device_activity.resolvers.go b/internal/graph/device_activity.resolvers.go index e4c810e..71a2b41 100644 --- a/internal/graph/device_activity.resolvers.go +++ b/internal/graph/device_activity.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.57 +// Code generated by github.com/99designs/gqlgen version v0.17.64 import ( "context" diff --git a/internal/graph/generated.go b/internal/graph/generated.go index 6a2896b..6514eb5 100644 --- a/internal/graph/generated.go +++ b/internal/graph/generated.go @@ -45,13 +45,12 @@ type ResolverRoot interface { } type DirectiveRoot struct { - HasAggregation func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) - IsSignal func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) - OneOf func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) - RequiresAllOfPrivileges func(ctx context.Context, obj interface{}, next graphql.Resolver, privileges []model.Privilege) (res interface{}, err error) - RequiresManufacturerToken func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) - RequiresOneOfPrivilege func(ctx context.Context, obj interface{}, next graphql.Resolver, privileges []model.Privilege) (res interface{}, err error) - RequiresVehicleToken func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + HasAggregation func(ctx context.Context, obj any, next graphql.Resolver) (res any, err error) + IsSignal func(ctx context.Context, obj any, next graphql.Resolver) (res any, err error) + RequiresAllOfPrivileges func(ctx context.Context, obj any, next graphql.Resolver, privileges []model.Privilege) (res any, err error) + RequiresManufacturerToken func(ctx context.Context, obj any, next graphql.Resolver) (res any, err error) + RequiresOneOfPrivilege func(ctx context.Context, obj any, next graphql.Resolver, privileges []model.Privilege) (res any, err error) + RequiresVehicleToken func(ctx context.Context, obj any, next graphql.Resolver) (res any, err error) } type ComplexityRoot struct { @@ -321,7 +320,7 @@ func (e *executableSchema) Schema() *ast.Schema { return parsedSchema } -func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) { +func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) { ec := executionContext{nil, e, 0, 0, nil} _ = ec switch typeName + "." + field { @@ -1863,6 +1862,11 @@ just like the blockchain, and in UTC. """ scalar Time +""" +A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix. +""" +scalar Address + directive @goField( forceResolver: Boolean name: String @@ -2028,7 +2032,7 @@ SignalFilter holds the filter parameters for the signal querys. input SignalFilter { """ Filter signals by source type. - available sources are: "autopi", "macaron", "ruptela", "smartcar", "tesla" + available sources are: "autopi", "macaron", "ruptela", "smartcar", "tesla","compass" """ source: String } @@ -2062,17 +2066,6 @@ input AftermarketDeviceBy @oneOf { address: Address serial: String } -`, BuiltIn: false}, - {Name: "../../schema/schema.graphqls", Input: `""" -This directive on an input object indicates that a client must specify one of the -fields of the object and no others. Typically used for lookups. -""" -directive @oneOf on INPUT_OBJECT - -""" -A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix. -""" -scalar Address `, BuiltIn: false}, {Name: "../../schema/signals_gen.graphqls", Input: `# Code generated with ` + "`" + `make gql-model` + "`" + ` DO NOT EDIT. extend type SignalAggregations { @@ -3144,9 +3137,9 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) // region ***************************** args.gotpl ***************************** -func (ec *executionContext) dir_requiresAllOfPrivileges_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) dir_requiresAllOfPrivileges_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.dir_requiresAllOfPrivileges_argsPrivileges(ctx, rawArgs) if err != nil { return nil, err @@ -3156,13 +3149,9 @@ func (ec *executionContext) dir_requiresAllOfPrivileges_args(ctx context.Context } func (ec *executionContext) dir_requiresAllOfPrivileges_argsPrivileges( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]model.Privilege, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["privileges"] - if !ok { + if _, ok := rawArgs["privileges"]; !ok { var zeroVal []model.Privilege return zeroVal, nil } @@ -3176,9 +3165,9 @@ func (ec *executionContext) dir_requiresAllOfPrivileges_argsPrivileges( return zeroVal, nil } -func (ec *executionContext) dir_requiresOneOfPrivilege_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) dir_requiresOneOfPrivilege_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.dir_requiresOneOfPrivilege_argsPrivileges(ctx, rawArgs) if err != nil { return nil, err @@ -3188,13 +3177,9 @@ func (ec *executionContext) dir_requiresOneOfPrivilege_args(ctx context.Context, } func (ec *executionContext) dir_requiresOneOfPrivilege_argsPrivileges( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]model.Privilege, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["privileges"] - if !ok { + if _, ok := rawArgs["privileges"]; !ok { var zeroVal []model.Privilege return zeroVal, nil } @@ -3208,9 +3193,9 @@ func (ec *executionContext) dir_requiresOneOfPrivilege_argsPrivileges( return zeroVal, nil } -func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query___type_argsName(ctx, rawArgs) if err != nil { return nil, err @@ -3220,13 +3205,9 @@ func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs } func (ec *executionContext) field_Query___type_argsName( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["name"] - if !ok { + if _, ok := rawArgs["name"]; !ok { var zeroVal string return zeroVal, nil } @@ -3240,9 +3221,9 @@ func (ec *executionContext) field_Query___type_argsName( return zeroVal, nil } -func (ec *executionContext) field_Query_availableSignals_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query_availableSignals_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query_availableSignals_argsTokenID(ctx, rawArgs) if err != nil { return nil, err @@ -3257,13 +3238,9 @@ func (ec *executionContext) field_Query_availableSignals_args(ctx context.Contex } func (ec *executionContext) field_Query_availableSignals_argsTokenID( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tokenId"] - if !ok { + if _, ok := rawArgs["tokenId"]; !ok { var zeroVal int return zeroVal, nil } @@ -3279,13 +3256,9 @@ func (ec *executionContext) field_Query_availableSignals_argsTokenID( func (ec *executionContext) field_Query_availableSignals_argsFilter( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (*model.SignalFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { + if _, ok := rawArgs["filter"]; !ok { var zeroVal *model.SignalFilter return zeroVal, nil } @@ -3299,9 +3272,9 @@ func (ec *executionContext) field_Query_availableSignals_argsFilter( return zeroVal, nil } -func (ec *executionContext) field_Query_deviceActivity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query_deviceActivity_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query_deviceActivity_argsBy(ctx, rawArgs) if err != nil { return nil, err @@ -3311,13 +3284,9 @@ func (ec *executionContext) field_Query_deviceActivity_args(ctx context.Context, } func (ec *executionContext) field_Query_deviceActivity_argsBy( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.AftermarketDeviceBy, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["by"] - if !ok { + if _, ok := rawArgs["by"]; !ok { var zeroVal model.AftermarketDeviceBy return zeroVal, nil } @@ -3331,9 +3300,9 @@ func (ec *executionContext) field_Query_deviceActivity_argsBy( return zeroVal, nil } -func (ec *executionContext) field_Query_pomVCLatest_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query_pomVCLatest_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query_pomVCLatest_argsTokenID(ctx, rawArgs) if err != nil { return nil, err @@ -3343,13 +3312,9 @@ func (ec *executionContext) field_Query_pomVCLatest_args(ctx context.Context, ra } func (ec *executionContext) field_Query_pomVCLatest_argsTokenID( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tokenId"] - if !ok { + if _, ok := rawArgs["tokenId"]; !ok { var zeroVal int return zeroVal, nil } @@ -3363,9 +3328,9 @@ func (ec *executionContext) field_Query_pomVCLatest_argsTokenID( return zeroVal, nil } -func (ec *executionContext) field_Query_signalsLatest_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query_signalsLatest_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query_signalsLatest_argsTokenID(ctx, rawArgs) if err != nil { return nil, err @@ -3380,13 +3345,9 @@ func (ec *executionContext) field_Query_signalsLatest_args(ctx context.Context, } func (ec *executionContext) field_Query_signalsLatest_argsTokenID( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tokenId"] - if !ok { + if _, ok := rawArgs["tokenId"]; !ok { var zeroVal int return zeroVal, nil } @@ -3402,13 +3363,9 @@ func (ec *executionContext) field_Query_signalsLatest_argsTokenID( func (ec *executionContext) field_Query_signalsLatest_argsFilter( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (*model.SignalFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { + if _, ok := rawArgs["filter"]; !ok { var zeroVal *model.SignalFilter return zeroVal, nil } @@ -3422,9 +3379,9 @@ func (ec *executionContext) field_Query_signalsLatest_argsFilter( return zeroVal, nil } -func (ec *executionContext) field_Query_signals_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query_signals_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query_signals_argsTokenID(ctx, rawArgs) if err != nil { return nil, err @@ -3454,13 +3411,9 @@ func (ec *executionContext) field_Query_signals_args(ctx context.Context, rawArg } func (ec *executionContext) field_Query_signals_argsTokenID( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tokenId"] - if !ok { + if _, ok := rawArgs["tokenId"]; !ok { var zeroVal int return zeroVal, nil } @@ -3476,13 +3429,9 @@ func (ec *executionContext) field_Query_signals_argsTokenID( func (ec *executionContext) field_Query_signals_argsInterval( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["interval"] - if !ok { + if _, ok := rawArgs["interval"]; !ok { var zeroVal string return zeroVal, nil } @@ -3498,13 +3447,9 @@ func (ec *executionContext) field_Query_signals_argsInterval( func (ec *executionContext) field_Query_signals_argsFrom( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (time.Time, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["from"] - if !ok { + if _, ok := rawArgs["from"]; !ok { var zeroVal time.Time return zeroVal, nil } @@ -3520,13 +3465,9 @@ func (ec *executionContext) field_Query_signals_argsFrom( func (ec *executionContext) field_Query_signals_argsTo( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (time.Time, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["to"] - if !ok { + if _, ok := rawArgs["to"]; !ok { var zeroVal time.Time return zeroVal, nil } @@ -3542,13 +3483,9 @@ func (ec *executionContext) field_Query_signals_argsTo( func (ec *executionContext) field_Query_signals_argsFilter( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (*model.SignalFilter, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["filter"] - if !ok { + if _, ok := rawArgs["filter"]; !ok { var zeroVal *model.SignalFilter return zeroVal, nil } @@ -3562,9 +3499,9 @@ func (ec *executionContext) field_Query_signals_argsFilter( return zeroVal, nil } -func (ec *executionContext) field_Query_vinVCLatest_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query_vinVCLatest_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query_vinVCLatest_argsTokenID(ctx, rawArgs) if err != nil { return nil, err @@ -3574,13 +3511,9 @@ func (ec *executionContext) field_Query_vinVCLatest_args(ctx context.Context, ra } func (ec *executionContext) field_Query_vinVCLatest_argsTokenID( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (int, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tokenId"] - if !ok { + if _, ok := rawArgs["tokenId"]; !ok { var zeroVal int return zeroVal, nil } @@ -3594,9 +3527,9 @@ func (ec *executionContext) field_Query_vinVCLatest_argsTokenID( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_angularVelocityYaw_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_angularVelocityYaw_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_angularVelocityYaw_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3606,13 +3539,9 @@ func (ec *executionContext) field_SignalAggregations_angularVelocityYaw_args(ctx } func (ec *executionContext) field_SignalAggregations_angularVelocityYaw_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3626,9 +3555,9 @@ func (ec *executionContext) field_SignalAggregations_angularVelocityYaw_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftSpeed_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftSpeed_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_chassisAxleRow1WheelLeftSpeed_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3638,13 +3567,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftSpe } func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftSpeed_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3658,9 +3583,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftSpe return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftTirePressure_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftTirePressure_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_chassisAxleRow1WheelLeftTirePressure_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3670,13 +3595,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftTir } func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftTirePressure_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3690,9 +3611,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelLeftTir return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightSpeed_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightSpeed_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_chassisAxleRow1WheelRightSpeed_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3702,13 +3623,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightSp } func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightSpeed_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3722,9 +3639,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightSp return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightTirePressure_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightTirePressure_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_chassisAxleRow1WheelRightTirePressure_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3734,13 +3651,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightTi } func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightTirePressure_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3754,9 +3667,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow1WheelRightTi return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelLeftTirePressure_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelLeftTirePressure_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_chassisAxleRow2WheelLeftTirePressure_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3766,13 +3679,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelLeftTir } func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelLeftTirePressure_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3786,9 +3695,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelLeftTir return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelRightTirePressure_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelRightTirePressure_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_chassisAxleRow2WheelRightTirePressure_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3798,13 +3707,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelRightTi } func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelRightTirePressure_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3818,9 +3723,9 @@ func (ec *executionContext) field_SignalAggregations_chassisAxleRow2WheelRightTi return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_currentLocationAltitude_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_currentLocationAltitude_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_currentLocationAltitude_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3830,13 +3735,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationAltitude_arg } func (ec *executionContext) field_SignalAggregations_currentLocationAltitude_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3850,9 +3751,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationAltitude_arg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_currentLocationApproximateLatitude_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_currentLocationApproximateLatitude_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_currentLocationApproximateLatitude_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3862,13 +3763,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationApproximateL } func (ec *executionContext) field_SignalAggregations_currentLocationApproximateLatitude_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3882,9 +3779,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationApproximateL return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_currentLocationApproximateLongitude_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_currentLocationApproximateLongitude_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_currentLocationApproximateLongitude_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3894,13 +3791,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationApproximateL } func (ec *executionContext) field_SignalAggregations_currentLocationApproximateLongitude_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3914,9 +3807,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationApproximateL return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_currentLocationIsRedacted_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_currentLocationIsRedacted_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_currentLocationIsRedacted_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3926,13 +3819,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationIsRedacted_a } func (ec *executionContext) field_SignalAggregations_currentLocationIsRedacted_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3946,9 +3835,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationIsRedacted_a return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_currentLocationLatitude_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_currentLocationLatitude_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_currentLocationLatitude_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3958,13 +3847,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationLatitude_arg } func (ec *executionContext) field_SignalAggregations_currentLocationLatitude_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -3978,9 +3863,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationLatitude_arg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_currentLocationLongitude_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_currentLocationLongitude_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_currentLocationLongitude_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -3990,13 +3875,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationLongitude_ar } func (ec *executionContext) field_SignalAggregations_currentLocationLongitude_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4010,9 +3891,9 @@ func (ec *executionContext) field_SignalAggregations_currentLocationLongitude_ar return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_dimoAftermarketHDOP_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_dimoAftermarketHDOP_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_dimoAftermarketHDOP_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4022,13 +3903,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketHDOP_args(ct } func (ec *executionContext) field_SignalAggregations_dimoAftermarketHDOP_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4042,9 +3919,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketHDOP_argsAgg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_dimoAftermarketNSAT_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_dimoAftermarketNSAT_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_dimoAftermarketNSAT_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4054,13 +3931,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketNSAT_args(ct } func (ec *executionContext) field_SignalAggregations_dimoAftermarketNSAT_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4074,9 +3947,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketNSAT_argsAgg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_dimoAftermarketSSID_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_dimoAftermarketSSID_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_dimoAftermarketSSID_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4086,13 +3959,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketSSID_args(ct } func (ec *executionContext) field_SignalAggregations_dimoAftermarketSSID_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.StringAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.StringAggregation return zeroVal, nil } @@ -4106,9 +3975,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketSSID_argsAgg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_dimoAftermarketWPAState_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_dimoAftermarketWPAState_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_dimoAftermarketWPAState_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4118,13 +3987,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketWPAState_arg } func (ec *executionContext) field_SignalAggregations_dimoAftermarketWPAState_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.StringAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.StringAggregation return zeroVal, nil } @@ -4138,9 +4003,9 @@ func (ec *executionContext) field_SignalAggregations_dimoAftermarketWPAState_arg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_exteriorAirTemperature_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_exteriorAirTemperature_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_exteriorAirTemperature_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4150,13 +4015,9 @@ func (ec *executionContext) field_SignalAggregations_exteriorAirTemperature_args } func (ec *executionContext) field_SignalAggregations_exteriorAirTemperature_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4170,9 +4031,9 @@ func (ec *executionContext) field_SignalAggregations_exteriorAirTemperature_args return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_lowVoltageBatteryCurrentVoltage_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_lowVoltageBatteryCurrentVoltage_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_lowVoltageBatteryCurrentVoltage_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4182,13 +4043,9 @@ func (ec *executionContext) field_SignalAggregations_lowVoltageBatteryCurrentVol } func (ec *executionContext) field_SignalAggregations_lowVoltageBatteryCurrentVoltage_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4202,9 +4059,9 @@ func (ec *executionContext) field_SignalAggregations_lowVoltageBatteryCurrentVol return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdBarometricPressure_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdBarometricPressure_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdBarometricPressure_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4214,13 +4071,9 @@ func (ec *executionContext) field_SignalAggregations_obdBarometricPressure_args( } func (ec *executionContext) field_SignalAggregations_obdBarometricPressure_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4234,9 +4087,9 @@ func (ec *executionContext) field_SignalAggregations_obdBarometricPressure_argsA return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdCommandedEGR_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdCommandedEGR_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdCommandedEGR_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4246,13 +4099,9 @@ func (ec *executionContext) field_SignalAggregations_obdCommandedEGR_args(ctx co } func (ec *executionContext) field_SignalAggregations_obdCommandedEGR_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4266,9 +4115,9 @@ func (ec *executionContext) field_SignalAggregations_obdCommandedEGR_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdCommandedEVAP_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdCommandedEVAP_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdCommandedEVAP_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4278,13 +4127,9 @@ func (ec *executionContext) field_SignalAggregations_obdCommandedEVAP_args(ctx c } func (ec *executionContext) field_SignalAggregations_obdCommandedEVAP_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4298,9 +4143,9 @@ func (ec *executionContext) field_SignalAggregations_obdCommandedEVAP_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdDTCList_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdDTCList_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdDTCList_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4310,13 +4155,9 @@ func (ec *executionContext) field_SignalAggregations_obdDTCList_args(ctx context } func (ec *executionContext) field_SignalAggregations_obdDTCList_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.StringAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.StringAggregation return zeroVal, nil } @@ -4330,9 +4171,9 @@ func (ec *executionContext) field_SignalAggregations_obdDTCList_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdDistanceSinceDTCClear_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdDistanceSinceDTCClear_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdDistanceSinceDTCClear_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4342,13 +4183,9 @@ func (ec *executionContext) field_SignalAggregations_obdDistanceSinceDTCClear_ar } func (ec *executionContext) field_SignalAggregations_obdDistanceSinceDTCClear_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4362,9 +4199,9 @@ func (ec *executionContext) field_SignalAggregations_obdDistanceSinceDTCClear_ar return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdDistanceWithMIL_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdDistanceWithMIL_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdDistanceWithMIL_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4374,13 +4211,9 @@ func (ec *executionContext) field_SignalAggregations_obdDistanceWithMIL_args(ctx } func (ec *executionContext) field_SignalAggregations_obdDistanceWithMIL_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4394,9 +4227,9 @@ func (ec *executionContext) field_SignalAggregations_obdDistanceWithMIL_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdEngineLoad_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdEngineLoad_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdEngineLoad_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4406,13 +4239,9 @@ func (ec *executionContext) field_SignalAggregations_obdEngineLoad_args(ctx cont } func (ec *executionContext) field_SignalAggregations_obdEngineLoad_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4426,9 +4255,9 @@ func (ec *executionContext) field_SignalAggregations_obdEngineLoad_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdFuelPressure_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdFuelPressure_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdFuelPressure_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4438,13 +4267,9 @@ func (ec *executionContext) field_SignalAggregations_obdFuelPressure_args(ctx co } func (ec *executionContext) field_SignalAggregations_obdFuelPressure_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4458,9 +4283,9 @@ func (ec *executionContext) field_SignalAggregations_obdFuelPressure_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdIntakeTemp_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdIntakeTemp_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdIntakeTemp_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4470,13 +4295,9 @@ func (ec *executionContext) field_SignalAggregations_obdIntakeTemp_args(ctx cont } func (ec *executionContext) field_SignalAggregations_obdIntakeTemp_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4490,9 +4311,9 @@ func (ec *executionContext) field_SignalAggregations_obdIntakeTemp_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdLongTermFuelTrim1_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdLongTermFuelTrim1_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdLongTermFuelTrim1_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4502,13 +4323,9 @@ func (ec *executionContext) field_SignalAggregations_obdLongTermFuelTrim1_args(c } func (ec *executionContext) field_SignalAggregations_obdLongTermFuelTrim1_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4522,9 +4339,9 @@ func (ec *executionContext) field_SignalAggregations_obdLongTermFuelTrim1_argsAg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdMAP_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdMAP_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdMAP_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4534,13 +4351,9 @@ func (ec *executionContext) field_SignalAggregations_obdMAP_args(ctx context.Con } func (ec *executionContext) field_SignalAggregations_obdMAP_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4554,9 +4367,9 @@ func (ec *executionContext) field_SignalAggregations_obdMAP_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdO2WRSensor1Voltage_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdO2WRSensor1Voltage_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdO2WRSensor1Voltage_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4566,13 +4379,9 @@ func (ec *executionContext) field_SignalAggregations_obdO2WRSensor1Voltage_args( } func (ec *executionContext) field_SignalAggregations_obdO2WRSensor1Voltage_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4586,9 +4395,9 @@ func (ec *executionContext) field_SignalAggregations_obdO2WRSensor1Voltage_argsA return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdO2WRSensor2Voltage_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdO2WRSensor2Voltage_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdO2WRSensor2Voltage_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4598,13 +4407,9 @@ func (ec *executionContext) field_SignalAggregations_obdO2WRSensor2Voltage_args( } func (ec *executionContext) field_SignalAggregations_obdO2WRSensor2Voltage_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4618,9 +4423,9 @@ func (ec *executionContext) field_SignalAggregations_obdO2WRSensor2Voltage_argsA return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdRunTime_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdRunTime_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdRunTime_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4630,13 +4435,9 @@ func (ec *executionContext) field_SignalAggregations_obdRunTime_args(ctx context } func (ec *executionContext) field_SignalAggregations_obdRunTime_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4650,9 +4451,9 @@ func (ec *executionContext) field_SignalAggregations_obdRunTime_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdShortTermFuelTrim1_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdShortTermFuelTrim1_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdShortTermFuelTrim1_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4662,13 +4463,9 @@ func (ec *executionContext) field_SignalAggregations_obdShortTermFuelTrim1_args( } func (ec *executionContext) field_SignalAggregations_obdShortTermFuelTrim1_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4682,9 +4479,9 @@ func (ec *executionContext) field_SignalAggregations_obdShortTermFuelTrim1_argsA return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_obdWarmupsSinceDTCClear_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_obdWarmupsSinceDTCClear_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_obdWarmupsSinceDTCClear_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4694,13 +4491,9 @@ func (ec *executionContext) field_SignalAggregations_obdWarmupsSinceDTCClear_arg } func (ec *executionContext) field_SignalAggregations_obdWarmupsSinceDTCClear_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4714,9 +4507,9 @@ func (ec *executionContext) field_SignalAggregations_obdWarmupsSinceDTCClear_arg return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidCapacity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidCapacity_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidCapacity_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4726,13 +4519,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineD } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidCapacity_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4746,9 +4535,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineD return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidLevel_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidLevel_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidLevel_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4758,13 +4547,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineD } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineDieselExhaustFluidLevel_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4778,9 +4563,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineD return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineECT_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineECT_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineECT_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4790,13 +4575,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineE } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineECT_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4810,9 +4591,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineE return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineEngineOilLevel_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineEngineOilLevel_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineEngineOilLevel_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4822,13 +4603,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineE } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineEngineOilLevel_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.StringAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.StringAggregation return zeroVal, nil } @@ -4842,9 +4619,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineE return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineEngineOilRelativeLevel_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineEngineOilRelativeLevel_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineEngineOilRelativeLevel_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4854,13 +4631,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineE } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineEngineOilRelativeLevel_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4874,9 +4647,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineE return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineMAF_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineMAF_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineMAF_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4886,13 +4659,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineM } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineMAF_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4906,9 +4675,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineM return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineSpeed_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineSpeed_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineSpeed_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4918,13 +4687,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineS } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineSpeed_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4938,9 +4703,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineS return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineTPS_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineTPS_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineTPS_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4950,13 +4715,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineT } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineTPS_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -4970,9 +4731,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineT return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineTorque_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineTorque_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainCombustionEngineTorque_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -4982,13 +4743,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineT } func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineTorque_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5002,9 +4759,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainCombustionEngineT return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemAbsoluteLevel_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemAbsoluteLevel_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainFuelSystemAbsoluteLevel_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5014,13 +4771,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemAbsolut } func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemAbsoluteLevel_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5034,9 +4787,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemAbsolut return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemRelativeLevel_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemRelativeLevel_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainFuelSystemRelativeLevel_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5046,13 +4799,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemRelativ } func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemRelativeLevel_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5066,9 +4815,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemRelativ return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemSupportedFuelTypes_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemSupportedFuelTypes_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainFuelSystemSupportedFuelTypes_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5078,13 +4827,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemSupport } func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemSupportedFuelTypes_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.StringAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.StringAggregation return zeroVal, nil } @@ -5098,9 +4843,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainFuelSystemSupport return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainRange_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainRange_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainRange_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5110,13 +4855,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainRange_args(ctx co } func (ec *executionContext) field_SignalAggregations_powertrainRange_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5130,9 +4871,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainRange_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingAddedEnergy_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingAddedEnergy_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryChargingAddedEnergy_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5142,13 +4883,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCh } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingAddedEnergy_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5162,9 +4899,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCh return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingChargeLimit_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingChargeLimit_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryChargingChargeLimit_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5174,13 +4911,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCh } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingChargeLimit_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5194,9 +4927,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCh return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingIsCharging_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingIsCharging_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryChargingIsCharging_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5206,13 +4939,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCh } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryChargingIsCharging_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5226,9 +4955,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCh return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCurrentPower_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCurrentPower_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryCurrentPower_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5238,13 +4967,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCu } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCurrentPower_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5258,9 +4983,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCu return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCurrentVoltage_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCurrentVoltage_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryCurrentVoltage_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5270,13 +4995,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCu } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCurrentVoltage_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5290,9 +5011,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryCu return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryGrossCapacity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryGrossCapacity_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryGrossCapacity_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5302,13 +5023,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryGr } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryGrossCapacity_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5322,9 +5039,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryGr return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryRange_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryRange_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryRange_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5334,13 +5051,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryRa } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryRange_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5354,9 +5067,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryRa return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryStateOfChargeCurrent_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryStateOfChargeCurrent_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryStateOfChargeCurrent_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5366,13 +5079,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatterySt } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryStateOfChargeCurrent_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5386,9 +5095,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatterySt return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryTemperatureAverage_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryTemperatureAverage_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTractionBatteryTemperatureAverage_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5398,13 +5107,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryTe } func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryTemperatureAverage_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5418,9 +5123,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTractionBatteryTe return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTransmissionCurrentGear_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTransmissionCurrentGear_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTransmissionCurrentGear_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5430,13 +5135,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTransmissionCurre } func (ec *executionContext) field_SignalAggregations_powertrainTransmissionCurrentGear_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5450,9 +5151,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTransmissionCurre return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTemperature_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTemperature_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTransmissionTemperature_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5462,13 +5163,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTempe } func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTemperature_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5482,9 +5179,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTempe return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTravelledDistance_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTravelledDistance_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainTransmissionTravelledDistance_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5494,13 +5191,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTrave } func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTravelledDistance_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5514,9 +5207,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainTransmissionTrave return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_powertrainType_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_powertrainType_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_powertrainType_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5526,13 +5219,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainType_args(ctx con } func (ec *executionContext) field_SignalAggregations_powertrainType_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.StringAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.StringAggregation return zeroVal, nil } @@ -5546,9 +5235,9 @@ func (ec *executionContext) field_SignalAggregations_powertrainType_argsAgg( return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_serviceDistanceToService_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_serviceDistanceToService_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_serviceDistanceToService_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5558,13 +5247,9 @@ func (ec *executionContext) field_SignalAggregations_serviceDistanceToService_ar } func (ec *executionContext) field_SignalAggregations_serviceDistanceToService_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5578,9 +5263,9 @@ func (ec *executionContext) field_SignalAggregations_serviceDistanceToService_ar return zeroVal, nil } -func (ec *executionContext) field_SignalAggregations_speed_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_SignalAggregations_speed_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_SignalAggregations_speed_argsAgg(ctx, rawArgs) if err != nil { return nil, err @@ -5590,13 +5275,9 @@ func (ec *executionContext) field_SignalAggregations_speed_args(ctx context.Cont } func (ec *executionContext) field_SignalAggregations_speed_argsAgg( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (model.FloatAggregation, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["agg"] - if !ok { + if _, ok := rawArgs["agg"]; !ok { var zeroVal model.FloatAggregation return zeroVal, nil } @@ -5610,9 +5291,65 @@ func (ec *executionContext) field_SignalAggregations_speed_argsAgg( return zeroVal, nil } -func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field___Directive_args_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := ec.field___Directive_args_argsIncludeDeprecated(ctx, rawArgs) + if err != nil { + return nil, err + } + args["includeDeprecated"] = arg0 + return args, nil +} +func (ec *executionContext) field___Directive_args_argsIncludeDeprecated( + ctx context.Context, + rawArgs map[string]any, +) (*bool, error) { + if _, ok := rawArgs["includeDeprecated"]; !ok { + var zeroVal *bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) + if tmp, ok := rawArgs["includeDeprecated"]; ok { + return ec.unmarshalOBoolean2ᚖbool(ctx, tmp) + } + + var zeroVal *bool + return zeroVal, nil +} + +func (ec *executionContext) field___Field_args_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} + arg0, err := ec.field___Field_args_argsIncludeDeprecated(ctx, rawArgs) + if err != nil { + return nil, err + } + args["includeDeprecated"] = arg0 + return args, nil +} +func (ec *executionContext) field___Field_args_argsIncludeDeprecated( + ctx context.Context, + rawArgs map[string]any, +) (*bool, error) { + if _, ok := rawArgs["includeDeprecated"]; !ok { + var zeroVal *bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) + if tmp, ok := rawArgs["includeDeprecated"]; ok { + return ec.unmarshalOBoolean2ᚖbool(ctx, tmp) + } + + var zeroVal *bool + return zeroVal, nil +} + +func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} arg0, err := ec.field___Type_enumValues_argsIncludeDeprecated(ctx, rawArgs) if err != nil { return nil, err @@ -5622,13 +5359,9 @@ func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, ra } func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { + if _, ok := rawArgs["includeDeprecated"]; !ok { var zeroVal bool return zeroVal, nil } @@ -5642,9 +5375,9 @@ func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( return zeroVal, nil } -func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field___Type_fields_argsIncludeDeprecated(ctx, rawArgs) if err != nil { return nil, err @@ -5654,13 +5387,9 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg } func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { + if _, ok := rawArgs["includeDeprecated"]; !ok { var zeroVal bool return zeroVal, nil } @@ -5694,7 +5423,7 @@ func (ec *executionContext) _DeviceActivity_lastActive(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.LastActive, nil }) @@ -5735,7 +5464,7 @@ func (ec *executionContext) _POMVC_vehicleTokenId(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VehicleTokenID, nil }) @@ -5776,7 +5505,7 @@ func (ec *executionContext) _POMVC_recordedBy(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RecordedBy, nil }) @@ -5817,7 +5546,7 @@ func (ec *executionContext) _POMVC_vehicleContractAddress(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VehicleContractAddress, nil }) @@ -5858,7 +5587,7 @@ func (ec *executionContext) _POMVC_validFrom(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ValidFrom, nil }) @@ -5899,7 +5628,7 @@ func (ec *executionContext) _POMVC_rawVC(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RawVc, nil }) @@ -5943,13 +5672,13 @@ func (ec *executionContext) _Query_signals(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().Signals(rctx, fc.Args["tokenId"].(int), fc.Args["interval"].(string), fc.Args["from"].(time.Time), fc.Args["to"].(time.Time), fc.Args["filter"].(*model.SignalFilter)) } - directive1 := func(ctx context.Context) (interface{}, error) { + directive1 := func(ctx context.Context) (any, error) { if ec.directives.RequiresVehicleToken == nil { var zeroVal []*model.SignalAggregations return zeroVal, errors.New("directive requiresVehicleToken is not implemented") @@ -6147,13 +5876,13 @@ func (ec *executionContext) _Query_signalsLatest(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().SignalsLatest(rctx, fc.Args["tokenId"].(int), fc.Args["filter"].(*model.SignalFilter)) } - directive1 := func(ctx context.Context) (interface{}, error) { + directive1 := func(ctx context.Context) (any, error) { if ec.directives.RequiresVehicleToken == nil { var zeroVal *model.SignalCollection return zeroVal, errors.New("directive requiresVehicleToken is not implemented") @@ -6351,13 +6080,13 @@ func (ec *executionContext) _Query_availableSignals(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().AvailableSignals(rctx, fc.Args["tokenId"].(int), fc.Args["filter"].(*model.SignalFilter)) } - directive1 := func(ctx context.Context) (interface{}, error) { + directive1 := func(ctx context.Context) (any, error) { if ec.directives.RequiresVehicleToken == nil { var zeroVal []string return zeroVal, errors.New("directive requiresVehicleToken is not implemented") @@ -6425,21 +6154,21 @@ func (ec *executionContext) _Query_deviceActivity(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().DeviceActivity(rctx, fc.Args["by"].(model.AftermarketDeviceBy)) } - directive1 := func(ctx context.Context) (interface{}, error) { + directive1 := func(ctx context.Context) (any, error) { if ec.directives.RequiresManufacturerToken == nil { var zeroVal *model.DeviceActivity return zeroVal, errors.New("directive requiresManufacturerToken is not implemented") } return ec.directives.RequiresManufacturerToken(ctx, nil, directive0) } - directive2 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"MANUFACTURER_DEVICE_LAST_SEEN"}) + directive2 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"MANUFACTURER_DEVICE_LAST_SEEN"}) if err != nil { var zeroVal *model.DeviceActivity return zeroVal, err @@ -6515,21 +6244,21 @@ func (ec *executionContext) _Query_vinVCLatest(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().VinVCLatest(rctx, fc.Args["tokenId"].(int)) } - directive1 := func(ctx context.Context) (interface{}, error) { + directive1 := func(ctx context.Context) (any, error) { if ec.directives.RequiresVehicleToken == nil { var zeroVal *model.Vinvc return zeroVal, errors.New("directive requiresVehicleToken is not implemented") } return ec.directives.RequiresVehicleToken(ctx, nil, directive0) } - directive2 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_VIN_CREDENTIAL"}) + directive2 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_VIN_CREDENTIAL"}) if err != nil { var zeroVal *model.Vinvc return zeroVal, err @@ -6621,21 +6350,21 @@ func (ec *executionContext) _Query_pomVCLatest(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().PomVCLatest(rctx, fc.Args["tokenId"].(int)) } - directive1 := func(ctx context.Context) (interface{}, error) { + directive1 := func(ctx context.Context) (any, error) { if ec.directives.RequiresVehicleToken == nil { var zeroVal *model.Pomvc return zeroVal, errors.New("directive requiresVehicleToken is not implemented") } return ec.directives.RequiresVehicleToken(ctx, nil, directive0) } - directive2 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive2 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.Pomvc return zeroVal, err @@ -6719,7 +6448,7 @@ func (ec *executionContext) _Query___type(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.introspectType(fc.Args["name"].(string)) }) @@ -6763,6 +6492,8 @@ func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -6793,7 +6524,7 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.introspectSchema() }) @@ -6848,7 +6579,7 @@ func (ec *executionContext) _SignalAggregations_timestamp(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Timestamp, nil }) @@ -6892,14 +6623,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationApproximateLatitu ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().CurrentLocationApproximateLatitude(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -6910,14 +6641,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationApproximateLatitu } return ec.directives.RequiresOneOfPrivilege(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -6985,14 +6716,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationApproximateLongit ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().CurrentLocationApproximateLongitude(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7003,14 +6734,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationApproximateLongit } return ec.directives.RequiresOneOfPrivilege(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7078,14 +6809,14 @@ func (ec *executionContext) _SignalAggregations_angularVelocityYaw(ctx context.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().AngularVelocityYaw(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7096,14 +6827,14 @@ func (ec *executionContext) _SignalAggregations_angularVelocityYaw(ctx context.C } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7171,14 +6902,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelLeftSpeed(ct ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ChassisAxleRow1WheelLeftSpeed(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7189,14 +6920,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelLeftSpeed(ct } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7264,14 +6995,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelLeftTirePres ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ChassisAxleRow1WheelLeftTirePressure(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7282,14 +7013,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelLeftTirePres } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7357,14 +7088,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelRightSpeed(c ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ChassisAxleRow1WheelRightSpeed(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7375,14 +7106,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelRightSpeed(c } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7450,14 +7181,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelRightTirePre ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ChassisAxleRow1WheelRightTirePressure(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7468,14 +7199,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow1WheelRightTirePre } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7543,14 +7274,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow2WheelLeftTirePres ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ChassisAxleRow2WheelLeftTirePressure(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7561,14 +7292,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow2WheelLeftTirePres } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7636,14 +7367,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow2WheelRightTirePre ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ChassisAxleRow2WheelRightTirePressure(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7654,14 +7385,14 @@ func (ec *executionContext) _SignalAggregations_chassisAxleRow2WheelRightTirePre } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7729,14 +7460,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationAltitude(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().CurrentLocationAltitude(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7747,14 +7478,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationAltitude(ctx cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7822,14 +7553,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationIsRedacted(ctx co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().CurrentLocationIsRedacted(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7840,14 +7571,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationIsRedacted(ctx co } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -7915,14 +7646,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationLatitude(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().CurrentLocationLatitude(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -7933,14 +7664,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationLatitude(ctx cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8008,14 +7739,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationLongitude(ctx con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().CurrentLocationLongitude(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8026,14 +7757,14 @@ func (ec *executionContext) _SignalAggregations_currentLocationLongitude(ctx con } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8101,14 +7832,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketHDOP(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().DimoAftermarketHdop(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8119,14 +7850,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketHDOP(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8194,14 +7925,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketNSAT(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().DimoAftermarketNsat(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8212,14 +7943,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketNSAT(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8287,14 +8018,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketSSID(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().DimoAftermarketSsid(rctx, obj, fc.Args["agg"].(model.StringAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *string return zeroVal, err @@ -8305,14 +8036,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketSSID(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *string return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *string return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8380,14 +8111,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketWPAState(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().DimoAftermarketWPAState(rctx, obj, fc.Args["agg"].(model.StringAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *string return zeroVal, err @@ -8398,14 +8129,14 @@ func (ec *executionContext) _SignalAggregations_dimoAftermarketWPAState(ctx cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *string return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *string return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8473,14 +8204,14 @@ func (ec *executionContext) _SignalAggregations_exteriorAirTemperature(ctx conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ExteriorAirTemperature(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8491,14 +8222,14 @@ func (ec *executionContext) _SignalAggregations_exteriorAirTemperature(ctx conte } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8566,14 +8297,14 @@ func (ec *executionContext) _SignalAggregations_lowVoltageBatteryCurrentVoltage( ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().LowVoltageBatteryCurrentVoltage(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8584,14 +8315,14 @@ func (ec *executionContext) _SignalAggregations_lowVoltageBatteryCurrentVoltage( } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8659,14 +8390,14 @@ func (ec *executionContext) _SignalAggregations_obdBarometricPressure(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdBarometricPressure(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8677,14 +8408,14 @@ func (ec *executionContext) _SignalAggregations_obdBarometricPressure(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8752,14 +8483,14 @@ func (ec *executionContext) _SignalAggregations_obdCommandedEGR(ctx context.Cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdCommandedEgr(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8770,14 +8501,14 @@ func (ec *executionContext) _SignalAggregations_obdCommandedEGR(ctx context.Cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8845,14 +8576,14 @@ func (ec *executionContext) _SignalAggregations_obdCommandedEVAP(ctx context.Con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdCommandedEvap(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -8863,14 +8594,14 @@ func (ec *executionContext) _SignalAggregations_obdCommandedEVAP(ctx context.Con } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -8938,14 +8669,14 @@ func (ec *executionContext) _SignalAggregations_obdDTCList(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdDTCList(rctx, obj, fc.Args["agg"].(model.StringAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *string return zeroVal, err @@ -8956,14 +8687,14 @@ func (ec *executionContext) _SignalAggregations_obdDTCList(ctx context.Context, } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *string return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *string return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9031,14 +8762,14 @@ func (ec *executionContext) _SignalAggregations_obdDistanceSinceDTCClear(ctx con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdDistanceSinceDTCClear(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9049,14 +8780,14 @@ func (ec *executionContext) _SignalAggregations_obdDistanceSinceDTCClear(ctx con } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9124,14 +8855,14 @@ func (ec *executionContext) _SignalAggregations_obdDistanceWithMIL(ctx context.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdDistanceWithMil(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9142,14 +8873,14 @@ func (ec *executionContext) _SignalAggregations_obdDistanceWithMIL(ctx context.C } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9217,14 +8948,14 @@ func (ec *executionContext) _SignalAggregations_obdEngineLoad(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdEngineLoad(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9235,14 +8966,14 @@ func (ec *executionContext) _SignalAggregations_obdEngineLoad(ctx context.Contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9310,14 +9041,14 @@ func (ec *executionContext) _SignalAggregations_obdFuelPressure(ctx context.Cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdFuelPressure(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9328,14 +9059,14 @@ func (ec *executionContext) _SignalAggregations_obdFuelPressure(ctx context.Cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9403,14 +9134,14 @@ func (ec *executionContext) _SignalAggregations_obdIntakeTemp(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdIntakeTemp(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9421,14 +9152,14 @@ func (ec *executionContext) _SignalAggregations_obdIntakeTemp(ctx context.Contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9496,14 +9227,14 @@ func (ec *executionContext) _SignalAggregations_obdLongTermFuelTrim1(ctx context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdLongTermFuelTrim1(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9514,14 +9245,14 @@ func (ec *executionContext) _SignalAggregations_obdLongTermFuelTrim1(ctx context } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9589,14 +9320,14 @@ func (ec *executionContext) _SignalAggregations_obdMAP(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdMap(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9607,14 +9338,14 @@ func (ec *executionContext) _SignalAggregations_obdMAP(ctx context.Context, fiel } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9682,14 +9413,14 @@ func (ec *executionContext) _SignalAggregations_obdO2WRSensor1Voltage(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdO2WRSensor1Voltage(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9700,14 +9431,14 @@ func (ec *executionContext) _SignalAggregations_obdO2WRSensor1Voltage(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9775,14 +9506,14 @@ func (ec *executionContext) _SignalAggregations_obdO2WRSensor2Voltage(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdO2WRSensor2Voltage(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9793,14 +9524,14 @@ func (ec *executionContext) _SignalAggregations_obdO2WRSensor2Voltage(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9868,14 +9599,14 @@ func (ec *executionContext) _SignalAggregations_obdRunTime(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdRunTime(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9886,14 +9617,14 @@ func (ec *executionContext) _SignalAggregations_obdRunTime(ctx context.Context, } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -9961,14 +9692,14 @@ func (ec *executionContext) _SignalAggregations_obdShortTermFuelTrim1(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdShortTermFuelTrim1(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -9979,14 +9710,14 @@ func (ec *executionContext) _SignalAggregations_obdShortTermFuelTrim1(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10054,14 +9785,14 @@ func (ec *executionContext) _SignalAggregations_obdWarmupsSinceDTCClear(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ObdWarmupsSinceDTCClear(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10072,14 +9803,14 @@ func (ec *executionContext) _SignalAggregations_obdWarmupsSinceDTCClear(ctx cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10147,14 +9878,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineDiesel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineDieselExhaustFluidCapacity(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10165,14 +9896,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineDiesel } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10240,14 +9971,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineDiesel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineDieselExhaustFluidLevel(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10258,14 +9989,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineDiesel } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10333,14 +10064,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineECT(ct ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineEct(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10351,14 +10082,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineECT(ct } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10426,14 +10157,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineEngine ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineEngineOilLevel(rctx, obj, fc.Args["agg"].(model.StringAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *string return zeroVal, err @@ -10444,14 +10175,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineEngine } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *string return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *string return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10519,14 +10250,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineEngine ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineEngineOilRelativeLevel(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10537,14 +10268,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineEngine } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10612,14 +10343,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineMAF(ct ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineMaf(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10630,14 +10361,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineMAF(ct } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10705,14 +10436,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineSpeed( ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineSpeed(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10723,14 +10454,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineSpeed( } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10798,14 +10529,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineTPS(ct ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineTps(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10816,14 +10547,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineTPS(ct } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10891,14 +10622,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineTorque ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainCombustionEngineTorque(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -10909,14 +10640,14 @@ func (ec *executionContext) _SignalAggregations_powertrainCombustionEngineTorque } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -10984,14 +10715,14 @@ func (ec *executionContext) _SignalAggregations_powertrainFuelSystemAbsoluteLeve ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainFuelSystemAbsoluteLevel(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11002,14 +10733,14 @@ func (ec *executionContext) _SignalAggregations_powertrainFuelSystemAbsoluteLeve } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11077,14 +10808,14 @@ func (ec *executionContext) _SignalAggregations_powertrainFuelSystemRelativeLeve ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainFuelSystemRelativeLevel(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11095,14 +10826,14 @@ func (ec *executionContext) _SignalAggregations_powertrainFuelSystemRelativeLeve } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11170,14 +10901,14 @@ func (ec *executionContext) _SignalAggregations_powertrainFuelSystemSupportedFue ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainFuelSystemSupportedFuelTypes(rctx, obj, fc.Args["agg"].(model.StringAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *string return zeroVal, err @@ -11188,14 +10919,14 @@ func (ec *executionContext) _SignalAggregations_powertrainFuelSystemSupportedFue } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *string return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *string return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11263,14 +10994,14 @@ func (ec *executionContext) _SignalAggregations_powertrainRange(ctx context.Cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainRange(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11281,14 +11012,14 @@ func (ec *executionContext) _SignalAggregations_powertrainRange(ctx context.Cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11356,14 +11087,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryChargin ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryChargingAddedEnergy(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11374,14 +11105,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryChargin } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11449,14 +11180,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryChargin ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryChargingChargeLimit(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11467,14 +11198,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryChargin } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11542,14 +11273,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryChargin ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryChargingIsCharging(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11560,14 +11291,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryChargin } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11635,14 +11366,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryCurrent ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryCurrentPower(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11653,14 +11384,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryCurrent } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11728,14 +11459,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryCurrent ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryCurrentVoltage(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11746,14 +11477,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryCurrent } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11821,14 +11552,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryGrossCa ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryGrossCapacity(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11839,14 +11570,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryGrossCa } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -11914,14 +11645,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryRange(c ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryRange(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -11932,14 +11663,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryRange(c } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12007,14 +11738,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryStateOf ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryStateOfChargeCurrent(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12025,14 +11756,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryStateOf } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12100,14 +11831,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryTempera ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTractionBatteryTemperatureAverage(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12118,14 +11849,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTractionBatteryTempera } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12193,14 +11924,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTransmissionCurrentGea ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTransmissionCurrentGear(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12211,14 +11942,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTransmissionCurrentGea } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12286,14 +12017,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTransmissionTemperatur ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTransmissionTemperature(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12304,14 +12035,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTransmissionTemperatur } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12379,14 +12110,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTransmissionTravelledD ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainTransmissionTravelledDistance(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12397,14 +12128,14 @@ func (ec *executionContext) _SignalAggregations_powertrainTransmissionTravelledD } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12472,14 +12203,14 @@ func (ec *executionContext) _SignalAggregations_powertrainType(ctx context.Conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().PowertrainType(rctx, obj, fc.Args["agg"].(model.StringAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *string return zeroVal, err @@ -12490,14 +12221,14 @@ func (ec *executionContext) _SignalAggregations_powertrainType(ctx context.Conte } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *string return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *string return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12565,14 +12296,14 @@ func (ec *executionContext) _SignalAggregations_serviceDistanceToService(ctx con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().ServiceDistanceToService(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12583,14 +12314,14 @@ func (ec *executionContext) _SignalAggregations_serviceDistanceToService(ctx con } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12658,14 +12389,14 @@ func (ec *executionContext) _SignalAggregations_speed(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.SignalAggregations().Speed(rctx, obj, fc.Args["agg"].(model.FloatAggregation)) } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *float64 return zeroVal, err @@ -12676,14 +12407,14 @@ func (ec *executionContext) _SignalAggregations_speed(ctx context.Context, field } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *float64 return zeroVal, errors.New("directive isSignal is not implemented") } return ec.directives.IsSignal(ctx, obj, directive1) } - directive3 := func(ctx context.Context) (interface{}, error) { + directive3 := func(ctx context.Context) (any, error) { if ec.directives.HasAggregation == nil { var zeroVal *float64 return zeroVal, errors.New("directive hasAggregation is not implemented") @@ -12751,7 +12482,7 @@ func (ec *executionContext) _SignalCollection_lastSeen(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.LastSeen, nil }) @@ -12792,14 +12523,14 @@ func (ec *executionContext) _SignalCollection_currentLocationApproximateLatitude ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CurrentLocationApproximateLatitude, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -12810,7 +12541,7 @@ func (ec *executionContext) _SignalCollection_currentLocationApproximateLatitude } return ec.directives.RequiresOneOfPrivilege(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -12873,14 +12604,14 @@ func (ec *executionContext) _SignalCollection_currentLocationApproximateLongitud ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CurrentLocationApproximateLongitude, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_APPROXIMATE_LOCATION", "VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -12891,7 +12622,7 @@ func (ec *executionContext) _SignalCollection_currentLocationApproximateLongitud } return ec.directives.RequiresOneOfPrivilege(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -12954,14 +12685,14 @@ func (ec *executionContext) _SignalCollection_angularVelocityYaw(ctx context.Con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.AngularVelocityYaw, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -12972,7 +12703,7 @@ func (ec *executionContext) _SignalCollection_angularVelocityYaw(ctx context.Con } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13035,14 +12766,14 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelLeftSpeed(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ChassisAxleRow1WheelLeftSpeed, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13053,7 +12784,7 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelLeftSpeed(ctx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13116,14 +12847,14 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelLeftTirePressu ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ChassisAxleRow1WheelLeftTirePressure, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13134,7 +12865,7 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelLeftTirePressu } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13197,14 +12928,14 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelRightSpeed(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ChassisAxleRow1WheelRightSpeed, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13215,7 +12946,7 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelRightSpeed(ctx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13278,14 +13009,14 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelRightTirePress ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ChassisAxleRow1WheelRightTirePressure, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13296,7 +13027,7 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow1WheelRightTirePress } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13359,14 +13090,14 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow2WheelLeftTirePressu ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ChassisAxleRow2WheelLeftTirePressure, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13377,7 +13108,7 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow2WheelLeftTirePressu } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13440,14 +13171,14 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow2WheelRightTirePress ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ChassisAxleRow2WheelRightTirePressure, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13458,7 +13189,7 @@ func (ec *executionContext) _SignalCollection_chassisAxleRow2WheelRightTirePress } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13521,14 +13252,14 @@ func (ec *executionContext) _SignalCollection_currentLocationAltitude(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CurrentLocationAltitude, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13539,7 +13270,7 @@ func (ec *executionContext) _SignalCollection_currentLocationAltitude(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13602,14 +13333,14 @@ func (ec *executionContext) _SignalCollection_currentLocationIsRedacted(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CurrentLocationIsRedacted, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13620,7 +13351,7 @@ func (ec *executionContext) _SignalCollection_currentLocationIsRedacted(ctx cont } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13683,14 +13414,14 @@ func (ec *executionContext) _SignalCollection_currentLocationLatitude(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CurrentLocationLatitude, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13701,7 +13432,7 @@ func (ec *executionContext) _SignalCollection_currentLocationLatitude(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13764,14 +13495,14 @@ func (ec *executionContext) _SignalCollection_currentLocationLongitude(ctx conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CurrentLocationLongitude, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_ALL_TIME_LOCATION"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_ALL_TIME_LOCATION"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13782,7 +13513,7 @@ func (ec *executionContext) _SignalCollection_currentLocationLongitude(ctx conte } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13845,14 +13576,14 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketHDOP(ctx context.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DIMOAftermarketHDOP, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13863,7 +13594,7 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketHDOP(ctx context.Co } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -13926,14 +13657,14 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketNSAT(ctx context.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DIMOAftermarketNSAT, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -13944,7 +13675,7 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketNSAT(ctx context.Co } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14007,14 +13738,14 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketSSID(ctx context.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DIMOAftermarketSSID, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalString return zeroVal, err @@ -14025,7 +13756,7 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketSSID(ctx context.Co } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalString return zeroVal, errors.New("directive isSignal is not implemented") @@ -14088,14 +13819,14 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketWPAState(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DIMOAftermarketWPAState, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalString return zeroVal, err @@ -14106,7 +13837,7 @@ func (ec *executionContext) _SignalCollection_dimoAftermarketWPAState(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalString return zeroVal, errors.New("directive isSignal is not implemented") @@ -14169,14 +13900,14 @@ func (ec *executionContext) _SignalCollection_exteriorAirTemperature(ctx context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ExteriorAirTemperature, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14187,7 +13918,7 @@ func (ec *executionContext) _SignalCollection_exteriorAirTemperature(ctx context } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14250,14 +13981,14 @@ func (ec *executionContext) _SignalCollection_lowVoltageBatteryCurrentVoltage(ct ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.LowVoltageBatteryCurrentVoltage, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14268,7 +13999,7 @@ func (ec *executionContext) _SignalCollection_lowVoltageBatteryCurrentVoltage(ct } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14331,14 +14062,14 @@ func (ec *executionContext) _SignalCollection_obdBarometricPressure(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDBarometricPressure, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14349,7 +14080,7 @@ func (ec *executionContext) _SignalCollection_obdBarometricPressure(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14412,14 +14143,14 @@ func (ec *executionContext) _SignalCollection_obdCommandedEGR(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDCommandedEGR, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14430,7 +14161,7 @@ func (ec *executionContext) _SignalCollection_obdCommandedEGR(ctx context.Contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14493,14 +14224,14 @@ func (ec *executionContext) _SignalCollection_obdCommandedEVAP(ctx context.Conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDCommandedEVAP, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14511,7 +14242,7 @@ func (ec *executionContext) _SignalCollection_obdCommandedEVAP(ctx context.Conte } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14574,14 +14305,14 @@ func (ec *executionContext) _SignalCollection_obdDTCList(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDDTCList, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalString return zeroVal, err @@ -14592,7 +14323,7 @@ func (ec *executionContext) _SignalCollection_obdDTCList(ctx context.Context, fi } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalString return zeroVal, errors.New("directive isSignal is not implemented") @@ -14655,14 +14386,14 @@ func (ec *executionContext) _SignalCollection_obdDistanceSinceDTCClear(ctx conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDDistanceSinceDTCClear, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14673,7 +14404,7 @@ func (ec *executionContext) _SignalCollection_obdDistanceSinceDTCClear(ctx conte } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14736,14 +14467,14 @@ func (ec *executionContext) _SignalCollection_obdDistanceWithMIL(ctx context.Con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDDistanceWithMIL, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14754,7 +14485,7 @@ func (ec *executionContext) _SignalCollection_obdDistanceWithMIL(ctx context.Con } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14817,14 +14548,14 @@ func (ec *executionContext) _SignalCollection_obdEngineLoad(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDEngineLoad, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14835,7 +14566,7 @@ func (ec *executionContext) _SignalCollection_obdEngineLoad(ctx context.Context, } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14898,14 +14629,14 @@ func (ec *executionContext) _SignalCollection_obdFuelPressure(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDFuelPressure, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14916,7 +14647,7 @@ func (ec *executionContext) _SignalCollection_obdFuelPressure(ctx context.Contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -14979,14 +14710,14 @@ func (ec *executionContext) _SignalCollection_obdIntakeTemp(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDIntakeTemp, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -14997,7 +14728,7 @@ func (ec *executionContext) _SignalCollection_obdIntakeTemp(ctx context.Context, } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15060,14 +14791,14 @@ func (ec *executionContext) _SignalCollection_obdLongTermFuelTrim1(ctx context.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDLongTermFuelTrim1, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15078,7 +14809,7 @@ func (ec *executionContext) _SignalCollection_obdLongTermFuelTrim1(ctx context.C } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15141,14 +14872,14 @@ func (ec *executionContext) _SignalCollection_obdMAP(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDMAP, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15159,7 +14890,7 @@ func (ec *executionContext) _SignalCollection_obdMAP(ctx context.Context, field } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15222,14 +14953,14 @@ func (ec *executionContext) _SignalCollection_obdO2WRSensor1Voltage(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDO2WRSensor1Voltage, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15240,7 +14971,7 @@ func (ec *executionContext) _SignalCollection_obdO2WRSensor1Voltage(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15303,14 +15034,14 @@ func (ec *executionContext) _SignalCollection_obdO2WRSensor2Voltage(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDO2WRSensor2Voltage, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15321,7 +15052,7 @@ func (ec *executionContext) _SignalCollection_obdO2WRSensor2Voltage(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15384,14 +15115,14 @@ func (ec *executionContext) _SignalCollection_obdRunTime(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDRunTime, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15402,7 +15133,7 @@ func (ec *executionContext) _SignalCollection_obdRunTime(ctx context.Context, fi } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15465,14 +15196,14 @@ func (ec *executionContext) _SignalCollection_obdShortTermFuelTrim1(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDShortTermFuelTrim1, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15483,7 +15214,7 @@ func (ec *executionContext) _SignalCollection_obdShortTermFuelTrim1(ctx context. } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15546,14 +15277,14 @@ func (ec *executionContext) _SignalCollection_obdWarmupsSinceDTCClear(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OBDWarmupsSinceDTCClear, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15564,7 +15295,7 @@ func (ec *executionContext) _SignalCollection_obdWarmupsSinceDTCClear(ctx contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15627,14 +15358,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineDieselEx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineDieselExhaustFluidCapacity, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15645,7 +15376,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineDieselEx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15708,14 +15439,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineDieselEx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineDieselExhaustFluidLevel, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15726,7 +15457,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineDieselEx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15789,14 +15520,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineECT(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineECT, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15807,7 +15538,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineECT(ctx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -15870,14 +15601,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineEngineOi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineEngineOilLevel, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalString return zeroVal, err @@ -15888,7 +15619,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineEngineOi } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalString return zeroVal, errors.New("directive isSignal is not implemented") @@ -15951,14 +15682,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineEngineOi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineEngineOilRelativeLevel, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -15969,7 +15700,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineEngineOi } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16032,14 +15763,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineMAF(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineMAF, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16050,7 +15781,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineMAF(ctx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16113,14 +15844,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineSpeed(ct ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineSpeed, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16131,7 +15862,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineSpeed(ct } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16194,14 +15925,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineTPS(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineTPS, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16212,7 +15943,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineTPS(ctx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16275,14 +16006,14 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineTorque(c ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainCombustionEngineTorque, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16293,7 +16024,7 @@ func (ec *executionContext) _SignalCollection_powertrainCombustionEngineTorque(c } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16356,14 +16087,14 @@ func (ec *executionContext) _SignalCollection_powertrainFuelSystemAbsoluteLevel( ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainFuelSystemAbsoluteLevel, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16374,7 +16105,7 @@ func (ec *executionContext) _SignalCollection_powertrainFuelSystemAbsoluteLevel( } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16437,14 +16168,14 @@ func (ec *executionContext) _SignalCollection_powertrainFuelSystemRelativeLevel( ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainFuelSystemRelativeLevel, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16455,7 +16186,7 @@ func (ec *executionContext) _SignalCollection_powertrainFuelSystemRelativeLevel( } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16518,14 +16249,14 @@ func (ec *executionContext) _SignalCollection_powertrainFuelSystemSupportedFuelT ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainFuelSystemSupportedFuelTypes, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalString return zeroVal, err @@ -16536,7 +16267,7 @@ func (ec *executionContext) _SignalCollection_powertrainFuelSystemSupportedFuelT } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalString return zeroVal, errors.New("directive isSignal is not implemented") @@ -16599,14 +16330,14 @@ func (ec *executionContext) _SignalCollection_powertrainRange(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainRange, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16617,7 +16348,7 @@ func (ec *executionContext) _SignalCollection_powertrainRange(ctx context.Contex } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16680,14 +16411,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryChargingA ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryChargingAddedEnergy, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16698,7 +16429,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryChargingA } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16761,14 +16492,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryChargingC ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryChargingChargeLimit, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16779,7 +16510,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryChargingC } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16842,14 +16573,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryChargingI ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryChargingIsCharging, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16860,7 +16591,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryChargingI } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -16923,14 +16654,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryCurrentPo ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryCurrentPower, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -16941,7 +16672,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryCurrentPo } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17004,14 +16735,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryCurrentVo ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryCurrentVoltage, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17022,7 +16753,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryCurrentVo } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17085,14 +16816,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryGrossCapa ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryGrossCapacity, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17103,7 +16834,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryGrossCapa } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17166,14 +16897,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryRange(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryRange, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17184,7 +16915,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryRange(ctx } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17247,14 +16978,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryStateOfCh ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryStateOfChargeCurrent, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17265,7 +16996,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryStateOfCh } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17328,14 +17059,14 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryTemperatu ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTractionBatteryTemperatureAverage, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17346,7 +17077,7 @@ func (ec *executionContext) _SignalCollection_powertrainTractionBatteryTemperatu } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17409,14 +17140,14 @@ func (ec *executionContext) _SignalCollection_powertrainTransmissionCurrentGear( ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTransmissionCurrentGear, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17427,7 +17158,7 @@ func (ec *executionContext) _SignalCollection_powertrainTransmissionCurrentGear( } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17490,14 +17221,14 @@ func (ec *executionContext) _SignalCollection_powertrainTransmissionTemperature( ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTransmissionTemperature, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17508,7 +17239,7 @@ func (ec *executionContext) _SignalCollection_powertrainTransmissionTemperature( } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17571,14 +17302,14 @@ func (ec *executionContext) _SignalCollection_powertrainTransmissionTravelledDis ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainTransmissionTravelledDistance, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17589,7 +17320,7 @@ func (ec *executionContext) _SignalCollection_powertrainTransmissionTravelledDis } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17652,14 +17383,14 @@ func (ec *executionContext) _SignalCollection_powertrainType(ctx context.Context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PowertrainType, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalString return zeroVal, err @@ -17670,7 +17401,7 @@ func (ec *executionContext) _SignalCollection_powertrainType(ctx context.Context } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalString return zeroVal, errors.New("directive isSignal is not implemented") @@ -17733,14 +17464,14 @@ func (ec *executionContext) _SignalCollection_serviceDistanceToService(ctx conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ServiceDistanceToService, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17751,7 +17482,7 @@ func (ec *executionContext) _SignalCollection_serviceDistanceToService(ctx conte } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17814,14 +17545,14 @@ func (ec *executionContext) _SignalCollection_speed(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + directive0 := func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Speed, nil } - directive1 := func(ctx context.Context) (interface{}, error) { - privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []interface{}{"VEHICLE_NON_LOCATION_DATA"}) + directive1 := func(ctx context.Context) (any, error) { + privileges, err := ec.unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx, []any{"VEHICLE_NON_LOCATION_DATA"}) if err != nil { var zeroVal *model.SignalFloat return zeroVal, err @@ -17832,7 +17563,7 @@ func (ec *executionContext) _SignalCollection_speed(ctx context.Context, field g } return ec.directives.RequiresAllOfPrivileges(ctx, obj, directive0, privileges) } - directive2 := func(ctx context.Context) (interface{}, error) { + directive2 := func(ctx context.Context) (any, error) { if ec.directives.IsSignal == nil { var zeroVal *model.SignalFloat return zeroVal, errors.New("directive isSignal is not implemented") @@ -17895,7 +17626,7 @@ func (ec *executionContext) _SignalFloat_timestamp(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Timestamp, nil }) @@ -17939,7 +17670,7 @@ func (ec *executionContext) _SignalFloat_value(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -17983,7 +17714,7 @@ func (ec *executionContext) _SignalString_timestamp(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Timestamp, nil }) @@ -18027,7 +17758,7 @@ func (ec *executionContext) _SignalString_value(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -18071,7 +17802,7 @@ func (ec *executionContext) _VINVC_vehicleTokenId(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VehicleTokenID, nil }) @@ -18112,7 +17843,7 @@ func (ec *executionContext) _VINVC_vin(ctx context.Context, field graphql.Collec ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Vin, nil }) @@ -18153,7 +17884,7 @@ func (ec *executionContext) _VINVC_recordedBy(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RecordedBy, nil }) @@ -18194,7 +17925,7 @@ func (ec *executionContext) _VINVC_recordedAt(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RecordedAt, nil }) @@ -18235,7 +17966,7 @@ func (ec *executionContext) _VINVC_countryCode(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CountryCode, nil }) @@ -18276,7 +18007,7 @@ func (ec *executionContext) _VINVC_vehicleContractAddress(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VehicleContractAddress, nil }) @@ -18317,7 +18048,7 @@ func (ec *executionContext) _VINVC_validFrom(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ValidFrom, nil }) @@ -18358,7 +18089,7 @@ func (ec *executionContext) _VINVC_validTo(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ValidTo, nil }) @@ -18399,7 +18130,7 @@ func (ec *executionContext) _VINVC_rawVC(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RawVc, nil }) @@ -18443,7 +18174,7 @@ func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -18487,7 +18218,7 @@ func (ec *executionContext) ___Directive_description(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -18528,7 +18259,7 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Locations, nil }) @@ -18572,7 +18303,7 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Args, nil }) @@ -18591,7 +18322,7 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext___Directive_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "__Directive", Field: field, @@ -18607,10 +18338,25 @@ func (ec *executionContext) fieldContext___Directive_args(_ context.Context, fie return ec.fieldContext___InputValue_type(ctx, field) case "defaultValue": return ec.fieldContext___InputValue_defaultValue(ctx, field) + case "isDeprecated": + return ec.fieldContext___InputValue_isDeprecated(ctx, field) + case "deprecationReason": + return ec.fieldContext___InputValue_deprecationReason(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) }, } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field___Directive_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } return fc, nil } @@ -18626,7 +18372,7 @@ func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsRepeatable, nil }) @@ -18670,7 +18416,7 @@ func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -18714,7 +18460,7 @@ func (ec *executionContext) ___EnumValue_description(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -18755,7 +18501,7 @@ func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsDeprecated(), nil }) @@ -18799,7 +18545,7 @@ func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DeprecationReason(), nil }) @@ -18840,7 +18586,7 @@ func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -18884,7 +18630,7 @@ func (ec *executionContext) ___Field_description(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -18925,7 +18671,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Args, nil }) @@ -18944,7 +18690,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext___Field_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "__Field", Field: field, @@ -18960,10 +18706,25 @@ func (ec *executionContext) fieldContext___Field_args(_ context.Context, field g return ec.fieldContext___InputValue_type(ctx, field) case "defaultValue": return ec.fieldContext___InputValue_defaultValue(ctx, field) + case "isDeprecated": + return ec.fieldContext___InputValue_isDeprecated(ctx, field) + case "deprecationReason": + return ec.fieldContext___InputValue_deprecationReason(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) }, } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field___Field_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } return fc, nil } @@ -18979,7 +18740,7 @@ func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Type, nil }) @@ -19026,6 +18787,8 @@ func (ec *executionContext) fieldContext___Field_type(_ context.Context, field g return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19045,7 +18808,7 @@ func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsDeprecated(), nil }) @@ -19089,7 +18852,7 @@ func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DeprecationReason(), nil }) @@ -19130,7 +18893,7 @@ func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -19174,7 +18937,7 @@ func (ec *executionContext) ___InputValue_description(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -19215,7 +18978,7 @@ func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Type, nil }) @@ -19262,6 +19025,8 @@ func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, fi return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19281,7 +19046,7 @@ func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DefaultValue, nil }) @@ -19310,6 +19075,91 @@ func (ec *executionContext) fieldContext___InputValue_defaultValue(_ context.Con return fc, nil } +func (ec *executionContext) ___InputValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext___InputValue_isDeprecated(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.IsDeprecated(), nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(bool) + fc.Result = res + return ec.marshalNBoolean2bool(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext___InputValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "__InputValue", + Field: field, + IsMethod: true, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) ___InputValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext___InputValue_deprecationReason(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.DeprecationReason(), nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOString2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext___InputValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "__InputValue", + Field: field, + IsMethod: true, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { fc, err := ec.fieldContext___Schema_description(ctx, field) if err != nil { @@ -19322,7 +19172,7 @@ func (ec *executionContext) ___Schema_description(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -19363,7 +19213,7 @@ func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Types(), nil }) @@ -19410,6 +19260,8 @@ func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19429,7 +19281,7 @@ func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.QueryType(), nil }) @@ -19476,6 +19328,8 @@ func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, f return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19495,7 +19349,7 @@ func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MutationType(), nil }) @@ -19539,6 +19393,8 @@ func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19558,7 +19414,7 @@ func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.SubscriptionType(), nil }) @@ -19602,6 +19458,8 @@ func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Con return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19621,7 +19479,7 @@ func (ec *executionContext) ___Schema_directives(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Directives(), nil }) @@ -19677,7 +19535,7 @@ func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Kind(), nil }) @@ -19721,7 +19579,7 @@ func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name(), nil }) @@ -19762,7 +19620,7 @@ func (ec *executionContext) ___Type_description(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -19803,7 +19661,7 @@ func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil }) @@ -19869,7 +19727,7 @@ func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Interfaces(), nil }) @@ -19913,6 +19771,8 @@ func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, fi return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19932,7 +19792,7 @@ func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PossibleTypes(), nil }) @@ -19976,6 +19836,8 @@ func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context, return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -19995,7 +19857,7 @@ func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil }) @@ -20057,7 +19919,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.InputFields(), nil }) @@ -20089,6 +19951,10 @@ func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, f return ec.fieldContext___InputValue_type(ctx, field) case "defaultValue": return ec.fieldContext___InputValue_defaultValue(ctx, field) + case "isDeprecated": + return ec.fieldContext___InputValue_isDeprecated(ctx, field) + case "deprecationReason": + return ec.fieldContext___InputValue_deprecationReason(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) }, @@ -20108,7 +19974,7 @@ func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OfType(), nil }) @@ -20152,6 +20018,8 @@ func (ec *executionContext) fieldContext___Type_ofType(_ context.Context, field return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -20171,7 +20039,7 @@ func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.SpecifiedByURL(), nil }) @@ -20200,14 +20068,55 @@ func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context return fc, nil } +func (ec *executionContext) ___Type_isOneOf(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { + fc, err := ec.fieldContext___Type_isOneOf(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.IsOneOf(), nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(bool) + fc.Result = res + return ec.marshalOBoolean2bool(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext___Type_isOneOf(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "__Type", + Field: field, + IsMethod: true, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + return fc, nil +} + // endregion **************************** field.gotpl ***************************** // region **************************** input.gotpl ***************************** -func (ec *executionContext) unmarshalInputAftermarketDeviceBy(ctx context.Context, obj interface{}) (model.AftermarketDeviceBy, error) { +func (ec *executionContext) unmarshalInputAftermarketDeviceBy(ctx context.Context, obj any) (model.AftermarketDeviceBy, error) { var it model.AftermarketDeviceBy - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -20220,88 +20129,35 @@ func (ec *executionContext) unmarshalInputAftermarketDeviceBy(ctx context.Contex switch k { case "tokenId": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tokenId")) - directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOInt2ᚖint(ctx, v) } - - directive1 := func(ctx context.Context) (interface{}, error) { - if ec.directives.OneOf == nil { - var zeroVal *int - return zeroVal, errors.New("directive oneOf is not implemented") - } - return ec.directives.OneOf(ctx, obj, directive0) - } - - tmp, err := directive1(ctx) + data, err := ec.unmarshalOInt2ᚖint(ctx, v) if err != nil { - return it, graphql.ErrorOnPath(ctx, err) - } - if data, ok := tmp.(*int); ok { - it.TokenID = data - } else if tmp == nil { - it.TokenID = nil - } else { - err := fmt.Errorf(`unexpected type %T from directive, should be *int`, tmp) - return it, graphql.ErrorOnPath(ctx, err) + return it, err } + it.TokenID = data case "address": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("address")) - directive0 := func(ctx context.Context) (interface{}, error) { - return ec.unmarshalOAddress2ᚖgithubᚗcomᚋethereumᚋgoᚑethereumᚋcommonᚐAddress(ctx, v) - } - - directive1 := func(ctx context.Context) (interface{}, error) { - if ec.directives.OneOf == nil { - var zeroVal *common.Address - return zeroVal, errors.New("directive oneOf is not implemented") - } - return ec.directives.OneOf(ctx, obj, directive0) - } - - tmp, err := directive1(ctx) + data, err := ec.unmarshalOAddress2ᚖgithubᚗcomᚋethereumᚋgoᚑethereumᚋcommonᚐAddress(ctx, v) if err != nil { - return it, graphql.ErrorOnPath(ctx, err) - } - if data, ok := tmp.(*common.Address); ok { - it.Address = data - } else if tmp == nil { - it.Address = nil - } else { - err := fmt.Errorf(`unexpected type %T from directive, should be *github.com/ethereum/go-ethereum/common.Address`, tmp) - return it, graphql.ErrorOnPath(ctx, err) + return it, err } + it.Address = data case "serial": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("serial")) - directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOString2ᚖstring(ctx, v) } - - directive1 := func(ctx context.Context) (interface{}, error) { - if ec.directives.OneOf == nil { - var zeroVal *string - return zeroVal, errors.New("directive oneOf is not implemented") - } - return ec.directives.OneOf(ctx, obj, directive0) - } - - tmp, err := directive1(ctx) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { - return it, graphql.ErrorOnPath(ctx, err) - } - if data, ok := tmp.(*string); ok { - it.Serial = data - } else if tmp == nil { - it.Serial = nil - } else { - err := fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp) - return it, graphql.ErrorOnPath(ctx, err) + return it, err } + it.Serial = data } } return it, nil } -func (ec *executionContext) unmarshalInputSignalFilter(ctx context.Context, obj interface{}) (model.SignalFilter, error) { +func (ec *executionContext) unmarshalInputSignalFilter(ctx context.Context, obj any) (model.SignalFilter, error) { var it model.SignalFilter - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -23190,6 +23046,13 @@ func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.Selection } case "defaultValue": out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj) + case "isDeprecated": + out.Values[i] = ec.___InputValue_isDeprecated(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + case "deprecationReason": + out.Values[i] = ec.___InputValue_deprecationReason(ctx, field, obj) default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -23302,6 +23165,8 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o out.Values[i] = ec.___Type_ofType(ctx, field, obj) case "specifiedByURL": out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj) + case "isOneOf": + out.Values[i] = ec.___Type_isOneOf(ctx, field, obj) default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -23329,12 +23194,12 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o // region ***************************** type.gotpl ***************************** -func (ec *executionContext) unmarshalNAftermarketDeviceBy2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐAftermarketDeviceBy(ctx context.Context, v interface{}) (model.AftermarketDeviceBy, error) { +func (ec *executionContext) unmarshalNAftermarketDeviceBy2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐAftermarketDeviceBy(ctx context.Context, v any) (model.AftermarketDeviceBy, error) { res, err := ec.unmarshalInputAftermarketDeviceBy(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) { +func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v any) (bool, error) { res, err := graphql.UnmarshalBoolean(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23349,7 +23214,7 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) unmarshalNFloat2float64(ctx context.Context, v interface{}) (float64, error) { +func (ec *executionContext) unmarshalNFloat2float64(ctx context.Context, v any) (float64, error) { res, err := graphql.UnmarshalFloatContext(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23364,7 +23229,7 @@ func (ec *executionContext) marshalNFloat2float64(ctx context.Context, sel ast.S return graphql.WrapContextMarshaler(ctx, res) } -func (ec *executionContext) unmarshalNFloatAggregation2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐFloatAggregation(ctx context.Context, v interface{}) (model.FloatAggregation, error) { +func (ec *executionContext) unmarshalNFloatAggregation2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐFloatAggregation(ctx context.Context, v any) (model.FloatAggregation, error) { var res model.FloatAggregation err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23374,7 +23239,7 @@ func (ec *executionContext) marshalNFloatAggregation2githubᚗcomᚋDIMOᚑNetwo return v } -func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) { +func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v any) (int, error) { res, err := graphql.UnmarshalInt(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23389,7 +23254,7 @@ func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.Selecti return res } -func (ec *executionContext) unmarshalNPrivilege2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilege(ctx context.Context, v interface{}) (model.Privilege, error) { +func (ec *executionContext) unmarshalNPrivilege2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilege(ctx context.Context, v any) (model.Privilege, error) { var res model.Privilege err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23399,8 +23264,8 @@ func (ec *executionContext) marshalNPrivilege2githubᚗcomᚋDIMOᚑNetworkᚋte return v } -func (ec *executionContext) unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx context.Context, v interface{}) ([]model.Privilege, error) { - var vSlice []interface{} +func (ec *executionContext) unmarshalNPrivilege2ᚕgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐPrivilegeᚄ(ctx context.Context, v any) ([]model.Privilege, error) { + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23470,7 +23335,7 @@ func (ec *executionContext) marshalNSignalAggregations2ᚖgithubᚗcomᚋDIMOᚑ return ec._SignalAggregations(ctx, sel, v) } -func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalNString2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23485,7 +23350,7 @@ func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.S return res } -func (ec *executionContext) unmarshalNStringAggregation2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐStringAggregation(ctx context.Context, v interface{}) (model.StringAggregation, error) { +func (ec *executionContext) unmarshalNStringAggregation2githubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐStringAggregation(ctx context.Context, v any) (model.StringAggregation, error) { var res model.StringAggregation err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23495,7 +23360,7 @@ func (ec *executionContext) marshalNStringAggregation2githubᚗcomᚋDIMOᚑNetw return v } -func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) { +func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v any) (time.Time, error) { res, err := graphql.UnmarshalTime(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23558,7 +23423,7 @@ func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgq return ret } -func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23573,8 +23438,8 @@ func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Conte return res } -func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) { - var vSlice []interface{} +func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) { + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23748,7 +23613,7 @@ func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgen return ec.___Type(ctx, sel, v) } -func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23763,7 +23628,7 @@ func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel a return res } -func (ec *executionContext) unmarshalOAddress2ᚖgithubᚗcomᚋethereumᚋgoᚑethereumᚋcommonᚐAddress(ctx context.Context, v interface{}) (*common.Address, error) { +func (ec *executionContext) unmarshalOAddress2ᚖgithubᚗcomᚋethereumᚋgoᚑethereumᚋcommonᚐAddress(ctx context.Context, v any) (*common.Address, error) { if v == nil { return nil, nil } @@ -23779,7 +23644,7 @@ func (ec *executionContext) marshalOAddress2ᚖgithubᚗcomᚋethereumᚋgoᚑet return res } -func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) { +func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v any) (bool, error) { res, err := graphql.UnmarshalBoolean(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23789,7 +23654,7 @@ func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) { +func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v any) (*bool, error) { if v == nil { return nil, nil } @@ -23812,7 +23677,7 @@ func (ec *executionContext) marshalODeviceActivity2ᚖgithubᚗcomᚋDIMOᚑNetw return ec._DeviceActivity(ctx, sel, v) } -func (ec *executionContext) unmarshalOFloat2ᚖfloat64(ctx context.Context, v interface{}) (*float64, error) { +func (ec *executionContext) unmarshalOFloat2ᚖfloat64(ctx context.Context, v any) (*float64, error) { if v == nil { return nil, nil } @@ -23828,7 +23693,7 @@ func (ec *executionContext) marshalOFloat2ᚖfloat64(ctx context.Context, sel as return graphql.WrapContextMarshaler(ctx, res) } -func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v interface{}) (*int, error) { +func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v any) (*int, error) { if v == nil { return nil, nil } @@ -23905,7 +23770,7 @@ func (ec *executionContext) marshalOSignalCollection2ᚖgithubᚗcomᚋDIMOᚑNe return ec._SignalCollection(ctx, sel, v) } -func (ec *executionContext) unmarshalOSignalFilter2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐSignalFilter(ctx context.Context, v interface{}) (*model.SignalFilter, error) { +func (ec *executionContext) unmarshalOSignalFilter2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋtelemetryᚑapiᚋinternalᚋgraphᚋmodelᚐSignalFilter(ctx context.Context, v any) (*model.SignalFilter, error) { if v == nil { return nil, nil } @@ -23927,11 +23792,11 @@ func (ec *executionContext) marshalOSignalString2ᚖgithubᚗcomᚋDIMOᚑNetwor return ec._SignalString(ctx, sel, v) } -func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) { +func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23965,7 +23830,7 @@ func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel return ret } -func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) { +func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v any) (*string, error) { if v == nil { return nil, nil } @@ -23981,7 +23846,7 @@ func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel as return res } -func (ec *executionContext) unmarshalOTime2ᚖtimeᚐTime(ctx context.Context, v interface{}) (*time.Time, error) { +func (ec *executionContext) unmarshalOTime2ᚖtimeᚐTime(ctx context.Context, v any) (*time.Time, error) { if v == nil { return nil, nil } diff --git a/internal/graph/model/models_gen.go b/internal/graph/model/models_gen.go index 369fbbf..a777a91 100644 --- a/internal/graph/model/models_gen.go +++ b/internal/graph/model/models_gen.go @@ -292,7 +292,7 @@ type SignalCollection struct { // SignalFilter holds the filter parameters for the signal querys. type SignalFilter struct { // Filter signals by source type. - // available sources are: "autopi", "macaron", "ruptela", "smartcar", "tesla" + // available sources are: "autopi", "macaron", "ruptela", "smartcar", "tesla","compass" Source *string `json:"source,omitempty"` } @@ -365,7 +365,7 @@ func (e FloatAggregation) String() string { return string(e) } -func (e *FloatAggregation) UnmarshalGQL(v interface{}) error { +func (e *FloatAggregation) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -416,7 +416,7 @@ func (e Privilege) String() string { return string(e) } -func (e *Privilege) UnmarshalGQL(v interface{}) error { +func (e *Privilege) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -468,7 +468,7 @@ func (e StringAggregation) String() string { return string(e) } -func (e *StringAggregation) UnmarshalGQL(v interface{}) error { +func (e *StringAggregation) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") diff --git a/internal/graph/signals_gen.resolvers.go b/internal/graph/signals_gen.resolvers.go index 37caec2..1229046 100644 --- a/internal/graph/signals_gen.resolvers.go +++ b/internal/graph/signals_gen.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.57 +// Code generated by github.com/99designs/gqlgen version v0.17.64 import ( "context" diff --git a/internal/graph/vc.resolvers.go b/internal/graph/vc.resolvers.go index 1904f59..21a48f3 100644 --- a/internal/graph/vc.resolvers.go +++ b/internal/graph/vc.resolvers.go @@ -2,7 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.57 +// Code generated by github.com/99designs/gqlgen version v0.17.64 import ( "context" diff --git a/internal/service/ch/queries.go b/internal/service/ch/queries.go index b724999..28105ae 100644 --- a/internal/service/ch/queries.go +++ b/internal/service/ch/queries.go @@ -69,6 +69,7 @@ var SourceTranslations = map[string][]string{ "autopi": {"dimo/integration/27qftVRWQYpVDcO5DltO5Ojbjxk", "0x5e31bBc786D7bEd95216383787deA1ab0f1c1897"}, "smartcar": {"dimo/integration/22N2xaPOq2WW2gAHBHd0Ikn4Zob", "0xcd445F4c6bDAD32b68a2939b912150Fe3C88803E"}, "ruptela": {"0xF26421509Efe92861a587482100c6d728aBf1CD0"}, + "compass": {"0x55BF1c27d468314Ea119CF74979E2b59F962295c"}, } var dialect = drivers.Dialect{ diff --git a/schema/base.graphqls b/schema/base.graphqls index 3d04152..0d19703 100644 --- a/schema/base.graphqls +++ b/schema/base.graphqls @@ -4,6 +4,11 @@ just like the blockchain, and in UTC. """ scalar Time +""" +A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix. +""" +scalar Address + directive @goField( forceResolver: Boolean name: String @@ -169,7 +174,7 @@ SignalFilter holds the filter parameters for the signal querys. input SignalFilter { """ Filter signals by source type. - available sources are: "autopi", "macaron", "ruptela", "smartcar", "tesla" + available sources are: "autopi", "macaron", "ruptela", "smartcar", "tesla","compass" """ source: String } diff --git a/schema/schema.graphqls b/schema/schema.graphqls deleted file mode 100644 index b55c484..0000000 --- a/schema/schema.graphqls +++ /dev/null @@ -1,10 +0,0 @@ -""" -This directive on an input object indicates that a client must specify one of the -fields of the object and no others. Typically used for lookups. -""" -directive @oneOf on INPUT_OBJECT - -""" -A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix. -""" -scalar Address