From 653144b60d95242b1187f45dbcaba73ed4385f3c Mon Sep 17 00:00:00 2001 From: zer0stars <74260741+zer0stars@users.noreply.github.com> Date: Sat, 18 Apr 2026 13:53:00 -0400 Subject: [PATCH 1/3] Add MCP server endpoint at /mcp Expose an MCP (Model Context Protocol) Streamable HTTP endpoint that lets LLM agents query identity-api's GraphQL surface via the standard MCP transport. Unauthenticated to match /query (public read API). - schema/directives.graphqls: new @mcpTool / @mcpExample / @mcpHide directives - schema/aftermarket.graphqls, schema/vehicle.graphqls: annotate aftermarketDevice, vehicle, and vehicles with @mcpTool / @mcpExample - graph/mcp_tools_gen.go: generated via server-garage mcpgen; 3 tools (identity_get_aftermarket_device, identity_get_vehicle, identity_list_vehicles) - graph/resolver.go: //go:generate runs mcpgen after gqlgen - cmd/identity-api/main.go: build the MCP handler on the same ExecutableSchema as /query, mount at /mcp with zerolog context injection - gqlgen.yml: mark mcpTool / mcpExample skip_runtime - go.mod: add server-garage + modelcontextprotocol/go-sdk (bumps gqlgen to v0.17.89 hence the no-op resolver header churn) --- cmd/identity-api/main.go | 18 +- go.mod | 129 +- go.sum | 353 ++-- gqlgen.yml | 6 + graph/aftermarket.resolvers.go | 2 +- graph/connection.resolvers.go | 2 +- graph/dcn.resolvers.go | 2 +- graph/developerlicense.resolvers.go | 2 +- graph/devicedefinition.resolvers.go | 2 +- graph/generated.go | 3056 +++++++++------------------ graph/manufacturer.resolvers.go | 2 +- graph/mcp_tools_gen.go | 61 + graph/resolver.go | 1 + graph/reward.resolvers.go | 2 +- graph/schema.resolvers.go | 2 +- graph/schema/aftermarket.graphqls | 2 + graph/schema/directives.graphqls | 3 + graph/schema/vehicle.graphqls | 7 + graph/stakes.resolvers.go | 2 +- graph/synthetic.resolvers.go | 2 +- graph/template.resolvers.go | 2 +- graph/user.resolvers.go | 2 +- graph/vehicle.resolvers.go | 2 +- 23 files changed, 1341 insertions(+), 2321 deletions(-) create mode 100644 graph/mcp_tools_gen.go create mode 100644 graph/schema/directives.graphqls diff --git a/cmd/identity-api/main.go b/cmd/identity-api/main.go index 3440576a..6d627bfd 100644 --- a/cmd/identity-api/main.go +++ b/cmd/identity-api/main.go @@ -20,6 +20,7 @@ import ( "github.com/DIMO-Network/identity-api/internal/loader" "github.com/DIMO-Network/identity-api/internal/repositories/base" "github.com/DIMO-Network/identity-api/internal/services" + "github.com/DIMO-Network/server-garage/pkg/mcpserver" "github.com/DIMO-Network/shared/pkg/db" "github.com/DIMO-Network/shared/pkg/kafka" "github.com/DIMO-Network/shared/pkg/settings" @@ -72,12 +73,27 @@ func main() { serveMonitoring(strconv.Itoa(settings.MonPort), &logger) - s := newDefaultServer(graph.NewExecutableSchema(cfg)) + es := graph.NewExecutableSchema(cfg) + s := newDefaultServer(es) srv := loader.Middleware(dbs, s, settings, &repoLogger) + mcpHandler, err := mcpserver.New(context.Background(), mcpserver.NewGQLGenExecutor(es), "DIMO Identity", "0.1.0", "identity", + mcpserver.WithTools(graph.MCPTools), + mcpserver.WithCondensedSchema(graph.CondensedSchema), + ) + if err != nil { + logger.Fatal().Err(err).Msg("Failed to create MCP handler") + } + + // Wrap the MCP handler so that zerolog.Ctx inside mcpserver picks up our logger. + mcpWithLogger := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + mcpHandler.ServeHTTP(w, r.WithContext(logger.WithContext(r.Context()))) + }) + http.Handle("/", playground.Handler("GraphQL playground", "/query")) http.Handle("/query", srv) + http.Handle("/mcp", mcpWithLogger) logger.Info().Msgf("Server started on port: %d", settings.Port) diff --git a/go.mod b/go.mod index 17b12bef..e7d39102 100644 --- a/go.mod +++ b/go.mod @@ -3,37 +3,37 @@ module github.com/DIMO-Network/identity-api go 1.25.0 require ( - github.com/99designs/gqlgen v0.17.86 - github.com/DIMO-Network/cloudevent v0.1.0 + github.com/99designs/gqlgen v0.17.89 + github.com/DIMO-Network/cloudevent v0.2.7 github.com/DIMO-Network/mnemonic v0.0.0-20240611180925-eecaa65be2b9 - github.com/DIMO-Network/shared v1.0.3 + github.com/DIMO-Network/shared v1.1.5 github.com/aarondl/null/v8 v8.1.3 github.com/aarondl/sqlboiler/v4 v4.19.5 github.com/aarondl/strmangle v0.0.9 - github.com/docker/go-connections v0.5.0 + github.com/docker/go-connections v0.6.0 github.com/doug-martin/goqu/v9 v9.19.0 github.com/ericlagergren/decimal v0.0.0-20190420051523-6335edbaa640 // Held in place by a replace directive. - github.com/ethereum/go-ethereum v1.16.8 + github.com/ethereum/go-ethereum v1.17.1 github.com/friendsofgo/errors v0.9.2 github.com/goccy/go-json v0.10.5 - github.com/gofiber/fiber/v2 v2.52.11 + github.com/gofiber/fiber/v2 v2.52.12 github.com/graph-gophers/dataloader/v7 v7.1.0 github.com/jarcoal/httpmock v1.4.0 github.com/lib/pq v1.10.9 - github.com/pressly/goose/v3 v3.24.3 - github.com/prometheus/client_golang v1.22.0 + github.com/pressly/goose/v3 v3.26.0 + github.com/prometheus/client_golang v1.23.2 github.com/rs/zerolog v1.34.0 github.com/stretchr/testify v1.11.1 - github.com/testcontainers/testcontainers-go v0.37.0 + github.com/testcontainers/testcontainers-go v0.40.0 github.com/testcontainers/testcontainers-go/modules/postgres v0.37.0 - github.com/vektah/gqlparser/v2 v2.5.31 + github.com/vektah/gqlparser/v2 v2.5.32 github.com/vmihailenco/msgpack/v5 v5.4.1 - go.uber.org/mock v0.5.2 + go.uber.org/mock v0.6.0 ) require ( - dario.cat/mergo v1.0.1 // indirect - github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect + dario.cat/mergo v1.0.2 // indirect + github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect github.com/DIMO-Network/eventgen v0.2.1 // indirect github.com/DIMO-Network/yaml v0.1.0 // indirect github.com/IBM/sarama v1.43.3 // indirect @@ -42,7 +42,7 @@ require ( github.com/aarondl/inflect v0.0.2 // indirect github.com/aarondl/randomize v0.0.2 // indirect github.com/agnivade/levenshtein v1.2.1 // indirect - github.com/andybalholm/brotli v1.1.1 // indirect + github.com/andybalholm/brotli v1.2.0 // indirect github.com/avast/retry-go/v4 v4.5.1 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.20.0 // indirect @@ -54,31 +54,27 @@ require ( github.com/containerd/platforms v0.2.1 // indirect github.com/cpuguy83/dockercfg v0.3.2 // indirect github.com/crate-crypto/go-eth-kzg v1.4.0 // indirect - github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/deckarep/golang-set/v2 v2.6.0 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect github.com/distribution/reference v0.6.0 // indirect - github.com/docker/docker v28.0.4+incompatible // indirect + github.com/docker/docker v28.5.2+incompatible // indirect github.com/docker/go-units v0.5.0 // indirect github.com/eapache/go-resiliency v1.7.0 // indirect github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect github.com/eapache/queue v1.1.0 // indirect - github.com/ebitengine/purego v0.8.2 // indirect - github.com/ethereum/c-kzg-4844/v2 v2.1.5 // indirect - github.com/ethereum/go-verkle v0.2.2 // indirect + github.com/ebitengine/purego v0.8.4 // indirect + github.com/ethereum/c-kzg-4844/v2 v2.1.6 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/go-logr/logr v1.4.3 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-ole/go-ole v1.3.0 // indirect - github.com/go-viper/mapstructure/v2 v2.4.0 // indirect + github.com/go-viper/mapstructure/v2 v2.5.0 // indirect github.com/gofrs/uuid v4.4.0+incompatible // indirect - github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/snappy v1.0.0 // indirect github.com/google/uuid v1.6.0 // indirect github.com/gorilla/websocket v1.5.0 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect @@ -89,83 +85,96 @@ require ( github.com/jcmturner/gofork v1.7.6 // indirect github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect github.com/jcmturner/rpc/v2 v2.0.3 // indirect - github.com/klauspost/compress v1.18.0 // indirect - github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect + github.com/klauspost/compress v1.18.5 // indirect + github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect github.com/magiconair/properties v1.8.10 // 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/mattn/go-runewidth v0.0.21 // indirect github.com/mfridman/interpolate v0.0.2 // indirect github.com/moby/docker-image-spec v1.3.1 // indirect github.com/moby/patternmatcher v0.6.0 // indirect - github.com/moby/sys/sequential v0.5.0 // indirect - github.com/moby/sys/user v0.1.0 // indirect + github.com/moby/sys/sequential v0.6.0 // indirect + github.com/moby/sys/user v0.4.0 // indirect github.com/moby/sys/userns v0.1.0 // indirect - github.com/moby/term v0.5.0 // indirect + github.com/moby/term v0.5.2 // indirect github.com/morikuni/aec v1.0.0 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.1 // indirect - github.com/pierrec/lz4/v4 v4.1.22 // indirect + github.com/pierrec/lz4/v4 v4.1.26 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect - github.com/prometheus/client_model v0.6.1 // indirect - github.com/prometheus/common v0.62.0 // indirect - github.com/prometheus/procfs v0.16.1 // indirect + github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect + github.com/prometheus/client_model v0.6.2 // indirect + github.com/prometheus/common v0.67.5 // indirect + github.com/prometheus/procfs v0.20.1 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/rivo/uniseg v0.4.7 // indirect github.com/sethvargo/go-retry v0.3.0 // indirect github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect - github.com/shirou/gopsutil/v4 v4.25.1 // indirect + github.com/shirou/gopsutil/v4 v4.25.6 // indirect github.com/sirupsen/logrus v1.9.3 // indirect - github.com/sosodev/duration v1.3.1 // indirect + github.com/sosodev/duration v1.4.0 // indirect github.com/spf13/cast v1.7.0 // indirect - github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe // indirect + github.com/supranational/blst v0.3.16 // indirect github.com/tidwall/gjson v1.18.0 // indirect - github.com/tidwall/match v1.1.1 // indirect - github.com/tidwall/pretty v1.2.0 // indirect - github.com/tidwall/sjson v1.2.5 // indirect - github.com/tklauser/go-sysconf v0.3.12 // indirect - github.com/tklauser/numcpus v0.6.1 // indirect + github.com/tidwall/match v1.2.0 // indirect + github.com/tidwall/pretty v1.2.1 // indirect + github.com/tklauser/go-sysconf v0.3.15 // indirect + github.com/tklauser/numcpus v0.10.0 // indirect github.com/urfave/cli/v2 v2.27.7 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasthttp v1.52.0 // indirect - github.com/valyala/tcplisten v1.0.0 // indirect + github.com/valyala/fasthttp v1.69.0 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/volatiletech/sqlboiler v3.7.1+incompatible github.com/yusufpapurcu/wmi v1.2.4 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect - go.opentelemetry.io/otel v1.38.0 // indirect - go.opentelemetry.io/otel/metric v1.38.0 // indirect - go.opentelemetry.io/otel/trace v1.38.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect + go.opentelemetry.io/otel v1.42.0 // indirect + go.opentelemetry.io/otel/metric v1.42.0 // indirect + go.opentelemetry.io/otel/trace v1.42.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.46.0 // indirect - golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect - golang.org/x/mod v0.31.0 // indirect - golang.org/x/net v0.48.0 // indirect - golang.org/x/sync v0.19.0 // indirect - golang.org/x/sys v0.39.0 // indirect - golang.org/x/text v0.33.0 // indirect + golang.org/x/crypto v0.49.0 // indirect + golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect + golang.org/x/mod v0.33.0 // indirect + golang.org/x/net v0.51.0 // indirect + golang.org/x/sync v0.20.0 // indirect + golang.org/x/sys v0.42.0 // indirect + golang.org/x/text v0.35.0 // indirect golang.org/x/time v0.9.0 // indirect - golang.org/x/tools v0.40.0 // indirect + golang.org/x/tools v0.42.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda // indirect - google.golang.org/grpc v1.78.0 + google.golang.org/grpc v1.79.1 google.golang.org/protobuf v1.36.11 gopkg.in/yaml.v3 v3.0.1 // indirect ) +require ( + github.com/DIMO-Network/server-garage v0.0.4 + github.com/modelcontextprotocol/go-sdk v1.4.1 +) + require ( github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect + github.com/clipperhouse/uax29/v2 v2.7.0 // indirect + github.com/containerd/errdefs v1.0.0 // indirect + github.com/containerd/errdefs/pkg v0.3.0 // indirect github.com/goccy/go-yaml v1.19.2 // indirect - github.com/urfave/cli/v3 v3.6.1 // indirect + github.com/google/jsonschema-go v0.4.2 // indirect + github.com/moby/go-archive v0.1.0 // indirect + github.com/segmentio/asm v1.2.1 // indirect + github.com/segmentio/encoding v0.5.4 // indirect + github.com/urfave/cli/v3 v3.7.0 // indirect github.com/volatiletech/inflect v0.0.1 // indirect github.com/volatiletech/null v8.0.0+incompatible // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda // indirect + github.com/yosida95/uritemplate/v3 v3.0.2 // indirect + go.yaml.in/yaml/v2 v2.4.4 // indirect + golang.org/x/oauth2 v0.36.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d // indirect ) tool github.com/DIMO-Network/eventgen replace github.com/ericlagergren/decimal => github.com/ericlagergren/decimal v0.0.0-20190420051523-6335edbaa640 + +replace github.com/DIMO-Network/server-garage => /Users/zer0stars/workspace/server-garage diff --git a/go.sum b/go.sum index 2053853e..891cceeb 100644 --- a/go.sum +++ b/go.sum @@ -1,21 +1,21 @@ -dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= -dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= -github.com/99designs/gqlgen v0.17.86 h1:C8N3UTa5heXX6twl+b0AJyGkTwYL6dNmFrgZNLRcU6w= -github.com/99designs/gqlgen v0.17.86/go.mod h1:KTrPl+vHA1IUzNlh4EYkl7+tcErL3MgKnhHrBcV74Fw= -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/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= -github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8= +dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA= +github.com/99designs/gqlgen v0.17.89 h1:KzEcxPiMgQoMw3m/E85atUEHyZyt0PbAflMia5Kw8z8= +github.com/99designs/gqlgen v0.17.89/go.mod h1:GFqruTVGB7ZTdrf1uzOagpXbY7DrEt1pIxnTdhIbWvQ= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 h1:He8afgbRMd7mFxO99hRNu+6tazq8nFF9lIwo9JFroBk= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= +github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c h1:udKWzYgxTojEKWjV8V+WSxDXJ4NFATAsZjh8iIbsQIg= +github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= -github.com/DIMO-Network/cloudevent v0.1.0 h1:ze0ngJQBXjSSyBnEAUO+YvClvkqM68kNko/czY3GfLo= -github.com/DIMO-Network/cloudevent v0.1.0/go.mod h1:RS9Byb0ycb5b7OFe9y+xpF0nkR4pYYS6Om/ccs3N5Z4= +github.com/DIMO-Network/cloudevent v0.2.7 h1:/cgFhUcWcliZYrmITkB8oIZb+zDhZvYNxWVGS2D3894= +github.com/DIMO-Network/cloudevent v0.2.7/go.mod h1:I/9NcpMozV5Fw194WimhbkAsJtKVZf5UKYJ9hgc8Cdg= github.com/DIMO-Network/eventgen v0.2.1 h1:yvd7nLTqKAls2TJjFwxIJlVK4E8juWGcLdZaCKoX7rY= github.com/DIMO-Network/eventgen v0.2.1/go.mod h1:yRoCDbRRU8n/eR/C339O1UXpBeN+7lF27et0LHwoU5s= github.com/DIMO-Network/mnemonic v0.0.0-20240611180925-eecaa65be2b9 h1:gzD4pkrKRhjP+KeGjnMLG+D1Py6bVNt3s6BSgB4D/c4= github.com/DIMO-Network/mnemonic v0.0.0-20240611180925-eecaa65be2b9/go.mod h1:CTxZYuVPhvEJgDL665oqZClsxB8TtVHQ7qNwpJfqTxk= -github.com/DIMO-Network/shared v1.0.3 h1:kQbIuvuUEDgUe5nov/Zuyj9OWT6WFLvNYrZxG+e5BT0= -github.com/DIMO-Network/shared v1.0.3/go.mod h1:lDHUKwwT2LW6Zvd42Nb33dXklRNTmfyOlbUNx2dQfGY= +github.com/DIMO-Network/shared v1.1.5 h1:cRI3BbeYOgolMkeBOSqbDVGxymnDfeP/q7xgIXJ5MkY= +github.com/DIMO-Network/shared v1.1.5/go.mod h1:lDHUKwwT2LW6Zvd42Nb33dXklRNTmfyOlbUNx2dQfGY= github.com/DIMO-Network/yaml v0.1.0 h1:KQ3oKHUZETchR6Pxbmmol3e4ewrPv/q8cEwqxfwyZbU= github.com/DIMO-Network/yaml v0.1.0/go.mod h1:KkiehcbkVzH8Pf8f9dja8B2aW81gYYZSqfwzSj9yN68= github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ= @@ -46,8 +46,8 @@ github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KO github.com/agnivade/levenshtein v1.2.1/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= -github.com/andybalholm/brotli v1.1.1 h1:PR2pgnyFznKEugtsUo0xLdDop5SKXd5Qf5ysW+7XdTA= -github.com/andybalholm/brotli v1.1.1/go.mod h1:05ib4cKhjx3OQYUY22hTVd34Bc8upXjOLL2rKwwZBoA= +github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ= +github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= github.com/andybalholm/cascadia v1.3.3 h1:AG2YHrzJIm4BZ19iwJ/DAua6Btl3IwJX+VI4kktS1LM= github.com/andybalholm/cascadia v1.3.3/go.mod h1:xNd9bqTn98Ln4DwST8/nG+H0yuB8Hmgu1YHNnWw0GeA= github.com/apmckinlay/gsuneido v0.0.0-20190404155041-0b6cd442a18f/go.mod h1:JU2DOj5Fc6rol0yaT79Csr47QR0vONGwJtBNGRD7jmc= @@ -63,10 +63,14 @@ github.com/c2h5oh/hide v0.0.0-20181204203522-190260264be9 h1:kF98ge9k4ELirm5uP9S github.com/c2h5oh/hide v0.0.0-20181204203522-190260264be9/go.mod h1:j2xsyOr5qUf5HCq81nKfeQxWwbWIaiemwsuQ/+MyqIw= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= +github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= +github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk= +github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/errors v1.11.3 h1:5bA+k2Y6r+oz/6Z/RFlNeVCesGARKuC6YymtcDrbC/I= github.com/cockroachdb/errors v1.11.3/go.mod h1:m4UIW4CDjx+R5cybPsNrRbreomiFqt8o1h1wUVazSd8= @@ -82,6 +86,10 @@ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAK github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/consensys/gnark-crypto v0.18.1 h1:RyLV6UhPRoYYzaFnPQA4qK3DyuDgkTgskDdoGqFt3fI= github.com/consensys/gnark-crypto v0.18.1/go.mod h1:L3mXGFTe1ZN+RSJ+CLjUt9x7PNdx8ubaYfDROyp2Z8c= +github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI= +github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= +github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE= +github.com/containerd/errdefs/pkg v0.3.0/go.mod h1:NJw6s9HwNuRhnjJhM7pylWwMyAkmCQvQ4GpJHEqRLVk= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpSBQv6A= @@ -93,8 +101,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3 github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/crate-crypto/go-eth-kzg v1.4.0 h1:WzDGjHk4gFg6YzV0rJOAsTK4z3Qkz5jd4RE3DAvPFkg= github.com/crate-crypto/go-eth-kzg v1.4.0/go.mod h1:J9/u5sWfznSObptgfa92Jq8rTswn6ahQWEuiLHOjCUI= -github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a h1:W8mUrRp6NOVl3J+MYp5kPMoUZPp7aOYHtaua31lwRHg= -github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a/go.mod h1:sTwzHBvIzm2RfVCGNEBZgRyjwK40bVoun3ZnGOCafNM= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -116,10 +122,10 @@ github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54 h1:SG7nF6SRlWhcT7c 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/docker/docker v28.0.4+incompatible h1:JNNkBctYKurkw6FrHfKqY0nKIDf5nrbxjVBtS+cdcok= -github.com/docker/docker v28.0.4+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= -github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc= +github.com/docker/docker v28.5.2+incompatible h1:DBX0Y0zAjZbSrm1uzOkdr1onVghKaftjlSWt4AFexzM= +github.com/docker/docker v28.5.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/go-connections v0.6.0 h1:LlMG9azAe1TqfR7sO+NJttz1gy6KO7VJBh+pMmjSD94= +github.com/docker/go-connections v0.6.0/go.mod h1:AahvXYshr6JgfUJGdDCs2b5EZG/vmaMAntpSFH5BFKE= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/doug-martin/goqu/v9 v9.19.0 h1:PD7t1X3tRcUiSdc5TEyOFKujZA5gs3VSA7wxSvBx7qo= @@ -132,20 +138,18 @@ github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 h1:Oy0F4A github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3/go.mod h1:YvSRo5mw33fLEx1+DlK6L2VV43tJt5Eyel9n9XBcR+0= github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/ebitengine/purego v0.8.2 h1:jPPGWs2sZ1UgOSgD2bClL0MJIqu58nOmIcBuXr62z1I= -github.com/ebitengine/purego v0.8.2/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= +github.com/ebitengine/purego v0.8.4 h1:CF7LEKg5FFOsASUj0+QwaXf8Ht6TlFxg09+S9wz0omw= +github.com/ebitengine/purego v0.8.4/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= github.com/emicklei/dot v1.6.2 h1:08GN+DD79cy/tzN6uLCT84+2Wk9u+wvqP+Hkx/dIR8A= github.com/emicklei/dot v1.6.2/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= github.com/ericlagergren/decimal v0.0.0-20190420051523-6335edbaa640 h1:VMAacqPM03GapxpfNORtKNl9o6Uws1BQYL54WjmolN0= github.com/ericlagergren/decimal v0.0.0-20190420051523-6335edbaa640/go.mod h1:mdYyfAkzn9kyJ/kMk/7WE9ufl9lflh+2NvecQ5mAghs= -github.com/ethereum/c-kzg-4844/v2 v2.1.5 h1:aVtoLK5xwJ6c5RiqO8g8ptJ5KU+2Hdquf6G3aXiHh5s= -github.com/ethereum/c-kzg-4844/v2 v2.1.5/go.mod h1:u59hRTTah4Co6i9fDWtiCjTrblJv0UwsqZKCc0GfgUs= +github.com/ethereum/c-kzg-4844/v2 v2.1.6 h1:xQymkKCT5E2Jiaoqf3v4wsNgjZLY0lRSkZn27fRjSls= +github.com/ethereum/c-kzg-4844/v2 v2.1.6/go.mod h1:8HMkUZ5JRv4hpw/XUrYWSQNAUzhHMg2UDb/U+5m+XNw= github.com/ethereum/go-bigmodexpfix v0.0.0-20250911101455-f9e208c548ab h1:rvv6MJhy07IMfEKuARQ9TKojGqLVNxQajaXEp/BoqSk= github.com/ethereum/go-bigmodexpfix v0.0.0-20250911101455-f9e208c548ab/go.mod h1:IuLm4IsPipXKF7CW5Lzf68PIbZ5yl7FFd74l/E0o9A8= -github.com/ethereum/go-ethereum v1.16.8 h1:LLLfkZWijhR5m6yrAXbdlTeXoqontH+Ga2f9igY7law= -github.com/ethereum/go-ethereum v1.16.8/go.mod h1:Fs6QebQbavneQTYcA39PEKv2+zIjX7rPUZ14DER46wk= -github.com/ethereum/go-verkle v0.2.2 h1:I2W0WjnrFUIzzVPwm8ykY+7pL2d4VhlsePn4j7cnFk8= -github.com/ethereum/go-verkle v0.2.2/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk= +github.com/ethereum/go-ethereum v1.17.1 h1:IjlQDjgxg2uL+GzPRkygGULPMLzcYWncEI7wbaizvho= +github.com/ethereum/go-ethereum v1.17.1/go.mod h1:7UWOVHL7K3b8RfVRea022btnzLCaanwHtBuH1jUCH/I= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/ferranbt/fastssz v0.1.4 h1:OCDB+dYDEQDvAgtAGnTSidK1Pe2tW3nFV40XyMkTeDY= @@ -163,8 +167,6 @@ github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x github.com/getsentry/sentry-go v0.27.0 h1:Pv98CIbtB3LkMWmXi4Joa5OOcwbmnX88sF5qbK3r3Ps= github.com/getsentry/sentry-go v0.27.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= -github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= @@ -174,15 +176,15 @@ github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiU github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs= -github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= +github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= +github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM= github.com/goccy/go-yaml v1.19.2/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gofiber/fiber/v2 v2.52.11 h1:5f4yzKLcBcF8ha1GQTWB+mpblWz3Vz6nSAbTL31HkWs= -github.com/gofiber/fiber/v2 v2.52.11/go.mod h1:YEcBbO/FB+5M1IZNBP9FO3J9281zgPAreiI1oqg8nDw= +github.com/gofiber/fiber/v2 v2.52.12 h1:0LdToKclcPOj8PktUdIKo9BUohjjwfnQl42Dhw8/WUw= +github.com/gofiber/fiber/v2 v2.52.12/go.mod h1:YEcBbO/FB+5M1IZNBP9FO3J9281zgPAreiI1oqg8nDw= github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= @@ -192,26 +194,35 @@ github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI= github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= +github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs= github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/jsonschema-go v0.4.2 h1:tmrUohrwoLZZS/P3x7ex0WAVknEkBZM46iALbcqoRA8= +github.com/google/jsonschema-go v0.4.2/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grafana/pyroscope-go v1.2.7 h1:VWBBlqxjyR0Cwk2W6UrE8CdcdD80GOFNutj0Kb1T8ac= +github.com/grafana/pyroscope-go v1.2.7/go.mod h1:o/bpSLiJYYP6HQtvcoVKiE9s5RiNgjYTj1DhiddP2Pc= +github.com/grafana/pyroscope-go/godeltaprof v0.1.9 h1:c1Us8i6eSmkW+Ez05d3co8kasnuOY813tbMN8i/a3Og= +github.com/grafana/pyroscope-go/godeltaprof v0.1.9/go.mod h1:2+l7K7twW49Ct4wFluZD3tZ6e0SjanjcUUBPVD/UuGU= github.com/graph-gophers/dataloader/v7 v7.1.0 h1:Wn8HGF/q7MNXcvfaBnLEPEFJttVHR8zuEqP1obys/oc= github.com/graph-gophers/dataloader/v7 v7.1.0/go.mod h1:1bKE0Dm6OUcTB/OAuYVOZctgIz7Q3d0XrYtlIzTgg6Q= github.com/graph-gophers/graphql-go v1.3.0 h1:Eb9x/q6MFpCLz7jBCiP/WTxjSDrYLR1QY41SORZyNJ0= github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3 h1:NmZ1PKzSTQbuGHw9DGPFomqkkLWMC+vZCkfs+FHv1Vg= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3/go.mod h1:zQrxl1YP88HQlA6i9c63DSVPFklWpGX4OWAc9bFuaH4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -242,8 +253,8 @@ github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsI github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgx/v5 v5.7.4 h1:9wKznZrhWa2QiHL+NjTSPP6yjl3451BX3imWDnokYlg= -github.com/jackc/pgx/v5 v5.7.4/go.mod h1:ncY89UGWxg82EykZUwSpUKEfccBGGYq1xjrOpsbsfGQ= +github.com/jackc/pgx/v5 v5.8.0 h1:TYPDoleBBme0xGSAX3/+NujXXtpZn9HBONkQC7IEZSo= +github.com/jackc/pgx/v5 v5.8.0/go.mod h1:QVeDInX2m9VyzvNeiCJVjCkNFqzsNb43204HshNSZKw= github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= @@ -262,10 +273,8 @@ github.com/jcmturner/gokrb5/v8 v8.4.4 h1:x1Sv4HaTpepFkXbt2IkL29DXRf8sOfZXo8eRKh6 github.com/jcmturner/gokrb5/v8 v8.4.4/go.mod h1:1btQEpgT6k+unzCwX1KdWMEwPPkkgBtP+F6aCACiMrs= github.com/jcmturner/rpc/v2 v2.0.3 h1:7FXXj8Ti1IaVFpSAziCZWNzbNuZmnvw/i6CqLNdWfZY= github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= -github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= +github.com/klauspost/compress v1.18.5 h1:/h1gH5Ce+VWNLSWqPzOVn6XBO+vJbCNGvjoaGBFW2IE= +github.com/klauspost/compress v1.18.5/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -280,8 +289,8 @@ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.10.1/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= +github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 h1:PpXWgLPs+Fqr325bN2FD2ISlRRztXibcX6e8f5FR5Dc= +github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35/go.mod h1:autxFIvghDt3jPTLoqZ9OZ7s9qTGNAWmYCjVFWPX/zg= github.com/magiconair/properties v1.8.10 h1:s31yESBquKXCV9a/ScB3ESkOjUYYv+X0rg8SYxI99mE= github.com/magiconair/properties v1.8.10/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= @@ -291,8 +300,8 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/ github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= -github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.21 h1:jJKAZiQH+2mIinzCJIaIG9Be1+0NR+5sz/lYEEjdM8w= +github.com/mattn/go-runewidth v0.0.21/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= github.com/mattn/go-sqlite3 v1.14.7/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/maxatome/go-testdeep v1.14.0 h1:rRlLv1+kI8eOI3OaBXZwb3O7xY3exRzdW5QyX48g9wI= github.com/maxatome/go-testdeep v1.14.0/go.mod h1:lPZc/HAcJMP92l7yI6TRz1aZN5URwUBUAfUNvrclaNM= @@ -308,24 +317,28 @@ github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjU github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0= github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo= +github.com/moby/go-archive v0.1.0 h1:Kk/5rdW/g+H8NHdJW2gsXyZ7UnzvJNOy6VKJqueWdcQ= +github.com/moby/go-archive v0.1.0/go.mod h1:G9B+YoujNohJmrIYFBpSd54GTUB4lt9S+xVQvsJyFuo= github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk= github.com/moby/patternmatcher v0.6.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc= -github.com/moby/sys/sequential v0.5.0 h1:OPvI35Lzn9K04PBbCLW0g4LcFAJgHsvXsRyewg5lXtc= -github.com/moby/sys/sequential v0.5.0/go.mod h1:tH2cOOs5V9MlPiXcQzRC+eEyab644PWKGRYaaV5ZZlo= -github.com/moby/sys/user v0.1.0 h1:WmZ93f5Ux6het5iituh9x2zAG7NFY9Aqi49jjE1PaQg= -github.com/moby/sys/user v0.1.0/go.mod h1:fKJhFOnsCN6xZ5gSfbM6zaHGgDJMrqt9/reuj4T7MmU= +github.com/moby/sys/atomicwriter v0.1.0 h1:kw5D/EqkBwsBFi0ss9v1VG3wIkVhzGvLklJ+w3A14Sw= +github.com/moby/sys/atomicwriter v0.1.0/go.mod h1:Ul8oqv2ZMNHOceF643P6FKPXeCmYtlQMvpizfsSoaWs= +github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7zgvCU= +github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko= +github.com/moby/sys/user v0.4.0 h1:jhcMKit7SA80hivmFJcbB1vqmw//wU61Zdui2eQXuMs= +github.com/moby/sys/user v0.4.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs= github.com/moby/sys/userns v0.1.0 h1:tVLXkFOxVu9A64/yh59slHVv9ahO9UIev4JZusOLG/g= github.com/moby/sys/userns v0.1.0/go.mod h1:IHUYgu/kao6N8YZlp9Cf444ySSvCmDlmzUcYfDHOl28= -github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0= -github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y= +github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ= +github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFLc= +github.com/modelcontextprotocol/go-sdk v1.4.1 h1:M4x9GyIPj+HoIlHNGpK2hq5o3BFhC+78PkEaldQRphc= +github.com/modelcontextprotocol/go-sdk v1.4.1/go.mod h1:Bo/mS87hPQqHSRkMv4dQq1XCu6zv4INdXnFZabkNU6s= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= -github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= -github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/ncruces/go-strftime v1.0.0 h1:HMFp8mLCTPp341M/ZnA4qaf7ZlsbTc+miZjCLOFAw7w= +github.com/ncruces/go-strftime v1.0.0/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040= @@ -334,8 +347,8 @@ github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+ github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= -github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU= -github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pierrec/lz4/v4 v4.1.26 h1:GrpZw1gZttORinvzBdXPUXATeqlJjqUG/D87TKMnhjY= +github.com/pierrec/lz4/v4 v4.1.26/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4= github.com/pion/dtls/v2 v2.2.7 h1:cSUBsETxepsCSFSxC3mc/aDo14qQLMSL+O6IjG28yV8= github.com/pion/dtls/v2 v2.2.7/go.mod h1:8WiMkebSHFD0T+dIU+UeBaoV7kDhOW5oDCzZ7WZ/F9s= github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY= @@ -351,25 +364,22 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/pressly/goose/v3 v3.24.3 h1:DSWWNwwggVUsYZ0X2VitiAa9sKuqtBfe+Jr9zFGwWlM= -github.com/pressly/goose/v3 v3.24.3/go.mod h1:v9zYL4xdViLHCUUJh/mhjnm6JrK7Eul8AS93IxiZM4E= -github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q= -github.com/prometheus/client_golang v1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0= -github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= -github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io= -github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I= -github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg= -github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= +github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= +github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= +github.com/pressly/goose/v3 v3.26.0 h1:KJakav68jdH0WDvoAcj8+n61WqOIaPGgH0bJWS6jpmM= +github.com/pressly/goose/v3 v3.26.0/go.mod h1:4hC1KrritdCxtuFsqgs1R4AU5bWtTAf+cnWvfhf2DNY= +github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o= +github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg= +github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk= +github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE= +github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4= +github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw= +github.com/prometheus/procfs v0.20.1 h1:XwbrGOIplXW/AU3YhIhLODXMJYyC1isLFfYCsTEycfc= +github.com/prometheus/procfs v0.20.1/go.mod h1:o9EMBZGRyvDrSPH1RqdxhojkuXstoe4UlK79eF5TGGo= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= -github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= @@ -380,19 +390,23 @@ github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6 github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/segmentio/asm v1.2.1 h1:DTNbBqs57ioxAD4PrArqftgypG4/qNpXoJx8TVXxPR0= +github.com/segmentio/asm v1.2.1/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= +github.com/segmentio/encoding v0.5.4 h1:OW1VRern8Nw6ITAtwSZ7Idrl3MXCFwXHPgqESYfvNt0= +github.com/segmentio/encoding v0.5.4/go.mod h1:HS1ZKa3kSN32ZHVZ7ZLPLXWvOVIiZtyJnO1gPH1sKt0= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sethvargo/go-retry v0.3.0 h1:EEt31A35QhrcRZtrYFDTBg91cqZVnFL2navjDrah2SE= github.com/sethvargo/go-retry v0.3.0/go.mod h1:mNX17F0C/HguQMyMyJxcnU471gOZGxCLyYaFyAZraas= github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU= github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shirou/gopsutil/v4 v4.25.1 h1:QSWkTc+fu9LTAWfkZwZ6j8MSUk4A2LV7rbH0ZqmLjXs= -github.com/shirou/gopsutil/v4 v4.25.1/go.mod h1:RoUCUpndaJFtT+2zsZzzmhvbfGoDCJ7nFXKJf8GqJbI= +github.com/shirou/gopsutil/v4 v4.25.6 h1:kLysI2JsKorfaFPcYmcJqbzROzsBWEOAtw6A7dIfqXs= +github.com/shirou/gopsutil/v4 v4.25.6/go.mod h1:PfybzyydfZcN+JMMjkF6Zb8Mq1A/VcogFFg7hj50W9c= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/sosodev/duration v1.3.1 h1:qtHBDMQ6lvMQsL15g4aopM4HEfOaYuhWBw3NPTtlqq4= -github.com/sosodev/duration v1.3.1/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg= +github.com/sosodev/duration v1.4.0 h1:35ed0KiVFriGHHzZZJaZLgmTEEICIyt8Sx0RQfj9IjE= +github.com/sosodev/duration v1.4.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg= github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w= github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -407,39 +421,36 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe h1:nbdqkIGOGfUAD54q1s2YBcBz/WcsxCO9HUQ4aGV5hUw= -github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= +github.com/supranational/blst v0.3.16 h1:bTDadT+3fK497EvLdWRQEjiGnUtzJ7jjIUMF0jqwYhE= +github.com/supranational/blst v0.3.16/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/testcontainers/testcontainers-go v0.37.0 h1:L2Qc0vkTw2EHWQ08djon0D2uw7Z/PtHS/QzZZ5Ra/hg= -github.com/testcontainers/testcontainers-go v0.37.0/go.mod h1:QPzbxZhQ6Bclip9igjLFj6z0hs01bU8lrl2dHQmgFGM= +github.com/testcontainers/testcontainers-go v0.40.0 h1:pSdJYLOVgLE8YdUY2FHQ1Fxu+aMnb6JfVz1mxk7OeMU= +github.com/testcontainers/testcontainers-go v0.40.0/go.mod h1:FSXV5KQtX2HAMlm7U3APNyLkkap35zNLxukw9oBi/MY= github.com/testcontainers/testcontainers-go/modules/postgres v0.37.0 h1:hsVwFkS6s+79MbKEO+W7A1wNIw1fmkMtF4fg83m6kbc= github.com/testcontainers/testcontainers-go/modules/postgres v0.37.0/go.mod h1:Qj/eGbRbO/rEYdcRLmN+bEojzatP/+NS1y8ojl2PQsc= -github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= -github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= +github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM= +github.com/tidwall/match v1.2.0/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= -github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= -github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= -github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU= -github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= -github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= -github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= +github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= +github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4= +github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4= +github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso= +github.com/tklauser/numcpus v0.10.0/go.mod h1:BiTKazU708GQTYF4mB+cmlpT2Is1gLk7XVuEeem8LsQ= github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU= github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4= -github.com/urfave/cli/v3 v3.6.1 h1:j8Qq8NyUawj/7rTYdBGrxcH7A/j7/G8Q5LhWEW4G3Mo= -github.com/urfave/cli/v3 v3.6.1/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso= +github.com/urfave/cli/v3 v3.7.0 h1:AGSnbUyjtLiM+WJUb4dzXKldl/gL+F8OwmRDtVr6g2U= +github.com/urfave/cli/v3 v3.7.0/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.52.0 h1:wqBQpxH71XW0e2g+Og4dzQM8pk34aFYlA1Ga8db7gU0= -github.com/valyala/fasthttp v1.52.0/go.mod h1:hf5C4QnVMkNXMspnsUlfM3WitlgYflyhHYoKol/szxQ= -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.31 h1:YhWGA1mfTjID7qJhd1+Vxhpk5HTgydrGU9IgkWBTJ7k= -github.com/vektah/gqlparser/v2 v2.5.31/go.mod h1:c1I28gSOVNzlfc4WuDlqU7voQnsqI6OG2amkBAFmgts= +github.com/valyala/fasthttp v1.69.0 h1:fNLLESD2SooWeh2cidsuFtOcrEi4uB4m1mPrkJMZyVI= +github.com/valyala/fasthttp v1.69.0/go.mod h1:4wA4PfAraPlAsJ5jMSqCE2ug5tqUPwKXxVj8oNECGcw= +github.com/vektah/gqlparser/v2 v2.5.32 h1:k9QPJd4sEDTL+qB4ncPLflqTJ3MmjB9SrVzJrawpFSc= +github.com/vektah/gqlparser/v2 v2.5.32/go.mod h1:c1I28gSOVNzlfc4WuDlqU7voQnsqI6OG2amkBAFmgts= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= @@ -454,78 +465,69 @@ github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGC github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4= +github.com/yosida95/uritemplate/v3 v3.0.2/go.mod h1:ILOh0sOhIJR3+L/8afwt/kE++YT040gmv5BQTMR2HP4= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= -go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= -go.opentelemetry.io/otel v1.35.0 h1:xKWKPxrxB6OtMCbmMY021CqC45J+3Onta9MqjhnusiQ= -go.opentelemetry.io/otel v1.35.0/go.mod h1:UEqy8Zp11hpkUrL73gSlELM0DupHoiq72dR+Zqel/+Y= -go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8= -go.opentelemetry.io/otel v1.38.0/go.mod h1:zcmtmQ1+YmQM9wrNsTGV/q/uyusom3P8RxwExxkZhjM= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 h1:1fTNlAIJZGWLP5FVu0fikVry1IsiUnXjf7QFvoNN3Xw= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0/go.mod h1:zjPK58DtkqQFn+YUMbx0M2XV3QgKU0gS9LeGohREyK4= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 h1:IeMeyr1aBvBiPVYihXIaeIZba6b8E1bYp7lbdxK8CQg= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0/go.mod h1:oVdCUtjq9MK9BlS7TtucsQwUcXcymNiEDjgDD2jMtZU= -go.opentelemetry.io/otel/metric v1.35.0 h1:0znxYu2SNyuMSQT4Y9WDWej0VpcsxkuklLa4/siN90M= -go.opentelemetry.io/otel/metric v1.35.0/go.mod h1:nKVFgxBZ2fReX6IlyW28MgZojkoAkJGaE8CpgeAU3oE= -go.opentelemetry.io/otel/metric v1.38.0 h1:Kl6lzIYGAh5M159u9NgiRkmoMKjvbsKtYRwgfrA6WpA= -go.opentelemetry.io/otel/metric v1.38.0/go.mod h1:kB5n/QoRM8YwmUahxvI3bO34eVtQf2i4utNVLr9gEmI= -go.opentelemetry.io/otel/sdk v1.35.0 h1:iPctf8iprVySXSKJffSS79eOjl9pvxV9ZqOWT0QejKY= -go.opentelemetry.io/otel/sdk v1.35.0/go.mod h1:+ga1bZliga3DxJ3CQGg3updiaAJoNECOgJREo9KHGQg= -go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt/xgMs= -go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc= -go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJrmcNLE= -go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs= -go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4= -go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4= -go.uber.org/mock v0.5.2 h1:LbtPTcP8A5k9WPXj54PPPbjcI4Y6lhyOZXn+VS7wNko= -go.uber.org/mock v0.5.2/go.mod h1:wLlUxC2vVTPTaE3UD51E0BGOAElKrILxhVSDYQLld5o= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 h1:7iP2uCb7sGddAr30RRS6xjKy7AZ2JtTOPA3oolgVSw8= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0/go.mod h1:c7hN3ddxs/z6q9xwvfLPk+UHlWRQyaeR1LdgfL/66l0= +go.opentelemetry.io/otel v1.42.0 h1:lSQGzTgVR3+sgJDAU/7/ZMjN9Z+vUip7leaqBKy4sho= +go.opentelemetry.io/otel v1.42.0/go.mod h1:lJNsdRMxCUIWuMlVJWzecSMuNjE7dOYyWlqOXWkdqCc= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0 h1:f0cb2XPmrqn4XMy9PNliTgRKJgS5WcL/u0/WRYGz4t0= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0/go.mod h1:vnakAaFckOMiMtOIhFI2MNH4FYrZzXCYxmb1LlhoGz8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0 h1:Ckwye2FpXkYgiHX7fyVrN1uA/UYd9ounqqTuSNAv0k4= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0/go.mod h1:teIFJh5pW2y+AN7riv6IBPX2DuesS3HgP39mwOspKwU= +go.opentelemetry.io/otel/metric v1.42.0 h1:2jXG+3oZLNXEPfNmnpxKDeZsFI5o4J+nz6xUlaFdF/4= +go.opentelemetry.io/otel/metric v1.42.0/go.mod h1:RlUN/7vTU7Ao/diDkEpQpnz3/92J9ko05BIwxYa2SSI= +go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8= +go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE= +go.opentelemetry.io/otel/sdk/metric v1.40.0 h1:mtmdVqgQkeRxHgRv4qhyJduP3fYJRMX4AtAlbuWdCYw= +go.opentelemetry.io/otel/sdk/metric v1.40.0/go.mod h1:4Z2bGMf0KSK3uRjlczMOeMhKU2rhUqdWNoKcYrtcBPg= +go.opentelemetry.io/otel/trace v1.42.0 h1:OUCgIPt+mzOnaUTpOQcBiM/PLQ/Op7oq6g4LenLmOYY= +go.opentelemetry.io/otel/trace v1.42.0/go.mod h1:f3K9S+IFqnumBkKhRJMeaZeNk9epyhnCmQh/EysQCdc= +go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A= +go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= +go.uber.org/mock v0.6.0/go.mod h1:KiVJ4BqZJaMj4svdfmHM0AUx4NJYO8ZNpPnZn1Z+BBU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= +go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.46.0 h1:cKRW/pmt1pKAfetfu+RCEvjvZkA9RimPbh7bhFjGVBU= -golang.org/x/crypto v0.46.0/go.mod h1:Evb/oLKmMraqjZ2iQTwDwvCtJkczlDuTmdJXoZVzqU0= -golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 h1:y5zboxd6LQAqYIhHnB48p0ByQ/GnQx2BE33L8BOHQkI= -golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6/go.mod h1:U6Lno4MTRCDY+Ba7aCcauB9T60gsv5s4ralQzP72ZoQ= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4= +golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA= +golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa h1:Zt3DZoOFFYkKhDT3v7Lm9FDMEV06GpzjG2jrqW+QTE0= +golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa/go.mod h1:K79w1Vqn7PoiZn+TkNpx3BUWUQksGO3JcVX6qIjytmA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.31.0 h1:HaW9xtz0+kOcWKwli0ZXy79Ix+UW/vOfmWI5QVd2tgI= -golang.org/x/mod v0.31.0/go.mod h1:43JraMp9cGx1Rx3AqioxrbrhNsLl2l/iNAvuBkrezpg= +golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8= +golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.48.0 h1:zyQRTTrjc33Lhh0fBgT/H3oZq9WuvRR5gPC70xpDiQU= -golang.org/x/net v0.48.0/go.mod h1:+ndRgGjkh8FGtu1w1FGbEC31if4VrNVMuKTgcAAnQRY= +golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo= +golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y= +golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= +golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4= -golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= +golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= +golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -538,49 +540,38 @@ golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -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.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk= -golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= +golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= 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.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.38.0 h1:PQ5pkm/rLO6HnxFR7N2lJHOZX6Kez5Y1gDSJla6jo7Q= -golang.org/x/term v0.38.0/go.mod h1:bSEAKrOT1W+VSu9TSCMtoGEOUcKxOKgl3LE5QEF/xVg= +golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU= +golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= -golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= +golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= +golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= golang.org/x/time v0.9.0 h1:EsRrnYcQiGH+5FfbgvV4AP7qEZstoyrHB0DzarOQ4ZY= golang.org/x/time v0.9.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.40.0 h1:yLkxfA+Qnul4cs9QA3KnlFu0lVmd8JJfoq+E41uSutA= -golang.org/x/tools v0.40.0/go.mod h1:Ik/tzLRlbscWpqqMRjyWYDisX8bG13FrdXp3o4Sr9lc= +golang.org/x/tools v0.42.0 h1:uNgphsn75Tdz5Ji2q36v/nsFSfR/9BRFvqhGBaJGd5k= +golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU= golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= -google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e h1:Ao9GzfUMPH3zjVfzXG5rlWlk+Q8MXWKwWpwVQE1MXfw= -google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 h1:GVIKPyP/kLIyVOgOnTwFOrvQaQUzOzGMCxgFUOEmm24= -google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422/go.mod h1:b6h1vNKhxaSoEI+5jc3PJUCustfli/mRab7295pY7rw= -google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda/go.mod h1:fDMmzKV90WSg1NbozdqrE64fkuTv6mlq2zxo9ad+3yo= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 h1:e0AIkUUhxyBKh6ssZNrAMeqhA7RKUj42346d1y02i2g= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda h1:i/Q+bfisr7gq6feoJnS/DlpdwEL4ihp41fvRiM3Ork0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk= -google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg= -google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec= -google.golang.org/grpc v1.78.0 h1:K1XZG/yGDJnzMdd/uZHAkVqJE+xIDOcmdSFZkBUicNc= -google.golang.org/grpc v1.78.0/go.mod h1:I47qjTo4OKbMkjA/aOOwxDIiPSBofUtQUI5EfpWvW7U= +gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= +gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= +google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b h1:uA40e2M6fYRBf0+8uN5mLlqUtV192iiksiICIBkYJ1E= +google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b/go.mod h1:Xa7le7qx2vmqB/SzWUBa7KdMjpdpAHlh5QCSnjessQk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d h1:t/LOSXPJ9R0B6fnZNyALBRfZBH0Uy0gT+uR+SJ6syqQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/grpc v1.79.1 h1:zGhSi45ODB9/p3VAawt9a+O/MULLl9dpizzNNpq7flY= +google.golang.org/grpc v1.79.1/go.mod h1:KmT0Kjez+0dde/v2j9vzwoAScgEPx/Bw1CYChhHLrHQ= google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -595,13 +586,13 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= -gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= -modernc.org/libc v1.65.0 h1:e183gLDnAp9VJh6gWKdTy0CThL9Pt7MfcR/0bgb7Y1Y= -modernc.org/libc v1.65.0/go.mod h1:7m9VzGq7APssBTydds2zBcxGREwvIGpuUBaKTXdm2Qs= +gotest.tools/v3 v3.5.2 h1:7koQfIKdy+I8UTetycgUqXWSDwpgv193Ka+qRsmBY8Q= +gotest.tools/v3 v3.5.2/go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA= +modernc.org/libc v1.68.0 h1:PJ5ikFOV5pwpW+VqCK1hKJuEWsonkIJhhIXyuF/91pQ= +modernc.org/libc v1.68.0/go.mod h1:NnKCYeoYgsEqnY3PgvNgAeaJnso968ygU8Z0DxjoEc0= modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU= modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg= -modernc.org/memory v1.10.0 h1:fzumd51yQ1DxcOxSO+S6X7+QTuVU+n8/Aj7swYjFfC4= -modernc.org/memory v1.10.0/go.mod h1:/JP4VbVC+K5sU2wZi9bHoq2MAkCnrt2r98UGeSK7Mjw= -modernc.org/sqlite v1.37.0 h1:s1TMe7T3Q3ovQiK2Ouz4Jwh7dw4ZDqbebSDTlSJdfjI= -modernc.org/sqlite v1.37.0/go.mod h1:5YiWv+YviqGMuGw4V+PNplcyaJ5v+vQd7TQOgkACoJM= +modernc.org/memory v1.11.0 h1:o4QC8aMQzmcwCK3t3Ux/ZHmwFPzE6hf2Y5LbkRs+hbI= +modernc.org/memory v1.11.0/go.mod h1:/JP4VbVC+K5sU2wZi9bHoq2MAkCnrt2r98UGeSK7Mjw= +modernc.org/sqlite v1.46.1 h1:eFJ2ShBLIEnUWlLy12raN0Z1plqmFX9Qe3rjQTKt6sU= +modernc.org/sqlite v1.46.1/go.mod h1:CzbrU2lSB1DKUusvwGz7rqEKIq+NUd8GWuBBZDs9/nA= diff --git a/gqlgen.yml b/gqlgen.yml index 49eaf8e6..24de30a3 100644 --- a/gqlgen.yml +++ b/gqlgen.yml @@ -63,6 +63,12 @@ resolver: # Optional: set to skip running `go mod tidy` when generating server code # skip_mod_tidy: true +directives: + mcpTool: + skip_runtime: true + mcpExample: + skip_runtime: true + # gqlgen will search for any type names in the schema in these go packages # if they match it will use them, otherwise it will generate them. autobind: diff --git a/graph/aftermarket.resolvers.go b/graph/aftermarket.resolvers.go index 03c271b4..ebd0f6b9 100644 --- a/graph/aftermarket.resolvers.go +++ b/graph/aftermarket.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/connection.resolvers.go b/graph/connection.resolvers.go index ec3917a8..44ed3c56 100644 --- a/graph/connection.resolvers.go +++ b/graph/connection.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/dcn.resolvers.go b/graph/dcn.resolvers.go index 57a86b4f..82ab4bb6 100644 --- a/graph/dcn.resolvers.go +++ b/graph/dcn.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/developerlicense.resolvers.go b/graph/developerlicense.resolvers.go index 965c1909..49eb7c81 100644 --- a/graph/developerlicense.resolvers.go +++ b/graph/developerlicense.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/devicedefinition.resolvers.go b/graph/devicedefinition.resolvers.go index 3b8e3ae2..d6e88b5a 100644 --- a/graph/devicedefinition.resolvers.go +++ b/graph/devicedefinition.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/generated.go b/graph/generated.go index 82b38374..76b1eb3a 100644 --- a/graph/generated.go +++ b/graph/generated.go @@ -10,7 +10,6 @@ import ( "fmt" "math/big" "strconv" - "sync" "sync/atomic" "time" @@ -28,20 +27,10 @@ import ( // NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface. func NewExecutableSchema(cfg Config) graphql.ExecutableSchema { - return &executableSchema{ - schema: cfg.Schema, - resolvers: cfg.Resolvers, - directives: cfg.Directives, - complexity: cfg.Complexity, - } + return &executableSchema{SchemaData: cfg.Schema, Resolvers: cfg.Resolvers, Directives: cfg.Directives, ComplexityRoot: cfg.Complexity} } -type Config struct { - Schema *ast.Schema - Resolvers ResolverRoot - Directives DirectiveRoot - Complexity ComplexityRoot -} +type Config = graphql.Config[ResolverRoot, DirectiveRoot, ComplexityRoot] type ResolverRoot interface { Account() AccountResolver @@ -60,6 +49,7 @@ type ResolverRoot interface { } type DirectiveRoot struct { + McpHide func(ctx context.Context, obj any, next graphql.Resolver) (res any, err error) } type ComplexityRoot struct { @@ -575,33 +565,28 @@ type VehicleEarningsResolver interface { History(ctx context.Context, obj *model.VehicleEarnings, first *int, after *string, last *int, before *string) (*model.EarningsConnection, error) } -type executableSchema struct { - schema *ast.Schema - resolvers ResolverRoot - directives DirectiveRoot - complexity ComplexityRoot -} +type executableSchema graphql.ExecutableSchemaState[ResolverRoot, DirectiveRoot, ComplexityRoot] func (e *executableSchema) Schema() *ast.Schema { - if e.schema != nil { - return e.schema + if e.SchemaData != nil { + return e.SchemaData } return parsedSchema } func (e *executableSchema) Complexity(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) { - ec := executionContext{nil, e, 0, 0, nil} + ec := newExecutionContext(nil, e, nil) _ = ec switch typeName + "." + field { case "Account.address": - if e.complexity.Account.Address == nil { + if e.ComplexityRoot.Account.Address == nil { break } - return e.complexity.Account.Address(childComplexity), true + return e.ComplexityRoot.Account.Address(childComplexity), true case "Account.sacds": - if e.complexity.Account.Sacds == nil { + if e.ComplexityRoot.Account.Sacds == nil { break } @@ -610,144 +595,144 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Account.Sacds(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.Account.Sacds(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "AftermarketDevice.address": - if e.complexity.AftermarketDevice.Address == nil { + if e.ComplexityRoot.AftermarketDevice.Address == nil { break } - return e.complexity.AftermarketDevice.Address(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Address(childComplexity), true case "AftermarketDevice.beneficiary": - if e.complexity.AftermarketDevice.Beneficiary == nil { + if e.ComplexityRoot.AftermarketDevice.Beneficiary == nil { break } - return e.complexity.AftermarketDevice.Beneficiary(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Beneficiary(childComplexity), true case "AftermarketDevice.claimedAt": - if e.complexity.AftermarketDevice.ClaimedAt == nil { + if e.ComplexityRoot.AftermarketDevice.ClaimedAt == nil { break } - return e.complexity.AftermarketDevice.ClaimedAt(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.ClaimedAt(childComplexity), true case "AftermarketDevice.devEUI": - if e.complexity.AftermarketDevice.DevEui == nil { + if e.ComplexityRoot.AftermarketDevice.DevEui == nil { break } - return e.complexity.AftermarketDevice.DevEui(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.DevEui(childComplexity), true case "AftermarketDevice.earnings": - if e.complexity.AftermarketDevice.Earnings == nil { + if e.ComplexityRoot.AftermarketDevice.Earnings == nil { break } - return e.complexity.AftermarketDevice.Earnings(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Earnings(childComplexity), true case "AftermarketDevice.hardwareRevision": - if e.complexity.AftermarketDevice.HardwareRevision == nil { + if e.ComplexityRoot.AftermarketDevice.HardwareRevision == nil { break } - return e.complexity.AftermarketDevice.HardwareRevision(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.HardwareRevision(childComplexity), true case "AftermarketDevice.id": - if e.complexity.AftermarketDevice.ID == nil { + if e.ComplexityRoot.AftermarketDevice.ID == nil { break } - return e.complexity.AftermarketDevice.ID(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.ID(childComplexity), true case "AftermarketDevice.image": - if e.complexity.AftermarketDevice.Image == nil { + if e.ComplexityRoot.AftermarketDevice.Image == nil { break } - return e.complexity.AftermarketDevice.Image(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Image(childComplexity), true case "AftermarketDevice.imei": - if e.complexity.AftermarketDevice.Imei == nil { + if e.ComplexityRoot.AftermarketDevice.Imei == nil { break } - return e.complexity.AftermarketDevice.Imei(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Imei(childComplexity), true case "AftermarketDevice.manufacturer": - if e.complexity.AftermarketDevice.Manufacturer == nil { + if e.ComplexityRoot.AftermarketDevice.Manufacturer == nil { break } - return e.complexity.AftermarketDevice.Manufacturer(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Manufacturer(childComplexity), true case "AftermarketDevice.mintedAt": - if e.complexity.AftermarketDevice.MintedAt == nil { + if e.ComplexityRoot.AftermarketDevice.MintedAt == nil { break } - return e.complexity.AftermarketDevice.MintedAt(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.MintedAt(childComplexity), true case "AftermarketDevice.name": - if e.complexity.AftermarketDevice.Name == nil { + if e.ComplexityRoot.AftermarketDevice.Name == nil { break } - return e.complexity.AftermarketDevice.Name(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Name(childComplexity), true case "AftermarketDevice.owner": - if e.complexity.AftermarketDevice.Owner == nil { + if e.ComplexityRoot.AftermarketDevice.Owner == nil { break } - return e.complexity.AftermarketDevice.Owner(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Owner(childComplexity), true case "AftermarketDevice.pairedAt": - if e.complexity.AftermarketDevice.PairedAt == nil { + if e.ComplexityRoot.AftermarketDevice.PairedAt == nil { break } - return e.complexity.AftermarketDevice.PairedAt(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.PairedAt(childComplexity), true case "AftermarketDevice.serial": - if e.complexity.AftermarketDevice.Serial == nil { + if e.ComplexityRoot.AftermarketDevice.Serial == nil { break } - return e.complexity.AftermarketDevice.Serial(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Serial(childComplexity), true case "AftermarketDevice.tokenDID": - if e.complexity.AftermarketDevice.TokenDID == nil { + if e.ComplexityRoot.AftermarketDevice.TokenDID == nil { break } - return e.complexity.AftermarketDevice.TokenDID(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.TokenDID(childComplexity), true case "AftermarketDevice.tokenId": - if e.complexity.AftermarketDevice.TokenID == nil { + if e.ComplexityRoot.AftermarketDevice.TokenID == nil { break } - return e.complexity.AftermarketDevice.TokenID(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.TokenID(childComplexity), true case "AftermarketDevice.vehicle": - if e.complexity.AftermarketDevice.Vehicle == nil { + if e.ComplexityRoot.AftermarketDevice.Vehicle == nil { break } - return e.complexity.AftermarketDevice.Vehicle(childComplexity), true + return e.ComplexityRoot.AftermarketDevice.Vehicle(childComplexity), true case "AftermarketDeviceConnection.edges": - if e.complexity.AftermarketDeviceConnection.Edges == nil { + if e.ComplexityRoot.AftermarketDeviceConnection.Edges == nil { break } - return e.complexity.AftermarketDeviceConnection.Edges(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceConnection.Edges(childComplexity), true case "AftermarketDeviceConnection.nodes": - if e.complexity.AftermarketDeviceConnection.Nodes == nil { + if e.ComplexityRoot.AftermarketDeviceConnection.Nodes == nil { break } - return e.complexity.AftermarketDeviceConnection.Nodes(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceConnection.Nodes(childComplexity), true case "AftermarketDeviceConnection.pageInfo": - if e.complexity.AftermarketDeviceConnection.PageInfo == nil { + if e.ComplexityRoot.AftermarketDeviceConnection.PageInfo == nil { break } - return e.complexity.AftermarketDeviceConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceConnection.PageInfo(childComplexity), true case "AftermarketDeviceConnection.totalCount": - if e.complexity.AftermarketDeviceConnection.TotalCount == nil { + if e.ComplexityRoot.AftermarketDeviceConnection.TotalCount == nil { break } - return e.complexity.AftermarketDeviceConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceConnection.TotalCount(childComplexity), true case "AftermarketDeviceEarnings.history": - if e.complexity.AftermarketDeviceEarnings.History == nil { + if e.ComplexityRoot.AftermarketDeviceEarnings.History == nil { break } @@ -756,246 +741,246 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.AftermarketDeviceEarnings.History(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.AftermarketDeviceEarnings.History(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "AftermarketDeviceEarnings.totalTokens": - if e.complexity.AftermarketDeviceEarnings.TotalTokens == nil { + if e.ComplexityRoot.AftermarketDeviceEarnings.TotalTokens == nil { break } - return e.complexity.AftermarketDeviceEarnings.TotalTokens(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceEarnings.TotalTokens(childComplexity), true case "AftermarketDeviceEdge.cursor": - if e.complexity.AftermarketDeviceEdge.Cursor == nil { + if e.ComplexityRoot.AftermarketDeviceEdge.Cursor == nil { break } - return e.complexity.AftermarketDeviceEdge.Cursor(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceEdge.Cursor(childComplexity), true case "AftermarketDeviceEdge.node": - if e.complexity.AftermarketDeviceEdge.Node == nil { + if e.ComplexityRoot.AftermarketDeviceEdge.Node == nil { break } - return e.complexity.AftermarketDeviceEdge.Node(childComplexity), true + return e.ComplexityRoot.AftermarketDeviceEdge.Node(childComplexity), true case "Connection.address": - if e.complexity.Connection.Address == nil { + if e.ComplexityRoot.Connection.Address == nil { break } - return e.complexity.Connection.Address(childComplexity), true + return e.ComplexityRoot.Connection.Address(childComplexity), true case "Connection.mintedAt": - if e.complexity.Connection.MintedAt == nil { + if e.ComplexityRoot.Connection.MintedAt == nil { break } - return e.complexity.Connection.MintedAt(childComplexity), true + return e.ComplexityRoot.Connection.MintedAt(childComplexity), true case "Connection.name": - if e.complexity.Connection.Name == nil { + if e.ComplexityRoot.Connection.Name == nil { break } - return e.complexity.Connection.Name(childComplexity), true + return e.ComplexityRoot.Connection.Name(childComplexity), true case "Connection.owner": - if e.complexity.Connection.Owner == nil { + if e.ComplexityRoot.Connection.Owner == nil { break } - return e.complexity.Connection.Owner(childComplexity), true + return e.ComplexityRoot.Connection.Owner(childComplexity), true case "Connection.tokenDID": - if e.complexity.Connection.TokenDID == nil { + if e.ComplexityRoot.Connection.TokenDID == nil { break } - return e.complexity.Connection.TokenDID(childComplexity), true + return e.ComplexityRoot.Connection.TokenDID(childComplexity), true case "Connection.tokenId": - if e.complexity.Connection.TokenID == nil { + if e.ComplexityRoot.Connection.TokenID == nil { break } - return e.complexity.Connection.TokenID(childComplexity), true + return e.ComplexityRoot.Connection.TokenID(childComplexity), true case "ConnectionConnection.edges": - if e.complexity.ConnectionConnection.Edges == nil { + if e.ComplexityRoot.ConnectionConnection.Edges == nil { break } - return e.complexity.ConnectionConnection.Edges(childComplexity), true + return e.ComplexityRoot.ConnectionConnection.Edges(childComplexity), true case "ConnectionConnection.nodes": - if e.complexity.ConnectionConnection.Nodes == nil { + if e.ComplexityRoot.ConnectionConnection.Nodes == nil { break } - return e.complexity.ConnectionConnection.Nodes(childComplexity), true + return e.ComplexityRoot.ConnectionConnection.Nodes(childComplexity), true case "ConnectionConnection.pageInfo": - if e.complexity.ConnectionConnection.PageInfo == nil { + if e.ComplexityRoot.ConnectionConnection.PageInfo == nil { break } - return e.complexity.ConnectionConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.ConnectionConnection.PageInfo(childComplexity), true case "ConnectionConnection.totalCount": - if e.complexity.ConnectionConnection.TotalCount == nil { + if e.ComplexityRoot.ConnectionConnection.TotalCount == nil { break } - return e.complexity.ConnectionConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.ConnectionConnection.TotalCount(childComplexity), true case "ConnectionEdge.cursor": - if e.complexity.ConnectionEdge.Cursor == nil { + if e.ComplexityRoot.ConnectionEdge.Cursor == nil { break } - return e.complexity.ConnectionEdge.Cursor(childComplexity), true + return e.ComplexityRoot.ConnectionEdge.Cursor(childComplexity), true case "ConnectionEdge.node": - if e.complexity.ConnectionEdge.Node == nil { + if e.ComplexityRoot.ConnectionEdge.Node == nil { break } - return e.complexity.ConnectionEdge.Node(childComplexity), true + return e.ComplexityRoot.ConnectionEdge.Node(childComplexity), true case "DCN.expiresAt": - if e.complexity.DCN.ExpiresAt == nil { + if e.ComplexityRoot.DCN.ExpiresAt == nil { break } - return e.complexity.DCN.ExpiresAt(childComplexity), true + return e.ComplexityRoot.DCN.ExpiresAt(childComplexity), true case "DCN.id": - if e.complexity.DCN.ID == nil { + if e.ComplexityRoot.DCN.ID == nil { break } - return e.complexity.DCN.ID(childComplexity), true + return e.ComplexityRoot.DCN.ID(childComplexity), true case "DCN.mintedAt": - if e.complexity.DCN.MintedAt == nil { + if e.ComplexityRoot.DCN.MintedAt == nil { break } - return e.complexity.DCN.MintedAt(childComplexity), true + return e.ComplexityRoot.DCN.MintedAt(childComplexity), true case "DCN.name": - if e.complexity.DCN.Name == nil { + if e.ComplexityRoot.DCN.Name == nil { break } - return e.complexity.DCN.Name(childComplexity), true + return e.ComplexityRoot.DCN.Name(childComplexity), true case "DCN.node": - if e.complexity.DCN.Node == nil { + if e.ComplexityRoot.DCN.Node == nil { break } - return e.complexity.DCN.Node(childComplexity), true + return e.ComplexityRoot.DCN.Node(childComplexity), true case "DCN.owner": - if e.complexity.DCN.Owner == nil { + if e.ComplexityRoot.DCN.Owner == nil { break } - return e.complexity.DCN.Owner(childComplexity), true + return e.ComplexityRoot.DCN.Owner(childComplexity), true case "DCN.tokenDID": - if e.complexity.DCN.TokenDID == nil { + if e.ComplexityRoot.DCN.TokenDID == nil { break } - return e.complexity.DCN.TokenDID(childComplexity), true + return e.ComplexityRoot.DCN.TokenDID(childComplexity), true case "DCN.tokenId": - if e.complexity.DCN.TokenID == nil { + if e.ComplexityRoot.DCN.TokenID == nil { break } - return e.complexity.DCN.TokenID(childComplexity), true + return e.ComplexityRoot.DCN.TokenID(childComplexity), true case "DCN.vehicle": - if e.complexity.DCN.Vehicle == nil { + if e.ComplexityRoot.DCN.Vehicle == nil { break } - return e.complexity.DCN.Vehicle(childComplexity), true + return e.ComplexityRoot.DCN.Vehicle(childComplexity), true case "DCNConnection.edges": - if e.complexity.DCNConnection.Edges == nil { + if e.ComplexityRoot.DCNConnection.Edges == nil { break } - return e.complexity.DCNConnection.Edges(childComplexity), true + return e.ComplexityRoot.DCNConnection.Edges(childComplexity), true case "DCNConnection.nodes": - if e.complexity.DCNConnection.Nodes == nil { + if e.ComplexityRoot.DCNConnection.Nodes == nil { break } - return e.complexity.DCNConnection.Nodes(childComplexity), true + return e.ComplexityRoot.DCNConnection.Nodes(childComplexity), true case "DCNConnection.pageInfo": - if e.complexity.DCNConnection.PageInfo == nil { + if e.ComplexityRoot.DCNConnection.PageInfo == nil { break } - return e.complexity.DCNConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.DCNConnection.PageInfo(childComplexity), true case "DCNConnection.totalCount": - if e.complexity.DCNConnection.TotalCount == nil { + if e.ComplexityRoot.DCNConnection.TotalCount == nil { break } - return e.complexity.DCNConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.DCNConnection.TotalCount(childComplexity), true case "DCNEdge.cursor": - if e.complexity.DCNEdge.Cursor == nil { + if e.ComplexityRoot.DCNEdge.Cursor == nil { break } - return e.complexity.DCNEdge.Cursor(childComplexity), true + return e.ComplexityRoot.DCNEdge.Cursor(childComplexity), true case "DCNEdge.node": - if e.complexity.DCNEdge.Node == nil { + if e.ComplexityRoot.DCNEdge.Node == nil { break } - return e.complexity.DCNEdge.Node(childComplexity), true + return e.ComplexityRoot.DCNEdge.Node(childComplexity), true case "Definition.id": - if e.complexity.Definition.ID == nil { + if e.ComplexityRoot.Definition.ID == nil { break } - return e.complexity.Definition.ID(childComplexity), true + return e.ComplexityRoot.Definition.ID(childComplexity), true case "Definition.make": - if e.complexity.Definition.Make == nil { + if e.ComplexityRoot.Definition.Make == nil { break } - return e.complexity.Definition.Make(childComplexity), true + return e.ComplexityRoot.Definition.Make(childComplexity), true case "Definition.model": - if e.complexity.Definition.Model == nil { + if e.ComplexityRoot.Definition.Model == nil { break } - return e.complexity.Definition.Model(childComplexity), true + return e.ComplexityRoot.Definition.Model(childComplexity), true case "Definition.year": - if e.complexity.Definition.Year == nil { + if e.ComplexityRoot.Definition.Year == nil { break } - return e.complexity.Definition.Year(childComplexity), true + return e.ComplexityRoot.Definition.Year(childComplexity), true case "DeveloperLicense.alias": - if e.complexity.DeveloperLicense.Alias == nil { + if e.ComplexityRoot.DeveloperLicense.Alias == nil { break } - return e.complexity.DeveloperLicense.Alias(childComplexity), true + return e.ComplexityRoot.DeveloperLicense.Alias(childComplexity), true case "DeveloperLicense.clientId": - if e.complexity.DeveloperLicense.ClientID == nil { + if e.ComplexityRoot.DeveloperLicense.ClientID == nil { break } - return e.complexity.DeveloperLicense.ClientID(childComplexity), true + return e.ComplexityRoot.DeveloperLicense.ClientID(childComplexity), true case "DeveloperLicense.mintedAt": - if e.complexity.DeveloperLicense.MintedAt == nil { + if e.ComplexityRoot.DeveloperLicense.MintedAt == nil { break } - return e.complexity.DeveloperLicense.MintedAt(childComplexity), true + return e.ComplexityRoot.DeveloperLicense.MintedAt(childComplexity), true case "DeveloperLicense.owner": - if e.complexity.DeveloperLicense.Owner == nil { + if e.ComplexityRoot.DeveloperLicense.Owner == nil { break } - return e.complexity.DeveloperLicense.Owner(childComplexity), true + return e.ComplexityRoot.DeveloperLicense.Owner(childComplexity), true case "DeveloperLicense.redirectURIs": - if e.complexity.DeveloperLicense.RedirectURIs == nil { + if e.ComplexityRoot.DeveloperLicense.RedirectURIs == nil { break } @@ -1004,9 +989,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.DeveloperLicense.RedirectURIs(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.DeveloperLicense.RedirectURIs(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "DeveloperLicense.signers": - if e.complexity.DeveloperLicense.Signers == nil { + if e.ComplexityRoot.DeveloperLicense.Signers == nil { break } @@ -1015,259 +1000,259 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.DeveloperLicense.Signers(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.DeveloperLicense.Signers(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "DeveloperLicense.tokenDID": - if e.complexity.DeveloperLicense.TokenDID == nil { + if e.ComplexityRoot.DeveloperLicense.TokenDID == nil { break } - return e.complexity.DeveloperLicense.TokenDID(childComplexity), true + return e.ComplexityRoot.DeveloperLicense.TokenDID(childComplexity), true case "DeveloperLicense.tokenId": - if e.complexity.DeveloperLicense.TokenID == nil { + if e.ComplexityRoot.DeveloperLicense.TokenID == nil { break } - return e.complexity.DeveloperLicense.TokenID(childComplexity), true + return e.ComplexityRoot.DeveloperLicense.TokenID(childComplexity), true case "DeveloperLicenseConnection.edges": - if e.complexity.DeveloperLicenseConnection.Edges == nil { + if e.ComplexityRoot.DeveloperLicenseConnection.Edges == nil { break } - return e.complexity.DeveloperLicenseConnection.Edges(childComplexity), true + return e.ComplexityRoot.DeveloperLicenseConnection.Edges(childComplexity), true case "DeveloperLicenseConnection.nodes": - if e.complexity.DeveloperLicenseConnection.Nodes == nil { + if e.ComplexityRoot.DeveloperLicenseConnection.Nodes == nil { break } - return e.complexity.DeveloperLicenseConnection.Nodes(childComplexity), true + return e.ComplexityRoot.DeveloperLicenseConnection.Nodes(childComplexity), true case "DeveloperLicenseConnection.pageInfo": - if e.complexity.DeveloperLicenseConnection.PageInfo == nil { + if e.ComplexityRoot.DeveloperLicenseConnection.PageInfo == nil { break } - return e.complexity.DeveloperLicenseConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.DeveloperLicenseConnection.PageInfo(childComplexity), true case "DeveloperLicenseConnection.totalCount": - if e.complexity.DeveloperLicenseConnection.TotalCount == nil { + if e.ComplexityRoot.DeveloperLicenseConnection.TotalCount == nil { break } - return e.complexity.DeveloperLicenseConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.DeveloperLicenseConnection.TotalCount(childComplexity), true case "DeveloperLicenseEdge.cursor": - if e.complexity.DeveloperLicenseEdge.Cursor == nil { + if e.ComplexityRoot.DeveloperLicenseEdge.Cursor == nil { break } - return e.complexity.DeveloperLicenseEdge.Cursor(childComplexity), true + return e.ComplexityRoot.DeveloperLicenseEdge.Cursor(childComplexity), true case "DeveloperLicenseEdge.node": - if e.complexity.DeveloperLicenseEdge.Node == nil { + if e.ComplexityRoot.DeveloperLicenseEdge.Node == nil { break } - return e.complexity.DeveloperLicenseEdge.Node(childComplexity), true + return e.ComplexityRoot.DeveloperLicenseEdge.Node(childComplexity), true case "DeviceDefinition.attributes": - if e.complexity.DeviceDefinition.Attributes == nil { + if e.ComplexityRoot.DeviceDefinition.Attributes == nil { break } - return e.complexity.DeviceDefinition.Attributes(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.Attributes(childComplexity), true case "DeviceDefinition.deviceDefinitionId": - if e.complexity.DeviceDefinition.DeviceDefinitionID == nil { + if e.ComplexityRoot.DeviceDefinition.DeviceDefinitionID == nil { break } - return e.complexity.DeviceDefinition.DeviceDefinitionID(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.DeviceDefinitionID(childComplexity), true case "DeviceDefinition.deviceType": - if e.complexity.DeviceDefinition.DeviceType == nil { + if e.ComplexityRoot.DeviceDefinition.DeviceType == nil { break } - return e.complexity.DeviceDefinition.DeviceType(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.DeviceType(childComplexity), true case "DeviceDefinition.imageURI": - if e.complexity.DeviceDefinition.ImageURI == nil { + if e.ComplexityRoot.DeviceDefinition.ImageURI == nil { break } - return e.complexity.DeviceDefinition.ImageURI(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.ImageURI(childComplexity), true case "DeviceDefinition.legacyId": - if e.complexity.DeviceDefinition.LegacyID == nil { + if e.ComplexityRoot.DeviceDefinition.LegacyID == nil { break } - return e.complexity.DeviceDefinition.LegacyID(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.LegacyID(childComplexity), true case "DeviceDefinition.manufacturer": - if e.complexity.DeviceDefinition.Manufacturer == nil { + if e.ComplexityRoot.DeviceDefinition.Manufacturer == nil { break } - return e.complexity.DeviceDefinition.Manufacturer(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.Manufacturer(childComplexity), true case "DeviceDefinition.model": - if e.complexity.DeviceDefinition.Model == nil { + if e.ComplexityRoot.DeviceDefinition.Model == nil { break } - return e.complexity.DeviceDefinition.Model(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.Model(childComplexity), true case "DeviceDefinition.year": - if e.complexity.DeviceDefinition.Year == nil { + if e.ComplexityRoot.DeviceDefinition.Year == nil { break } - return e.complexity.DeviceDefinition.Year(childComplexity), true + return e.ComplexityRoot.DeviceDefinition.Year(childComplexity), true case "DeviceDefinitionAttribute.name": - if e.complexity.DeviceDefinitionAttribute.Name == nil { + if e.ComplexityRoot.DeviceDefinitionAttribute.Name == nil { break } - return e.complexity.DeviceDefinitionAttribute.Name(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionAttribute.Name(childComplexity), true case "DeviceDefinitionAttribute.value": - if e.complexity.DeviceDefinitionAttribute.Value == nil { + if e.ComplexityRoot.DeviceDefinitionAttribute.Value == nil { break } - return e.complexity.DeviceDefinitionAttribute.Value(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionAttribute.Value(childComplexity), true case "DeviceDefinitionConnection.edges": - if e.complexity.DeviceDefinitionConnection.Edges == nil { + if e.ComplexityRoot.DeviceDefinitionConnection.Edges == nil { break } - return e.complexity.DeviceDefinitionConnection.Edges(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionConnection.Edges(childComplexity), true case "DeviceDefinitionConnection.nodes": - if e.complexity.DeviceDefinitionConnection.Nodes == nil { + if e.ComplexityRoot.DeviceDefinitionConnection.Nodes == nil { break } - return e.complexity.DeviceDefinitionConnection.Nodes(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionConnection.Nodes(childComplexity), true case "DeviceDefinitionConnection.pageInfo": - if e.complexity.DeviceDefinitionConnection.PageInfo == nil { + if e.ComplexityRoot.DeviceDefinitionConnection.PageInfo == nil { break } - return e.complexity.DeviceDefinitionConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionConnection.PageInfo(childComplexity), true case "DeviceDefinitionConnection.totalCount": - if e.complexity.DeviceDefinitionConnection.TotalCount == nil { + if e.ComplexityRoot.DeviceDefinitionConnection.TotalCount == nil { break } - return e.complexity.DeviceDefinitionConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionConnection.TotalCount(childComplexity), true case "DeviceDefinitionEdge.cursor": - if e.complexity.DeviceDefinitionEdge.Cursor == nil { + if e.ComplexityRoot.DeviceDefinitionEdge.Cursor == nil { break } - return e.complexity.DeviceDefinitionEdge.Cursor(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionEdge.Cursor(childComplexity), true case "DeviceDefinitionEdge.node": - if e.complexity.DeviceDefinitionEdge.Node == nil { + if e.ComplexityRoot.DeviceDefinitionEdge.Node == nil { break } - return e.complexity.DeviceDefinitionEdge.Node(childComplexity), true + return e.ComplexityRoot.DeviceDefinitionEdge.Node(childComplexity), true case "Earning.aftermarketDevice": - if e.complexity.Earning.AftermarketDevice == nil { + if e.ComplexityRoot.Earning.AftermarketDevice == nil { break } - return e.complexity.Earning.AftermarketDevice(childComplexity), true + return e.ComplexityRoot.Earning.AftermarketDevice(childComplexity), true case "Earning.aftermarketDeviceTokens": - if e.complexity.Earning.AftermarketDeviceTokens == nil { + if e.ComplexityRoot.Earning.AftermarketDeviceTokens == nil { break } - return e.complexity.Earning.AftermarketDeviceTokens(childComplexity), true + return e.ComplexityRoot.Earning.AftermarketDeviceTokens(childComplexity), true case "Earning.beneficiary": - if e.complexity.Earning.Beneficiary == nil { + if e.ComplexityRoot.Earning.Beneficiary == nil { break } - return e.complexity.Earning.Beneficiary(childComplexity), true + return e.ComplexityRoot.Earning.Beneficiary(childComplexity), true case "Earning.connectionStreak": - if e.complexity.Earning.ConnectionStreak == nil { + if e.ComplexityRoot.Earning.ConnectionStreak == nil { break } - return e.complexity.Earning.ConnectionStreak(childComplexity), true + return e.ComplexityRoot.Earning.ConnectionStreak(childComplexity), true case "Earning.sentAt": - if e.complexity.Earning.SentAt == nil { + if e.ComplexityRoot.Earning.SentAt == nil { break } - return e.complexity.Earning.SentAt(childComplexity), true + return e.ComplexityRoot.Earning.SentAt(childComplexity), true case "Earning.streakTokens": - if e.complexity.Earning.StreakTokens == nil { + if e.ComplexityRoot.Earning.StreakTokens == nil { break } - return e.complexity.Earning.StreakTokens(childComplexity), true + return e.ComplexityRoot.Earning.StreakTokens(childComplexity), true case "Earning.syntheticDevice": - if e.complexity.Earning.SyntheticDevice == nil { + if e.ComplexityRoot.Earning.SyntheticDevice == nil { break } - return e.complexity.Earning.SyntheticDevice(childComplexity), true + return e.ComplexityRoot.Earning.SyntheticDevice(childComplexity), true case "Earning.syntheticDeviceTokens": - if e.complexity.Earning.SyntheticDeviceTokens == nil { + if e.ComplexityRoot.Earning.SyntheticDeviceTokens == nil { break } - return e.complexity.Earning.SyntheticDeviceTokens(childComplexity), true + return e.ComplexityRoot.Earning.SyntheticDeviceTokens(childComplexity), true case "Earning.vehicle": - if e.complexity.Earning.Vehicle == nil { + if e.ComplexityRoot.Earning.Vehicle == nil { break } - return e.complexity.Earning.Vehicle(childComplexity), true + return e.ComplexityRoot.Earning.Vehicle(childComplexity), true case "Earning.week": - if e.complexity.Earning.Week == nil { + if e.ComplexityRoot.Earning.Week == nil { break } - return e.complexity.Earning.Week(childComplexity), true + return e.ComplexityRoot.Earning.Week(childComplexity), true case "EarningsConnection.edges": - if e.complexity.EarningsConnection.Edges == nil { + if e.ComplexityRoot.EarningsConnection.Edges == nil { break } - return e.complexity.EarningsConnection.Edges(childComplexity), true + return e.ComplexityRoot.EarningsConnection.Edges(childComplexity), true case "EarningsConnection.nodes": - if e.complexity.EarningsConnection.Nodes == nil { + if e.ComplexityRoot.EarningsConnection.Nodes == nil { break } - return e.complexity.EarningsConnection.Nodes(childComplexity), true + return e.ComplexityRoot.EarningsConnection.Nodes(childComplexity), true case "EarningsConnection.pageInfo": - if e.complexity.EarningsConnection.PageInfo == nil { + if e.ComplexityRoot.EarningsConnection.PageInfo == nil { break } - return e.complexity.EarningsConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.EarningsConnection.PageInfo(childComplexity), true case "EarningsConnection.totalCount": - if e.complexity.EarningsConnection.TotalCount == nil { + if e.ComplexityRoot.EarningsConnection.TotalCount == nil { break } - return e.complexity.EarningsConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.EarningsConnection.TotalCount(childComplexity), true case "EarningsEdge.cursor": - if e.complexity.EarningsEdge.Cursor == nil { + if e.ComplexityRoot.EarningsEdge.Cursor == nil { break } - return e.complexity.EarningsEdge.Cursor(childComplexity), true + return e.ComplexityRoot.EarningsEdge.Cursor(childComplexity), true case "EarningsEdge.node": - if e.complexity.EarningsEdge.Node == nil { + if e.ComplexityRoot.EarningsEdge.Node == nil { break } - return e.complexity.EarningsEdge.Node(childComplexity), true + return e.ComplexityRoot.EarningsEdge.Node(childComplexity), true case "Manufacturer.aftermarketDevices": - if e.complexity.Manufacturer.AftermarketDevices == nil { + if e.ComplexityRoot.Manufacturer.AftermarketDevices == nil { break } @@ -1276,9 +1261,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Manufacturer.AftermarketDevices(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.AftermarketDevicesFilter)), true + return e.ComplexityRoot.Manufacturer.AftermarketDevices(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.AftermarketDevicesFilter)), true case "Manufacturer.deviceDefinitions": - if e.complexity.Manufacturer.DeviceDefinitions == nil { + if e.ComplexityRoot.Manufacturer.DeviceDefinitions == nil { break } @@ -1287,178 +1272,178 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Manufacturer.DeviceDefinitions(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.DeviceDefinitionFilter)), true + return e.ComplexityRoot.Manufacturer.DeviceDefinitions(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.DeviceDefinitionFilter)), true case "Manufacturer.id": - if e.complexity.Manufacturer.ID == nil { + if e.ComplexityRoot.Manufacturer.ID == nil { break } - return e.complexity.Manufacturer.ID(childComplexity), true + return e.ComplexityRoot.Manufacturer.ID(childComplexity), true case "Manufacturer.mintedAt": - if e.complexity.Manufacturer.MintedAt == nil { + if e.ComplexityRoot.Manufacturer.MintedAt == nil { break } - return e.complexity.Manufacturer.MintedAt(childComplexity), true + return e.ComplexityRoot.Manufacturer.MintedAt(childComplexity), true case "Manufacturer.name": - if e.complexity.Manufacturer.Name == nil { + if e.ComplexityRoot.Manufacturer.Name == nil { break } - return e.complexity.Manufacturer.Name(childComplexity), true + return e.ComplexityRoot.Manufacturer.Name(childComplexity), true case "Manufacturer.owner": - if e.complexity.Manufacturer.Owner == nil { + if e.ComplexityRoot.Manufacturer.Owner == nil { break } - return e.complexity.Manufacturer.Owner(childComplexity), true + return e.ComplexityRoot.Manufacturer.Owner(childComplexity), true case "Manufacturer.tableId": - if e.complexity.Manufacturer.TableID == nil { + if e.ComplexityRoot.Manufacturer.TableID == nil { break } - return e.complexity.Manufacturer.TableID(childComplexity), true + return e.ComplexityRoot.Manufacturer.TableID(childComplexity), true case "Manufacturer.tokenDID": - if e.complexity.Manufacturer.TokenDID == nil { + if e.ComplexityRoot.Manufacturer.TokenDID == nil { break } - return e.complexity.Manufacturer.TokenDID(childComplexity), true + return e.ComplexityRoot.Manufacturer.TokenDID(childComplexity), true case "Manufacturer.tokenId": - if e.complexity.Manufacturer.TokenID == nil { + if e.ComplexityRoot.Manufacturer.TokenID == nil { break } - return e.complexity.Manufacturer.TokenID(childComplexity), true + return e.ComplexityRoot.Manufacturer.TokenID(childComplexity), true case "ManufacturerConnection.edges": - if e.complexity.ManufacturerConnection.Edges == nil { + if e.ComplexityRoot.ManufacturerConnection.Edges == nil { break } - return e.complexity.ManufacturerConnection.Edges(childComplexity), true + return e.ComplexityRoot.ManufacturerConnection.Edges(childComplexity), true case "ManufacturerConnection.nodes": - if e.complexity.ManufacturerConnection.Nodes == nil { + if e.ComplexityRoot.ManufacturerConnection.Nodes == nil { break } - return e.complexity.ManufacturerConnection.Nodes(childComplexity), true + return e.ComplexityRoot.ManufacturerConnection.Nodes(childComplexity), true case "ManufacturerConnection.pageInfo": - if e.complexity.ManufacturerConnection.PageInfo == nil { + if e.ComplexityRoot.ManufacturerConnection.PageInfo == nil { break } - return e.complexity.ManufacturerConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.ManufacturerConnection.PageInfo(childComplexity), true case "ManufacturerConnection.totalCount": - if e.complexity.ManufacturerConnection.TotalCount == nil { + if e.ComplexityRoot.ManufacturerConnection.TotalCount == nil { break } - return e.complexity.ManufacturerConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.ManufacturerConnection.TotalCount(childComplexity), true case "ManufacturerEdge.cursor": - if e.complexity.ManufacturerEdge.Cursor == nil { + if e.ComplexityRoot.ManufacturerEdge.Cursor == nil { break } - return e.complexity.ManufacturerEdge.Cursor(childComplexity), true + return e.ComplexityRoot.ManufacturerEdge.Cursor(childComplexity), true case "ManufacturerEdge.node": - if e.complexity.ManufacturerEdge.Node == nil { + if e.ComplexityRoot.ManufacturerEdge.Node == nil { break } - return e.complexity.ManufacturerEdge.Node(childComplexity), true + return e.ComplexityRoot.ManufacturerEdge.Node(childComplexity), true case "PageInfo.endCursor": - if e.complexity.PageInfo.EndCursor == nil { + if e.ComplexityRoot.PageInfo.EndCursor == nil { break } - return e.complexity.PageInfo.EndCursor(childComplexity), true + return e.ComplexityRoot.PageInfo.EndCursor(childComplexity), true case "PageInfo.hasNextPage": - if e.complexity.PageInfo.HasNextPage == nil { + if e.ComplexityRoot.PageInfo.HasNextPage == nil { break } - return e.complexity.PageInfo.HasNextPage(childComplexity), true + return e.ComplexityRoot.PageInfo.HasNextPage(childComplexity), true case "PageInfo.hasPreviousPage": - if e.complexity.PageInfo.HasPreviousPage == nil { + if e.ComplexityRoot.PageInfo.HasPreviousPage == nil { break } - return e.complexity.PageInfo.HasPreviousPage(childComplexity), true + return e.ComplexityRoot.PageInfo.HasPreviousPage(childComplexity), true case "PageInfo.startCursor": - if e.complexity.PageInfo.StartCursor == nil { + if e.ComplexityRoot.PageInfo.StartCursor == nil { break } - return e.complexity.PageInfo.StartCursor(childComplexity), true + return e.ComplexityRoot.PageInfo.StartCursor(childComplexity), true case "Privilege.expiresAt": - if e.complexity.Privilege.ExpiresAt == nil { + if e.ComplexityRoot.Privilege.ExpiresAt == nil { break } - return e.complexity.Privilege.ExpiresAt(childComplexity), true + return e.ComplexityRoot.Privilege.ExpiresAt(childComplexity), true case "Privilege.id": - if e.complexity.Privilege.ID == nil { + if e.ComplexityRoot.Privilege.ID == nil { break } - return e.complexity.Privilege.ID(childComplexity), true + return e.ComplexityRoot.Privilege.ID(childComplexity), true case "Privilege.setAt": - if e.complexity.Privilege.SetAt == nil { + if e.ComplexityRoot.Privilege.SetAt == nil { break } - return e.complexity.Privilege.SetAt(childComplexity), true + return e.ComplexityRoot.Privilege.SetAt(childComplexity), true case "Privilege.user": - if e.complexity.Privilege.User == nil { + if e.ComplexityRoot.Privilege.User == nil { break } - return e.complexity.Privilege.User(childComplexity), true + return e.ComplexityRoot.Privilege.User(childComplexity), true case "PrivilegeEdge.cursor": - if e.complexity.PrivilegeEdge.Cursor == nil { + if e.ComplexityRoot.PrivilegeEdge.Cursor == nil { break } - return e.complexity.PrivilegeEdge.Cursor(childComplexity), true + return e.ComplexityRoot.PrivilegeEdge.Cursor(childComplexity), true case "PrivilegeEdge.node": - if e.complexity.PrivilegeEdge.Node == nil { + if e.ComplexityRoot.PrivilegeEdge.Node == nil { break } - return e.complexity.PrivilegeEdge.Node(childComplexity), true + return e.ComplexityRoot.PrivilegeEdge.Node(childComplexity), true case "PrivilegesConnection.edges": - if e.complexity.PrivilegesConnection.Edges == nil { + if e.ComplexityRoot.PrivilegesConnection.Edges == nil { break } - return e.complexity.PrivilegesConnection.Edges(childComplexity), true + return e.ComplexityRoot.PrivilegesConnection.Edges(childComplexity), true case "PrivilegesConnection.nodes": - if e.complexity.PrivilegesConnection.Nodes == nil { + if e.ComplexityRoot.PrivilegesConnection.Nodes == nil { break } - return e.complexity.PrivilegesConnection.Nodes(childComplexity), true + return e.ComplexityRoot.PrivilegesConnection.Nodes(childComplexity), true case "PrivilegesConnection.pageInfo": - if e.complexity.PrivilegesConnection.PageInfo == nil { + if e.ComplexityRoot.PrivilegesConnection.PageInfo == nil { break } - return e.complexity.PrivilegesConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.PrivilegesConnection.PageInfo(childComplexity), true case "PrivilegesConnection.totalCount": - if e.complexity.PrivilegesConnection.TotalCount == nil { + if e.ComplexityRoot.PrivilegesConnection.TotalCount == nil { break } - return e.complexity.PrivilegesConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.PrivilegesConnection.TotalCount(childComplexity), true case "Query.account": - if e.complexity.Query.Account == nil { + if e.ComplexityRoot.Query.Account == nil { break } @@ -1467,9 +1452,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Account(childComplexity, args["by"].(model.AccountBy)), true + return e.ComplexityRoot.Query.Account(childComplexity, args["by"].(model.AccountBy)), true case "Query.aftermarketDevice": - if e.complexity.Query.AftermarketDevice == nil { + if e.ComplexityRoot.Query.AftermarketDevice == nil { break } @@ -1478,9 +1463,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.AftermarketDevice(childComplexity, args["by"].(model.AftermarketDeviceBy)), true + return e.ComplexityRoot.Query.AftermarketDevice(childComplexity, args["by"].(model.AftermarketDeviceBy)), true case "Query.aftermarketDevices": - if e.complexity.Query.AftermarketDevices == nil { + if e.ComplexityRoot.Query.AftermarketDevices == nil { break } @@ -1489,9 +1474,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.AftermarketDevices(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.AftermarketDevicesFilter)), true + return e.ComplexityRoot.Query.AftermarketDevices(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.AftermarketDevicesFilter)), true case "Query.connection": - if e.complexity.Query.Connection == nil { + if e.ComplexityRoot.Query.Connection == nil { break } @@ -1500,9 +1485,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Connection(childComplexity, args["by"].(model.ConnectionBy)), true + return e.ComplexityRoot.Query.Connection(childComplexity, args["by"].(model.ConnectionBy)), true case "Query.connections": - if e.complexity.Query.Connections == nil { + if e.ComplexityRoot.Query.Connections == nil { break } @@ -1511,9 +1496,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Connections(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.Query.Connections(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "Query.dcn": - if e.complexity.Query.Dcn == nil { + if e.ComplexityRoot.Query.Dcn == nil { break } @@ -1522,9 +1507,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Dcn(childComplexity, args["by"].(model.DCNBy)), true + return e.ComplexityRoot.Query.Dcn(childComplexity, args["by"].(model.DCNBy)), true case "Query.dcns": - if e.complexity.Query.Dcns == nil { + if e.ComplexityRoot.Query.Dcns == nil { break } @@ -1533,9 +1518,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Dcns(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.DCNFilter)), true + return e.ComplexityRoot.Query.Dcns(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.DCNFilter)), true case "Query.developerLicense": - if e.complexity.Query.DeveloperLicense == nil { + if e.ComplexityRoot.Query.DeveloperLicense == nil { break } @@ -1544,9 +1529,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.DeveloperLicense(childComplexity, args["by"].(model.DeveloperLicenseBy)), true + return e.ComplexityRoot.Query.DeveloperLicense(childComplexity, args["by"].(model.DeveloperLicenseBy)), true case "Query.developerLicenses": - if e.complexity.Query.DeveloperLicenses == nil { + if e.ComplexityRoot.Query.DeveloperLicenses == nil { break } @@ -1555,9 +1540,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.DeveloperLicenses(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.DeveloperLicenseFilterBy)), true + return e.ComplexityRoot.Query.DeveloperLicenses(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.DeveloperLicenseFilterBy)), true case "Query.deviceDefinition": - if e.complexity.Query.DeviceDefinition == nil { + if e.ComplexityRoot.Query.DeviceDefinition == nil { break } @@ -1566,9 +1551,10 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.DeviceDefinition(childComplexity, args["by"].(model.DeviceDefinitionBy)), true + return e.ComplexityRoot.Query.DeviceDefinition(childComplexity, args["by"].(model.DeviceDefinitionBy)), true + case "Query.manufacturer": - if e.complexity.Query.Manufacturer == nil { + if e.ComplexityRoot.Query.Manufacturer == nil { break } @@ -1577,15 +1563,15 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Manufacturer(childComplexity, args["by"].(model.ManufacturerBy)), true + return e.ComplexityRoot.Query.Manufacturer(childComplexity, args["by"].(model.ManufacturerBy)), true case "Query.manufacturers": - if e.complexity.Query.Manufacturers == nil { + if e.ComplexityRoot.Query.Manufacturers == nil { break } - return e.complexity.Query.Manufacturers(childComplexity), true + return e.ComplexityRoot.Query.Manufacturers(childComplexity), true case "Query.node": - if e.complexity.Query.Node == nil { + if e.ComplexityRoot.Query.Node == nil { break } @@ -1594,9 +1580,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Node(childComplexity, args["id"].(string)), true + return e.ComplexityRoot.Query.Node(childComplexity, args["id"].(string)), true case "Query.rewards": - if e.complexity.Query.Rewards == nil { + if e.ComplexityRoot.Query.Rewards == nil { break } @@ -1605,9 +1591,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Rewards(childComplexity, args["user"].(common.Address)), true + return e.ComplexityRoot.Query.Rewards(childComplexity, args["user"].(common.Address)), true case "Query.stakes": - if e.complexity.Query.Stakes == nil { + if e.ComplexityRoot.Query.Stakes == nil { break } @@ -1616,9 +1602,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Stakes(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.StakeFilterBy)), true + return e.ComplexityRoot.Query.Stakes(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.StakeFilterBy)), true case "Query.syntheticDevice": - if e.complexity.Query.SyntheticDevice == nil { + if e.ComplexityRoot.Query.SyntheticDevice == nil { break } @@ -1627,9 +1613,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.SyntheticDevice(childComplexity, args["by"].(model.SyntheticDeviceBy)), true + return e.ComplexityRoot.Query.SyntheticDevice(childComplexity, args["by"].(model.SyntheticDeviceBy)), true case "Query.syntheticDevices": - if e.complexity.Query.SyntheticDevices == nil { + if e.ComplexityRoot.Query.SyntheticDevices == nil { break } @@ -1638,9 +1624,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.SyntheticDevices(childComplexity, args["first"].(*int), args["last"].(*int), args["after"].(*string), args["before"].(*string), args["filterBy"].(*model.SyntheticDevicesFilter)), true + return e.ComplexityRoot.Query.SyntheticDevices(childComplexity, args["first"].(*int), args["last"].(*int), args["after"].(*string), args["before"].(*string), args["filterBy"].(*model.SyntheticDevicesFilter)), true case "Query.template": - if e.complexity.Query.Template == nil { + if e.ComplexityRoot.Query.Template == nil { break } @@ -1649,9 +1635,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Template(childComplexity, args["by"].(model.TemplateBy)), true + return e.ComplexityRoot.Query.Template(childComplexity, args["by"].(model.TemplateBy)), true case "Query.templates": - if e.complexity.Query.Templates == nil { + if e.ComplexityRoot.Query.Templates == nil { break } @@ -1660,9 +1646,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Templates(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.Query.Templates(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "Query.vehicle": - if e.complexity.Query.Vehicle == nil { + if e.ComplexityRoot.Query.Vehicle == nil { break } @@ -1671,9 +1657,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Vehicle(childComplexity, args["tokenId"].(*int), args["tokenDID"].(*string)), true + return e.ComplexityRoot.Query.Vehicle(childComplexity, args["tokenId"].(*int), args["tokenDID"].(*string)), true case "Query.vehicles": - if e.complexity.Query.Vehicles == nil { + if e.ComplexityRoot.Query.Vehicles == nil { break } @@ -1682,497 +1668,497 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Query.Vehicles(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.VehiclesFilter)), true + return e.ComplexityRoot.Query.Vehicles(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.VehiclesFilter)), true case "RedirectURI.enabledAt": - if e.complexity.RedirectURI.EnabledAt == nil { + if e.ComplexityRoot.RedirectURI.EnabledAt == nil { break } - return e.complexity.RedirectURI.EnabledAt(childComplexity), true + return e.ComplexityRoot.RedirectURI.EnabledAt(childComplexity), true case "RedirectURI.uri": - if e.complexity.RedirectURI.URI == nil { + if e.ComplexityRoot.RedirectURI.URI == nil { break } - return e.complexity.RedirectURI.URI(childComplexity), true + return e.ComplexityRoot.RedirectURI.URI(childComplexity), true case "RedirectURIConnection.edges": - if e.complexity.RedirectURIConnection.Edges == nil { + if e.ComplexityRoot.RedirectURIConnection.Edges == nil { break } - return e.complexity.RedirectURIConnection.Edges(childComplexity), true + return e.ComplexityRoot.RedirectURIConnection.Edges(childComplexity), true case "RedirectURIConnection.nodes": - if e.complexity.RedirectURIConnection.Nodes == nil { + if e.ComplexityRoot.RedirectURIConnection.Nodes == nil { break } - return e.complexity.RedirectURIConnection.Nodes(childComplexity), true + return e.ComplexityRoot.RedirectURIConnection.Nodes(childComplexity), true case "RedirectURIConnection.pageInfo": - if e.complexity.RedirectURIConnection.PageInfo == nil { + if e.ComplexityRoot.RedirectURIConnection.PageInfo == nil { break } - return e.complexity.RedirectURIConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.RedirectURIConnection.PageInfo(childComplexity), true case "RedirectURIConnection.totalCount": - if e.complexity.RedirectURIConnection.TotalCount == nil { + if e.ComplexityRoot.RedirectURIConnection.TotalCount == nil { break } - return e.complexity.RedirectURIConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.RedirectURIConnection.TotalCount(childComplexity), true case "RedirectURIEdge.cursor": - if e.complexity.RedirectURIEdge.Cursor == nil { + if e.ComplexityRoot.RedirectURIEdge.Cursor == nil { break } - return e.complexity.RedirectURIEdge.Cursor(childComplexity), true + return e.ComplexityRoot.RedirectURIEdge.Cursor(childComplexity), true case "RedirectURIEdge.node": - if e.complexity.RedirectURIEdge.Node == nil { + if e.ComplexityRoot.RedirectURIEdge.Node == nil { break } - return e.complexity.RedirectURIEdge.Node(childComplexity), true + return e.ComplexityRoot.RedirectURIEdge.Node(childComplexity), true case "Sacd.createdAt": - if e.complexity.Sacd.CreatedAt == nil { + if e.ComplexityRoot.Sacd.CreatedAt == nil { break } - return e.complexity.Sacd.CreatedAt(childComplexity), true + return e.ComplexityRoot.Sacd.CreatedAt(childComplexity), true case "Sacd.expiresAt": - if e.complexity.Sacd.ExpiresAt == nil { + if e.ComplexityRoot.Sacd.ExpiresAt == nil { break } - return e.complexity.Sacd.ExpiresAt(childComplexity), true + return e.ComplexityRoot.Sacd.ExpiresAt(childComplexity), true case "Sacd.grantee": - if e.complexity.Sacd.Grantee == nil { + if e.ComplexityRoot.Sacd.Grantee == nil { break } - return e.complexity.Sacd.Grantee(childComplexity), true + return e.ComplexityRoot.Sacd.Grantee(childComplexity), true case "Sacd.permissions": - if e.complexity.Sacd.Permissions == nil { + if e.ComplexityRoot.Sacd.Permissions == nil { break } - return e.complexity.Sacd.Permissions(childComplexity), true + return e.ComplexityRoot.Sacd.Permissions(childComplexity), true case "Sacd.source": - if e.complexity.Sacd.Source == nil { + if e.ComplexityRoot.Sacd.Source == nil { break } - return e.complexity.Sacd.Source(childComplexity), true + return e.ComplexityRoot.Sacd.Source(childComplexity), true case "Sacd.template": - if e.complexity.Sacd.Template == nil { + if e.ComplexityRoot.Sacd.Template == nil { break } - return e.complexity.Sacd.Template(childComplexity), true + return e.ComplexityRoot.Sacd.Template(childComplexity), true case "SacdConnection.edges": - if e.complexity.SacdConnection.Edges == nil { + if e.ComplexityRoot.SacdConnection.Edges == nil { break } - return e.complexity.SacdConnection.Edges(childComplexity), true + return e.ComplexityRoot.SacdConnection.Edges(childComplexity), true case "SacdConnection.nodes": - if e.complexity.SacdConnection.Nodes == nil { + if e.ComplexityRoot.SacdConnection.Nodes == nil { break } - return e.complexity.SacdConnection.Nodes(childComplexity), true + return e.ComplexityRoot.SacdConnection.Nodes(childComplexity), true case "SacdConnection.pageInfo": - if e.complexity.SacdConnection.PageInfo == nil { + if e.ComplexityRoot.SacdConnection.PageInfo == nil { break } - return e.complexity.SacdConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.SacdConnection.PageInfo(childComplexity), true case "SacdConnection.totalCount": - if e.complexity.SacdConnection.TotalCount == nil { + if e.ComplexityRoot.SacdConnection.TotalCount == nil { break } - return e.complexity.SacdConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.SacdConnection.TotalCount(childComplexity), true case "SacdEdge.cursor": - if e.complexity.SacdEdge.Cursor == nil { + if e.ComplexityRoot.SacdEdge.Cursor == nil { break } - return e.complexity.SacdEdge.Cursor(childComplexity), true + return e.ComplexityRoot.SacdEdge.Cursor(childComplexity), true case "SacdEdge.node": - if e.complexity.SacdEdge.Node == nil { + if e.ComplexityRoot.SacdEdge.Node == nil { break } - return e.complexity.SacdEdge.Node(childComplexity), true + return e.ComplexityRoot.SacdEdge.Node(childComplexity), true case "Signer.address": - if e.complexity.Signer.Address == nil { + if e.ComplexityRoot.Signer.Address == nil { break } - return e.complexity.Signer.Address(childComplexity), true + return e.ComplexityRoot.Signer.Address(childComplexity), true case "Signer.enabledAt": - if e.complexity.Signer.EnabledAt == nil { + if e.ComplexityRoot.Signer.EnabledAt == nil { break } - return e.complexity.Signer.EnabledAt(childComplexity), true + return e.ComplexityRoot.Signer.EnabledAt(childComplexity), true case "SignerConnection.edges": - if e.complexity.SignerConnection.Edges == nil { + if e.ComplexityRoot.SignerConnection.Edges == nil { break } - return e.complexity.SignerConnection.Edges(childComplexity), true + return e.ComplexityRoot.SignerConnection.Edges(childComplexity), true case "SignerConnection.nodes": - if e.complexity.SignerConnection.Nodes == nil { + if e.ComplexityRoot.SignerConnection.Nodes == nil { break } - return e.complexity.SignerConnection.Nodes(childComplexity), true + return e.ComplexityRoot.SignerConnection.Nodes(childComplexity), true case "SignerConnection.pageInfo": - if e.complexity.SignerConnection.PageInfo == nil { + if e.ComplexityRoot.SignerConnection.PageInfo == nil { break } - return e.complexity.SignerConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.SignerConnection.PageInfo(childComplexity), true case "SignerConnection.totalCount": - if e.complexity.SignerConnection.TotalCount == nil { + if e.ComplexityRoot.SignerConnection.TotalCount == nil { break } - return e.complexity.SignerConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.SignerConnection.TotalCount(childComplexity), true case "SignerEdge.cursor": - if e.complexity.SignerEdge.Cursor == nil { + if e.ComplexityRoot.SignerEdge.Cursor == nil { break } - return e.complexity.SignerEdge.Cursor(childComplexity), true + return e.ComplexityRoot.SignerEdge.Cursor(childComplexity), true case "SignerEdge.node": - if e.complexity.SignerEdge.Node == nil { + if e.ComplexityRoot.SignerEdge.Node == nil { break } - return e.complexity.SignerEdge.Node(childComplexity), true + return e.ComplexityRoot.SignerEdge.Node(childComplexity), true case "Stake.amount": - if e.complexity.Stake.Amount == nil { + if e.ComplexityRoot.Stake.Amount == nil { break } - return e.complexity.Stake.Amount(childComplexity), true + return e.ComplexityRoot.Stake.Amount(childComplexity), true case "Stake.endsAt": - if e.complexity.Stake.EndsAt == nil { + if e.ComplexityRoot.Stake.EndsAt == nil { break } - return e.complexity.Stake.EndsAt(childComplexity), true + return e.ComplexityRoot.Stake.EndsAt(childComplexity), true case "Stake.level": - if e.complexity.Stake.Level == nil { + if e.ComplexityRoot.Stake.Level == nil { break } - return e.complexity.Stake.Level(childComplexity), true + return e.ComplexityRoot.Stake.Level(childComplexity), true case "Stake.owner": - if e.complexity.Stake.Owner == nil { + if e.ComplexityRoot.Stake.Owner == nil { break } - return e.complexity.Stake.Owner(childComplexity), true + return e.ComplexityRoot.Stake.Owner(childComplexity), true case "Stake.points": - if e.complexity.Stake.Points == nil { + if e.ComplexityRoot.Stake.Points == nil { break } - return e.complexity.Stake.Points(childComplexity), true + return e.ComplexityRoot.Stake.Points(childComplexity), true case "Stake.stakedAt": - if e.complexity.Stake.StakedAt == nil { + if e.ComplexityRoot.Stake.StakedAt == nil { break } - return e.complexity.Stake.StakedAt(childComplexity), true + return e.ComplexityRoot.Stake.StakedAt(childComplexity), true case "Stake.tokenDID": - if e.complexity.Stake.TokenDID == nil { + if e.ComplexityRoot.Stake.TokenDID == nil { break } - return e.complexity.Stake.TokenDID(childComplexity), true + return e.ComplexityRoot.Stake.TokenDID(childComplexity), true case "Stake.tokenId": - if e.complexity.Stake.TokenID == nil { + if e.ComplexityRoot.Stake.TokenID == nil { break } - return e.complexity.Stake.TokenID(childComplexity), true + return e.ComplexityRoot.Stake.TokenID(childComplexity), true case "Stake.vehicle": - if e.complexity.Stake.Vehicle == nil { + if e.ComplexityRoot.Stake.Vehicle == nil { break } - return e.complexity.Stake.Vehicle(childComplexity), true + return e.ComplexityRoot.Stake.Vehicle(childComplexity), true case "Stake.withdrawnAt": - if e.complexity.Stake.WithdrawnAt == nil { + if e.ComplexityRoot.Stake.WithdrawnAt == nil { break } - return e.complexity.Stake.WithdrawnAt(childComplexity), true + return e.ComplexityRoot.Stake.WithdrawnAt(childComplexity), true case "StakeConnection.edges": - if e.complexity.StakeConnection.Edges == nil { + if e.ComplexityRoot.StakeConnection.Edges == nil { break } - return e.complexity.StakeConnection.Edges(childComplexity), true + return e.ComplexityRoot.StakeConnection.Edges(childComplexity), true case "StakeConnection.nodes": - if e.complexity.StakeConnection.Nodes == nil { + if e.ComplexityRoot.StakeConnection.Nodes == nil { break } - return e.complexity.StakeConnection.Nodes(childComplexity), true + return e.ComplexityRoot.StakeConnection.Nodes(childComplexity), true case "StakeConnection.pageInfo": - if e.complexity.StakeConnection.PageInfo == nil { + if e.ComplexityRoot.StakeConnection.PageInfo == nil { break } - return e.complexity.StakeConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.StakeConnection.PageInfo(childComplexity), true case "StakeConnection.totalCount": - if e.complexity.StakeConnection.TotalCount == nil { + if e.ComplexityRoot.StakeConnection.TotalCount == nil { break } - return e.complexity.StakeConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.StakeConnection.TotalCount(childComplexity), true case "StakeEdge.cursor": - if e.complexity.StakeEdge.Cursor == nil { + if e.ComplexityRoot.StakeEdge.Cursor == nil { break } - return e.complexity.StakeEdge.Cursor(childComplexity), true + return e.ComplexityRoot.StakeEdge.Cursor(childComplexity), true case "StakeEdge.node": - if e.complexity.StakeEdge.Node == nil { + if e.ComplexityRoot.StakeEdge.Node == nil { break } - return e.complexity.StakeEdge.Node(childComplexity), true + return e.ComplexityRoot.StakeEdge.Node(childComplexity), true case "StorageNode.address": - if e.complexity.StorageNode.Address == nil { + if e.ComplexityRoot.StorageNode.Address == nil { break } - return e.complexity.StorageNode.Address(childComplexity), true + return e.ComplexityRoot.StorageNode.Address(childComplexity), true case "StorageNode.label": - if e.complexity.StorageNode.Label == nil { + if e.ComplexityRoot.StorageNode.Label == nil { break } - return e.complexity.StorageNode.Label(childComplexity), true + return e.ComplexityRoot.StorageNode.Label(childComplexity), true case "StorageNode.mintedAt": - if e.complexity.StorageNode.MintedAt == nil { + if e.ComplexityRoot.StorageNode.MintedAt == nil { break } - return e.complexity.StorageNode.MintedAt(childComplexity), true + return e.ComplexityRoot.StorageNode.MintedAt(childComplexity), true case "StorageNode.owner": - if e.complexity.StorageNode.Owner == nil { + if e.ComplexityRoot.StorageNode.Owner == nil { break } - return e.complexity.StorageNode.Owner(childComplexity), true + return e.ComplexityRoot.StorageNode.Owner(childComplexity), true case "StorageNode.tokenDID": - if e.complexity.StorageNode.TokenDID == nil { + if e.ComplexityRoot.StorageNode.TokenDID == nil { break } - return e.complexity.StorageNode.TokenDID(childComplexity), true + return e.ComplexityRoot.StorageNode.TokenDID(childComplexity), true case "StorageNode.tokenId": - if e.complexity.StorageNode.TokenID == nil { + if e.ComplexityRoot.StorageNode.TokenID == nil { break } - return e.complexity.StorageNode.TokenID(childComplexity), true + return e.ComplexityRoot.StorageNode.TokenID(childComplexity), true case "StorageNode.uri": - if e.complexity.StorageNode.URI == nil { + if e.ComplexityRoot.StorageNode.URI == nil { break } - return e.complexity.StorageNode.URI(childComplexity), true + return e.ComplexityRoot.StorageNode.URI(childComplexity), true case "SyntheticDevice.address": - if e.complexity.SyntheticDevice.Address == nil { + if e.ComplexityRoot.SyntheticDevice.Address == nil { break } - return e.complexity.SyntheticDevice.Address(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.Address(childComplexity), true case "SyntheticDevice.connection": - if e.complexity.SyntheticDevice.Connection == nil { + if e.ComplexityRoot.SyntheticDevice.Connection == nil { break } - return e.complexity.SyntheticDevice.Connection(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.Connection(childComplexity), true case "SyntheticDevice.id": - if e.complexity.SyntheticDevice.ID == nil { + if e.ComplexityRoot.SyntheticDevice.ID == nil { break } - return e.complexity.SyntheticDevice.ID(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.ID(childComplexity), true case "SyntheticDevice.integrationId": - if e.complexity.SyntheticDevice.IntegrationID == nil { + if e.ComplexityRoot.SyntheticDevice.IntegrationID == nil { break } - return e.complexity.SyntheticDevice.IntegrationID(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.IntegrationID(childComplexity), true case "SyntheticDevice.mintedAt": - if e.complexity.SyntheticDevice.MintedAt == nil { + if e.ComplexityRoot.SyntheticDevice.MintedAt == nil { break } - return e.complexity.SyntheticDevice.MintedAt(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.MintedAt(childComplexity), true case "SyntheticDevice.name": - if e.complexity.SyntheticDevice.Name == nil { + if e.ComplexityRoot.SyntheticDevice.Name == nil { break } - return e.complexity.SyntheticDevice.Name(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.Name(childComplexity), true case "SyntheticDevice.tokenDID": - if e.complexity.SyntheticDevice.TokenDID == nil { + if e.ComplexityRoot.SyntheticDevice.TokenDID == nil { break } - return e.complexity.SyntheticDevice.TokenDID(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.TokenDID(childComplexity), true case "SyntheticDevice.tokenId": - if e.complexity.SyntheticDevice.TokenID == nil { + if e.ComplexityRoot.SyntheticDevice.TokenID == nil { break } - return e.complexity.SyntheticDevice.TokenID(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.TokenID(childComplexity), true case "SyntheticDevice.vehicle": - if e.complexity.SyntheticDevice.Vehicle == nil { + if e.ComplexityRoot.SyntheticDevice.Vehicle == nil { break } - return e.complexity.SyntheticDevice.Vehicle(childComplexity), true + return e.ComplexityRoot.SyntheticDevice.Vehicle(childComplexity), true case "SyntheticDeviceConnection.edges": - if e.complexity.SyntheticDeviceConnection.Edges == nil { + if e.ComplexityRoot.SyntheticDeviceConnection.Edges == nil { break } - return e.complexity.SyntheticDeviceConnection.Edges(childComplexity), true + return e.ComplexityRoot.SyntheticDeviceConnection.Edges(childComplexity), true case "SyntheticDeviceConnection.nodes": - if e.complexity.SyntheticDeviceConnection.Nodes == nil { + if e.ComplexityRoot.SyntheticDeviceConnection.Nodes == nil { break } - return e.complexity.SyntheticDeviceConnection.Nodes(childComplexity), true + return e.ComplexityRoot.SyntheticDeviceConnection.Nodes(childComplexity), true case "SyntheticDeviceConnection.pageInfo": - if e.complexity.SyntheticDeviceConnection.PageInfo == nil { + if e.ComplexityRoot.SyntheticDeviceConnection.PageInfo == nil { break } - return e.complexity.SyntheticDeviceConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.SyntheticDeviceConnection.PageInfo(childComplexity), true case "SyntheticDeviceConnection.totalCount": - if e.complexity.SyntheticDeviceConnection.TotalCount == nil { + if e.ComplexityRoot.SyntheticDeviceConnection.TotalCount == nil { break } - return e.complexity.SyntheticDeviceConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.SyntheticDeviceConnection.TotalCount(childComplexity), true case "SyntheticDeviceEdge.cursor": - if e.complexity.SyntheticDeviceEdge.Cursor == nil { + if e.ComplexityRoot.SyntheticDeviceEdge.Cursor == nil { break } - return e.complexity.SyntheticDeviceEdge.Cursor(childComplexity), true + return e.ComplexityRoot.SyntheticDeviceEdge.Cursor(childComplexity), true case "SyntheticDeviceEdge.node": - if e.complexity.SyntheticDeviceEdge.Node == nil { + if e.ComplexityRoot.SyntheticDeviceEdge.Node == nil { break } - return e.complexity.SyntheticDeviceEdge.Node(childComplexity), true + return e.ComplexityRoot.SyntheticDeviceEdge.Node(childComplexity), true case "Template.asset": - if e.complexity.Template.Asset == nil { + if e.ComplexityRoot.Template.Asset == nil { break } - return e.complexity.Template.Asset(childComplexity), true + return e.ComplexityRoot.Template.Asset(childComplexity), true case "Template.cid": - if e.complexity.Template.Cid == nil { + if e.ComplexityRoot.Template.Cid == nil { break } - return e.complexity.Template.Cid(childComplexity), true + return e.ComplexityRoot.Template.Cid(childComplexity), true case "Template.createdAt": - if e.complexity.Template.CreatedAt == nil { + if e.ComplexityRoot.Template.CreatedAt == nil { break } - return e.complexity.Template.CreatedAt(childComplexity), true + return e.ComplexityRoot.Template.CreatedAt(childComplexity), true case "Template.creator": - if e.complexity.Template.Creator == nil { + if e.ComplexityRoot.Template.Creator == nil { break } - return e.complexity.Template.Creator(childComplexity), true + return e.ComplexityRoot.Template.Creator(childComplexity), true case "Template.permissions": - if e.complexity.Template.Permissions == nil { + if e.ComplexityRoot.Template.Permissions == nil { break } - return e.complexity.Template.Permissions(childComplexity), true + return e.ComplexityRoot.Template.Permissions(childComplexity), true case "Template.tokenId": - if e.complexity.Template.TokenID == nil { + if e.ComplexityRoot.Template.TokenID == nil { break } - return e.complexity.Template.TokenID(childComplexity), true + return e.ComplexityRoot.Template.TokenID(childComplexity), true case "TemplateConnection.edges": - if e.complexity.TemplateConnection.Edges == nil { + if e.ComplexityRoot.TemplateConnection.Edges == nil { break } - return e.complexity.TemplateConnection.Edges(childComplexity), true + return e.ComplexityRoot.TemplateConnection.Edges(childComplexity), true case "TemplateConnection.nodes": - if e.complexity.TemplateConnection.Nodes == nil { + if e.ComplexityRoot.TemplateConnection.Nodes == nil { break } - return e.complexity.TemplateConnection.Nodes(childComplexity), true + return e.ComplexityRoot.TemplateConnection.Nodes(childComplexity), true case "TemplateConnection.pageInfo": - if e.complexity.TemplateConnection.PageInfo == nil { + if e.ComplexityRoot.TemplateConnection.PageInfo == nil { break } - return e.complexity.TemplateConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.TemplateConnection.PageInfo(childComplexity), true case "TemplateConnection.totalCount": - if e.complexity.TemplateConnection.TotalCount == nil { + if e.ComplexityRoot.TemplateConnection.TotalCount == nil { break } - return e.complexity.TemplateConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.TemplateConnection.TotalCount(childComplexity), true case "TemplateEdge.cursor": - if e.complexity.TemplateEdge.Cursor == nil { + if e.ComplexityRoot.TemplateEdge.Cursor == nil { break } - return e.complexity.TemplateEdge.Cursor(childComplexity), true + return e.ComplexityRoot.TemplateEdge.Cursor(childComplexity), true case "TemplateEdge.node": - if e.complexity.TemplateEdge.Node == nil { + if e.ComplexityRoot.TemplateEdge.Node == nil { break } - return e.complexity.TemplateEdge.Node(childComplexity), true + return e.ComplexityRoot.TemplateEdge.Node(childComplexity), true case "UserRewards.history": - if e.complexity.UserRewards.History == nil { + if e.ComplexityRoot.UserRewards.History == nil { break } @@ -2181,88 +2167,88 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.UserRewards.History(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.UserRewards.History(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "UserRewards.totalTokens": - if e.complexity.UserRewards.TotalTokens == nil { + if e.ComplexityRoot.UserRewards.TotalTokens == nil { break } - return e.complexity.UserRewards.TotalTokens(childComplexity), true + return e.ComplexityRoot.UserRewards.TotalTokens(childComplexity), true case "Vehicle.aftermarketDevice": - if e.complexity.Vehicle.AftermarketDevice == nil { + if e.ComplexityRoot.Vehicle.AftermarketDevice == nil { break } - return e.complexity.Vehicle.AftermarketDevice(childComplexity), true + return e.ComplexityRoot.Vehicle.AftermarketDevice(childComplexity), true case "Vehicle.dataURI": - if e.complexity.Vehicle.DataURI == nil { + if e.ComplexityRoot.Vehicle.DataURI == nil { break } - return e.complexity.Vehicle.DataURI(childComplexity), true + return e.ComplexityRoot.Vehicle.DataURI(childComplexity), true case "Vehicle.dcn": - if e.complexity.Vehicle.Dcn == nil { + if e.ComplexityRoot.Vehicle.Dcn == nil { break } - return e.complexity.Vehicle.Dcn(childComplexity), true + return e.ComplexityRoot.Vehicle.Dcn(childComplexity), true case "Vehicle.definition": - if e.complexity.Vehicle.Definition == nil { + if e.ComplexityRoot.Vehicle.Definition == nil { break } - return e.complexity.Vehicle.Definition(childComplexity), true + return e.ComplexityRoot.Vehicle.Definition(childComplexity), true case "Vehicle.earnings": - if e.complexity.Vehicle.Earnings == nil { + if e.ComplexityRoot.Vehicle.Earnings == nil { break } - return e.complexity.Vehicle.Earnings(childComplexity), true + return e.ComplexityRoot.Vehicle.Earnings(childComplexity), true case "Vehicle.id": - if e.complexity.Vehicle.ID == nil { + if e.ComplexityRoot.Vehicle.ID == nil { break } - return e.complexity.Vehicle.ID(childComplexity), true + return e.ComplexityRoot.Vehicle.ID(childComplexity), true case "Vehicle.image": - if e.complexity.Vehicle.Image == nil { + if e.ComplexityRoot.Vehicle.Image == nil { break } - return e.complexity.Vehicle.Image(childComplexity), true + return e.ComplexityRoot.Vehicle.Image(childComplexity), true case "Vehicle.imageURI": - if e.complexity.Vehicle.ImageURI == nil { + if e.ComplexityRoot.Vehicle.ImageURI == nil { break } - return e.complexity.Vehicle.ImageURI(childComplexity), true + return e.ComplexityRoot.Vehicle.ImageURI(childComplexity), true case "Vehicle.manufacturer": - if e.complexity.Vehicle.Manufacturer == nil { + if e.ComplexityRoot.Vehicle.Manufacturer == nil { break } - return e.complexity.Vehicle.Manufacturer(childComplexity), true + return e.ComplexityRoot.Vehicle.Manufacturer(childComplexity), true case "Vehicle.mintedAt": - if e.complexity.Vehicle.MintedAt == nil { + if e.ComplexityRoot.Vehicle.MintedAt == nil { break } - return e.complexity.Vehicle.MintedAt(childComplexity), true + return e.ComplexityRoot.Vehicle.MintedAt(childComplexity), true case "Vehicle.name": - if e.complexity.Vehicle.Name == nil { + if e.ComplexityRoot.Vehicle.Name == nil { break } - return e.complexity.Vehicle.Name(childComplexity), true + return e.ComplexityRoot.Vehicle.Name(childComplexity), true case "Vehicle.owner": - if e.complexity.Vehicle.Owner == nil { + if e.ComplexityRoot.Vehicle.Owner == nil { break } - return e.complexity.Vehicle.Owner(childComplexity), true + return e.ComplexityRoot.Vehicle.Owner(childComplexity), true case "Vehicle.privileges": - if e.complexity.Vehicle.Privileges == nil { + if e.ComplexityRoot.Vehicle.Privileges == nil { break } @@ -2271,9 +2257,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Vehicle.Privileges(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.PrivilegeFilterBy)), true + return e.ComplexityRoot.Vehicle.Privileges(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string), args["filterBy"].(*model.PrivilegeFilterBy)), true case "Vehicle.sacd": - if e.complexity.Vehicle.Sacd == nil { + if e.ComplexityRoot.Vehicle.Sacd == nil { break } @@ -2282,9 +2268,9 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Vehicle.Sacd(childComplexity, args["grantee"].(common.Address)), true + return e.ComplexityRoot.Vehicle.Sacd(childComplexity, args["grantee"].(common.Address)), true case "Vehicle.sacds": - if e.complexity.Vehicle.Sacds == nil { + if e.ComplexityRoot.Vehicle.Sacds == nil { break } @@ -2293,65 +2279,65 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.Vehicle.Sacds(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.Vehicle.Sacds(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "Vehicle.stake": - if e.complexity.Vehicle.Stake == nil { + if e.ComplexityRoot.Vehicle.Stake == nil { break } - return e.complexity.Vehicle.Stake(childComplexity), true + return e.ComplexityRoot.Vehicle.Stake(childComplexity), true case "Vehicle.storageNode": - if e.complexity.Vehicle.StorageNode == nil { + if e.ComplexityRoot.Vehicle.StorageNode == nil { break } - return e.complexity.Vehicle.StorageNode(childComplexity), true + return e.ComplexityRoot.Vehicle.StorageNode(childComplexity), true case "Vehicle.syntheticDevice": - if e.complexity.Vehicle.SyntheticDevice == nil { + if e.ComplexityRoot.Vehicle.SyntheticDevice == nil { break } - return e.complexity.Vehicle.SyntheticDevice(childComplexity), true + return e.ComplexityRoot.Vehicle.SyntheticDevice(childComplexity), true case "Vehicle.tokenDID": - if e.complexity.Vehicle.TokenDID == nil { + if e.ComplexityRoot.Vehicle.TokenDID == nil { break } - return e.complexity.Vehicle.TokenDID(childComplexity), true + return e.ComplexityRoot.Vehicle.TokenDID(childComplexity), true case "Vehicle.tokenId": - if e.complexity.Vehicle.TokenID == nil { + if e.ComplexityRoot.Vehicle.TokenID == nil { break } - return e.complexity.Vehicle.TokenID(childComplexity), true + return e.ComplexityRoot.Vehicle.TokenID(childComplexity), true case "VehicleConnection.edges": - if e.complexity.VehicleConnection.Edges == nil { + if e.ComplexityRoot.VehicleConnection.Edges == nil { break } - return e.complexity.VehicleConnection.Edges(childComplexity), true + return e.ComplexityRoot.VehicleConnection.Edges(childComplexity), true case "VehicleConnection.nodes": - if e.complexity.VehicleConnection.Nodes == nil { + if e.ComplexityRoot.VehicleConnection.Nodes == nil { break } - return e.complexity.VehicleConnection.Nodes(childComplexity), true + return e.ComplexityRoot.VehicleConnection.Nodes(childComplexity), true case "VehicleConnection.pageInfo": - if e.complexity.VehicleConnection.PageInfo == nil { + if e.ComplexityRoot.VehicleConnection.PageInfo == nil { break } - return e.complexity.VehicleConnection.PageInfo(childComplexity), true + return e.ComplexityRoot.VehicleConnection.PageInfo(childComplexity), true case "VehicleConnection.totalCount": - if e.complexity.VehicleConnection.TotalCount == nil { + if e.ComplexityRoot.VehicleConnection.TotalCount == nil { break } - return e.complexity.VehicleConnection.TotalCount(childComplexity), true + return e.ComplexityRoot.VehicleConnection.TotalCount(childComplexity), true case "VehicleEarnings.history": - if e.complexity.VehicleEarnings.History == nil { + if e.ComplexityRoot.VehicleEarnings.History == nil { break } @@ -2360,26 +2346,26 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return 0, false } - return e.complexity.VehicleEarnings.History(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true + return e.ComplexityRoot.VehicleEarnings.History(childComplexity, args["first"].(*int), args["after"].(*string), args["last"].(*int), args["before"].(*string)), true case "VehicleEarnings.totalTokens": - if e.complexity.VehicleEarnings.TotalTokens == nil { + if e.ComplexityRoot.VehicleEarnings.TotalTokens == nil { break } - return e.complexity.VehicleEarnings.TotalTokens(childComplexity), true + return e.ComplexityRoot.VehicleEarnings.TotalTokens(childComplexity), true case "VehicleEdge.cursor": - if e.complexity.VehicleEdge.Cursor == nil { + if e.ComplexityRoot.VehicleEdge.Cursor == nil { break } - return e.complexity.VehicleEdge.Cursor(childComplexity), true + return e.ComplexityRoot.VehicleEdge.Cursor(childComplexity), true case "VehicleEdge.node": - if e.complexity.VehicleEdge.Node == nil { + if e.ComplexityRoot.VehicleEdge.Node == nil { break } - return e.complexity.VehicleEdge.Node(childComplexity), true + return e.ComplexityRoot.VehicleEdge.Node(childComplexity), true } return 0, false @@ -2387,7 +2373,7 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { opCtx := graphql.GetOperationContext(ctx) - ec := executionContext{opCtx, e, 0, 0, make(chan graphql.DeferredResult)} + ec := newExecutionContext(opCtx, e, make(chan graphql.DeferredResult)) inputUnmarshalMap := graphql.BuildUnmarshalerMap( ec.unmarshalInputAccountBy, ec.unmarshalInputAftermarketDeviceBy, @@ -2419,9 +2405,9 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap) data = ec._Query(ctx, opCtx.Operation.SelectionSet) } else { - if atomic.LoadInt32(&ec.pendingDeferred) > 0 { - result := <-ec.deferredResults - atomic.AddInt32(&ec.pendingDeferred, -1) + if atomic.LoadInt32(&ec.PendingDeferred) > 0 { + result := <-ec.DeferredResults + atomic.AddInt32(&ec.PendingDeferred, -1) data = result.Result response.Path = result.Path response.Label = result.Label @@ -2433,8 +2419,8 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { var buf bytes.Buffer data.MarshalGQL(&buf) response.Data = buf.Bytes() - if atomic.LoadInt32(&ec.deferred) > 0 { - hasNext := atomic.LoadInt32(&ec.pendingDeferred) > 0 + if atomic.LoadInt32(&ec.Deferred) > 0 { + hasNext := atomic.LoadInt32(&ec.PendingDeferred) > 0 response.HasNext = &hasNext } @@ -2447,47 +2433,25 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { } type executionContext struct { - *graphql.OperationContext - *executableSchema - deferred int32 - pendingDeferred int32 - deferredResults chan graphql.DeferredResult -} - -func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) { - atomic.AddInt32(&ec.pendingDeferred, 1) - go func() { - ctx := graphql.WithFreshResponseContext(dg.Context) - dg.FieldSet.Dispatch(ctx) - ds := graphql.DeferredResult{ - Path: dg.Path, - Label: dg.Label, - Result: dg.FieldSet, - Errors: graphql.GetErrors(ctx), - } - // null fields should bubble up - if dg.FieldSet.Invalids > 0 { - ds.Result = graphql.Null - } - ec.deferredResults <- ds - }() -} - -func (ec *executionContext) introspectSchema() (*introspection.Schema, error) { - if ec.DisableIntrospection { - return nil, errors.New("introspection disabled") - } - return introspection.WrapSchema(ec.Schema()), nil + *graphql.ExecutionContextState[ResolverRoot, DirectiveRoot, ComplexityRoot] } -func (ec *executionContext) introspectType(name string) (*introspection.Type, error) { - if ec.DisableIntrospection { - return nil, errors.New("introspection disabled") +func newExecutionContext( + opCtx *graphql.OperationContext, + execSchema *executableSchema, + deferredResults chan graphql.DeferredResult, +) executionContext { + return executionContext{ + ExecutionContextState: graphql.NewExecutionContextState[ResolverRoot, DirectiveRoot, ComplexityRoot]( + opCtx, + (*graphql.ExecutableSchemaState[ResolverRoot, DirectiveRoot, ComplexityRoot])(execSchema), + parsedSchema, + deferredResults, + ), } - return introspection.WrapTypeFromDef(ec.Schema(), ec.Schema().Types[name]), nil } -//go:embed "schema/aftermarket.graphqls" "schema/connection.graphqls" "schema/dcn.graphqls" "schema/developerlicense.graphqls" "schema/devicedefinition.graphqls" "schema/manufacturer.graphqls" "schema/privilege.graphqls" "schema/reward.graphqls" "schema/sacd.graphqls" "schema/schema.graphqls" "schema/stakes.graphqls" "schema/storagenode.graphqls" "schema/synthetic.graphqls" "schema/template.graphqls" "schema/user.graphqls" "schema/vehicle.graphqls" +//go:embed "schema/aftermarket.graphqls" "schema/connection.graphqls" "schema/dcn.graphqls" "schema/developerlicense.graphqls" "schema/devicedefinition.graphqls" "schema/directives.graphqls" "schema/manufacturer.graphqls" "schema/privilege.graphqls" "schema/reward.graphqls" "schema/sacd.graphqls" "schema/schema.graphqls" "schema/stakes.graphqls" "schema/storagenode.graphqls" "schema/synthetic.graphqls" "schema/template.graphqls" "schema/user.graphqls" "schema/vehicle.graphqls" var sourcesFS embed.FS func sourceData(filename string) string { @@ -2504,6 +2468,7 @@ var sources = []*ast.Source{ {Name: "schema/dcn.graphqls", Input: sourceData("schema/dcn.graphqls"), BuiltIn: false}, {Name: "schema/developerlicense.graphqls", Input: sourceData("schema/developerlicense.graphqls"), BuiltIn: false}, {Name: "schema/devicedefinition.graphqls", Input: sourceData("schema/devicedefinition.graphqls"), BuiltIn: false}, + {Name: "schema/directives.graphqls", Input: sourceData("schema/directives.graphqls"), BuiltIn: false}, {Name: "schema/manufacturer.graphqls", Input: sourceData("schema/manufacturer.graphqls"), BuiltIn: false}, {Name: "schema/privilege.graphqls", Input: sourceData("schema/privilege.graphqls"), BuiltIn: false}, {Name: "schema/reward.graphqls", Input: sourceData("schema/reward.graphqls"), BuiltIn: false}, @@ -3283,7 +3248,7 @@ func (ec *executionContext) _Account_sacds(ctx context.Context, field graphql.Co ec.fieldContext_Account_sacds, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Account().Sacds(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.Account().Sacds(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNSacdConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacdConnection, @@ -3420,7 +3385,7 @@ func (ec *executionContext) _AftermarketDevice_manufacturer(ctx context.Context, field, ec.fieldContext_AftermarketDevice_manufacturer, func(ctx context.Context) (any, error) { - return ec.resolvers.AftermarketDevice().Manufacturer(ctx, obj) + return ec.Resolvers.AftermarketDevice().Manufacturer(ctx, obj) }, nil, ec.marshalNManufacturer2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturer, @@ -3701,7 +3666,7 @@ func (ec *executionContext) _AftermarketDevice_vehicle(ctx context.Context, fiel field, ec.fieldContext_AftermarketDevice_vehicle, func(ctx context.Context) (any, error) { - return ec.resolvers.AftermarketDevice().Vehicle(ctx, obj) + return ec.Resolvers.AftermarketDevice().Vehicle(ctx, obj) }, nil, ec.marshalOVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle, @@ -3859,7 +3824,7 @@ func (ec *executionContext) _AftermarketDevice_earnings(ctx context.Context, fie field, ec.fieldContext_AftermarketDevice_earnings, func(ctx context.Context) (any, error) { - return ec.resolvers.AftermarketDevice().Earnings(ctx, obj) + return ec.Resolvers.AftermarketDevice().Earnings(ctx, obj) }, nil, ec.marshalOAftermarketDeviceEarnings2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceEarnings, @@ -4123,7 +4088,7 @@ func (ec *executionContext) _AftermarketDeviceEarnings_history(ctx context.Conte ec.fieldContext_AftermarketDeviceEarnings_history, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.AftermarketDeviceEarnings().History(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.AftermarketDeviceEarnings().History(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNEarningsConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningsConnection, @@ -4893,7 +4858,7 @@ func (ec *executionContext) _DCN_vehicle(ctx context.Context, field graphql.Coll field, ec.fieldContext_DCN_vehicle, func(ctx context.Context) (any, error) { - return ec.resolvers.DCN().Vehicle(ctx, obj) + return ec.Resolvers.DCN().Vehicle(ctx, obj) }, nil, ec.marshalOVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle, @@ -5485,7 +5450,7 @@ func (ec *executionContext) _DeveloperLicense_signers(ctx context.Context, field ec.fieldContext_DeveloperLicense_signers, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.DeveloperLicense().Signers(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.DeveloperLicense().Signers(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNSignerConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSignerConnection, @@ -5536,7 +5501,7 @@ func (ec *executionContext) _DeveloperLicense_redirectURIs(ctx context.Context, ec.fieldContext_DeveloperLicense_redirectURIs, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.DeveloperLicense().RedirectURIs(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.DeveloperLicense().RedirectURIs(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNRedirectURIConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURIConnection, @@ -6470,7 +6435,7 @@ func (ec *executionContext) _Earning_aftermarketDevice(ctx context.Context, fiel field, ec.fieldContext_Earning_aftermarketDevice, func(ctx context.Context) (any, error) { - return ec.resolvers.Earning().AftermarketDevice(ctx, obj) + return ec.Resolvers.Earning().AftermarketDevice(ctx, obj) }, nil, ec.marshalOAftermarketDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDevice, @@ -6566,7 +6531,7 @@ func (ec *executionContext) _Earning_syntheticDevice(ctx context.Context, field field, ec.fieldContext_Earning_syntheticDevice, func(ctx context.Context) (any, error) { - return ec.resolvers.Earning().SyntheticDevice(ctx, obj) + return ec.Resolvers.Earning().SyntheticDevice(ctx, obj) }, nil, ec.marshalOSyntheticDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDevice, @@ -6644,7 +6609,7 @@ func (ec *executionContext) _Earning_vehicle(ctx context.Context, field graphql. field, ec.fieldContext_Earning_vehicle, func(ctx context.Context) (any, error) { - return ec.resolvers.Earning().Vehicle(ctx, obj) + return ec.Resolvers.Earning().Vehicle(ctx, obj) }, nil, ec.marshalOVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle, @@ -7182,7 +7147,7 @@ func (ec *executionContext) _Manufacturer_aftermarketDevices(ctx context.Context ec.fieldContext_Manufacturer_aftermarketDevices, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Manufacturer().AftermarketDevices(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.AftermarketDevicesFilter)) + return ec.Resolvers.Manufacturer().AftermarketDevices(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.AftermarketDevicesFilter)) }, nil, ec.marshalNAftermarketDeviceConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceConnection, @@ -7233,7 +7198,7 @@ func (ec *executionContext) _Manufacturer_deviceDefinitions(ctx context.Context, ec.fieldContext_Manufacturer_deviceDefinitions, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Manufacturer().DeviceDefinitions(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.DeviceDefinitionFilter)) + return ec.Resolvers.Manufacturer().DeviceDefinitions(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.DeviceDefinitionFilter)) }, nil, ec.marshalNDeviceDefinitionConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionConnection, @@ -7956,7 +7921,7 @@ func (ec *executionContext) _Query_node(ctx context.Context, field graphql.Colle ec.fieldContext_Query_node, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Node(ctx, fc.Args["id"].(string)) + return ec.Resolvers.Query().Node(ctx, fc.Args["id"].(string)) }, nil, ec.marshalONode2githubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐNode, @@ -7997,7 +7962,7 @@ func (ec *executionContext) _Query_aftermarketDevice(ctx context.Context, field ec.fieldContext_Query_aftermarketDevice, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().AftermarketDevice(ctx, fc.Args["by"].(model.AftermarketDeviceBy)) + return ec.Resolvers.Query().AftermarketDevice(ctx, fc.Args["by"].(model.AftermarketDeviceBy)) }, nil, ec.marshalOAftermarketDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDevice, @@ -8076,7 +8041,7 @@ func (ec *executionContext) _Query_aftermarketDevices(ctx context.Context, field ec.fieldContext_Query_aftermarketDevices, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().AftermarketDevices(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.AftermarketDevicesFilter)) + return ec.Resolvers.Query().AftermarketDevices(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.AftermarketDevicesFilter)) }, nil, ec.marshalNAftermarketDeviceConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceConnection, @@ -8127,7 +8092,7 @@ func (ec *executionContext) _Query_connections(ctx context.Context, field graphq ec.fieldContext_Query_connections, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Connections(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.Query().Connections(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNConnectionConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnectionConnection, @@ -8178,7 +8143,7 @@ func (ec *executionContext) _Query_connection(ctx context.Context, field graphql ec.fieldContext_Query_connection, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Connection(ctx, fc.Args["by"].(model.ConnectionBy)) + return ec.Resolvers.Query().Connection(ctx, fc.Args["by"].(model.ConnectionBy)) }, nil, ec.marshalOConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnection, @@ -8233,7 +8198,7 @@ func (ec *executionContext) _Query_dcn(ctx context.Context, field graphql.Collec ec.fieldContext_Query_dcn, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Dcn(ctx, fc.Args["by"].(model.DCNBy)) + return ec.Resolvers.Query().Dcn(ctx, fc.Args["by"].(model.DCNBy)) }, nil, ec.marshalODCN2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDcn, @@ -8294,7 +8259,7 @@ func (ec *executionContext) _Query_dcns(ctx context.Context, field graphql.Colle ec.fieldContext_Query_dcns, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Dcns(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.DCNFilter)) + return ec.Resolvers.Query().Dcns(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.DCNFilter)) }, nil, ec.marshalNDCNConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDCNConnection, @@ -8345,7 +8310,7 @@ func (ec *executionContext) _Query_developerLicenses(ctx context.Context, field ec.fieldContext_Query_developerLicenses, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().DeveloperLicenses(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.DeveloperLicenseFilterBy)) + return ec.Resolvers.Query().DeveloperLicenses(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.DeveloperLicenseFilterBy)) }, nil, ec.marshalNDeveloperLicenseConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicenseConnection, @@ -8396,7 +8361,7 @@ func (ec *executionContext) _Query_developerLicense(ctx context.Context, field g ec.fieldContext_Query_developerLicense, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().DeveloperLicense(ctx, fc.Args["by"].(model.DeveloperLicenseBy)) + return ec.Resolvers.Query().DeveloperLicense(ctx, fc.Args["by"].(model.DeveloperLicenseBy)) }, nil, ec.marshalODeveloperLicense2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicense, @@ -8455,7 +8420,7 @@ func (ec *executionContext) _Query_deviceDefinition(ctx context.Context, field g ec.fieldContext_Query_deviceDefinition, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().DeviceDefinition(ctx, fc.Args["by"].(model.DeviceDefinitionBy)) + return ec.Resolvers.Query().DeviceDefinition(ctx, fc.Args["by"].(model.DeviceDefinitionBy)) }, nil, ec.marshalODeviceDefinition2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinition, @@ -8514,7 +8479,7 @@ func (ec *executionContext) _Query_manufacturer(ctx context.Context, field graph ec.fieldContext_Query_manufacturer, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Manufacturer(ctx, fc.Args["by"].(model.ManufacturerBy)) + return ec.Resolvers.Query().Manufacturer(ctx, fc.Args["by"].(model.ManufacturerBy)) }, nil, ec.marshalOManufacturer2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturer, @@ -8574,7 +8539,7 @@ func (ec *executionContext) _Query_manufacturers(ctx context.Context, field grap field, ec.fieldContext_Query_manufacturers, func(ctx context.Context) (any, error) { - return ec.resolvers.Query().Manufacturers(ctx) + return ec.Resolvers.Query().Manufacturers(ctx) }, nil, ec.marshalNManufacturerConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturerConnection, @@ -8614,7 +8579,7 @@ func (ec *executionContext) _Query_rewards(ctx context.Context, field graphql.Co ec.fieldContext_Query_rewards, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Rewards(ctx, fc.Args["user"].(common.Address)) + return ec.Resolvers.Query().Rewards(ctx, fc.Args["user"].(common.Address)) }, nil, ec.marshalOUserRewards2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐUserRewards, @@ -8661,7 +8626,7 @@ func (ec *executionContext) _Query_stakes(ctx context.Context, field graphql.Col ec.fieldContext_Query_stakes, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Stakes(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.StakeFilterBy)) + return ec.Resolvers.Query().Stakes(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.StakeFilterBy)) }, nil, ec.marshalOStakeConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStakeConnection, @@ -8712,7 +8677,7 @@ func (ec *executionContext) _Query_syntheticDevice(ctx context.Context, field gr ec.fieldContext_Query_syntheticDevice, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().SyntheticDevice(ctx, fc.Args["by"].(model.SyntheticDeviceBy)) + return ec.Resolvers.Query().SyntheticDevice(ctx, fc.Args["by"].(model.SyntheticDeviceBy)) }, nil, ec.marshalOSyntheticDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDevice, @@ -8773,7 +8738,7 @@ func (ec *executionContext) _Query_syntheticDevices(ctx context.Context, field g ec.fieldContext_Query_syntheticDevices, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().SyntheticDevices(ctx, fc.Args["first"].(*int), fc.Args["last"].(*int), fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.SyntheticDevicesFilter)) + return ec.Resolvers.Query().SyntheticDevices(ctx, fc.Args["first"].(*int), fc.Args["last"].(*int), fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.SyntheticDevicesFilter)) }, nil, ec.marshalNSyntheticDeviceConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDeviceConnection, @@ -8824,7 +8789,7 @@ func (ec *executionContext) _Query_template(ctx context.Context, field graphql.C ec.fieldContext_Query_template, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Template(ctx, fc.Args["by"].(model.TemplateBy)) + return ec.Resolvers.Query().Template(ctx, fc.Args["by"].(model.TemplateBy)) }, nil, ec.marshalOTemplate2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplate, @@ -8879,7 +8844,7 @@ func (ec *executionContext) _Query_templates(ctx context.Context, field graphql. ec.fieldContext_Query_templates, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Templates(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.Query().Templates(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNTemplateConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplateConnection, @@ -8930,7 +8895,7 @@ func (ec *executionContext) _Query_account(ctx context.Context, field graphql.Co ec.fieldContext_Query_account, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Account(ctx, fc.Args["by"].(model.AccountBy)) + return ec.Resolvers.Query().Account(ctx, fc.Args["by"].(model.AccountBy)) }, nil, ec.marshalOAccount2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAccount, @@ -8977,7 +8942,7 @@ func (ec *executionContext) _Query_vehicle(ctx context.Context, field graphql.Co ec.fieldContext_Query_vehicle, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Vehicle(ctx, fc.Args["tokenId"].(*int), fc.Args["tokenDID"].(*string)) + return ec.Resolvers.Query().Vehicle(ctx, fc.Args["tokenId"].(*int), fc.Args["tokenDID"].(*string)) }, nil, ec.marshalOVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle, @@ -9060,7 +9025,7 @@ func (ec *executionContext) _Query_vehicles(ctx context.Context, field graphql.C ec.fieldContext_Query_vehicles, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Query().Vehicles(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.VehiclesFilter)) + return ec.Resolvers.Query().Vehicles(ctx, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.VehiclesFilter)) }, nil, ec.marshalNVehicleConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicleConnection, @@ -9111,7 +9076,7 @@ func (ec *executionContext) _Query___type(ctx context.Context, field graphql.Col ec.fieldContext_Query___type, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.introspectType(fc.Args["name"].(string)) + return ec.IntrospectType(fc.Args["name"].(string)) }, nil, ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType, @@ -9175,7 +9140,7 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C field, ec.fieldContext_Query___schema, func(ctx context.Context) (any, error) { - return ec.introspectSchema() + return ec.IntrospectSchema() }, nil, ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema, @@ -10405,7 +10370,7 @@ func (ec *executionContext) _Stake_vehicle(ctx context.Context, field graphql.Co field, ec.fieldContext_Stake_vehicle, func(ctx context.Context) (any, error) { - return ec.resolvers.Stake().Vehicle(ctx, obj) + return ec.Resolvers.Stake().Vehicle(ctx, obj) }, nil, ec.marshalOVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle, @@ -11029,7 +10994,7 @@ func (ec *executionContext) _SyntheticDevice_integrationId(ctx context.Context, field, ec.fieldContext_SyntheticDevice_integrationId, func(ctx context.Context) (any, error) { - return ec.resolvers.SyntheticDevice().IntegrationID(ctx, obj) + return ec.Resolvers.SyntheticDevice().IntegrationID(ctx, obj) }, nil, ec.marshalNInt2int, @@ -11116,7 +11081,7 @@ func (ec *executionContext) _SyntheticDevice_vehicle(ctx context.Context, field field, ec.fieldContext_SyntheticDevice_vehicle, func(ctx context.Context) (any, error) { - return ec.resolvers.SyntheticDevice().Vehicle(ctx, obj) + return ec.Resolvers.SyntheticDevice().Vehicle(ctx, obj) }, nil, ec.marshalNVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle, @@ -11187,7 +11152,7 @@ func (ec *executionContext) _SyntheticDevice_connection(ctx context.Context, fie field, ec.fieldContext_SyntheticDevice_connection, func(ctx context.Context) (any, error) { - return ec.resolvers.SyntheticDevice().Connection(ctx, obj) + return ec.Resolvers.SyntheticDevice().Connection(ctx, obj) }, nil, ec.marshalNConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnection, @@ -11882,7 +11847,7 @@ func (ec *executionContext) _UserRewards_history(ctx context.Context, field grap ec.fieldContext_UserRewards_history, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.UserRewards().History(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.UserRewards().History(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNEarningsConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningsConnection, @@ -12019,7 +11984,7 @@ func (ec *executionContext) _Vehicle_manufacturer(ctx context.Context, field gra field, ec.fieldContext_Vehicle_manufacturer, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().Manufacturer(ctx, obj) + return ec.Resolvers.Vehicle().Manufacturer(ctx, obj) }, nil, ec.marshalNManufacturer2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturer, @@ -12126,7 +12091,7 @@ func (ec *executionContext) _Vehicle_aftermarketDevice(ctx context.Context, fiel field, ec.fieldContext_Vehicle_aftermarketDevice, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().AftermarketDevice(ctx, obj) + return ec.Resolvers.Vehicle().AftermarketDevice(ctx, obj) }, nil, ec.marshalOAftermarketDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDevice, @@ -12194,7 +12159,7 @@ func (ec *executionContext) _Vehicle_privileges(ctx context.Context, field graph ec.fieldContext_Vehicle_privileges, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Vehicle().Privileges(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.PrivilegeFilterBy)) + return ec.Resolvers.Vehicle().Privileges(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string), fc.Args["filterBy"].(*model.PrivilegeFilterBy)) }, nil, ec.marshalNPrivilegesConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilegesConnection, @@ -12245,7 +12210,7 @@ func (ec *executionContext) _Vehicle_sacds(ctx context.Context, field graphql.Co ec.fieldContext_Vehicle_sacds, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Vehicle().Sacds(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.Vehicle().Sacds(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNSacdConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacdConnection, @@ -12296,7 +12261,7 @@ func (ec *executionContext) _Vehicle_sacd(ctx context.Context, field graphql.Col ec.fieldContext_Vehicle_sacd, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.Vehicle().Sacd(ctx, obj, fc.Args["grantee"].(common.Address)) + return ec.Resolvers.Vehicle().Sacd(ctx, obj, fc.Args["grantee"].(common.Address)) }, nil, ec.marshalOSacd2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacd, @@ -12350,7 +12315,7 @@ func (ec *executionContext) _Vehicle_syntheticDevice(ctx context.Context, field field, ec.fieldContext_Vehicle_syntheticDevice, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().SyntheticDevice(ctx, obj) + return ec.Resolvers.Vehicle().SyntheticDevice(ctx, obj) }, nil, ec.marshalOSyntheticDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDevice, @@ -12438,7 +12403,7 @@ func (ec *executionContext) _Vehicle_dcn(ctx context.Context, field graphql.Coll field, ec.fieldContext_Vehicle_dcn, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().Dcn(ctx, obj) + return ec.Resolvers.Vehicle().Dcn(ctx, obj) }, nil, ec.marshalODCN2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDcn, @@ -12574,7 +12539,7 @@ func (ec *executionContext) _Vehicle_earnings(ctx context.Context, field graphql field, ec.fieldContext_Vehicle_earnings, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().Earnings(ctx, obj) + return ec.Resolvers.Vehicle().Earnings(ctx, obj) }, nil, ec.marshalOVehicleEarnings2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicleEarnings, @@ -12638,7 +12603,7 @@ func (ec *executionContext) _Vehicle_stake(ctx context.Context, field graphql.Co field, ec.fieldContext_Vehicle_stake, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().Stake(ctx, obj) + return ec.Resolvers.Vehicle().Stake(ctx, obj) }, nil, ec.marshalOStake2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStake, @@ -12689,7 +12654,7 @@ func (ec *executionContext) _Vehicle_storageNode(ctx context.Context, field grap field, ec.fieldContext_Vehicle_storageNode, func(ctx context.Context) (any, error) { - return ec.resolvers.Vehicle().StorageNode(ctx, obj) + return ec.Resolvers.Vehicle().StorageNode(ctx, obj) }, nil, ec.marshalOStorageNode2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStorageNode, @@ -12938,7 +12903,7 @@ func (ec *executionContext) _VehicleEarnings_history(ctx context.Context, field ec.fieldContext_VehicleEarnings_history, func(ctx context.Context) (any, error) { fc := graphql.GetFieldContext(ctx) - return ec.resolvers.VehicleEarnings().History(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) + return ec.Resolvers.VehicleEarnings().History(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*string), fc.Args["last"].(*int), fc.Args["before"].(*string)) }, nil, ec.marshalNEarningsConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningsConnection, @@ -14529,6 +14494,10 @@ func (ec *executionContext) fieldContext___Type_isOneOf(_ context.Context, field func (ec *executionContext) unmarshalInputAccountBy(ctx context.Context, obj any) (model.AccountBy, error) { var it model.AccountBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14550,12 +14519,15 @@ func (ec *executionContext) unmarshalInputAccountBy(ctx context.Context, obj any it.Address = data } } - return it, nil } func (ec *executionContext) unmarshalInputAftermarketDeviceBy(ctx context.Context, obj any) (model.AftermarketDeviceBy, error) { var it model.AftermarketDeviceBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14612,12 +14584,15 @@ func (ec *executionContext) unmarshalInputAftermarketDeviceBy(ctx context.Contex it.DevEui = data } } - return it, nil } func (ec *executionContext) unmarshalInputAftermarketDevicesFilter(ctx context.Context, obj any) (model.AftermarketDevicesFilter, error) { var it model.AftermarketDevicesFilter + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14653,12 +14628,15 @@ func (ec *executionContext) unmarshalInputAftermarketDevicesFilter(ctx context.C it.ManufacturerID = data } } - return it, nil } func (ec *executionContext) unmarshalInputConnectionBy(ctx context.Context, obj any) (model.ConnectionBy, error) { var it model.ConnectionBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14701,12 +14679,15 @@ func (ec *executionContext) unmarshalInputConnectionBy(ctx context.Context, obj it.TokenDID = data } } - return it, nil } func (ec *executionContext) unmarshalInputDCNBy(ctx context.Context, obj any) (model.DCNBy, error) { var it model.DCNBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14742,12 +14723,15 @@ func (ec *executionContext) unmarshalInputDCNBy(ctx context.Context, obj any) (m it.Name = data } } - return it, nil } func (ec *executionContext) unmarshalInputDCNFilter(ctx context.Context, obj any) (model.DCNFilter, error) { var it model.DCNFilter + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14769,12 +14753,15 @@ func (ec *executionContext) unmarshalInputDCNFilter(ctx context.Context, obj any it.Owner = data } } - return it, nil } func (ec *executionContext) unmarshalInputDeveloperLicenseBy(ctx context.Context, obj any) (model.DeveloperLicenseBy, error) { var it model.DeveloperLicenseBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14817,12 +14804,15 @@ func (ec *executionContext) unmarshalInputDeveloperLicenseBy(ctx context.Context it.TokenDID = data } } - return it, nil } func (ec *executionContext) unmarshalInputDeveloperLicenseFilterBy(ctx context.Context, obj any) (model.DeveloperLicenseFilterBy, error) { var it model.DeveloperLicenseFilterBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14851,12 +14841,15 @@ func (ec *executionContext) unmarshalInputDeveloperLicenseFilterBy(ctx context.C it.Owner = data } } - return it, nil } func (ec *executionContext) unmarshalInputDeviceDefinitionBy(ctx context.Context, obj any) (model.DeviceDefinitionBy, error) { var it model.DeviceDefinitionBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14878,12 +14871,15 @@ func (ec *executionContext) unmarshalInputDeviceDefinitionBy(ctx context.Context it.ID = data } } - return it, nil } func (ec *executionContext) unmarshalInputDeviceDefinitionFilter(ctx context.Context, obj any) (model.DeviceDefinitionFilter, error) { var it model.DeviceDefinitionFilter + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14912,12 +14908,15 @@ func (ec *executionContext) unmarshalInputDeviceDefinitionFilter(ctx context.Con it.Year = data } } - return it, nil } func (ec *executionContext) unmarshalInputManufacturerBy(ctx context.Context, obj any) (model.ManufacturerBy, error) { var it model.ManufacturerBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14960,12 +14959,15 @@ func (ec *executionContext) unmarshalInputManufacturerBy(ctx context.Context, ob it.TokenDID = data } } - return it, nil } func (ec *executionContext) unmarshalInputPrivilegeFilterBy(ctx context.Context, obj any) (model.PrivilegeFilterBy, error) { var it model.PrivilegeFilterBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -14994,12 +14996,15 @@ func (ec *executionContext) unmarshalInputPrivilegeFilterBy(ctx context.Context, it.PrivilegeID = data } } - return it, nil } func (ec *executionContext) unmarshalInputStakeFilterBy(ctx context.Context, obj any) (model.StakeFilterBy, error) { var it model.StakeFilterBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -15028,12 +15033,15 @@ func (ec *executionContext) unmarshalInputStakeFilterBy(ctx context.Context, obj it.Attachable = data } } - return it, nil } func (ec *executionContext) unmarshalInputSyntheticDeviceBy(ctx context.Context, obj any) (model.SyntheticDeviceBy, error) { var it model.SyntheticDeviceBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -15069,12 +15077,15 @@ func (ec *executionContext) unmarshalInputSyntheticDeviceBy(ctx context.Context, it.Address = data } } - return it, nil } func (ec *executionContext) unmarshalInputSyntheticDevicesFilter(ctx context.Context, obj any) (model.SyntheticDevicesFilter, error) { var it model.SyntheticDevicesFilter + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -15103,12 +15114,15 @@ func (ec *executionContext) unmarshalInputSyntheticDevicesFilter(ctx context.Con it.IntegrationID = data } } - return it, nil } func (ec *executionContext) unmarshalInputTemplateBy(ctx context.Context, obj any) (model.TemplateBy, error) { var it model.TemplateBy + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -15137,12 +15151,15 @@ func (ec *executionContext) unmarshalInputTemplateBy(ctx context.Context, obj an it.Cid = data } } - return it, nil } func (ec *executionContext) unmarshalInputVehiclesFilter(ctx context.Context, obj any) (model.VehiclesFilter, error) { var it model.VehiclesFilter + if obj == nil { + return it, nil + } + asMap := map[string]any{} for k, v := range obj.(map[string]any) { asMap[k] = v @@ -15206,7 +15223,6 @@ func (ec *executionContext) unmarshalInputVehiclesFilter(ctx context.Context, ob it.DeviceDefinitionID = data } } - return it, nil } @@ -15327,10 +15343,10 @@ func (ec *executionContext) _Account(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15520,10 +15536,10 @@ func (ec *executionContext) _AftermarketDevice(ctx context.Context, sel ast.Sele return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15574,10 +15590,10 @@ func (ec *executionContext) _AftermarketDeviceConnection(ctx context.Context, se return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15649,10 +15665,10 @@ func (ec *executionContext) _AftermarketDeviceEarnings(ctx context.Context, sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15693,10 +15709,10 @@ func (ec *executionContext) _AftermarketDeviceEdge(ctx context.Context, sel ast. return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15757,10 +15773,10 @@ func (ec *executionContext) _Connection(ctx context.Context, sel ast.SelectionSe return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15811,10 +15827,10 @@ func (ec *executionContext) _ConnectionConnection(ctx context.Context, sel ast.S return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15855,10 +15871,10 @@ func (ec *executionContext) _ConnectionEdge(ctx context.Context, sel ast.Selecti return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -15956,10 +15972,10 @@ func (ec *executionContext) _DCN(ctx context.Context, sel ast.SelectionSet, obj return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16010,10 +16026,10 @@ func (ec *executionContext) _DCNConnection(ctx context.Context, sel ast.Selectio return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16054,10 +16070,10 @@ func (ec *executionContext) _DCNEdge(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16096,10 +16112,10 @@ func (ec *executionContext) _Definition(ctx context.Context, sel ast.SelectionSe return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16229,10 +16245,10 @@ func (ec *executionContext) _DeveloperLicense(ctx context.Context, sel ast.Selec return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16283,10 +16299,10 @@ func (ec *executionContext) _DeveloperLicenseConnection(ctx context.Context, sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16327,10 +16343,10 @@ func (ec *executionContext) _DeveloperLicenseEdge(ctx context.Context, sel ast.S return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16389,10 +16405,10 @@ func (ec *executionContext) _DeviceDefinition(ctx context.Context, sel ast.Selec return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16433,10 +16449,10 @@ func (ec *executionContext) _DeviceDefinitionAttribute(ctx context.Context, sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16487,10 +16503,10 @@ func (ec *executionContext) _DeviceDefinitionConnection(ctx context.Context, sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16531,10 +16547,10 @@ func (ec *executionContext) _DeviceDefinitionEdge(ctx context.Context, sel ast.S return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16696,10 +16712,10 @@ func (ec *executionContext) _Earning(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16750,10 +16766,10 @@ func (ec *executionContext) _EarningsConnection(ctx context.Context, sel ast.Sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16794,10 +16810,10 @@ func (ec *executionContext) _EarningsEdge(ctx context.Context, sel ast.Selection return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16932,10 +16948,10 @@ func (ec *executionContext) _Manufacturer(ctx context.Context, sel ast.Selection return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -16986,10 +17002,10 @@ func (ec *executionContext) _ManufacturerConnection(ctx context.Context, sel ast return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17030,10 +17046,10 @@ func (ec *executionContext) _ManufacturerEdge(ctx context.Context, sel ast.Selec return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17078,10 +17094,10 @@ func (ec *executionContext) _PageInfo(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17132,10 +17148,10 @@ func (ec *executionContext) _Privilege(ctx context.Context, sel ast.SelectionSet return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17176,10 +17192,10 @@ func (ec *executionContext) _PrivilegeEdge(ctx context.Context, sel ast.Selectio return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17230,10 +17246,10 @@ func (ec *executionContext) _PrivilegesConnection(ctx context.Context, sel ast.S return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17703,10 +17719,10 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17747,10 +17763,10 @@ func (ec *executionContext) _RedirectURI(ctx context.Context, sel ast.SelectionS return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17801,10 +17817,10 @@ func (ec *executionContext) _RedirectURIConnection(ctx context.Context, sel ast. return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17845,10 +17861,10 @@ func (ec *executionContext) _RedirectURIEdge(ctx context.Context, sel ast.Select return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17906,10 +17922,10 @@ func (ec *executionContext) _Sacd(ctx context.Context, sel ast.SelectionSet, obj return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -17960,10 +17976,10 @@ func (ec *executionContext) _SacdConnection(ctx context.Context, sel ast.Selecti return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18004,10 +18020,10 @@ func (ec *executionContext) _SacdEdge(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18048,10 +18064,10 @@ func (ec *executionContext) _Signer(ctx context.Context, sel ast.SelectionSet, o return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18102,10 +18118,10 @@ func (ec *executionContext) _SignerConnection(ctx context.Context, sel ast.Selec return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18146,10 +18162,10 @@ func (ec *executionContext) _SignerEdge(ctx context.Context, sel ast.SelectionSe return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18255,10 +18271,10 @@ func (ec *executionContext) _Stake(ctx context.Context, sel ast.SelectionSet, ob return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18309,10 +18325,10 @@ func (ec *executionContext) _StakeConnection(ctx context.Context, sel ast.Select return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18353,10 +18369,10 @@ func (ec *executionContext) _StakeEdge(ctx context.Context, sel ast.SelectionSet return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18422,10 +18438,10 @@ func (ec *executionContext) _StorageNode(ctx context.Context, sel ast.SelectionS return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18594,10 +18610,10 @@ func (ec *executionContext) _SyntheticDevice(ctx context.Context, sel ast.Select return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18648,10 +18664,10 @@ func (ec *executionContext) _SyntheticDeviceConnection(ctx context.Context, sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18692,10 +18708,10 @@ func (ec *executionContext) _SyntheticDeviceEdge(ctx context.Context, sel ast.Se return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18756,10 +18772,10 @@ func (ec *executionContext) _Template(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18810,10 +18826,10 @@ func (ec *executionContext) _TemplateConnection(ctx context.Context, sel ast.Sel return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18854,10 +18870,10 @@ func (ec *executionContext) _TemplateEdge(ctx context.Context, sel ast.Selection return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -18929,10 +18945,10 @@ func (ec *executionContext) _UserRewards(ctx context.Context, sel ast.SelectionS return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19349,10 +19365,10 @@ func (ec *executionContext) _Vehicle(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19403,10 +19419,10 @@ func (ec *executionContext) _VehicleConnection(ctx context.Context, sel ast.Sele return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19478,10 +19494,10 @@ func (ec *executionContext) _VehicleEarnings(ctx context.Context, sel ast.Select return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19522,10 +19538,10 @@ func (ec *executionContext) _VehicleEdge(ctx context.Context, sel ast.SelectionS return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19578,10 +19594,10 @@ func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionS return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19626,10 +19642,10 @@ func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionS return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19684,10 +19700,10 @@ func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19739,10 +19755,10 @@ func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.Selection return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19794,10 +19810,10 @@ func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19853,10 +19869,10 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o return graphql.Null } - atomic.AddInt32(&ec.deferred, int32(len(deferred))) + atomic.AddInt32(&ec.Deferred, int32(len(deferred))) for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ + ec.ProcessDeferredGroup(graphql.DeferredGroup{ Label: label, Path: graphql.GetPath(ctx), FieldSet: dfs, @@ -19893,39 +19909,11 @@ func (ec *executionContext) marshalNAddress2githubᚗcomᚋethereumᚋgoᚑether } func (ec *executionContext) marshalNAftermarketDevice2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.AftermarketDevice) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNAftermarketDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDevice(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNAftermarketDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDevice(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -19966,39 +19954,11 @@ func (ec *executionContext) marshalNAftermarketDeviceConnection2ᚖgithubᚗcom } func (ec *executionContext) marshalNAftermarketDeviceEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.AftermarketDeviceEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNAftermarketDeviceEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNAftermarketDeviceEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐAftermarketDeviceEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20106,39 +20066,11 @@ func (ec *executionContext) marshalNConnection2githubᚗcomᚋDIMOᚑNetworkᚋi } func (ec *executionContext) marshalNConnection2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnectionᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Connection) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnection(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNConnection2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnection(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20179,39 +20111,11 @@ func (ec *executionContext) marshalNConnectionConnection2ᚖgithubᚗcomᚋDIMO } func (ec *executionContext) marshalNConnectionEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnectionEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.ConnectionEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNConnectionEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnectionEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNConnectionEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐConnectionEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20233,39 +20137,11 @@ func (ec *executionContext) marshalNConnectionEdge2ᚖgithubᚗcomᚋDIMOᚑNetw } func (ec *executionContext) marshalNDCN2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDcnᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Dcn) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDCN2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDcn(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDCN2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDcn(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20306,39 +20182,11 @@ func (ec *executionContext) marshalNDCNConnection2ᚖgithubᚗcomᚋDIMOᚑNetwo } func (ec *executionContext) marshalNDCNEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDCNEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.DCNEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDCNEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDCNEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDCNEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDCNEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20360,39 +20208,11 @@ func (ec *executionContext) marshalNDCNEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋi } func (ec *executionContext) marshalNDeveloperLicense2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicenseᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.DeveloperLicense) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDeveloperLicense2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicense(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDeveloperLicense2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicense(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20433,39 +20253,11 @@ func (ec *executionContext) marshalNDeveloperLicenseConnection2ᚖgithubᚗcom } func (ec *executionContext) marshalNDeveloperLicenseEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicenseEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.DeveloperLicenseEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDeveloperLicenseEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicenseEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDeveloperLicenseEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeveloperLicenseEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20487,39 +20279,11 @@ func (ec *executionContext) marshalNDeveloperLicenseEdge2ᚖgithubᚗcomᚋDIMO } func (ec *executionContext) marshalNDeviceDefinition2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.DeviceDefinition) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDeviceDefinition2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinition(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDeviceDefinition2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinition(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20541,39 +20305,11 @@ func (ec *executionContext) marshalNDeviceDefinition2ᚖgithubᚗcomᚋDIMOᚑNe } func (ec *executionContext) marshalNDeviceDefinitionAttribute2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionAttributeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.DeviceDefinitionAttribute) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDeviceDefinitionAttribute2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionAttribute(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDeviceDefinitionAttribute2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionAttribute(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20614,39 +20350,11 @@ func (ec *executionContext) marshalNDeviceDefinitionConnection2ᚖgithubᚗcom } func (ec *executionContext) marshalNDeviceDefinitionEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.DeviceDefinitionEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNDeviceDefinitionEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNDeviceDefinitionEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐDeviceDefinitionEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20668,39 +20376,11 @@ func (ec *executionContext) marshalNDeviceDefinitionEdge2ᚖgithubᚗcomᚋDIMO } func (ec *executionContext) marshalNEarning2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Earning) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNEarning2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarning(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNEarning2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarning(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20736,39 +20416,11 @@ func (ec *executionContext) marshalNEarningsConnection2ᚖgithubᚗcomᚋDIMOᚑ } func (ec *executionContext) marshalNEarningsEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningsEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.EarningsEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNEarningsEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningsEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNEarningsEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐEarningsEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20826,39 +20478,11 @@ func (ec *executionContext) marshalNManufacturer2githubᚗcomᚋDIMOᚑNetwork } func (ec *executionContext) marshalNManufacturer2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturerᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Manufacturer) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNManufacturer2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturer(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNManufacturer2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturer(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20899,39 +20523,11 @@ func (ec *executionContext) marshalNManufacturerConnection2ᚖgithubᚗcomᚋDIM } func (ec *executionContext) marshalNManufacturerEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturerEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.ManufacturerEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNManufacturerEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturerEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNManufacturerEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐManufacturerEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -20963,39 +20559,11 @@ func (ec *executionContext) marshalNPageInfo2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋ } func (ec *executionContext) marshalNPrivilege2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilegeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Privilege) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNPrivilege2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilege(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNPrivilege2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilege(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21017,39 +20585,11 @@ func (ec *executionContext) marshalNPrivilege2ᚖgithubᚗcomᚋDIMOᚑNetwork } func (ec *executionContext) marshalNPrivilegeEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilegeEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.PrivilegeEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNPrivilegeEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilegeEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNPrivilegeEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐPrivilegeEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21085,39 +20625,11 @@ func (ec *executionContext) marshalNPrivilegesConnection2ᚖgithubᚗcomᚋDIMO } func (ec *executionContext) marshalNRedirectURI2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURIᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.RedirectURI) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNRedirectURI2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURI(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNRedirectURI2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURI(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21153,39 +20665,11 @@ func (ec *executionContext) marshalNRedirectURIConnection2ᚖgithubᚗcomᚋDIMO } func (ec *executionContext) marshalNRedirectURIEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURIEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.RedirectURIEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNRedirectURIEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURIEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNRedirectURIEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐRedirectURIEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21207,39 +20691,11 @@ func (ec *executionContext) marshalNRedirectURIEdge2ᚖgithubᚗcomᚋDIMOᚑNet } func (ec *executionContext) marshalNSacd2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacdᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Sacd) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNSacd2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacd(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNSacd2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacd(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21275,39 +20731,11 @@ func (ec *executionContext) marshalNSacdConnection2ᚖgithubᚗcomᚋDIMOᚑNetw } func (ec *executionContext) marshalNSacdEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacdEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.SacdEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNSacdEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacdEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNSacdEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSacdEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21329,39 +20757,11 @@ func (ec *executionContext) marshalNSacdEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋ } func (ec *executionContext) marshalNSigner2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSignerᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Signer) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNSigner2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSigner(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNSigner2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSigner(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21397,39 +20797,11 @@ func (ec *executionContext) marshalNSignerConnection2ᚖgithubᚗcomᚋDIMOᚑNe } func (ec *executionContext) marshalNSignerEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSignerEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.SignerEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNSignerEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSignerEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNSignerEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSignerEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21451,39 +20823,11 @@ func (ec *executionContext) marshalNSignerEdge2ᚖgithubᚗcomᚋDIMOᚑNetwork } func (ec *executionContext) marshalNStake2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStakeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Stake) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNStake2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStake(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNStake2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStake(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21505,39 +20849,11 @@ func (ec *executionContext) marshalNStake2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋide } func (ec *executionContext) marshalNStakeEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStakeEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.StakeEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNStakeEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStakeEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNStakeEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐStakeEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21575,39 +20891,11 @@ func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.S } func (ec *executionContext) marshalNSyntheticDevice2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDeviceᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.SyntheticDevice) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNSyntheticDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDevice(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNSyntheticDevice2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDevice(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21648,39 +20936,11 @@ func (ec *executionContext) marshalNSyntheticDeviceConnection2ᚖgithubᚗcomᚋ } func (ec *executionContext) marshalNSyntheticDeviceEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDeviceEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.SyntheticDeviceEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNSyntheticDeviceEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDeviceEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNSyntheticDeviceEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐSyntheticDeviceEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21702,39 +20962,11 @@ func (ec *executionContext) marshalNSyntheticDeviceEdge2ᚖgithubᚗcomᚋDIMO } func (ec *executionContext) marshalNTemplate2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplateᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Template) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNTemplate2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplate(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNTemplate2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplate(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21775,39 +21007,11 @@ func (ec *executionContext) marshalNTemplateConnection2ᚖgithubᚗcomᚋDIMOᚑ } func (ec *executionContext) marshalNTemplateEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplateEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.TemplateEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNTemplateEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplateEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNTemplateEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐTemplateEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21849,39 +21053,11 @@ func (ec *executionContext) marshalNVehicle2githubᚗcomᚋDIMOᚑNetworkᚋiden } func (ec *executionContext) marshalNVehicle2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicleᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.Vehicle) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNVehicle2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicle(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21917,39 +21093,11 @@ func (ec *executionContext) marshalNVehicleConnection2ᚖgithubᚗcomᚋDIMOᚑN } func (ec *executionContext) marshalNVehicleEdge2ᚕᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicleEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*model.VehicleEdge) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNVehicleEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicleEdge(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalNVehicleEdge2ᚖgithubᚗcomᚋDIMOᚑNetworkᚋidentityᚑapiᚋgraphᚋmodelᚐVehicleEdge(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -21975,39 +21123,11 @@ func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋgqlge } func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22050,39 +21170,11 @@ func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx conte } func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__DirectiveLocation2string(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__DirectiveLocation2string(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22106,39 +21198,11 @@ func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlg } func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22154,39 +21218,11 @@ func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋg } func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler { - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22562,39 +21598,11 @@ func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgq if v == nil { return graphql.Null } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22609,39 +21617,11 @@ func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgen if v == nil { return graphql.Null } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22656,39 +21636,11 @@ func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋg if v == nil { return graphql.Null } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { @@ -22710,39 +21662,11 @@ func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgen if v == nil { return graphql.Null } - ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } - for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - - } - wg.Wait() + ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { + fc := graphql.GetFieldContext(ctx) + fc.Result = &v[i] + return ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i]) + }) for _, e := range ret { if e == graphql.Null { diff --git a/graph/manufacturer.resolvers.go b/graph/manufacturer.resolvers.go index 344d638b..ea2d0b39 100644 --- a/graph/manufacturer.resolvers.go +++ b/graph/manufacturer.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/mcp_tools_gen.go b/graph/mcp_tools_gen.go new file mode 100644 index 00000000..8e2da813 --- /dev/null +++ b/graph/mcp_tools_gen.go @@ -0,0 +1,61 @@ +// Code generated by mcpgen. DO NOT EDIT. +package graph + +import ( + "github.com/DIMO-Network/server-garage/pkg/mcpserver" + "github.com/modelcontextprotocol/go-sdk/mcp" +) + +func boolPtr(b bool) *bool { return &b } + +var MCPTools = []mcpserver.ToolDefinition{ + { + Name: "identity_get_aftermarket_device", + Description: "Look up an aftermarket device by serial, token ID, address, IMEI, or devEUI. Returns device info with manufacturer and paired vehicle.", + Args: []mcpserver.ArgDefinition{ + {Name: "by", Type: "object", Description: "by (AftermarketDeviceBy!, required)", Required: true, ItemsType: ""}, + }, + Query: "query($by: AftermarketDeviceBy!) { aftermarketDevice(by: $by) { tokenId owner serial manufacturer { name } vehicle { tokenId definition { make model year } } } }", + Annotations: &mcp.ToolAnnotations{ + ReadOnlyHint: true, + DestructiveHint: boolPtr(false), + OpenWorldHint: boolPtr(false), + IdempotentHint: true, + }, + }, + { + Name: "identity_get_vehicle", + Description: "Look up a vehicle. Provide exactly one of tokenId (integer) or tokenDID (string). Returns owner, mint time, definition, and connected devices.", + Args: []mcpserver.ArgDefinition{ + {Name: "tokenId", Type: "integer", Description: "The token ID of the vehicle.", Required: false, ItemsType: ""}, + {Name: "tokenDID", Type: "string", Description: "The DID of the vehicle.", Required: false, ItemsType: ""}, + }, + Query: "query($tokenId: Int, $tokenDID: String) { vehicle(tokenId: $tokenId, tokenDID: $tokenDID) { tokenId name owner mintedAt definition { make model year } aftermarketDevice { serial } syntheticDevice { tokenId } } }", + Annotations: &mcp.ToolAnnotations{ + ReadOnlyHint: true, + DestructiveHint: boolPtr(false), + OpenWorldHint: boolPtr(false), + IdempotentHint: true, + }, + }, + { + Name: "identity_list_vehicles", + Description: "List vehicles with optional filters for owner, make, model, year. Returns paginated results.", + Args: []mcpserver.ArgDefinition{ + {Name: "first", Type: "integer", Description: "The number of vehicles to retrieve.\nMutually exclusive with `last`.", Required: false, ItemsType: ""}, + {Name: "after", Type: "string", Description: "A cursor for pagination. Retrieve vehicles after this cursor.", Required: false, ItemsType: ""}, + {Name: "last", Type: "integer", Description: "The number of vehicles to retrieve from the end of the list.\nMutually exclusive with `first`.", Required: false, ItemsType: ""}, + {Name: "before", Type: "string", Description: "A cursor for pagination. Retrieve vehicles before this cursor.", Required: false, ItemsType: ""}, + {Name: "filterBy", Type: "object", Description: "Filter the vehicles based on specific criteria.", Required: false, ItemsType: ""}, + }, + Query: "query($first: Int, $after: String, $last: Int, $before: String, $filterBy: VehiclesFilter) { vehicles(first: $first, after: $after, last: $last, before: $before, filterBy: $filterBy) { totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor } } }", + Annotations: &mcp.ToolAnnotations{ + ReadOnlyHint: true, + DestructiveHint: boolPtr(false), + OpenWorldHint: boolPtr(false), + IdempotentHint: true, + }, + }, +} + +var CondensedSchema = "scalar Address # A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix.\nscalar BigDecimal # BigDecimal decimal floating-point number, per the General Decimal Arithmetic specification.\nscalar BigInt # An integer of arbitrary precision, decimal-encoded. Typically a uint256.\nscalar Bytes # An array of byte, encoded as a lowercase hex string with 0x prefix.\nscalar Time # A point in time, encoded per RFC-3999. Typically these will be in second precision, just like the blockchain, and in UTC.\n\n# All tokenDID fields use the format did:erc721:::\n# All *Edge types: { node: T!, cursor: String! }\n# All *Connection types: { totalCount: Int!, edges: [TEdge!]!, nodes: [T!]!, pageInfo: PageInfo! }\n\ntype Query {\n \"View a particular node.\"\n node(\n \"The ID of the node.\"\n id: ID!\n ): Node\n\n \"View a particular aftermarket device.\"\n aftermarketDevice(by: AftermarketDeviceBy!): AftermarketDevice\n # Example - Get aftermarket device by serial:\n # { aftermarketDevice(by: { serial: \"abc-123\" }) { tokenId owner serial manufacturer { name } vehicle { tokenId definition { make model year } } earnings { totalTokens } } }\n\n \"List aftermarket devices. Ordered by token id, descending.\"\n aftermarketDevices(first: Int, after: String, last: Int, before: String, filterBy: AftermarketDevicesFilter): AftermarketDeviceConnection!\n\n \"List connection licenses. Sorts by minting time, descending.\"\n connections(first: Int, after: String, last: Int, before: String): ConnectionConnection!\n\n \"Retrieve a particular connection.\"\n connection(by: ConnectionBy!): Connection\n\n \"View a particular DIMO Canonical Name.\"\n dcn(by: DCNBy!): DCN\n\n \"List DIMO Canonical Names.\"\n dcns(\n first: Int\n after: String\n last: Int\n before: String\n \"Filters the DCNs based on the specified criteria.\"\n filterBy: DCNFilter\n ): DCNConnection!\n\n \"List developer licenses. Sorts by token id, descending.\"\n developerLicenses(first: Int, after: String, last: Int, before: String, filterBy: DeveloperLicenseFilterBy): DeveloperLicenseConnection!\n\n \"Retrieve a particular developer license.\"\n developerLicense(by: DeveloperLicenseBy!): DeveloperLicense\n\n \"View a particular device definition.\"\n deviceDefinition(\n \"criteria to search for a device definition\"\n by: DeviceDefinitionBy!\n ): DeviceDefinition\n\n \"View a particular manufacturer.\"\n manufacturer(\n \"criteria to search for a manufacturer\"\n by: ManufacturerBy!\n ): Manufacturer\n\n \"List minted manufacturers. These are always ordered by Name in ascending order. Returns all of them\"\n manufacturers: ManufacturerConnection!\n\n \"List rewards for a user.\"\n rewards(\n \"The address of the user.\"\n user: Address!\n ): UserRewards\n\n \"List developer licenses. Sorts by token id, descending.\"\n stakes(first: Int, after: String, last: Int, before: String, filterBy: StakeFilterBy): StakeConnection\n\n \"View a particular synthetic device.\"\n syntheticDevice(by: SyntheticDeviceBy!): SyntheticDevice\n\n \"List synthetic devices. Ordered by token id, descending.\"\n syntheticDevices(\n first: Int\n last: Int\n after: String\n before: String\n \"Filter synthetic devices by the given criteria.\"\n filterBy: SyntheticDevicesFilter\n ): SyntheticDeviceConnection!\n\n \"Retrieve a particular template.\"\n template(by: TemplateBy!): Template\n\n \"List templates. Sorts by minting time, descending.\"\n templates(first: Int, after: String, last: Int, before: String): TemplateConnection!\n\n \"Retrieves information about an account. Right now, this is mainly to show SACDs for user information.\"\n account(by: AccountBy!): Account\n\n \"View a particular vehicle.\"\n vehicle(\n \"The token ID of the vehicle.\"\n tokenId: Int\n \"The DID of the vehicle.\"\n tokenDID: String\n ): Vehicle\n # Example - Get vehicle by tokenId:\n # { vehicle(tokenId: 123) { tokenId name owner definition { make model year } aftermarketDevice { serial } syntheticDevice { tokenId } dcn { name } stake { level amount } } }\n # Example - Get vehicle SACDs (permission grants):\n # { vehicle(tokenId: 123) { sacds { nodes { grantee permissions expiresAt template { cid } } } } }\n # Example - Get vehicle privileges:\n # { vehicle(tokenId: 123) { privileges(filterBy: { user: \"0x...\" }) { nodes { id user setAt expiresAt } } } }\n\n \"List minted vehicles. For now, these are always ordered by token ID in descending order.\"\n vehicles(\n first: Int\n after: String\n last: Int\n before: String\n \"Filter the vehicles based on specific criteria.\"\n filterBy: VehiclesFilter\n ): VehicleConnection!\n # Example - List vehicles by owner:\n # { vehicles(first: 20, filterBy: { owner: \"0x...\" }) { totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor } } }\n # Example - List vehicles user has access to (via privileges or SACDs):\n # { vehicles(first: 100, filterBy: { privileged: \"0x...\" }) { nodes { tokenId name owner } } }\n}\n\ntype Account { address: Address!, sacds(first: Int, after: String, last: Int, before: String): SacdConnection! }\n\ninput AccountBy @oneOf { address: Address }\n\ntype AftermarketDevice implements Node { id: ID!, tokenId: Int!, tokenDID: String!, manufacturer: Manufacturer!, address: Address!, owner: Address!, serial: String, imei: String, devEUI: String, hardwareRevision: String, mintedAt: Time!, claimedAt: Time, vehicle: Vehicle, beneficiary: Address!, name: String!, image: String!, earnings: AftermarketDeviceEarnings, pairedAt: Time }\n\ninput AftermarketDeviceBy @oneOf {\n \"token id of the aftermarket device NFT\"\n tokenId: Int\n tokenDID: String\n address: Address\n \"serial number of the aftermarket device\"\n serial: String\n \"The International Mobile Equipment Identity (IMEI) for the device if available\"\n imei: String\n \"Extended Unique Identifier (EUI) for LoRa devices if available\"\n devEUI: String\n}\n\ntype AftermarketDeviceEarnings { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ninput AftermarketDevicesFilter {\n \"Filter for aftermarket devices owned by this address.\"\n owner: Address\n beneficiary: Address\n manufacturerId: Int\n}\n\ntype Connection { name: String!, address: Address!, owner: Address!, tokenId: BigInt!, tokenDID: String!, mintedAt: Time! }\n\ninput ConnectionBy { name: String, address: Address, tokenId: BigInt, tokenDID: String }\n\ntype DCN implements Node { id: ID!, node: Bytes!, tokenId: BigInt!, tokenDID: String!, owner: Address!, expiresAt: Time, mintedAt: Time!, name: String, vehicle: Vehicle }\n\ninput DCNBy @oneOf { node: Bytes, tokenDID: String, name: String }\n\ninput DCNFilter {\n \"Filter for DCN owned by this address.\"\n owner: Address\n}\n\ntype Definition { id: String, make: String, model: String, year: Int }\n\ntype DeveloperLicense { tokenId: Int!, tokenDID: String!, owner: Address!, clientId: Address!, alias: String, mintedAt: Time!, signers(first: Int, after: String, last: Int, before: String): SignerConnection!, redirectURIs(first: Int, after: String, last: Int, before: String): RedirectURIConnection! }\n\ninput DeveloperLicenseBy { clientId: Address, alias: String, tokenId: Int, tokenDID: String }\n\ninput DeveloperLicenseFilterBy { signer: Address, owner: Address }\n\ntype DeviceDefinition { deviceDefinitionId: String!, legacyId: String, manufacturer: Manufacturer, model: String!, year: Int!, deviceType: String, imageURI: String, attributes: [DeviceDefinitionAttribute!]! }\n\ntype DeviceDefinitionAttribute { name: String!, value: String! }\n\ninput DeviceDefinitionBy @oneOf { id: String! }\n\ninput DeviceDefinitionFilter {\n \"Model filters for device definition that are of the given model. This filter performs a case insensitive match.\"\n model: String\n \"Year filters for device definition that are of the given year.\"\n year: Int\n}\n\ntype Earning { week: Int!, beneficiary: Address!, connectionStreak: Int, streakTokens: BigDecimal!, aftermarketDevice: AftermarketDevice, aftermarketDeviceTokens: BigDecimal!, syntheticDevice: SyntheticDevice, syntheticDeviceTokens: BigDecimal!, vehicle: Vehicle, sentAt: Time! }\n\ntype Manufacturer implements Node { id: ID!, tokenId: Int!, tokenDID: String!, name: String!, owner: Address!, tableId: Int, mintedAt: Time!, aftermarketDevices(first: Int, after: String, last: Int, before: String, filterBy: AftermarketDevicesFilter): AftermarketDeviceConnection!, deviceDefinitions(first: Int, after: String, last: Int, before: String, filterBy: DeviceDefinitionFilter): DeviceDefinitionConnection! }\n\ninput ManufacturerBy @oneOf { name: String, tokenId: Int, slug: String, tokenDID: String }\n\ninterface Node { id: ID! }\n\ntype PageInfo { startCursor: String, endCursor: String, hasPreviousPage: Boolean!, hasNextPage: Boolean! }\n\ntype Privilege { id: Int!, user: Address!, setAt: Time!, expiresAt: Time! }\n\ninput PrivilegeFilterBy { user: Address, privilegeId: Int }\n\ntype RedirectURI { uri: String!, enabledAt: Time! }\n\ntype Sacd { grantee: Address!, permissions: String!, source: String!, createdAt: Time!, expiresAt: Time!, template: Template }\n\ntype Signer { address: Address!, enabledAt: Time! }\n\ntype Stake { tokenId: Int!, tokenDID: String!, owner: Address!, level: Int!, points: Int!, amount: BigDecimal!, stakedAt: Time!, endsAt: Time!, withdrawnAt: Time, vehicle: Vehicle }\n\ninput StakeFilterBy {\n owner: Address\n \"Filter stakes based on attachability. A stake is considered attachable if it is not presently attached to a vehicle and has not yet ended.\"\n attachable: Boolean\n}\n\ntype StorageNode { label: String!, address: Address!, owner: Address!, tokenId: BigInt!, uri: String!, tokenDID: String!, mintedAt: Time! }\n\ntype SyntheticDevice implements Node { id: ID!, name: String!, tokenId: Int!, tokenDID: String!, address: Address!, mintedAt: Time!, vehicle: Vehicle!, connection: Connection! }\n\ninput SyntheticDeviceBy @oneOf {\n tokenId: Int\n tokenDID: String\n \"The Ethereum address for the synthetic device.\"\n address: Address\n}\n\ninput SyntheticDevicesFilter {\n \"Filter for synthetic devices owned by this address.\"\n owner: Address\n integrationId: Int\n}\n\ntype Template { tokenId: BigInt!, creator: Address!, asset: Address!, permissions: String!, cid: String!, createdAt: Time! }\n\ninput TemplateBy { tokenId: BigInt, cid: String }\n\ntype UserRewards { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ntype Vehicle implements Node { id: ID!, tokenId: Int!, tokenDID: String!, manufacturer: Manufacturer!, owner: Address!, mintedAt: Time!, aftermarketDevice: AftermarketDevice, privileges(first: Int, after: String, last: Int, before: String, filterBy: PrivilegeFilterBy): PrivilegesConnection!, sacds(first: Int, after: String, last: Int, before: String): SacdConnection!, sacd(grantee: Address!): Sacd, syntheticDevice: SyntheticDevice, definition: Definition, dcn: DCN, name: String!, imageURI: String!, earnings: VehicleEarnings, dataURI: String!, stake: Stake, storageNode: StorageNode }\n\ntype VehicleEarnings { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ninput VehiclesFilter {\n \"Privileged filters for vehicles to which the given address has access. This includes vehicles that this address owns.\"\n privileged: Address\n \"Owner filters for vehicles that this address owns.\"\n owner: Address\n \"Make filters for vehicles that are of the given make.\"\n make: String\n \"Model filters for vehicles that are of the given model.\"\n model: String\n \"Year filters for vehicles that are of the given year.\"\n year: Int\n \"Filter for vehicles produced by a particular manufacturer, specified by manufacturer token id.\"\n manufacturerTokenId: Int\n deviceDefinitionId: String\n}\n" diff --git a/graph/resolver.go b/graph/resolver.go index f45ec2bc..11ac2b82 100644 --- a/graph/resolver.go +++ b/graph/resolver.go @@ -26,6 +26,7 @@ import ( ) //go:generate go run github.com/99designs/gqlgen generate +//go:generate go run github.com/DIMO-Network/server-garage/cmd/mcpgen -schema ./schema/ -prefix identity -out mcp_tools_gen.go -package graph // This file will not be regenerated automatically. // diff --git a/graph/reward.resolvers.go b/graph/reward.resolvers.go index 80f82dac..1fb9de9d 100644 --- a/graph/reward.resolvers.go +++ b/graph/reward.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/schema.resolvers.go b/graph/schema.resolvers.go index ab823d5b..cc892f81 100644 --- a/graph/schema.resolvers.go +++ b/graph/schema.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/schema/aftermarket.graphqls b/graph/schema/aftermarket.graphqls index f17301d9..b8f8274f 100644 --- a/graph/schema/aftermarket.graphqls +++ b/graph/schema/aftermarket.graphqls @@ -5,6 +5,8 @@ extend type Query { View a particular aftermarket device. """ aftermarketDevice(by: AftermarketDeviceBy!): AftermarketDevice + @mcpTool(name: "get_aftermarket_device", description: "Look up an aftermarket device by serial, token ID, address, IMEI, or devEUI. Returns device info with manufacturer and paired vehicle.", selection: "tokenId owner serial manufacturer { name } vehicle { tokenId definition { make model year } }") + @mcpExample(description: "Get aftermarket device by serial", query: "{ aftermarketDevice(by: { serial: \"abc-123\" }) { tokenId owner serial manufacturer { name } vehicle { tokenId definition { make model year } } earnings { totalTokens } } }") """ List aftermarket devices. diff --git a/graph/schema/directives.graphqls b/graph/schema/directives.graphqls new file mode 100644 index 00000000..6dad6216 --- /dev/null +++ b/graph/schema/directives.graphqls @@ -0,0 +1,3 @@ +directive @mcpTool(name: String!, description: String!, selection: String!, readOnly: Boolean = true) on FIELD_DEFINITION +directive @mcpExample(description: String!, query: String!) repeatable on FIELD_DEFINITION +directive @mcpHide on FIELD_DEFINITION diff --git a/graph/schema/vehicle.graphqls b/graph/schema/vehicle.graphqls index cd9febe2..adcb76ac 100644 --- a/graph/schema/vehicle.graphqls +++ b/graph/schema/vehicle.graphqls @@ -14,6 +14,10 @@ extend type Query { """ tokenDID: String ): Vehicle + @mcpTool(name: "get_vehicle", description: "Look up a vehicle. Provide exactly one of tokenId (integer) or tokenDID (string). Returns owner, mint time, definition, and connected devices.", selection: "tokenId name owner mintedAt definition { make model year } aftermarketDevice { serial } syntheticDevice { tokenId }") + @mcpExample(description: "Get vehicle by tokenId", query: "{ vehicle(tokenId: 123) { tokenId name owner definition { make model year } aftermarketDevice { serial } syntheticDevice { tokenId } dcn { name } stake { level amount } } }") + @mcpExample(description: "Get vehicle SACDs (permission grants)", query: "{ vehicle(tokenId: 123) { sacds { nodes { grantee permissions expiresAt template { cid } } } } }") + @mcpExample(description: "Get vehicle privileges", query: "{ vehicle(tokenId: 123) { privileges(filterBy: { user: \"0x...\" }) { nodes { id user setAt expiresAt } } } }") """ List minted vehicles. @@ -44,6 +48,9 @@ extend type Query { """ filterBy: VehiclesFilter ): VehicleConnection! + @mcpTool(name: "list_vehicles", description: "List vehicles with optional filters for owner, make, model, year. Returns paginated results.", selection: "totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor }") + @mcpExample(description: "List vehicles by owner", query: "{ vehicles(first: 20, filterBy: { owner: \"0x...\" }) { totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor } } }") + @mcpExample(description: "List vehicles user has access to (via privileges or SACDs)", query: "{ vehicles(first: 100, filterBy: { privileged: \"0x...\" }) { nodes { tokenId name owner } } }") } """ diff --git a/graph/stakes.resolvers.go b/graph/stakes.resolvers.go index d4384a08..81be1880 100644 --- a/graph/stakes.resolvers.go +++ b/graph/stakes.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/synthetic.resolvers.go b/graph/synthetic.resolvers.go index 540f4ccf..0523be52 100644 --- a/graph/synthetic.resolvers.go +++ b/graph/synthetic.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/template.resolvers.go b/graph/template.resolvers.go index f943dff6..b072268a 100644 --- a/graph/template.resolvers.go +++ b/graph/template.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/user.resolvers.go b/graph/user.resolvers.go index 481f1093..943bc109 100644 --- a/graph/user.resolvers.go +++ b/graph/user.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" diff --git a/graph/vehicle.resolvers.go b/graph/vehicle.resolvers.go index 5c08bfa0..45dc93d6 100644 --- a/graph/vehicle.resolvers.go +++ b/graph/vehicle.resolvers.go @@ -3,7 +3,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.86 +// Code generated by github.com/99designs/gqlgen version v0.17.89 import ( "context" From 6b33c0dee6a124b3093ccc56c4faa56a00954344 Mon Sep 17 00:00:00 2001 From: zer0stars <74260741+zer0stars@users.noreply.github.com> Date: Mon, 20 Apr 2026 12:59:02 -0400 Subject: [PATCH 2/3] chore(mcp): adopt server-garage mcpserver.New() signature change + condensed schema trim - Drop context.Background() arg from New() call - Regen condensed schema via updated mcpgen (stronger self-evident filter, legend-fold) - Remove redundant @mcpExample on vehicles(owner:...) --- .gitignore | 1 + cmd/identity-api/main.go | 2 +- graph/mcp_tools_gen.go | 2 +- graph/schema/vehicle.graphqls | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c95519af..d3197a5e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ settings.yaml # Desktop Service Store (macOS) .DS_Store +CLAUDE.md diff --git a/cmd/identity-api/main.go b/cmd/identity-api/main.go index 6d627bfd..b792e5ae 100644 --- a/cmd/identity-api/main.go +++ b/cmd/identity-api/main.go @@ -78,7 +78,7 @@ func main() { srv := loader.Middleware(dbs, s, settings, &repoLogger) - mcpHandler, err := mcpserver.New(context.Background(), mcpserver.NewGQLGenExecutor(es), "DIMO Identity", "0.1.0", "identity", + mcpHandler, err := mcpserver.New(mcpserver.NewGQLGenExecutor(es), "DIMO Identity", "0.1.0", "identity", mcpserver.WithTools(graph.MCPTools), mcpserver.WithCondensedSchema(graph.CondensedSchema), ) diff --git a/graph/mcp_tools_gen.go b/graph/mcp_tools_gen.go index 8e2da813..30c76168 100644 --- a/graph/mcp_tools_gen.go +++ b/graph/mcp_tools_gen.go @@ -58,4 +58,4 @@ var MCPTools = []mcpserver.ToolDefinition{ }, } -var CondensedSchema = "scalar Address # A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix.\nscalar BigDecimal # BigDecimal decimal floating-point number, per the General Decimal Arithmetic specification.\nscalar BigInt # An integer of arbitrary precision, decimal-encoded. Typically a uint256.\nscalar Bytes # An array of byte, encoded as a lowercase hex string with 0x prefix.\nscalar Time # A point in time, encoded per RFC-3999. Typically these will be in second precision, just like the blockchain, and in UTC.\n\n# All tokenDID fields use the format did:erc721:::\n# All *Edge types: { node: T!, cursor: String! }\n# All *Connection types: { totalCount: Int!, edges: [TEdge!]!, nodes: [T!]!, pageInfo: PageInfo! }\n\ntype Query {\n \"View a particular node.\"\n node(\n \"The ID of the node.\"\n id: ID!\n ): Node\n\n \"View a particular aftermarket device.\"\n aftermarketDevice(by: AftermarketDeviceBy!): AftermarketDevice\n # Example - Get aftermarket device by serial:\n # { aftermarketDevice(by: { serial: \"abc-123\" }) { tokenId owner serial manufacturer { name } vehicle { tokenId definition { make model year } } earnings { totalTokens } } }\n\n \"List aftermarket devices. Ordered by token id, descending.\"\n aftermarketDevices(first: Int, after: String, last: Int, before: String, filterBy: AftermarketDevicesFilter): AftermarketDeviceConnection!\n\n \"List connection licenses. Sorts by minting time, descending.\"\n connections(first: Int, after: String, last: Int, before: String): ConnectionConnection!\n\n \"Retrieve a particular connection.\"\n connection(by: ConnectionBy!): Connection\n\n \"View a particular DIMO Canonical Name.\"\n dcn(by: DCNBy!): DCN\n\n \"List DIMO Canonical Names.\"\n dcns(\n first: Int\n after: String\n last: Int\n before: String\n \"Filters the DCNs based on the specified criteria.\"\n filterBy: DCNFilter\n ): DCNConnection!\n\n \"List developer licenses. Sorts by token id, descending.\"\n developerLicenses(first: Int, after: String, last: Int, before: String, filterBy: DeveloperLicenseFilterBy): DeveloperLicenseConnection!\n\n \"Retrieve a particular developer license.\"\n developerLicense(by: DeveloperLicenseBy!): DeveloperLicense\n\n \"View a particular device definition.\"\n deviceDefinition(\n \"criteria to search for a device definition\"\n by: DeviceDefinitionBy!\n ): DeviceDefinition\n\n \"View a particular manufacturer.\"\n manufacturer(\n \"criteria to search for a manufacturer\"\n by: ManufacturerBy!\n ): Manufacturer\n\n \"List minted manufacturers. These are always ordered by Name in ascending order. Returns all of them\"\n manufacturers: ManufacturerConnection!\n\n \"List rewards for a user.\"\n rewards(\n \"The address of the user.\"\n user: Address!\n ): UserRewards\n\n \"List developer licenses. Sorts by token id, descending.\"\n stakes(first: Int, after: String, last: Int, before: String, filterBy: StakeFilterBy): StakeConnection\n\n \"View a particular synthetic device.\"\n syntheticDevice(by: SyntheticDeviceBy!): SyntheticDevice\n\n \"List synthetic devices. Ordered by token id, descending.\"\n syntheticDevices(\n first: Int\n last: Int\n after: String\n before: String\n \"Filter synthetic devices by the given criteria.\"\n filterBy: SyntheticDevicesFilter\n ): SyntheticDeviceConnection!\n\n \"Retrieve a particular template.\"\n template(by: TemplateBy!): Template\n\n \"List templates. Sorts by minting time, descending.\"\n templates(first: Int, after: String, last: Int, before: String): TemplateConnection!\n\n \"Retrieves information about an account. Right now, this is mainly to show SACDs for user information.\"\n account(by: AccountBy!): Account\n\n \"View a particular vehicle.\"\n vehicle(\n \"The token ID of the vehicle.\"\n tokenId: Int\n \"The DID of the vehicle.\"\n tokenDID: String\n ): Vehicle\n # Example - Get vehicle by tokenId:\n # { vehicle(tokenId: 123) { tokenId name owner definition { make model year } aftermarketDevice { serial } syntheticDevice { tokenId } dcn { name } stake { level amount } } }\n # Example - Get vehicle SACDs (permission grants):\n # { vehicle(tokenId: 123) { sacds { nodes { grantee permissions expiresAt template { cid } } } } }\n # Example - Get vehicle privileges:\n # { vehicle(tokenId: 123) { privileges(filterBy: { user: \"0x...\" }) { nodes { id user setAt expiresAt } } } }\n\n \"List minted vehicles. For now, these are always ordered by token ID in descending order.\"\n vehicles(\n first: Int\n after: String\n last: Int\n before: String\n \"Filter the vehicles based on specific criteria.\"\n filterBy: VehiclesFilter\n ): VehicleConnection!\n # Example - List vehicles by owner:\n # { vehicles(first: 20, filterBy: { owner: \"0x...\" }) { totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor } } }\n # Example - List vehicles user has access to (via privileges or SACDs):\n # { vehicles(first: 100, filterBy: { privileged: \"0x...\" }) { nodes { tokenId name owner } } }\n}\n\ntype Account { address: Address!, sacds(first: Int, after: String, last: Int, before: String): SacdConnection! }\n\ninput AccountBy @oneOf { address: Address }\n\ntype AftermarketDevice implements Node { id: ID!, tokenId: Int!, tokenDID: String!, manufacturer: Manufacturer!, address: Address!, owner: Address!, serial: String, imei: String, devEUI: String, hardwareRevision: String, mintedAt: Time!, claimedAt: Time, vehicle: Vehicle, beneficiary: Address!, name: String!, image: String!, earnings: AftermarketDeviceEarnings, pairedAt: Time }\n\ninput AftermarketDeviceBy @oneOf {\n \"token id of the aftermarket device NFT\"\n tokenId: Int\n tokenDID: String\n address: Address\n \"serial number of the aftermarket device\"\n serial: String\n \"The International Mobile Equipment Identity (IMEI) for the device if available\"\n imei: String\n \"Extended Unique Identifier (EUI) for LoRa devices if available\"\n devEUI: String\n}\n\ntype AftermarketDeviceEarnings { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ninput AftermarketDevicesFilter {\n \"Filter for aftermarket devices owned by this address.\"\n owner: Address\n beneficiary: Address\n manufacturerId: Int\n}\n\ntype Connection { name: String!, address: Address!, owner: Address!, tokenId: BigInt!, tokenDID: String!, mintedAt: Time! }\n\ninput ConnectionBy { name: String, address: Address, tokenId: BigInt, tokenDID: String }\n\ntype DCN implements Node { id: ID!, node: Bytes!, tokenId: BigInt!, tokenDID: String!, owner: Address!, expiresAt: Time, mintedAt: Time!, name: String, vehicle: Vehicle }\n\ninput DCNBy @oneOf { node: Bytes, tokenDID: String, name: String }\n\ninput DCNFilter {\n \"Filter for DCN owned by this address.\"\n owner: Address\n}\n\ntype Definition { id: String, make: String, model: String, year: Int }\n\ntype DeveloperLicense { tokenId: Int!, tokenDID: String!, owner: Address!, clientId: Address!, alias: String, mintedAt: Time!, signers(first: Int, after: String, last: Int, before: String): SignerConnection!, redirectURIs(first: Int, after: String, last: Int, before: String): RedirectURIConnection! }\n\ninput DeveloperLicenseBy { clientId: Address, alias: String, tokenId: Int, tokenDID: String }\n\ninput DeveloperLicenseFilterBy { signer: Address, owner: Address }\n\ntype DeviceDefinition { deviceDefinitionId: String!, legacyId: String, manufacturer: Manufacturer, model: String!, year: Int!, deviceType: String, imageURI: String, attributes: [DeviceDefinitionAttribute!]! }\n\ntype DeviceDefinitionAttribute { name: String!, value: String! }\n\ninput DeviceDefinitionBy @oneOf { id: String! }\n\ninput DeviceDefinitionFilter {\n \"Model filters for device definition that are of the given model. This filter performs a case insensitive match.\"\n model: String\n \"Year filters for device definition that are of the given year.\"\n year: Int\n}\n\ntype Earning { week: Int!, beneficiary: Address!, connectionStreak: Int, streakTokens: BigDecimal!, aftermarketDevice: AftermarketDevice, aftermarketDeviceTokens: BigDecimal!, syntheticDevice: SyntheticDevice, syntheticDeviceTokens: BigDecimal!, vehicle: Vehicle, sentAt: Time! }\n\ntype Manufacturer implements Node { id: ID!, tokenId: Int!, tokenDID: String!, name: String!, owner: Address!, tableId: Int, mintedAt: Time!, aftermarketDevices(first: Int, after: String, last: Int, before: String, filterBy: AftermarketDevicesFilter): AftermarketDeviceConnection!, deviceDefinitions(first: Int, after: String, last: Int, before: String, filterBy: DeviceDefinitionFilter): DeviceDefinitionConnection! }\n\ninput ManufacturerBy @oneOf { name: String, tokenId: Int, slug: String, tokenDID: String }\n\ninterface Node { id: ID! }\n\ntype PageInfo { startCursor: String, endCursor: String, hasPreviousPage: Boolean!, hasNextPage: Boolean! }\n\ntype Privilege { id: Int!, user: Address!, setAt: Time!, expiresAt: Time! }\n\ninput PrivilegeFilterBy { user: Address, privilegeId: Int }\n\ntype RedirectURI { uri: String!, enabledAt: Time! }\n\ntype Sacd { grantee: Address!, permissions: String!, source: String!, createdAt: Time!, expiresAt: Time!, template: Template }\n\ntype Signer { address: Address!, enabledAt: Time! }\n\ntype Stake { tokenId: Int!, tokenDID: String!, owner: Address!, level: Int!, points: Int!, amount: BigDecimal!, stakedAt: Time!, endsAt: Time!, withdrawnAt: Time, vehicle: Vehicle }\n\ninput StakeFilterBy {\n owner: Address\n \"Filter stakes based on attachability. A stake is considered attachable if it is not presently attached to a vehicle and has not yet ended.\"\n attachable: Boolean\n}\n\ntype StorageNode { label: String!, address: Address!, owner: Address!, tokenId: BigInt!, uri: String!, tokenDID: String!, mintedAt: Time! }\n\ntype SyntheticDevice implements Node { id: ID!, name: String!, tokenId: Int!, tokenDID: String!, address: Address!, mintedAt: Time!, vehicle: Vehicle!, connection: Connection! }\n\ninput SyntheticDeviceBy @oneOf {\n tokenId: Int\n tokenDID: String\n \"The Ethereum address for the synthetic device.\"\n address: Address\n}\n\ninput SyntheticDevicesFilter {\n \"Filter for synthetic devices owned by this address.\"\n owner: Address\n integrationId: Int\n}\n\ntype Template { tokenId: BigInt!, creator: Address!, asset: Address!, permissions: String!, cid: String!, createdAt: Time! }\n\ninput TemplateBy { tokenId: BigInt, cid: String }\n\ntype UserRewards { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ntype Vehicle implements Node { id: ID!, tokenId: Int!, tokenDID: String!, manufacturer: Manufacturer!, owner: Address!, mintedAt: Time!, aftermarketDevice: AftermarketDevice, privileges(first: Int, after: String, last: Int, before: String, filterBy: PrivilegeFilterBy): PrivilegesConnection!, sacds(first: Int, after: String, last: Int, before: String): SacdConnection!, sacd(grantee: Address!): Sacd, syntheticDevice: SyntheticDevice, definition: Definition, dcn: DCN, name: String!, imageURI: String!, earnings: VehicleEarnings, dataURI: String!, stake: Stake, storageNode: StorageNode }\n\ntype VehicleEarnings { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ninput VehiclesFilter {\n \"Privileged filters for vehicles to which the given address has access. This includes vehicles that this address owns.\"\n privileged: Address\n \"Owner filters for vehicles that this address owns.\"\n owner: Address\n \"Make filters for vehicles that are of the given make.\"\n make: String\n \"Model filters for vehicles that are of the given model.\"\n model: String\n \"Year filters for vehicles that are of the given year.\"\n year: Int\n \"Filter for vehicles produced by a particular manufacturer, specified by manufacturer token id.\"\n manufacturerTokenId: Int\n deviceDefinitionId: String\n}\n" +var CondensedSchema = "scalar Address # A 20-byte Ethereum address, encoded as a checksummed hex string with 0x prefix.\nscalar BigDecimal # BigDecimal decimal floating-point number, per the General Decimal Arithmetic specification.\nscalar BigInt # An integer of arbitrary precision, decimal-encoded.\nscalar Bytes # An array of byte, encoded as a lowercase hex string with 0x prefix.\nscalar Time # A point in time, encoded per RFC-3999.\n\n# All tokenDID fields use the format did:erc721:::\n# All *Edge types: { node: T!, cursor: String! }\n# All *Connection types: { totalCount: Int!, edges: [TEdge!]!, nodes: [T!]!, pageInfo: PageInfo! }\n\ntype Query {\n node(id: ID!): Node\n aftermarketDevice(by: AftermarketDeviceBy!): AftermarketDevice\n # Example - Get aftermarket device by serial:\n # { aftermarketDevice(by: { serial: \"abc-123\" }) { tokenId owner serial manufacturer { name } vehicle { tokenId definition { make model year } } earnings { totalTokens } } }\n\n aftermarketDevices(first: Int, after: String, last: Int, before: String, filterBy: AftermarketDevicesFilter): AftermarketDeviceConnection!\n connections(first: Int, after: String, last: Int, before: String): ConnectionConnection!\n connection(by: ConnectionBy!): Connection\n dcn(by: DCNBy!): DCN\n dcns(first: Int, after: String, last: Int, before: String, filterBy: DCNFilter): DCNConnection!\n developerLicenses(first: Int, after: String, last: Int, before: String, filterBy: DeveloperLicenseFilterBy): DeveloperLicenseConnection!\n developerLicense(by: DeveloperLicenseBy!): DeveloperLicense\n deviceDefinition(by: DeviceDefinitionBy!): DeviceDefinition\n manufacturer(by: ManufacturerBy!): Manufacturer\n manufacturers: ManufacturerConnection!\n rewards(user: Address!): UserRewards\n stakes(first: Int, after: String, last: Int, before: String, filterBy: StakeFilterBy): StakeConnection\n syntheticDevice(by: SyntheticDeviceBy!): SyntheticDevice\n syntheticDevices(first: Int, last: Int, after: String, before: String, filterBy: SyntheticDevicesFilter): SyntheticDeviceConnection!\n template(by: TemplateBy!): Template\n templates(first: Int, after: String, last: Int, before: String): TemplateConnection!\n account(by: AccountBy!): Account\n vehicle(tokenId: Int, tokenDID: String): Vehicle\n # Example - Get vehicle by tokenId:\n # { vehicle(tokenId: 123) { tokenId name owner definition { make model year } aftermarketDevice { serial } syntheticDevice { tokenId } dcn { name } stake { level amount } } }\n # Example - Get vehicle SACDs (permission grants):\n # { vehicle(tokenId: 123) { sacds { nodes { grantee permissions expiresAt template { cid } } } } }\n # Example - Get vehicle privileges:\n # { vehicle(tokenId: 123) { privileges(filterBy: { user: \"0x...\" }) { nodes { id user setAt expiresAt } } } }\n\n vehicles(first: Int, after: String, last: Int, before: String, filterBy: VehiclesFilter): VehicleConnection!\n # Example - List vehicles user has access to (via privileges or SACDs):\n # { vehicles(first: 100, filterBy: { privileged: \"0x...\" }) { nodes { tokenId name owner } } }\n}\n\ntype Account { address: Address!, sacds(first: Int, after: String, last: Int, before: String): SacdConnection! }\n\ninput AccountBy @oneOf { address: Address }\n\ntype AftermarketDevice implements Node { id: ID!, tokenId: Int!, tokenDID: String!, manufacturer: Manufacturer!, address: Address!, owner: Address!, serial: String, imei: String, devEUI: String, hardwareRevision: String, mintedAt: Time!, claimedAt: Time, vehicle: Vehicle, beneficiary: Address!, name: String!, image: String!, earnings: AftermarketDeviceEarnings, pairedAt: Time }\n\ninput AftermarketDeviceBy @oneOf {\n \"token id of the aftermarket device NFT\"\n tokenId: Int\n tokenDID: String\n address: Address\n \"serial number of the aftermarket device\"\n serial: String\n \"The International Mobile Equipment Identity (IMEI) for the device if available\"\n imei: String\n \"Extended Unique Identifier (EUI) for LoRa devices if available\"\n devEUI: String\n}\n\ntype AftermarketDeviceEarnings { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ninput AftermarketDevicesFilter { owner: Address, beneficiary: Address, manufacturerId: Int }\n\ntype Connection { name: String!, address: Address!, owner: Address!, tokenId: BigInt!, tokenDID: String!, mintedAt: Time! }\n\ninput ConnectionBy { name: String, address: Address, tokenId: BigInt, tokenDID: String }\n\ntype DCN implements Node { id: ID!, node: Bytes!, tokenId: BigInt!, tokenDID: String!, owner: Address!, expiresAt: Time, mintedAt: Time!, name: String, vehicle: Vehicle }\n\ninput DCNBy @oneOf { node: Bytes, tokenDID: String, name: String }\n\ninput DCNFilter { owner: Address }\n\ntype Definition { id: String, make: String, model: String, year: Int }\n\ntype DeveloperLicense { tokenId: Int!, tokenDID: String!, owner: Address!, clientId: Address!, alias: String, mintedAt: Time!, signers(first: Int, after: String, last: Int, before: String): SignerConnection!, redirectURIs(first: Int, after: String, last: Int, before: String): RedirectURIConnection! }\n\ninput DeveloperLicenseBy { clientId: Address, alias: String, tokenId: Int, tokenDID: String }\n\ninput DeveloperLicenseFilterBy { signer: Address, owner: Address }\n\ntype DeviceDefinition { deviceDefinitionId: String!, legacyId: String, manufacturer: Manufacturer, model: String!, year: Int!, deviceType: String, imageURI: String, attributes: [DeviceDefinitionAttribute!]! }\n\ntype DeviceDefinitionAttribute { name: String!, value: String! }\n\ninput DeviceDefinitionBy @oneOf { id: String! }\n\ninput DeviceDefinitionFilter {\n \"Model filters for device definition that are of the given model. This filter performs a case insensitive match.\"\n model: String\n \"Year filters for device definition that are of the given year.\"\n year: Int\n}\n\ntype Earning { week: Int!, beneficiary: Address!, connectionStreak: Int, streakTokens: BigDecimal!, aftermarketDevice: AftermarketDevice, aftermarketDeviceTokens: BigDecimal!, syntheticDevice: SyntheticDevice, syntheticDeviceTokens: BigDecimal!, vehicle: Vehicle, sentAt: Time! }\n\ntype Manufacturer implements Node { id: ID!, tokenId: Int!, tokenDID: String!, name: String!, owner: Address!, tableId: Int, mintedAt: Time!, aftermarketDevices(first: Int, after: String, last: Int, before: String, filterBy: AftermarketDevicesFilter): AftermarketDeviceConnection!, deviceDefinitions(first: Int, after: String, last: Int, before: String, filterBy: DeviceDefinitionFilter): DeviceDefinitionConnection! }\n\ninput ManufacturerBy @oneOf { name: String, tokenId: Int, slug: String, tokenDID: String }\n\ninterface Node { id: ID! }\n\ntype PageInfo { startCursor: String, endCursor: String, hasPreviousPage: Boolean!, hasNextPage: Boolean! }\n\ntype Privilege { id: Int!, user: Address!, setAt: Time!, expiresAt: Time! }\n\ninput PrivilegeFilterBy { user: Address, privilegeId: Int }\n\ntype RedirectURI { uri: String!, enabledAt: Time! }\n\ntype Sacd { grantee: Address!, permissions: String!, source: String!, createdAt: Time!, expiresAt: Time!, template: Template }\n\ntype Signer { address: Address!, enabledAt: Time! }\n\ntype Stake { tokenId: Int!, tokenDID: String!, owner: Address!, level: Int!, points: Int!, amount: BigDecimal!, stakedAt: Time!, endsAt: Time!, withdrawnAt: Time, vehicle: Vehicle }\n\ninput StakeFilterBy {\n owner: Address\n \"Filter stakes based on attachability. A stake is considered attachable if it is not presently attached to a vehicle and has not yet ended.\"\n attachable: Boolean\n}\n\ntype StorageNode { label: String!, address: Address!, owner: Address!, tokenId: BigInt!, uri: String!, tokenDID: String!, mintedAt: Time! }\n\ntype SyntheticDevice implements Node { id: ID!, name: String!, tokenId: Int!, tokenDID: String!, address: Address!, mintedAt: Time!, vehicle: Vehicle!, connection: Connection! }\n\ninput SyntheticDeviceBy @oneOf {\n tokenId: Int\n tokenDID: String\n \"The Ethereum address for the synthetic device.\"\n address: Address\n}\n\ninput SyntheticDevicesFilter { owner: Address, integrationId: Int }\n\ntype Template { tokenId: BigInt!, creator: Address!, asset: Address!, permissions: String!, cid: String!, createdAt: Time! }\n\ninput TemplateBy { tokenId: BigInt, cid: String }\n\ntype UserRewards { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ntype Vehicle implements Node { id: ID!, tokenId: Int!, tokenDID: String!, manufacturer: Manufacturer!, owner: Address!, mintedAt: Time!, aftermarketDevice: AftermarketDevice, privileges(first: Int, after: String, last: Int, before: String, filterBy: PrivilegeFilterBy): PrivilegesConnection!, sacds(first: Int, after: String, last: Int, before: String): SacdConnection!, sacd(grantee: Address!): Sacd, syntheticDevice: SyntheticDevice, definition: Definition, dcn: DCN, name: String!, imageURI: String!, earnings: VehicleEarnings, dataURI: String!, stake: Stake, storageNode: StorageNode }\n\ntype VehicleEarnings { totalTokens: BigDecimal!, history(first: Int, after: String, last: Int, before: String): EarningsConnection! }\n\ninput VehiclesFilter {\n \"Privileged filters for vehicles to which the given address has access. This includes vehicles that this address owns.\"\n privileged: Address\n owner: Address\n \"Make filters for vehicles that are of the given make.\"\n make: String\n \"Model filters for vehicles that are of the given model.\"\n model: String\n \"Year filters for vehicles that are of the given year.\"\n year: Int\n \"Filter for vehicles produced by a particular manufacturer, specified by manufacturer token id.\"\n manufacturerTokenId: Int\n deviceDefinitionId: String\n}\n" diff --git a/graph/schema/vehicle.graphqls b/graph/schema/vehicle.graphqls index adcb76ac..f65b5a0c 100644 --- a/graph/schema/vehicle.graphqls +++ b/graph/schema/vehicle.graphqls @@ -49,7 +49,6 @@ extend type Query { filterBy: VehiclesFilter ): VehicleConnection! @mcpTool(name: "list_vehicles", description: "List vehicles with optional filters for owner, make, model, year. Returns paginated results.", selection: "totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor }") - @mcpExample(description: "List vehicles by owner", query: "{ vehicles(first: 20, filterBy: { owner: \"0x...\" }) { totalCount nodes { tokenId name definition { make model year } } pageInfo { hasNextPage endCursor } } }") @mcpExample(description: "List vehicles user has access to (via privileges or SACDs)", query: "{ vehicles(first: 100, filterBy: { privileged: \"0x...\" }) { nodes { tokenId name owner } } }") } From e3d731718041d243b2a23b3a13c2bf3da860d0c7 Mon Sep 17 00:00:00 2001 From: zer0stars <74260741+zer0stars@users.noreply.github.com> Date: Mon, 20 Apr 2026 13:08:40 -0400 Subject: [PATCH 3/3] chore(deps): bump server-garage to v0.1.0 --- go.mod | 4 +--- go.sum | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e7d39102..eeae9164 100644 --- a/go.mod +++ b/go.mod @@ -150,7 +150,7 @@ require ( ) require ( - github.com/DIMO-Network/server-garage v0.0.4 + github.com/DIMO-Network/server-garage v0.1.0 github.com/modelcontextprotocol/go-sdk v1.4.1 ) @@ -176,5 +176,3 @@ require ( tool github.com/DIMO-Network/eventgen replace github.com/ericlagergren/decimal => github.com/ericlagergren/decimal v0.0.0-20190420051523-6335edbaa640 - -replace github.com/DIMO-Network/server-garage => /Users/zer0stars/workspace/server-garage diff --git a/go.sum b/go.sum index 891cceeb..55dfdb8c 100644 --- a/go.sum +++ b/go.sum @@ -14,6 +14,8 @@ github.com/DIMO-Network/eventgen v0.2.1 h1:yvd7nLTqKAls2TJjFwxIJlVK4E8juWGcLdZaC github.com/DIMO-Network/eventgen v0.2.1/go.mod h1:yRoCDbRRU8n/eR/C339O1UXpBeN+7lF27et0LHwoU5s= github.com/DIMO-Network/mnemonic v0.0.0-20240611180925-eecaa65be2b9 h1:gzD4pkrKRhjP+KeGjnMLG+D1Py6bVNt3s6BSgB4D/c4= github.com/DIMO-Network/mnemonic v0.0.0-20240611180925-eecaa65be2b9/go.mod h1:CTxZYuVPhvEJgDL665oqZClsxB8TtVHQ7qNwpJfqTxk= +github.com/DIMO-Network/server-garage v0.1.0 h1:AglbxOj0duQz/4Et2eSh+pPEq3qOfInREBycIJEBOTs= +github.com/DIMO-Network/server-garage v0.1.0/go.mod h1:Z3A1KDUsXey+XhrPhmw/wyCidfrQvmEdWp7nShno7ZM= github.com/DIMO-Network/shared v1.1.5 h1:cRI3BbeYOgolMkeBOSqbDVGxymnDfeP/q7xgIXJ5MkY= github.com/DIMO-Network/shared v1.1.5/go.mod h1:lDHUKwwT2LW6Zvd42Nb33dXklRNTmfyOlbUNx2dQfGY= github.com/DIMO-Network/yaml v0.1.0 h1:KQ3oKHUZETchR6Pxbmmol3e4ewrPv/q8cEwqxfwyZbU=