From 0db5df89bb5204b813e47405bccec1b10e69c0a3 Mon Sep 17 00:00:00 2001 From: bjwswang Date: Mon, 18 Dec 2023 08:19:21 +0000 Subject: [PATCH] refactor: rename graphql-server as apiserver Signed-off-by: bjwswang --- .github/workflows/graphql_sdk_generate.yml | 4 +- Dockerfile | 6 +- Makefile | 18 +- apiserver/README.md | 68 +++ .../go-server => apiserver}/config/config.go | 2 +- .../examples/upload-download-file/README.md | 2 +- .../examples/upload-download-file/main.go | 2 +- .../graph/generated/generated.go | 562 +++++++++--------- .../graph/generated/models_gen.go | 0 .../graph/impl/dataprocessing.resolvers.go | 4 +- .../graph/impl/dataset.resolvers.go | 6 +- .../graph/impl/datasource.resolvers.go | 8 +- .../graph/impl/embedder.resolvers.go | 4 +- .../graph/impl/entrypoint.resolvers.go | 2 +- .../graph/impl/knowledgebase.resolvers.go | 4 +- .../knowledgebase_application.resolvers.go | 4 +- .../graph/impl/llm.resolvers.go | 4 +- .../graph/impl/model.resolvers.go | 4 +- .../graph/impl/resolver.go | 4 +- .../graph/impl/versioned_dataset.resolvers.go | 4 +- .../graph/impl/worker.resolvers.go | 4 +- .../graph/schema/dataprocessing.gql | 0 .../graph/schema/dataprocessing.graphqls | 0 .../graph/schema/dataset.gql | 0 .../graph/schema/dataset.graphqls | 0 .../graph/schema/datasource.gql | 0 .../graph/schema/datasource.graphqls | 0 .../graph/schema/embedder.gql | 0 .../graph/schema/embedder.graphqls | 0 .../graph/schema/entrypoint.graphqls | 0 .../graph/schema/knowledgebase.gql | 0 .../graph/schema/knowledgebase.graphqls | 0 .../schema/knowledgebase_application.gql | 0 .../schema/knowledgebase_application.graphqls | 0 .../graph/schema/llm.gql | 0 .../graph/schema/llm.graphqls | 0 .../graph/schema/model.gql | 0 .../graph/schema/model.graphqls | 0 .../graph/schema/versioned_dataset.gql | 0 .../graph/schema/versioned_dataset.graphqls | 0 .../graph/schema/worker.gql | 0 .../graph/schema/worker.graphqls | 0 .../go-server => apiserver}/main.go | 6 +- .../application/knowledgebaseapplication.go | 6 +- .../go-server => apiserver}/pkg/auth/auth.go | 2 +- .../go-server => apiserver}/pkg/chat/chat.go | 4 +- .../pkg/chat/chat_type.go | 0 .../pkg/client/client.go | 2 +- .../pkg/common/common.go | 2 +- .../pkg/common/endpoint.go | 2 +- .../pkg/common/file_chunk.go | 0 .../pkg/common/read_csv.go | 0 .../pkg/common/read_csv_test.go | 0 .../pkg/common/schema.go | 0 .../pkg/dataprocessing/dataprocessing.go | 2 +- .../pkg/dataset/dataset.go | 6 +- .../pkg/datasource/datasource.go | 6 +- .../pkg/embedder/embedder.go | 6 +- .../pkg/knowledgebase/knowledgebase.go | 4 +- .../go-server => apiserver}/pkg/llm/llm.go | 6 +- .../pkg/model/model.go | 8 +- .../go-server => apiserver}/pkg/oidc/auth.go | 0 .../go-server => apiserver}/pkg/oidc/oidc.go | 0 .../pkg/utils/structured.go | 0 .../pkg/utils/structured_test.go | 0 .../pkg/versioneddataset/versioned_dataset.go | 6 +- .../pkg/worker/worker.go | 10 +- .../go-server => apiserver}/service/chat.go | 4 +- .../service/graph_api_server.go | 12 +- .../service/minio_server.go | 10 +- .../go-server => apiserver}/service/router.go | 4 +- cmd/arctl/main.go | 2 +- deploy/charts/arcadia/Chart.yaml | 2 +- .../charts/arcadia/templates/apiserver.yaml | 4 +- deploy/charts/arcadia/templates/config.yaml | 4 +- .../charts/arcadia/templates/dataprocess.yaml | 12 + .../arcadia/templates/ingress-apiserver.yaml | 2 + .../arcadia/templates/ingress-fastchat.yaml | 34 ++ deploy/charts/arcadia/values.yaml | 57 +- .../chat_app_english_teacher.py | 2 +- .../chat_using_private_knowledgebase.py | 2 +- gqlgen.yaml | 8 +- graphql-server/go-server/README.md | 100 ---- pkg/arctl/datasource.go | 4 +- 84 files changed, 536 insertions(+), 521 deletions(-) create mode 100644 apiserver/README.md rename {graphql-server/go-server => apiserver}/config/config.go (96%) rename {graphql-server/go-server => apiserver}/examples/upload-download-file/README.md (99%) rename {graphql-server/go-server => apiserver}/examples/upload-download-file/main.go (99%) rename {graphql-server/go-server => apiserver}/graph/generated/generated.go (96%) rename {graphql-server/go-server => apiserver}/graph/generated/models_gen.go (100%) rename {graphql-server/go-server => apiserver}/graph/impl/dataprocessing.resolvers.go (96%) rename {graphql-server/go-server => apiserver}/graph/impl/dataset.resolvers.go (94%) rename {graphql-server/go-server => apiserver}/graph/impl/datasource.resolvers.go (92%) rename {graphql-server/go-server => apiserver}/graph/impl/embedder.resolvers.go (95%) rename {graphql-server/go-server => apiserver}/graph/impl/entrypoint.resolvers.go (93%) rename {graphql-server/go-server => apiserver}/graph/impl/knowledgebase.resolvers.go (96%) rename {graphql-server/go-server => apiserver}/graph/impl/knowledgebase_application.resolvers.go (96%) rename {graphql-server/go-server => apiserver}/graph/impl/llm.resolvers.go (90%) rename {graphql-server/go-server => apiserver}/graph/impl/model.resolvers.go (95%) rename {graphql-server/go-server => apiserver}/graph/impl/resolver.go (74%) rename {graphql-server/go-server => apiserver}/graph/impl/versioned_dataset.resolvers.go (96%) rename {graphql-server/go-server => apiserver}/graph/impl/worker.resolvers.go (95%) rename {graphql-server/go-server => apiserver}/graph/schema/dataprocessing.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/dataprocessing.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/dataset.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/dataset.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/datasource.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/datasource.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/embedder.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/embedder.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/entrypoint.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/knowledgebase.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/knowledgebase.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/knowledgebase_application.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/knowledgebase_application.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/llm.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/llm.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/model.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/model.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/versioned_dataset.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/versioned_dataset.graphqls (100%) rename {graphql-server/go-server => apiserver}/graph/schema/worker.gql (100%) rename {graphql-server/go-server => apiserver}/graph/schema/worker.graphqls (100%) rename {graphql-server/go-server => apiserver}/main.go (79%) rename {graphql-server/go-server => apiserver}/pkg/application/knowledgebaseapplication.go (98%) rename {graphql-server/go-server => apiserver}/pkg/auth/auth.go (98%) rename {graphql-server/go-server => apiserver}/pkg/chat/chat.go (96%) rename {graphql-server/go-server => apiserver}/pkg/chat/chat_type.go (100%) rename {graphql-server/go-server => apiserver}/pkg/client/client.go (94%) rename {graphql-server/go-server => apiserver}/pkg/common/common.go (97%) rename {graphql-server/go-server => apiserver}/pkg/common/endpoint.go (98%) rename {graphql-server/go-server => apiserver}/pkg/common/file_chunk.go (100%) rename {graphql-server/go-server => apiserver}/pkg/common/read_csv.go (100%) rename {graphql-server/go-server => apiserver}/pkg/common/read_csv_test.go (100%) rename {graphql-server/go-server => apiserver}/pkg/common/schema.go (100%) rename {graphql-server/go-server => apiserver}/pkg/dataprocessing/dataprocessing.go (98%) rename {graphql-server/go-server => apiserver}/pkg/dataset/dataset.go (97%) rename {graphql-server/go-server => apiserver}/pkg/datasource/datasource.go (98%) rename {graphql-server/go-server => apiserver}/pkg/embedder/embedder.go (97%) rename {graphql-server/go-server => apiserver}/pkg/knowledgebase/knowledgebase.go (98%) rename {graphql-server/go-server => apiserver}/pkg/llm/llm.go (95%) rename {graphql-server/go-server => apiserver}/pkg/model/model.go (97%) rename {graphql-server/go-server => apiserver}/pkg/oidc/auth.go (100%) rename {graphql-server/go-server => apiserver}/pkg/oidc/oidc.go (100%) rename {graphql-server/go-server => apiserver}/pkg/utils/structured.go (100%) rename {graphql-server/go-server => apiserver}/pkg/utils/structured_test.go (100%) rename {graphql-server/go-server => apiserver}/pkg/versioneddataset/versioned_dataset.go (98%) rename {graphql-server/go-server => apiserver}/pkg/worker/worker.go (96%) rename {graphql-server/go-server => apiserver}/service/chat.go (92%) rename {graphql-server/go-server => apiserver}/service/graph_api_server.go (82%) rename {graphql-server/go-server => apiserver}/service/minio_server.go (98%) rename {graphql-server/go-server => apiserver}/service/router.go (93%) create mode 100644 deploy/charts/arcadia/templates/ingress-fastchat.yaml delete mode 100644 graphql-server/go-server/README.md diff --git a/.github/workflows/graphql_sdk_generate.yml b/.github/workflows/graphql_sdk_generate.yml index 86582a493..2018c4d28 100644 --- a/.github/workflows/graphql_sdk_generate.yml +++ b/.github/workflows/graphql_sdk_generate.yml @@ -4,7 +4,7 @@ on: push: branches: [main] paths: - - 'graphql-server/go-server/graph/schema/*.gql' + - 'apiserver/graph/schema/*.gql' workflow_dispatch: env: @@ -38,4 +38,4 @@ jobs: run: | kubectl port-forward svc/arcadia-apiserver -n arcadia 8888:8081 --address 0.0.0.0 >/dev/null 2>&1 & export GRAPH_API_ENDPOINT="http://0.0.0.0:8888/bff" - make gql-sdk-generator + make bff-sdk-generator diff --git a/Dockerfile b/Dockerfile index 4b31a10da..b17ea73c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,17 +15,17 @@ COPY main.go main.go COPY api/ api/ COPY controllers/ controllers/ COPY pkg/ pkg/ -COPY graphql-server/ graphql-server/ +COPY apiserver/ apiserver/ # Build RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o graphql-server-bin graphql-server/go-server/main.go +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o apiserver-bin apiserver/main.go # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details FROM gcr.io/distroless/static:nonroot WORKDIR / COPY --from=builder /workspace/manager . -COPY --from=builder /workspace/graphql-server-bin ./graphql-server +COPY --from=builder /workspace/apiserver-bin ./apiserver USER 65532:65532 ENTRYPOINT ["/manager"] diff --git a/Makefile b/Makefile index f621e5618..8c7f3d249 100644 --- a/Makefile +++ b/Makefile @@ -252,25 +252,25 @@ unkind: ## Uninstall a kind cluster. arctl: fmt vet ## Build manager binary. go build -o bin/arctl cmd/arctl/main.go -# graphql-server go +# apiserver go gql-gen: @go run github.com/99designs/gqlgen@v0.17.40 generate -build-graphql-server: gql-gen - @CGO_ENABLED=0 GOOS=linux go build -o bin/graphql-server graphql-server/go-server/main.go -run-graphql-server: - POD_NAMESPACE=arcadia go run graphql-server/go-server/main.go --enable-playground=true & +build-apiserver: gql-gen + @CGO_ENABLED=0 GOOS=linux go build -o bin/apiserver apiserver/main.go +run-apiserver: + POD_NAMESPACE=arcadia go run apiserver/main.go --enable-playground=true & -# sdk for graphql-server api +# sdk for apiserver api GRL_SDK_GENERATOR_IMAGE ?= yuntijs/gql-sdk-generator:latest GRAPH_API_ENDPOINT ?= http://0.0.0.0:8888/bff # TODO change this config to a more constant value: /kubeagi-apis/bff after frontend code is ready GRAPH_CLIENT_ENDPOINT ?= /kubeagi-apis/bff -.PHONY: gql-sdk-generator -gql-sdk-generator: +.PHONY: bff-sdk-generator +bff-sdk-generator: docker run --rm --net=host --env SDK_PACKAGE_NAME=@yuntijs/arcadia-bff-sdk \ --env SDK_YUNTI_NAME=ArcadiaBffSDK --env GRAPH_API_ENDPOINT=${GRAPH_API_ENDPOINT} \ --env GRAPH_CLIENT_ENDPOINT=${GRAPH_CLIENT_ENDPOINT} \ - -v $(shell pwd)/graphql-server/go-server/graph/schema:/schema \ + -v $(shell pwd)/apiserver/graph/schema:/schema \ -v ~/.npmrc:/root/.npmrc ${GRL_SDK_GENERATOR_IMAGE} # prepare for git push diff --git a/apiserver/README.md b/apiserver/README.md new file mode 100644 index 000000000..9ad923086 --- /dev/null +++ b/apiserver/README.md @@ -0,0 +1,68 @@ +# apiserver + +`apiserver` provides comprehensive apis to work with [portal](https://github.com/kubeagi/portal). + +## Build + +At the root dir of the project,run + +```shell +make build-apiserver +``` + +## Run + +```shell +(base) ➜ arcadia git:(main) ✗ ./bin/apiserver -h +Usage of ./bin/apiserver: + -kubeconfig string + Paths to a kubeconfig. Only required if out-of-cluster. + -enable-playground + enable the graphql playground + -playground-endpoint-prefix string + this parameter should also be configured when the service is forwarded via ingress and a path prefix is configured to avoid not finding the service, such as /apis + -host string + bind to the host, default is 0.0.0.0 + -port int + service listening port (default 8081) + -enable-oidc + enable oidc authorization + -client-id string + oidc client id(required when enable odic) + -client-secret string + oidc client secret(required when enable odic) + -data-processing-url string + url to access data processing server (default "http://127.0.0.1:28888") + -issuer-url string + oidc issuer url(required when enable odic) + -add_dir_header + If true, adds the file directory to the header of the log messages + -alsologtostderr + log to standard error as well as files + -log_backtrace_at value + when logging hits line file:N, emit a stack trace + -log_dir string + If non-empty, write log files in this directory + -log_file string + If non-empty, use this log file + -log_file_max_size uint + Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + -logtostderr + log to standard error instead of files (default true) + -master-url string + k8s master url(required when enable odic) + -one_output + If true, only write logs to their native severity level (vs also writing to each lower severity level) + -skip_headers + If true, avoid header prefixes in the log messages + -skip_log_headers + If true, avoid headers when opening log files + -stderrthreshold value + logs at or above this threshold go to stderr (default 2) + -system-namespace string + system namespace where kubeagi has been installed + -v value + number for the log level verbosity + -vmodule value + comma-separated list of pattern=N settings for file-filtered logging +``` \ No newline at end of file diff --git a/graphql-server/go-server/config/config.go b/apiserver/config/config.go similarity index 96% rename from graphql-server/go-server/config/config.go rename to apiserver/config/config.go index 1ba0bb2f4..b3b38d2e7 100644 --- a/graphql-server/go-server/config/config.go +++ b/apiserver/config/config.go @@ -21,7 +21,7 @@ import ( "k8s.io/klog/v2" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/dataprocessing" + "github.com/kubeagi/arcadia/apiserver/pkg/dataprocessing" ) var s = &ServerConfig{} diff --git a/graphql-server/go-server/examples/upload-download-file/README.md b/apiserver/examples/upload-download-file/README.md similarity index 99% rename from graphql-server/go-server/examples/upload-download-file/README.md rename to apiserver/examples/upload-download-file/README.md index 172cbb5c7..29b523a2a 100644 --- a/graphql-server/go-server/examples/upload-download-file/README.md +++ b/apiserver/examples/upload-download-file/README.md @@ -21,7 +21,7 @@ Usage of ./main: -file string if it's an uploaded file, then it's the path to the local file, if it's a downloaded file, it's the path in minio, remember, bucketPath+filename make up the full storage path in minio. -host string - graphql-server address (default "http://localhost:8099") + apiserver address (default "http://localhost:8099") ``` - The `action` parameter specifies whether you want to upload or download a file. diff --git a/graphql-server/go-server/examples/upload-download-file/main.go b/apiserver/examples/upload-download-file/main.go similarity index 99% rename from graphql-server/go-server/examples/upload-download-file/main.go rename to apiserver/examples/upload-download-file/main.go index cc436b2d8..e2609dd92 100644 --- a/graphql-server/go-server/examples/upload-download-file/main.go +++ b/apiserver/examples/upload-download-file/main.go @@ -33,7 +33,7 @@ import ( var ( action = flag.String("action", "upload", "you can only choose download, upload.") - host = flag.String("host", "http://localhost:8099", "graphql-server address") + host = flag.String("host", "http://localhost:8099", "apiserver address") fileName = flag.String("file", "", "if it's an uploaded file, then it's the path to the local file, if it's a downloaded file, it's the path in minio, remember, bucketPath+filename make up the full storage path in minio.") bucket = flag.String("bucket", "abc", "") bucketPath = flag.String("bucket-path", "dataset/ds1/v1", "") diff --git a/graphql-server/go-server/graph/generated/generated.go b/apiserver/graph/generated/generated.go similarity index 96% rename from graphql-server/go-server/graph/generated/generated.go rename to apiserver/graph/generated/generated.go index 92ffe9c99..f47826c50 100644 --- a/graphql-server/go-server/graph/generated/generated.go +++ b/apiserver/graph/generated/generated.go @@ -5020,7 +5020,7 @@ func (ec *executionContext) field_DataProcessMutation_createDataProcessTask_args var arg0 *AddDataProcessInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOAddDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAddDataProcessInput(ctx, tmp) + arg0, err = ec.unmarshalOAddDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAddDataProcessInput(ctx, tmp) if err != nil { return nil, err } @@ -5035,7 +5035,7 @@ func (ec *executionContext) field_DataProcessMutation_deleteDataProcessTask_args var arg0 *DeleteDataProcessInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteDataProcessInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteDataProcessInput(ctx, tmp) if err != nil { return nil, err } @@ -5050,7 +5050,7 @@ func (ec *executionContext) field_DataProcessQuery_allDataProcessListByCount_arg var arg0 *AllDataProcessListByCountInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOAllDataProcessListByCountInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAllDataProcessListByCountInput(ctx, tmp) + arg0, err = ec.unmarshalOAllDataProcessListByCountInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAllDataProcessListByCountInput(ctx, tmp) if err != nil { return nil, err } @@ -5065,7 +5065,7 @@ func (ec *executionContext) field_DataProcessQuery_allDataProcessListByPage_args var arg0 *AllDataProcessListByPageInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOAllDataProcessListByPageInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAllDataProcessListByPageInput(ctx, tmp) + arg0, err = ec.unmarshalOAllDataProcessListByPageInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAllDataProcessListByPageInput(ctx, tmp) if err != nil { return nil, err } @@ -5080,7 +5080,7 @@ func (ec *executionContext) field_DataProcessQuery_dataProcessDetails_args(ctx c var arg0 *DataProcessDetailsInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODataProcessDetailsInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessDetailsInput(ctx, tmp) + arg0, err = ec.unmarshalODataProcessDetailsInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessDetailsInput(ctx, tmp) if err != nil { return nil, err } @@ -5095,7 +5095,7 @@ func (ec *executionContext) field_DatasetMutation_createDataset_args(ctx context var arg0 *CreateDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOCreateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalOCreateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5110,7 +5110,7 @@ func (ec *executionContext) field_DatasetMutation_deleteDatasets_args(ctx contex var arg0 *DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5125,7 +5125,7 @@ func (ec *executionContext) field_DatasetMutation_updateDataset_args(ctx context var arg0 *UpdateDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOUpdateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalOUpdateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5164,7 +5164,7 @@ func (ec *executionContext) field_DatasetQuery_listDatasets_args(ctx context.Con var arg0 *ListDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOListDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalOListDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5179,7 +5179,7 @@ func (ec *executionContext) field_Dataset_versions_args(ctx context.Context, raw var arg0 ListVersionedDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListVersionedDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalNListVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListVersionedDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5194,7 +5194,7 @@ func (ec *executionContext) field_DatasourceMutation_createDatasource_args(ctx c var arg0 CreateDatasourceInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateDatasourceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateDatasourceInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateDatasourceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateDatasourceInput(ctx, tmp) if err != nil { return nil, err } @@ -5209,7 +5209,7 @@ func (ec *executionContext) field_DatasourceMutation_deleteDatasources_args(ctx var arg0 *DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5224,7 +5224,7 @@ func (ec *executionContext) field_DatasourceMutation_updateDatasource_args(ctx c var arg0 *UpdateDatasourceInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOUpdateDatasourceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateDatasourceInput(ctx, tmp) + arg0, err = ec.unmarshalOUpdateDatasourceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateDatasourceInput(ctx, tmp) if err != nil { return nil, err } @@ -5239,7 +5239,7 @@ func (ec *executionContext) field_DatasourceQuery_checkDatasource_args(ctx conte var arg0 CreateDatasourceInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateDatasourceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateDatasourceInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateDatasourceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateDatasourceInput(ctx, tmp) if err != nil { return nil, err } @@ -5278,7 +5278,7 @@ func (ec *executionContext) field_DatasourceQuery_listDatasources_args(ctx conte var arg0 ListCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) + arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5293,7 +5293,7 @@ func (ec *executionContext) field_EmbedderMutation_createEmbedder_args(ctx conte var arg0 CreateEmbedderInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateEmbedderInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateEmbedderInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateEmbedderInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateEmbedderInput(ctx, tmp) if err != nil { return nil, err } @@ -5308,7 +5308,7 @@ func (ec *executionContext) field_EmbedderMutation_deleteEmbedders_args(ctx cont var arg0 *DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5323,7 +5323,7 @@ func (ec *executionContext) field_EmbedderMutation_updateEmbedder_args(ctx conte var arg0 *UpdateEmbedderInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOUpdateEmbedderInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateEmbedderInput(ctx, tmp) + arg0, err = ec.unmarshalOUpdateEmbedderInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateEmbedderInput(ctx, tmp) if err != nil { return nil, err } @@ -5362,7 +5362,7 @@ func (ec *executionContext) field_EmbedderQuery_listEmbedders_args(ctx context.C var arg0 ListCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) + arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5377,7 +5377,7 @@ func (ec *executionContext) field_KnowledgeBaseApplicationMutation_createKnowled var arg0 CreateKnowledgeBaseApplicationInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseApplicationInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseApplicationInput(ctx, tmp) if err != nil { return nil, err } @@ -5392,7 +5392,7 @@ func (ec *executionContext) field_KnowledgeBaseApplicationMutation_deleteKnowled var arg0 DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNDeleteCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalNDeleteCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5407,7 +5407,7 @@ func (ec *executionContext) field_KnowledgeBaseApplicationMutation_updateKnowled var arg0 UpdateKnowledgeBaseApplicationInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNUpdateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseApplicationInput(ctx, tmp) + arg0, err = ec.unmarshalNUpdateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseApplicationInput(ctx, tmp) if err != nil { return nil, err } @@ -5446,7 +5446,7 @@ func (ec *executionContext) field_KnowledgeBaseApplicationQuery_listKnowledgeBas var arg0 ListCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) + arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5461,7 +5461,7 @@ func (ec *executionContext) field_KnowledgeBaseMutation_createKnowledgeBase_args var arg0 CreateKnowledgeBaseInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseInput(ctx, tmp) if err != nil { return nil, err } @@ -5476,7 +5476,7 @@ func (ec *executionContext) field_KnowledgeBaseMutation_deleteKnowledgeBase_args var arg0 *DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5491,7 +5491,7 @@ func (ec *executionContext) field_KnowledgeBaseMutation_updateKnowledgeBase_args var arg0 *UpdateKnowledgeBaseInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOUpdateKnowledgeBaseInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseInput(ctx, tmp) + arg0, err = ec.unmarshalOUpdateKnowledgeBaseInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseInput(ctx, tmp) if err != nil { return nil, err } @@ -5530,7 +5530,7 @@ func (ec *executionContext) field_KnowledgeBaseQuery_listKnowledgeBases_args(ctx var arg0 ListKnowledgeBaseInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListKnowledgeBaseInput(ctx, tmp) + arg0, err = ec.unmarshalNListKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListKnowledgeBaseInput(ctx, tmp) if err != nil { return nil, err } @@ -5569,7 +5569,7 @@ func (ec *executionContext) field_LLMQuery_listLLMs_args(ctx context.Context, ra var arg0 ListCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) + arg0, err = ec.unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5584,7 +5584,7 @@ func (ec *executionContext) field_ModelMutation_createModel_args(ctx context.Con var arg0 CreateModelInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateModelInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateModelInput(ctx, tmp) if err != nil { return nil, err } @@ -5599,7 +5599,7 @@ func (ec *executionContext) field_ModelMutation_deleteModels_args(ctx context.Co var arg0 *DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5614,7 +5614,7 @@ func (ec *executionContext) field_ModelMutation_updateModel_args(ctx context.Con var arg0 *UpdateModelInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOUpdateModelInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateModelInput(ctx, tmp) + arg0, err = ec.unmarshalOUpdateModelInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateModelInput(ctx, tmp) if err != nil { return nil, err } @@ -5653,7 +5653,7 @@ func (ec *executionContext) field_ModelQuery_listModels_args(ctx context.Context var arg0 ListModelInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListModelInput(ctx, tmp) + arg0, err = ec.unmarshalNListModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListModelInput(ctx, tmp) if err != nil { return nil, err } @@ -5668,7 +5668,7 @@ func (ec *executionContext) field_Model_files_args(ctx context.Context, rawArgs var arg0 *FileFilter if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileFilter(ctx, tmp) + arg0, err = ec.unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileFilter(ctx, tmp) if err != nil { return nil, err } @@ -5728,7 +5728,7 @@ func (ec *executionContext) field_VersionedDatasetMutation_createVersionedDatase var arg0 CreateVersionedDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateVersionedDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateVersionedDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5743,7 +5743,7 @@ func (ec *executionContext) field_VersionedDatasetMutation_deleteVersionedDatase var arg0 DeleteVersionedDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNDeleteVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteVersionedDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalNDeleteVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteVersionedDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5758,7 +5758,7 @@ func (ec *executionContext) field_VersionedDatasetMutation_updateVersionedDatase var arg0 UpdateVersionedDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNUpdateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateVersionedDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalNUpdateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateVersionedDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5797,7 +5797,7 @@ func (ec *executionContext) field_VersionedDatasetQuery_listVersionedDatasets_ar var arg0 ListVersionedDatasetInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListVersionedDatasetInput(ctx, tmp) + arg0, err = ec.unmarshalNListVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListVersionedDatasetInput(ctx, tmp) if err != nil { return nil, err } @@ -5812,7 +5812,7 @@ func (ec *executionContext) field_VersionedDataset_files_args(ctx context.Contex var arg0 *FileFilter if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileFilter(ctx, tmp) + arg0, err = ec.unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileFilter(ctx, tmp) if err != nil { return nil, err } @@ -5827,7 +5827,7 @@ func (ec *executionContext) field_WorkerMutation_createWorker_args(ctx context.C var arg0 CreateWorkerInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNCreateWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateWorkerInput(ctx, tmp) + arg0, err = ec.unmarshalNCreateWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateWorkerInput(ctx, tmp) if err != nil { return nil, err } @@ -5842,7 +5842,7 @@ func (ec *executionContext) field_WorkerMutation_deleteWorkers_args(ctx context. var arg0 *DeleteCommonInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) + arg0, err = ec.unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx, tmp) if err != nil { return nil, err } @@ -5857,7 +5857,7 @@ func (ec *executionContext) field_WorkerMutation_updateWorker_args(ctx context.C var arg0 *UpdateWorkerInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalOUpdateWorkerInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateWorkerInput(ctx, tmp) + arg0, err = ec.unmarshalOUpdateWorkerInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateWorkerInput(ctx, tmp) if err != nil { return nil, err } @@ -5896,7 +5896,7 @@ func (ec *executionContext) field_WorkerQuery_listWorkers_args(ctx context.Conte var arg0 ListWorkerInput if tmp, ok := rawArgs["input"]; ok { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNListWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListWorkerInput(ctx, tmp) + arg0, err = ec.unmarshalNListWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListWorkerInput(ctx, tmp) if err != nil { return nil, err } @@ -6232,7 +6232,7 @@ func (ec *executionContext) _DataProcessConfig_children(ctx context.Context, fie } res := resTmp.([]*DataProcessConfigChildren) fc.Result = res - return ec.marshalODataProcessConfigChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx, field.Selections, res) + return ec.marshalODataProcessConfigChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessConfig_children(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -6449,7 +6449,7 @@ func (ec *executionContext) _DataProcessConfigChildren_preview(ctx context.Conte } res := resTmp.([]*DataProcessConfigpreView) fc.Result = res - return ec.marshalODataProcessConfigpreView2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx, field.Selections, res) + return ec.marshalODataProcessConfigpreView2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessConfigChildren_preview(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -6537,7 +6537,7 @@ func (ec *executionContext) _DataProcessConfigpreView_content(ctx context.Contex } res := resTmp.([]*DataProcessConfigpreViewContent) fc.Result = res - return ec.marshalODataProcessConfigpreViewContent2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx, field.Selections, res) + return ec.marshalODataProcessConfigpreViewContent2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessConfigpreView_content(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -6713,7 +6713,7 @@ func (ec *executionContext) _DataProcessDetails_data(ctx context.Context, field } res := resTmp.(DataProcessDetailsItem) fc.Result = res - return ec.marshalNDataProcessDetailsItem2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessDetailsItem(ctx, field.Selections, res) + return ec.marshalNDataProcessDetailsItem2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessDetailsItem(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessDetails_data(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -7354,7 +7354,7 @@ func (ec *executionContext) _DataProcessDetailsItem_config(ctx context.Context, } res := resTmp.([]*DataProcessConfig) fc.Result = res - return ec.marshalODataProcessConfig2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigᚄ(ctx, field.Selections, res) + return ec.marshalODataProcessConfig2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessDetailsItem_config(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -7754,7 +7754,7 @@ func (ec *executionContext) _DataProcessMutation_createDataProcessTask(ctx conte } res := resTmp.(*DataProcessResponse) fc.Result = res - return ec.marshalODataProcessResponse2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessResponse(ctx, field.Selections, res) + return ec.marshalODataProcessResponse2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessResponse(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessMutation_createDataProcessTask(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -7814,7 +7814,7 @@ func (ec *executionContext) _DataProcessMutation_deleteDataProcessTask(ctx conte } res := resTmp.(*DataProcessResponse) fc.Result = res - return ec.marshalODataProcessResponse2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessResponse(ctx, field.Selections, res) + return ec.marshalODataProcessResponse2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessResponse(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessMutation_deleteDataProcessTask(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -7874,7 +7874,7 @@ func (ec *executionContext) _DataProcessQuery_allDataProcessListByPage(ctx conte } res := resTmp.(*PaginatedDataProcessItem) fc.Result = res - return ec.marshalOPaginatedDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedDataProcessItem(ctx, field.Selections, res) + return ec.marshalOPaginatedDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedDataProcessItem(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessQuery_allDataProcessListByPage(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -7934,7 +7934,7 @@ func (ec *executionContext) _DataProcessQuery_allDataProcessListByCount(ctx cont } res := resTmp.(*CountDataProcessItem) fc.Result = res - return ec.marshalOCountDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCountDataProcessItem(ctx, field.Selections, res) + return ec.marshalOCountDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCountDataProcessItem(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessQuery_allDataProcessListByCount(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -7994,7 +7994,7 @@ func (ec *executionContext) _DataProcessQuery_dataProcessSupportType(ctx context } res := resTmp.(*DataProcessSupportType) fc.Result = res - return ec.marshalODataProcessSupportType2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportType(ctx, field.Selections, res) + return ec.marshalODataProcessSupportType2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportType(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessQuery_dataProcessSupportType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -8043,7 +8043,7 @@ func (ec *executionContext) _DataProcessQuery_dataProcessDetails(ctx context.Con } res := resTmp.(*DataProcessDetails) fc.Result = res - return ec.marshalODataProcessDetails2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessDetails(ctx, field.Selections, res) + return ec.marshalODataProcessDetails2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessDetails(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessQuery_dataProcessDetails(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -8279,7 +8279,7 @@ func (ec *executionContext) _DataProcessSupportType_data(ctx context.Context, fi } res := resTmp.([]*DataProcessSupportTypeItem) fc.Result = res - return ec.marshalODataProcessSupportTypeItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItemᚄ(ctx, field.Selections, res) + return ec.marshalODataProcessSupportTypeItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItemᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessSupportType_data(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -8636,7 +8636,7 @@ func (ec *executionContext) _DataProcessSupportTypeItem_children(ctx context.Con } res := resTmp.([]*DataProcessSupportTypeChildren) fc.Result = res - return ec.marshalODataProcessSupportTypeChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildrenᚄ(ctx, field.Selections, res) + return ec.marshalODataProcessSupportTypeChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildrenᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DataProcessSupportTypeItem_children(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9150,7 +9150,7 @@ func (ec *executionContext) _Dataset_versions(ctx context.Context, field graphql } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Dataset_versions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9217,7 +9217,7 @@ func (ec *executionContext) _DatasetMutation_createDataset(ctx context.Context, } res := resTmp.(*Dataset) fc.Result = res - return ec.marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataset(ctx, field.Selections, res) + return ec.marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataset(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasetMutation_createDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9298,7 +9298,7 @@ func (ec *executionContext) _DatasetMutation_updateDataset(ctx context.Context, } res := resTmp.(*Dataset) fc.Result = res - return ec.marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataset(ctx, field.Selections, res) + return ec.marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataset(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasetMutation_updateDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9431,7 +9431,7 @@ func (ec *executionContext) _DatasetQuery_getDataset(ctx context.Context, field } res := resTmp.(*Dataset) fc.Result = res - return ec.marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataset(ctx, field.Selections, res) + return ec.marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataset(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasetQuery_getDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9512,7 +9512,7 @@ func (ec *executionContext) _DatasetQuery_listDatasets(ctx context.Context, fiel } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasetQuery_listDatasets(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9910,7 +9910,7 @@ func (ec *executionContext) _Datasource_endpoint(ctx context.Context, field grap } res := resTmp.(*Endpoint) fc.Result = res - return ec.marshalOEndpoint2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpoint(ctx, field.Selections, res) + return ec.marshalOEndpoint2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpoint(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Datasource_endpoint(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -9959,7 +9959,7 @@ func (ec *executionContext) _Datasource_oss(ctx context.Context, field graphql.C } res := resTmp.(*Oss) fc.Result = res - return ec.marshalOOss2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐOss(ctx, field.Selections, res) + return ec.marshalOOss2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐOss(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Datasource_oss(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -10173,7 +10173,7 @@ func (ec *executionContext) _DatasourceMutation_createDatasource(ctx context.Con } res := resTmp.(*Datasource) fc.Result = res - return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) + return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasourceMutation_createDatasource(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -10258,7 +10258,7 @@ func (ec *executionContext) _DatasourceMutation_updateDatasource(ctx context.Con } res := resTmp.(*Datasource) fc.Result = res - return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) + return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasourceMutation_updateDatasource(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -10395,7 +10395,7 @@ func (ec *executionContext) _DatasourceQuery_getDatasource(ctx context.Context, } res := resTmp.(*Datasource) fc.Result = res - return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) + return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasourceQuery_getDatasource(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -10480,7 +10480,7 @@ func (ec *executionContext) _DatasourceQuery_checkDatasource(ctx context.Context } res := resTmp.(*Datasource) fc.Result = res - return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) + return ec.marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasource(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasourceQuery_checkDatasource(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -10565,7 +10565,7 @@ func (ec *executionContext) _DatasourceQuery_listDatasources(ctx context.Context } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_DatasourceQuery_listDatasources(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -11297,7 +11297,7 @@ func (ec *executionContext) _EmbedderMutation_createEmbedder(ctx context.Context } res := resTmp.(*Embedder) fc.Result = res - return ec.marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedder(ctx, field.Selections, res) + return ec.marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedder(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_EmbedderMutation_createEmbedder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -11386,7 +11386,7 @@ func (ec *executionContext) _EmbedderMutation_updateEmbedder(ctx context.Context } res := resTmp.(*Embedder) fc.Result = res - return ec.marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedder(ctx, field.Selections, res) + return ec.marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedder(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_EmbedderMutation_updateEmbedder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -11527,7 +11527,7 @@ func (ec *executionContext) _EmbedderQuery_getEmbedder(ctx context.Context, fiel } res := resTmp.(*Embedder) fc.Result = res - return ec.marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedder(ctx, field.Selections, res) + return ec.marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedder(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_EmbedderQuery_getEmbedder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -11616,7 +11616,7 @@ func (ec *executionContext) _EmbedderQuery_listEmbedders(ctx context.Context, fi } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_EmbedderQuery_listEmbedders(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -11721,7 +11721,7 @@ func (ec *executionContext) _Endpoint_authSecret(ctx context.Context, field grap } res := resTmp.(*TypedObjectReference) fc.Result = res - return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Endpoint_authSecret(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -12481,7 +12481,7 @@ func (ec *executionContext) _KnowledgeBase_embedder(ctx context.Context, field g } res := resTmp.(*TypedObjectReference) fc.Result = res - return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBase_embedder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -12532,7 +12532,7 @@ func (ec *executionContext) _KnowledgeBase_vectorStore(ctx context.Context, fiel } res := resTmp.(*TypedObjectReference) fc.Result = res - return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBase_vectorStore(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -12583,7 +12583,7 @@ func (ec *executionContext) _KnowledgeBase_fileGroupDetails(ctx context.Context, } res := resTmp.([]*Filegroupdetail) fc.Result = res - return ec.marshalOfilegroupdetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx, field.Selections, res) + return ec.marshalOfilegroupdetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBase_fileGroupDetails(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -13424,7 +13424,7 @@ func (ec *executionContext) _KnowledgeBaseApplicationMutation_createKnowledgeBas } res := resTmp.(*KnowledgeBaseApplication) fc.Result = res - return ec.marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx, field.Selections, res) + return ec.marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseApplicationMutation_createKnowledgeBaseApplication(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -13513,7 +13513,7 @@ func (ec *executionContext) _KnowledgeBaseApplicationMutation_updateKnowledgeBas } res := resTmp.(*KnowledgeBaseApplication) fc.Result = res - return ec.marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx, field.Selections, res) + return ec.marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseApplicationMutation_updateKnowledgeBaseApplication(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -13654,7 +13654,7 @@ func (ec *executionContext) _KnowledgeBaseApplicationQuery_getKnowledgeBaseAppli } res := resTmp.(*KnowledgeBaseApplication) fc.Result = res - return ec.marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx, field.Selections, res) + return ec.marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseApplicationQuery_getKnowledgeBaseApplication(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -13743,7 +13743,7 @@ func (ec *executionContext) _KnowledgeBaseApplicationQuery_listKnowledgeBaseAppl } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseApplicationQuery_listKnowledgeBaseApplications(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -13810,7 +13810,7 @@ func (ec *executionContext) _KnowledgeBaseMutation_createKnowledgeBase(ctx conte } res := resTmp.(*KnowledgeBase) fc.Result = res - return ec.marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx, field.Selections, res) + return ec.marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseMutation_createKnowledgeBase(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -13899,7 +13899,7 @@ func (ec *executionContext) _KnowledgeBaseMutation_updateKnowledgeBase(ctx conte } res := resTmp.(*KnowledgeBase) fc.Result = res - return ec.marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx, field.Selections, res) + return ec.marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseMutation_updateKnowledgeBase(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -14040,7 +14040,7 @@ func (ec *executionContext) _KnowledgeBaseQuery_getKnowledgeBase(ctx context.Con } res := resTmp.(*KnowledgeBase) fc.Result = res - return ec.marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx, field.Selections, res) + return ec.marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseQuery_getKnowledgeBase(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -14129,7 +14129,7 @@ func (ec *executionContext) _KnowledgeBaseQuery_listKnowledgeBases(ctx context.C } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_KnowledgeBaseQuery_listKnowledgeBases(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -14861,7 +14861,7 @@ func (ec *executionContext) _LLMQuery_getLLM(ctx context.Context, field graphql. } res := resTmp.(*Llm) fc.Result = res - return ec.marshalNLLM2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLlm(ctx, field.Selections, res) + return ec.marshalNLLM2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLlm(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_LLMQuery_getLLM(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -14950,7 +14950,7 @@ func (ec *executionContext) _LLMQuery_listLLMs(ctx context.Context, field graphq } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_LLMQuery_listLLMs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -15600,7 +15600,7 @@ func (ec *executionContext) _Model_files(ctx context.Context, field graphql.Coll } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Model_files(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -15667,7 +15667,7 @@ func (ec *executionContext) _ModelMutation_createModel(ctx context.Context, fiel } res := resTmp.(*Model) fc.Result = res - return ec.marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModel(ctx, field.Selections, res) + return ec.marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModel(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_ModelMutation_createModel(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -15754,7 +15754,7 @@ func (ec *executionContext) _ModelMutation_updateModel(ctx context.Context, fiel } res := resTmp.(*Model) fc.Result = res - return ec.marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModel(ctx, field.Selections, res) + return ec.marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModel(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_ModelMutation_updateModel(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -15893,7 +15893,7 @@ func (ec *executionContext) _ModelQuery_getModel(ctx context.Context, field grap } res := resTmp.(*Model) fc.Result = res - return ec.marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModel(ctx, field.Selections, res) + return ec.marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModel(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_ModelQuery_getModel(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -15980,7 +15980,7 @@ func (ec *executionContext) _ModelQuery_listModels(ctx context.Context, field gr } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_ModelQuery_listModels(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16099,7 +16099,7 @@ func (ec *executionContext) _Mutation_dataProcess(ctx context.Context, field gra } res := resTmp.(*DataProcessMutation) fc.Result = res - return ec.marshalODataProcessMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessMutation(ctx, field.Selections, res) + return ec.marshalODataProcessMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_dataProcess(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16146,7 +16146,7 @@ func (ec *executionContext) _Mutation_Dataset(ctx context.Context, field graphql } res := resTmp.(*DatasetMutation) fc.Result = res - return ec.marshalODatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasetMutation(ctx, field.Selections, res) + return ec.marshalODatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasetMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_Dataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16195,7 +16195,7 @@ func (ec *executionContext) _Mutation_Datasource(ctx context.Context, field grap } res := resTmp.(*DatasourceMutation) fc.Result = res - return ec.marshalODatasourceMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasourceMutation(ctx, field.Selections, res) + return ec.marshalODatasourceMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasourceMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_Datasource(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16244,7 +16244,7 @@ func (ec *executionContext) _Mutation_Embedder(ctx context.Context, field graphq } res := resTmp.(*EmbedderMutation) fc.Result = res - return ec.marshalOEmbedderMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedderMutation(ctx, field.Selections, res) + return ec.marshalOEmbedderMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedderMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_Embedder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16293,7 +16293,7 @@ func (ec *executionContext) _Mutation_KnowledgeBase(ctx context.Context, field g } res := resTmp.(*KnowledgeBaseMutation) fc.Result = res - return ec.marshalOKnowledgeBaseMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseMutation(ctx, field.Selections, res) + return ec.marshalOKnowledgeBaseMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_KnowledgeBase(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16342,7 +16342,7 @@ func (ec *executionContext) _Mutation_KnowledgeBaseApplication(ctx context.Conte } res := resTmp.(*KnowledgeBaseApplicationMutation) fc.Result = res - return ec.marshalOKnowledgeBaseApplicationMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationMutation(ctx, field.Selections, res) + return ec.marshalOKnowledgeBaseApplicationMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_KnowledgeBaseApplication(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16391,7 +16391,7 @@ func (ec *executionContext) _Mutation_Model(ctx context.Context, field graphql.C } res := resTmp.(*ModelMutation) fc.Result = res - return ec.marshalOModelMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModelMutation(ctx, field.Selections, res) + return ec.marshalOModelMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModelMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_Model(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16440,7 +16440,7 @@ func (ec *executionContext) _Mutation_VersionedDataset(ctx context.Context, fiel } res := resTmp.(*VersionedDatasetMutation) fc.Result = res - return ec.marshalOVersionedDatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDatasetMutation(ctx, field.Selections, res) + return ec.marshalOVersionedDatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDatasetMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_VersionedDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16489,7 +16489,7 @@ func (ec *executionContext) _Mutation_Worker(ctx context.Context, field graphql. } res := resTmp.(*WorkerMutation) fc.Result = res - return ec.marshalOWorkerMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorkerMutation(ctx, field.Selections, res) + return ec.marshalOWorkerMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorkerMutation(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Mutation_Worker(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16664,7 +16664,7 @@ func (ec *executionContext) _PaginatedDataProcessItem_data(ctx context.Context, } res := resTmp.([]*DataProcessItem) fc.Result = res - return ec.marshalODataProcessItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessItemᚄ(ctx, field.Selections, res) + return ec.marshalODataProcessItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessItemᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_PaginatedDataProcessItem_data(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -16811,7 +16811,7 @@ func (ec *executionContext) _PaginatedResult_nodes(ctx context.Context, field gr } res := resTmp.([]PageNode) fc.Result = res - return ec.marshalOPageNode2ᚕgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPageNodeᚄ(ctx, field.Selections, res) + return ec.marshalOPageNode2ᚕgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPageNodeᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_PaginatedResult_nodes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17033,7 +17033,7 @@ func (ec *executionContext) _Query_dataProcess(ctx context.Context, field graphq } res := resTmp.(*DataProcessQuery) fc.Result = res - return ec.marshalODataProcessQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessQuery(ctx, field.Selections, res) + return ec.marshalODataProcessQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_dataProcess(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17084,7 +17084,7 @@ func (ec *executionContext) _Query_Dataset(ctx context.Context, field graphql.Co } res := resTmp.(*DatasetQuery) fc.Result = res - return ec.marshalODatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasetQuery(ctx, field.Selections, res) + return ec.marshalODatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasetQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_Dataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17131,7 +17131,7 @@ func (ec *executionContext) _Query_Datasource(ctx context.Context, field graphql } res := resTmp.(*DatasourceQuery) fc.Result = res - return ec.marshalODatasourceQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasourceQuery(ctx, field.Selections, res) + return ec.marshalODatasourceQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasourceQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_Datasource(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17180,7 +17180,7 @@ func (ec *executionContext) _Query_Embedder(ctx context.Context, field graphql.C } res := resTmp.(*EmbedderQuery) fc.Result = res - return ec.marshalOEmbedderQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedderQuery(ctx, field.Selections, res) + return ec.marshalOEmbedderQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedderQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_Embedder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17227,7 +17227,7 @@ func (ec *executionContext) _Query_KnowledgeBase(ctx context.Context, field grap } res := resTmp.(*KnowledgeBaseQuery) fc.Result = res - return ec.marshalOKnowledgeBaseQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseQuery(ctx, field.Selections, res) + return ec.marshalOKnowledgeBaseQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_KnowledgeBase(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17274,7 +17274,7 @@ func (ec *executionContext) _Query_KnowledgeBaseApplication(ctx context.Context, } res := resTmp.(*KnowledgeBaseApplicationQuery) fc.Result = res - return ec.marshalOKnowledgeBaseApplicationQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationQuery(ctx, field.Selections, res) + return ec.marshalOKnowledgeBaseApplicationQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_KnowledgeBaseApplication(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17321,7 +17321,7 @@ func (ec *executionContext) _Query_LLM(ctx context.Context, field graphql.Collec } res := resTmp.(*LLMQuery) fc.Result = res - return ec.marshalOLLMQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLLMQuery(ctx, field.Selections, res) + return ec.marshalOLLMQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLLMQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_LLM(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17368,7 +17368,7 @@ func (ec *executionContext) _Query_Model(ctx context.Context, field graphql.Coll } res := resTmp.(*ModelQuery) fc.Result = res - return ec.marshalOModelQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModelQuery(ctx, field.Selections, res) + return ec.marshalOModelQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModelQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_Model(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17415,7 +17415,7 @@ func (ec *executionContext) _Query_VersionedDataset(ctx context.Context, field g } res := resTmp.(*VersionedDatasetQuery) fc.Result = res - return ec.marshalOVersionedDatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDatasetQuery(ctx, field.Selections, res) + return ec.marshalOVersionedDatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDatasetQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_VersionedDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -17462,7 +17462,7 @@ func (ec *executionContext) _Query_Worker(ctx context.Context, field graphql.Col } res := resTmp.(*WorkerQuery) fc.Result = res - return ec.marshalOWorkerQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorkerQuery(ctx, field.Selections, res) + return ec.marshalOWorkerQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorkerQuery(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Query_Worker(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18268,7 +18268,7 @@ func (ec *executionContext) _VersionedDataset_dataset(ctx context.Context, field } res := resTmp.(TypedObjectReference) fc.Result = res - return ec.marshalNTypedObjectReference2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalNTypedObjectReference2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_VersionedDataset_dataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18407,7 +18407,7 @@ func (ec *executionContext) _VersionedDataset_files(ctx context.Context, field g } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_VersionedDataset_files(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18644,7 +18644,7 @@ func (ec *executionContext) _VersionedDatasetMutation_createVersionedDataset(ctx } res := resTmp.(*VersionedDataset) fc.Result = res - return ec.marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx, field.Selections, res) + return ec.marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_VersionedDatasetMutation_createVersionedDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18733,7 +18733,7 @@ func (ec *executionContext) _VersionedDatasetMutation_updateVersionedDataset(ctx } res := resTmp.(*VersionedDataset) fc.Result = res - return ec.marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx, field.Selections, res) + return ec.marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_VersionedDatasetMutation_updateVersionedDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18874,7 +18874,7 @@ func (ec *executionContext) _VersionedDatasetQuery_getVersionedDataset(ctx conte } res := resTmp.(*VersionedDataset) fc.Result = res - return ec.marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx, field.Selections, res) + return ec.marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_VersionedDatasetQuery_getVersionedDataset(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -18963,7 +18963,7 @@ func (ec *executionContext) _VersionedDatasetQuery_listVersionedDatasets(ctx con } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_VersionedDatasetQuery_listVersionedDatasets(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19487,7 +19487,7 @@ func (ec *executionContext) _Worker_model(ctx context.Context, field graphql.Col } res := resTmp.(TypedObjectReference) fc.Result = res - return ec.marshalNTypedObjectReference2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalNTypedObjectReference2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Worker_model(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19585,7 +19585,7 @@ func (ec *executionContext) _Worker_resources(ctx context.Context, field graphql } res := resTmp.(Resources) fc.Result = res - return ec.marshalNResources2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐResources(ctx, field.Selections, res) + return ec.marshalNResources2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐResources(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Worker_resources(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19760,7 +19760,7 @@ func (ec *executionContext) _WorkerMutation_createWorker(ctx context.Context, fi } res := resTmp.(*Worker) fc.Result = res - return ec.marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorker(ctx, field.Selections, res) + return ec.marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorker(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_WorkerMutation_createWorker(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19851,7 +19851,7 @@ func (ec *executionContext) _WorkerMutation_updateWorker(ctx context.Context, fi } res := resTmp.(*Worker) fc.Result = res - return ec.marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorker(ctx, field.Selections, res) + return ec.marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorker(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_WorkerMutation_updateWorker(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -19994,7 +19994,7 @@ func (ec *executionContext) _WorkerQuery_getWorker(ctx context.Context, field gr } res := resTmp.(*Worker) fc.Result = res - return ec.marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorker(ctx, field.Selections, res) + return ec.marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorker(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_WorkerQuery_getWorker(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -20085,7 +20085,7 @@ func (ec *executionContext) _WorkerQuery_listWorkers(ctx context.Context, field } res := resTmp.(*PaginatedResult) fc.Result = res - return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) + return ec.marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_WorkerQuery_listWorkers(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -22179,7 +22179,7 @@ func (ec *executionContext) _filegroup_source(ctx context.Context, field graphql } res := resTmp.(*TypedObjectReference) fc.Result = res - return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_filegroup_source(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -22271,7 +22271,7 @@ func (ec *executionContext) _filegroupdetail_source(ctx context.Context, field g } res := resTmp.(*TypedObjectReference) fc.Result = res - return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) + return ec.marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_filegroupdetail_source(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -22322,7 +22322,7 @@ func (ec *executionContext) _filegroupdetail_filedetails(ctx context.Context, fi } res := resTmp.([]*Filedetail) fc.Result = res - return ec.marshalOfiledetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFiledetail(ctx, field.Selections, res) + return ec.marshalOfiledetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFiledetail(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_filegroupdetail_filedetails(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -22410,7 +22410,7 @@ func (ec *executionContext) unmarshalInputAddDataProcessInput(ctx context.Contex var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("file_names")) - data, err := ec.unmarshalOFileItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileItemᚄ(ctx, v) + data, err := ec.unmarshalOFileItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileItemᚄ(ctx, v) if err != nil { return it, err } @@ -22437,7 +22437,7 @@ func (ec *executionContext) unmarshalInputAddDataProcessInput(ctx context.Contex var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("data_process_config_info")) - data, err := ec.unmarshalODataProcessConfigItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigItemᚄ(ctx, v) + data, err := ec.unmarshalODataProcessConfigItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigItemᚄ(ctx, v) if err != nil { return it, err } @@ -22780,7 +22780,7 @@ func (ec *executionContext) unmarshalInputCreateDatasourceInput(ctx context.Cont var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endpointinput")) - data, err := ec.unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) + data, err := ec.unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) if err != nil { return it, err } @@ -22789,7 +22789,7 @@ func (ec *executionContext) unmarshalInputCreateDatasourceInput(ctx context.Cont var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ossinput")) - data, err := ec.unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐOssInput(ctx, v) + data, err := ec.unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐOssInput(ctx, v) if err != nil { return it, err } @@ -22872,7 +22872,7 @@ func (ec *executionContext) unmarshalInputCreateEmbedderInput(ctx context.Contex var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endpointinput")) - data, err := ec.unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) + data, err := ec.unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) if err != nil { return it, err } @@ -23101,7 +23101,7 @@ func (ec *executionContext) unmarshalInputCreateKnowledgeBaseInput(ctx context.C var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vectorStore")) - data, err := ec.unmarshalOTypedObjectReferenceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) + data, err := ec.unmarshalOTypedObjectReferenceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) if err != nil { return it, err } @@ -23110,7 +23110,7 @@ func (ec *executionContext) unmarshalInputCreateKnowledgeBaseInput(ctx context.C var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileGroups")) - data, err := ec.unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupinputᚄ(ctx, v) + data, err := ec.unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupinputᚄ(ctx, v) if err != nil { return it, err } @@ -23193,7 +23193,7 @@ func (ec *executionContext) unmarshalInputCreateLLMInput(ctx context.Context, ob var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endpointinput")) - data, err := ec.unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) + data, err := ec.unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) if err != nil { return it, err } @@ -23377,7 +23377,7 @@ func (ec *executionContext) unmarshalInputCreateVersionedDatasetInput(ctx contex var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileGrups")) - data, err := ec.unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroup(ctx, v) + data, err := ec.unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroup(ctx, v) if err != nil { return it, err } @@ -23460,7 +23460,7 @@ func (ec *executionContext) unmarshalInputCreateWorkerInput(ctx context.Context, var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("model")) - data, err := ec.unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) + data, err := ec.unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) if err != nil { return it, err } @@ -23469,7 +23469,7 @@ func (ec *executionContext) unmarshalInputCreateWorkerInput(ctx context.Context, var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("resources")) - data, err := ec.unmarshalNResourcesInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐResourcesInput(ctx, v) + data, err := ec.unmarshalNResourcesInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐResourcesInput(ctx, v) if err != nil { return it, err } @@ -23507,7 +23507,7 @@ func (ec *executionContext) unmarshalInputDataProcessConfigItem(ctx context.Cont var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("llm_config")) - data, err := ec.unmarshalOLLMConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLLMConfigItem(ctx, v) + data, err := ec.unmarshalOLLMConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLLMConfigItem(ctx, v) if err != nil { return it, err } @@ -23715,7 +23715,7 @@ func (ec *executionContext) unmarshalInputEndpointInput(ctx context.Context, obj var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("auth")) - data, err := ec.unmarshalOAuthInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAuthInput(ctx, v) + data, err := ec.unmarshalOAuthInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAuthInput(ctx, v) if err != nil { return it, err } @@ -23809,7 +23809,7 @@ func (ec *executionContext) unmarshalInputFileGroup(ctx context.Context, obj int var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source")) - data, err := ec.unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) + data, err := ec.unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) if err != nil { return it, err } @@ -24726,7 +24726,7 @@ func (ec *executionContext) unmarshalInputUpdateDatasourceInput(ctx context.Cont var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endpointinput")) - data, err := ec.unmarshalOEndpointInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) + data, err := ec.unmarshalOEndpointInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpointInput(ctx, v) if err != nil { return it, err } @@ -24735,7 +24735,7 @@ func (ec *executionContext) unmarshalInputUpdateDatasourceInput(ctx context.Cont var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ossinput")) - data, err := ec.unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐOssInput(ctx, v) + data, err := ec.unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐOssInput(ctx, v) if err != nil { return it, err } @@ -25020,7 +25020,7 @@ func (ec *executionContext) unmarshalInputUpdateKnowledgeBaseInput(ctx context.C var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileGroups")) - data, err := ec.unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupinputᚄ(ctx, v) + data, err := ec.unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupinputᚄ(ctx, v) if err != nil { return it, err } @@ -25186,7 +25186,7 @@ func (ec *executionContext) unmarshalInputUpdateVersionedDatasetInput(ctx contex var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileGroups")) - data, err := ec.unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroupᚄ(ctx, v) + data, err := ec.unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroupᚄ(ctx, v) if err != nil { return it, err } @@ -25287,7 +25287,7 @@ func (ec *executionContext) unmarshalInputUpdateWorkerInput(ctx context.Context, var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("resources")) - data, err := ec.unmarshalOResourcesInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐResourcesInput(ctx, v) + data, err := ec.unmarshalOResourcesInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐResourcesInput(ctx, v) if err != nil { return it, err } @@ -25316,7 +25316,7 @@ func (ec *executionContext) unmarshalInputfilegroupinput(ctx context.Context, ob var err error ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source")) - data, err := ec.unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) + data, err := ec.unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx, v) if err != nil { return it, err } @@ -30338,42 +30338,42 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) unmarshalNCreateDatasourceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateDatasourceInput(ctx context.Context, v interface{}) (CreateDatasourceInput, error) { +func (ec *executionContext) unmarshalNCreateDatasourceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateDatasourceInput(ctx context.Context, v interface{}) (CreateDatasourceInput, error) { res, err := ec.unmarshalInputCreateDatasourceInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNCreateEmbedderInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateEmbedderInput(ctx context.Context, v interface{}) (CreateEmbedderInput, error) { +func (ec *executionContext) unmarshalNCreateEmbedderInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateEmbedderInput(ctx context.Context, v interface{}) (CreateEmbedderInput, error) { res, err := ec.unmarshalInputCreateEmbedderInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNCreateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseApplicationInput(ctx context.Context, v interface{}) (CreateKnowledgeBaseApplicationInput, error) { +func (ec *executionContext) unmarshalNCreateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseApplicationInput(ctx context.Context, v interface{}) (CreateKnowledgeBaseApplicationInput, error) { res, err := ec.unmarshalInputCreateKnowledgeBaseApplicationInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNCreateKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseInput(ctx context.Context, v interface{}) (CreateKnowledgeBaseInput, error) { +func (ec *executionContext) unmarshalNCreateKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateKnowledgeBaseInput(ctx context.Context, v interface{}) (CreateKnowledgeBaseInput, error) { res, err := ec.unmarshalInputCreateKnowledgeBaseInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNCreateModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateModelInput(ctx context.Context, v interface{}) (CreateModelInput, error) { +func (ec *executionContext) unmarshalNCreateModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateModelInput(ctx context.Context, v interface{}) (CreateModelInput, error) { res, err := ec.unmarshalInputCreateModelInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNCreateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateVersionedDatasetInput(ctx context.Context, v interface{}) (CreateVersionedDatasetInput, error) { +func (ec *executionContext) unmarshalNCreateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateVersionedDatasetInput(ctx context.Context, v interface{}) (CreateVersionedDatasetInput, error) { res, err := ec.unmarshalInputCreateVersionedDatasetInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNCreateWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateWorkerInput(ctx context.Context, v interface{}) (CreateWorkerInput, error) { +func (ec *executionContext) unmarshalNCreateWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateWorkerInput(ctx context.Context, v interface{}) (CreateWorkerInput, error) { res, err := ec.unmarshalInputCreateWorkerInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDataProcessConfig2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfig(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfig) graphql.Marshaler { +func (ec *executionContext) marshalNDataProcessConfig2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfig(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfig) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30383,16 +30383,16 @@ func (ec *executionContext) marshalNDataProcessConfig2ᚖgithubᚗcomᚋkubeagi return ec._DataProcessConfig(ctx, sel, v) } -func (ec *executionContext) unmarshalNDataProcessConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigItem(ctx context.Context, v interface{}) (*DataProcessConfigItem, error) { +func (ec *executionContext) unmarshalNDataProcessConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigItem(ctx context.Context, v interface{}) (*DataProcessConfigItem, error) { res, err := ec.unmarshalInputDataProcessConfigItem(ctx, v) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDataProcessDetailsItem2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessDetailsItem(ctx context.Context, sel ast.SelectionSet, v DataProcessDetailsItem) graphql.Marshaler { +func (ec *executionContext) marshalNDataProcessDetailsItem2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessDetailsItem(ctx context.Context, sel ast.SelectionSet, v DataProcessDetailsItem) graphql.Marshaler { return ec._DataProcessDetailsItem(ctx, sel, &v) } -func (ec *executionContext) marshalNDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessItem(ctx context.Context, sel ast.SelectionSet, v *DataProcessItem) graphql.Marshaler { +func (ec *executionContext) marshalNDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessItem(ctx context.Context, sel ast.SelectionSet, v *DataProcessItem) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30402,7 +30402,7 @@ func (ec *executionContext) marshalNDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋ return ec._DataProcessItem(ctx, sel, v) } -func (ec *executionContext) marshalNDataProcessSupportTypeChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildren(ctx context.Context, sel ast.SelectionSet, v *DataProcessSupportTypeChildren) graphql.Marshaler { +func (ec *executionContext) marshalNDataProcessSupportTypeChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildren(ctx context.Context, sel ast.SelectionSet, v *DataProcessSupportTypeChildren) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30412,7 +30412,7 @@ func (ec *executionContext) marshalNDataProcessSupportTypeChildren2ᚖgithubᚗc return ec._DataProcessSupportTypeChildren(ctx, sel, v) } -func (ec *executionContext) marshalNDataProcessSupportTypeItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItem(ctx context.Context, sel ast.SelectionSet, v *DataProcessSupportTypeItem) graphql.Marshaler { +func (ec *executionContext) marshalNDataProcessSupportTypeItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItem(ctx context.Context, sel ast.SelectionSet, v *DataProcessSupportTypeItem) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30422,11 +30422,11 @@ func (ec *executionContext) marshalNDataProcessSupportTypeItem2ᚖgithubᚗcom return ec._DataProcessSupportTypeItem(ctx, sel, v) } -func (ec *executionContext) marshalNDataset2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataset(ctx context.Context, sel ast.SelectionSet, v Dataset) graphql.Marshaler { +func (ec *executionContext) marshalNDataset2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataset(ctx context.Context, sel ast.SelectionSet, v Dataset) graphql.Marshaler { return ec._Dataset(ctx, sel, &v) } -func (ec *executionContext) marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataset(ctx context.Context, sel ast.SelectionSet, v *Dataset) graphql.Marshaler { +func (ec *executionContext) marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataset(ctx context.Context, sel ast.SelectionSet, v *Dataset) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30436,11 +30436,11 @@ func (ec *executionContext) marshalNDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadia return ec._Dataset(ctx, sel, v) } -func (ec *executionContext) marshalNDatasource2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasource(ctx context.Context, sel ast.SelectionSet, v Datasource) graphql.Marshaler { +func (ec *executionContext) marshalNDatasource2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasource(ctx context.Context, sel ast.SelectionSet, v Datasource) graphql.Marshaler { return ec._Datasource(ctx, sel, &v) } -func (ec *executionContext) marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasource(ctx context.Context, sel ast.SelectionSet, v *Datasource) graphql.Marshaler { +func (ec *executionContext) marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasource(ctx context.Context, sel ast.SelectionSet, v *Datasource) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30450,21 +30450,21 @@ func (ec *executionContext) marshalNDatasource2ᚖgithubᚗcomᚋkubeagiᚋarcad return ec._Datasource(ctx, sel, v) } -func (ec *executionContext) unmarshalNDeleteCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx context.Context, v interface{}) (DeleteCommonInput, error) { +func (ec *executionContext) unmarshalNDeleteCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx context.Context, v interface{}) (DeleteCommonInput, error) { res, err := ec.unmarshalInputDeleteCommonInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNDeleteVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteVersionedDatasetInput(ctx context.Context, v interface{}) (DeleteVersionedDatasetInput, error) { +func (ec *executionContext) unmarshalNDeleteVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteVersionedDatasetInput(ctx context.Context, v interface{}) (DeleteVersionedDatasetInput, error) { res, err := ec.unmarshalInputDeleteVersionedDatasetInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEmbedder2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedder(ctx context.Context, sel ast.SelectionSet, v Embedder) graphql.Marshaler { +func (ec *executionContext) marshalNEmbedder2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedder(ctx context.Context, sel ast.SelectionSet, v Embedder) graphql.Marshaler { return ec._Embedder(ctx, sel, &v) } -func (ec *executionContext) marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedder(ctx context.Context, sel ast.SelectionSet, v *Embedder) graphql.Marshaler { +func (ec *executionContext) marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedder(ctx context.Context, sel ast.SelectionSet, v *Embedder) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30474,17 +30474,17 @@ func (ec *executionContext) marshalNEmbedder2ᚖgithubᚗcomᚋkubeagiᚋarcadia return ec._Embedder(ctx, sel, v) } -func (ec *executionContext) unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpointInput(ctx context.Context, v interface{}) (EndpointInput, error) { +func (ec *executionContext) unmarshalNEndpointInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpointInput(ctx context.Context, v interface{}) (EndpointInput, error) { res, err := ec.unmarshalInputEndpointInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroup(ctx context.Context, v interface{}) (*FileGroup, error) { +func (ec *executionContext) unmarshalNFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroup(ctx context.Context, v interface{}) (*FileGroup, error) { res, err := ec.unmarshalInputFileGroup(ctx, v) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNFileItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileItem(ctx context.Context, v interface{}) (*FileItem, error) { +func (ec *executionContext) unmarshalNFileItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileItem(ctx context.Context, v interface{}) (*FileItem, error) { res, err := ec.unmarshalInputFileItem(ctx, v) return &res, graphql.ErrorOnPath(ctx, err) } @@ -30504,11 +30504,11 @@ func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.Selecti return res } -func (ec *executionContext) marshalNKnowledgeBase2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx context.Context, sel ast.SelectionSet, v KnowledgeBase) graphql.Marshaler { +func (ec *executionContext) marshalNKnowledgeBase2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx context.Context, sel ast.SelectionSet, v KnowledgeBase) graphql.Marshaler { return ec._KnowledgeBase(ctx, sel, &v) } -func (ec *executionContext) marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBase) graphql.Marshaler { +func (ec *executionContext) marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBase(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBase) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30518,11 +30518,11 @@ func (ec *executionContext) marshalNKnowledgeBase2ᚖgithubᚗcomᚋkubeagiᚋar return ec._KnowledgeBase(ctx, sel, v) } -func (ec *executionContext) marshalNKnowledgeBaseApplication2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx context.Context, sel ast.SelectionSet, v KnowledgeBaseApplication) graphql.Marshaler { +func (ec *executionContext) marshalNKnowledgeBaseApplication2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx context.Context, sel ast.SelectionSet, v KnowledgeBaseApplication) graphql.Marshaler { return ec._KnowledgeBaseApplication(ctx, sel, &v) } -func (ec *executionContext) marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseApplication) graphql.Marshaler { +func (ec *executionContext) marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplication(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseApplication) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30532,11 +30532,11 @@ func (ec *executionContext) marshalNKnowledgeBaseApplication2ᚖgithubᚗcomᚋk return ec._KnowledgeBaseApplication(ctx, sel, v) } -func (ec *executionContext) marshalNLLM2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLlm(ctx context.Context, sel ast.SelectionSet, v Llm) graphql.Marshaler { +func (ec *executionContext) marshalNLLM2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLlm(ctx context.Context, sel ast.SelectionSet, v Llm) graphql.Marshaler { return ec._LLM(ctx, sel, &v) } -func (ec *executionContext) marshalNLLM2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLlm(ctx context.Context, sel ast.SelectionSet, v *Llm) graphql.Marshaler { +func (ec *executionContext) marshalNLLM2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLlm(ctx context.Context, sel ast.SelectionSet, v *Llm) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30546,36 +30546,36 @@ func (ec *executionContext) marshalNLLM2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgr return ec._LLM(ctx, sel, v) } -func (ec *executionContext) unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListCommonInput(ctx context.Context, v interface{}) (ListCommonInput, error) { +func (ec *executionContext) unmarshalNListCommonInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListCommonInput(ctx context.Context, v interface{}) (ListCommonInput, error) { res, err := ec.unmarshalInputListCommonInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNListKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListKnowledgeBaseInput(ctx context.Context, v interface{}) (ListKnowledgeBaseInput, error) { +func (ec *executionContext) unmarshalNListKnowledgeBaseInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListKnowledgeBaseInput(ctx context.Context, v interface{}) (ListKnowledgeBaseInput, error) { res, err := ec.unmarshalInputListKnowledgeBaseInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNListModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListModelInput(ctx context.Context, v interface{}) (ListModelInput, error) { +func (ec *executionContext) unmarshalNListModelInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListModelInput(ctx context.Context, v interface{}) (ListModelInput, error) { res, err := ec.unmarshalInputListModelInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNListVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListVersionedDatasetInput(ctx context.Context, v interface{}) (ListVersionedDatasetInput, error) { +func (ec *executionContext) unmarshalNListVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListVersionedDatasetInput(ctx context.Context, v interface{}) (ListVersionedDatasetInput, error) { res, err := ec.unmarshalInputListVersionedDatasetInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNListWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListWorkerInput(ctx context.Context, v interface{}) (ListWorkerInput, error) { +func (ec *executionContext) unmarshalNListWorkerInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListWorkerInput(ctx context.Context, v interface{}) (ListWorkerInput, error) { res, err := ec.unmarshalInputListWorkerInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNModel2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModel(ctx context.Context, sel ast.SelectionSet, v Model) graphql.Marshaler { +func (ec *executionContext) marshalNModel2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModel(ctx context.Context, sel ast.SelectionSet, v Model) graphql.Marshaler { return ec._Model(ctx, sel, &v) } -func (ec *executionContext) marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModel(ctx context.Context, sel ast.SelectionSet, v *Model) graphql.Marshaler { +func (ec *executionContext) marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModel(ctx context.Context, sel ast.SelectionSet, v *Model) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30585,7 +30585,7 @@ func (ec *executionContext) marshalNModel2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋ return ec._Model(ctx, sel, v) } -func (ec *executionContext) marshalNPageNode2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPageNode(ctx context.Context, sel ast.SelectionSet, v PageNode) graphql.Marshaler { +func (ec *executionContext) marshalNPageNode2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPageNode(ctx context.Context, sel ast.SelectionSet, v PageNode) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30595,11 +30595,11 @@ func (ec *executionContext) marshalNPageNode2githubᚗcomᚋkubeagiᚋarcadiaᚋ return ec._PageNode(ctx, sel, v) } -func (ec *executionContext) marshalNPaginatedResult2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx context.Context, sel ast.SelectionSet, v PaginatedResult) graphql.Marshaler { +func (ec *executionContext) marshalNPaginatedResult2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx context.Context, sel ast.SelectionSet, v PaginatedResult) graphql.Marshaler { return ec._PaginatedResult(ctx, sel, &v) } -func (ec *executionContext) marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx context.Context, sel ast.SelectionSet, v *PaginatedResult) graphql.Marshaler { +func (ec *executionContext) marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedResult(ctx context.Context, sel ast.SelectionSet, v *PaginatedResult) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30609,11 +30609,11 @@ func (ec *executionContext) marshalNPaginatedResult2ᚖgithubᚗcomᚋkubeagiᚋ return ec._PaginatedResult(ctx, sel, v) } -func (ec *executionContext) marshalNResources2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐResources(ctx context.Context, sel ast.SelectionSet, v Resources) graphql.Marshaler { +func (ec *executionContext) marshalNResources2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐResources(ctx context.Context, sel ast.SelectionSet, v Resources) graphql.Marshaler { return ec._Resources(ctx, sel, &v) } -func (ec *executionContext) unmarshalNResourcesInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐResourcesInput(ctx context.Context, v interface{}) (ResourcesInput, error) { +func (ec *executionContext) unmarshalNResourcesInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐResourcesInput(ctx context.Context, v interface{}) (ResourcesInput, error) { res, err := ec.unmarshalInputResourcesInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -30648,30 +30648,30 @@ func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel as return res } -func (ec *executionContext) marshalNTypedObjectReference2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx context.Context, sel ast.SelectionSet, v TypedObjectReference) graphql.Marshaler { +func (ec *executionContext) marshalNTypedObjectReference2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx context.Context, sel ast.SelectionSet, v TypedObjectReference) graphql.Marshaler { return ec._TypedObjectReference(ctx, sel, &v) } -func (ec *executionContext) unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx context.Context, v interface{}) (TypedObjectReferenceInput, error) { +func (ec *executionContext) unmarshalNTypedObjectReferenceInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx context.Context, v interface{}) (TypedObjectReferenceInput, error) { res, err := ec.unmarshalInputTypedObjectReferenceInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNUpdateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseApplicationInput(ctx context.Context, v interface{}) (UpdateKnowledgeBaseApplicationInput, error) { +func (ec *executionContext) unmarshalNUpdateKnowledgeBaseApplicationInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseApplicationInput(ctx context.Context, v interface{}) (UpdateKnowledgeBaseApplicationInput, error) { res, err := ec.unmarshalInputUpdateKnowledgeBaseApplicationInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNUpdateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateVersionedDatasetInput(ctx context.Context, v interface{}) (UpdateVersionedDatasetInput, error) { +func (ec *executionContext) unmarshalNUpdateVersionedDatasetInput2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateVersionedDatasetInput(ctx context.Context, v interface{}) (UpdateVersionedDatasetInput, error) { res, err := ec.unmarshalInputUpdateVersionedDatasetInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVersionedDataset2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx context.Context, sel ast.SelectionSet, v VersionedDataset) graphql.Marshaler { +func (ec *executionContext) marshalNVersionedDataset2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx context.Context, sel ast.SelectionSet, v VersionedDataset) graphql.Marshaler { return ec._VersionedDataset(ctx, sel, &v) } -func (ec *executionContext) marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx context.Context, sel ast.SelectionSet, v *VersionedDataset) graphql.Marshaler { +func (ec *executionContext) marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDataset(ctx context.Context, sel ast.SelectionSet, v *VersionedDataset) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30681,11 +30681,11 @@ func (ec *executionContext) marshalNVersionedDataset2ᚖgithubᚗcomᚋkubeagi return ec._VersionedDataset(ctx, sel, v) } -func (ec *executionContext) marshalNWorker2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorker(ctx context.Context, sel ast.SelectionSet, v Worker) graphql.Marshaler { +func (ec *executionContext) marshalNWorker2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorker(ctx context.Context, sel ast.SelectionSet, v Worker) graphql.Marshaler { return ec._Worker(ctx, sel, &v) } -func (ec *executionContext) marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorker(ctx context.Context, sel ast.SelectionSet, v *Worker) graphql.Marshaler { +func (ec *executionContext) marshalNWorker2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorker(ctx context.Context, sel ast.SelectionSet, v *Worker) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { ec.Errorf(ctx, "the requested element is null which the schema does not allow") @@ -30948,12 +30948,12 @@ func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel a return res } -func (ec *executionContext) unmarshalNfilegroupinput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupinput(ctx context.Context, v interface{}) (*Filegroupinput, error) { +func (ec *executionContext) unmarshalNfilegroupinput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupinput(ctx context.Context, v interface{}) (*Filegroupinput, error) { res, err := ec.unmarshalInputfilegroupinput(ctx, v) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOAddDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAddDataProcessInput(ctx context.Context, v interface{}) (*AddDataProcessInput, error) { +func (ec *executionContext) unmarshalOAddDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAddDataProcessInput(ctx context.Context, v interface{}) (*AddDataProcessInput, error) { if v == nil { return nil, nil } @@ -30961,7 +30961,7 @@ func (ec *executionContext) unmarshalOAddDataProcessInput2ᚖgithubᚗcomᚋkube return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOAllDataProcessListByCountInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAllDataProcessListByCountInput(ctx context.Context, v interface{}) (*AllDataProcessListByCountInput, error) { +func (ec *executionContext) unmarshalOAllDataProcessListByCountInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAllDataProcessListByCountInput(ctx context.Context, v interface{}) (*AllDataProcessListByCountInput, error) { if v == nil { return nil, nil } @@ -30969,7 +30969,7 @@ func (ec *executionContext) unmarshalOAllDataProcessListByCountInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOAllDataProcessListByPageInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAllDataProcessListByPageInput(ctx context.Context, v interface{}) (*AllDataProcessListByPageInput, error) { +func (ec *executionContext) unmarshalOAllDataProcessListByPageInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAllDataProcessListByPageInput(ctx context.Context, v interface{}) (*AllDataProcessListByPageInput, error) { if v == nil { return nil, nil } @@ -30977,7 +30977,7 @@ func (ec *executionContext) unmarshalOAllDataProcessListByPageInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOAuthInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐAuthInput(ctx context.Context, v interface{}) (*AuthInput, error) { +func (ec *executionContext) unmarshalOAuthInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐAuthInput(ctx context.Context, v interface{}) (*AuthInput, error) { if v == nil { return nil, nil } @@ -31011,14 +31011,14 @@ func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast return res } -func (ec *executionContext) marshalOCountDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCountDataProcessItem(ctx context.Context, sel ast.SelectionSet, v *CountDataProcessItem) graphql.Marshaler { +func (ec *executionContext) marshalOCountDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCountDataProcessItem(ctx context.Context, sel ast.SelectionSet, v *CountDataProcessItem) graphql.Marshaler { if v == nil { return graphql.Null } return ec._CountDataProcessItem(ctx, sel, v) } -func (ec *executionContext) unmarshalOCreateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐCreateDatasetInput(ctx context.Context, v interface{}) (*CreateDatasetInput, error) { +func (ec *executionContext) unmarshalOCreateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐCreateDatasetInput(ctx context.Context, v interface{}) (*CreateDatasetInput, error) { if v == nil { return nil, nil } @@ -31026,7 +31026,7 @@ func (ec *executionContext) unmarshalOCreateDatasetInput2ᚖgithubᚗcomᚋkubea return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalODataProcessConfig2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfig) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfig2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfig) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31053,7 +31053,7 @@ func (ec *executionContext) marshalODataProcessConfig2ᚕᚖgithubᚗcomᚋkubea if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalNDataProcessConfig2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfig(ctx, sel, v[i]) + ret[i] = ec.marshalNDataProcessConfig2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfig(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31073,7 +31073,7 @@ func (ec *executionContext) marshalODataProcessConfig2ᚕᚖgithubᚗcomᚋkubea return ret } -func (ec *executionContext) marshalODataProcessConfigChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfigChildren) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfigChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfigChildren) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31100,7 +31100,7 @@ func (ec *executionContext) marshalODataProcessConfigChildren2ᚕᚖgithubᚗcom if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalODataProcessConfigChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx, sel, v[i]) + ret[i] = ec.marshalODataProcessConfigChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31114,14 +31114,14 @@ func (ec *executionContext) marshalODataProcessConfigChildren2ᚕᚖgithubᚗcom return ret } -func (ec *executionContext) marshalODataProcessConfigChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfigChildren) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfigChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigChildren(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfigChildren) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessConfigChildren(ctx, sel, v) } -func (ec *executionContext) unmarshalODataProcessConfigItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigItemᚄ(ctx context.Context, v interface{}) ([]*DataProcessConfigItem, error) { +func (ec *executionContext) unmarshalODataProcessConfigItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigItemᚄ(ctx context.Context, v interface{}) ([]*DataProcessConfigItem, error) { if v == nil { return nil, nil } @@ -31133,7 +31133,7 @@ func (ec *executionContext) unmarshalODataProcessConfigItem2ᚕᚖgithubᚗcom res := make([]*DataProcessConfigItem, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalNDataProcessConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigItem(ctx, vSlice[i]) + res[i], err = ec.unmarshalNDataProcessConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigItem(ctx, vSlice[i]) if err != nil { return nil, err } @@ -31141,7 +31141,7 @@ func (ec *executionContext) unmarshalODataProcessConfigItem2ᚕᚖgithubᚗcom return res, nil } -func (ec *executionContext) marshalODataProcessConfigpreView2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfigpreView) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfigpreView2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfigpreView) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31168,7 +31168,7 @@ func (ec *executionContext) marshalODataProcessConfigpreView2ᚕᚖgithubᚗcom if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalODataProcessConfigpreView2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx, sel, v[i]) + ret[i] = ec.marshalODataProcessConfigpreView2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31182,14 +31182,14 @@ func (ec *executionContext) marshalODataProcessConfigpreView2ᚕᚖgithubᚗcom return ret } -func (ec *executionContext) marshalODataProcessConfigpreView2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfigpreView) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfigpreView2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreView(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfigpreView) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessConfigpreView(ctx, sel, v) } -func (ec *executionContext) marshalODataProcessConfigpreViewContent2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfigpreViewContent) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfigpreViewContent2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx context.Context, sel ast.SelectionSet, v []*DataProcessConfigpreViewContent) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31216,7 +31216,7 @@ func (ec *executionContext) marshalODataProcessConfigpreViewContent2ᚕᚖgithub if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalODataProcessConfigpreViewContent2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx, sel, v[i]) + ret[i] = ec.marshalODataProcessConfigpreViewContent2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31230,21 +31230,21 @@ func (ec *executionContext) marshalODataProcessConfigpreViewContent2ᚕᚖgithub return ret } -func (ec *executionContext) marshalODataProcessConfigpreViewContent2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfigpreViewContent) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessConfigpreViewContent2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessConfigpreViewContent(ctx context.Context, sel ast.SelectionSet, v *DataProcessConfigpreViewContent) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessConfigpreViewContent(ctx, sel, v) } -func (ec *executionContext) marshalODataProcessDetails2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessDetails(ctx context.Context, sel ast.SelectionSet, v *DataProcessDetails) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessDetails2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessDetails(ctx context.Context, sel ast.SelectionSet, v *DataProcessDetails) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessDetails(ctx, sel, v) } -func (ec *executionContext) unmarshalODataProcessDetailsInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessDetailsInput(ctx context.Context, v interface{}) (*DataProcessDetailsInput, error) { +func (ec *executionContext) unmarshalODataProcessDetailsInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessDetailsInput(ctx context.Context, v interface{}) (*DataProcessDetailsInput, error) { if v == nil { return nil, nil } @@ -31252,7 +31252,7 @@ func (ec *executionContext) unmarshalODataProcessDetailsInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalODataProcessItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessItemᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessItem) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessItemᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessItem) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31279,7 +31279,7 @@ func (ec *executionContext) marshalODataProcessItem2ᚕᚖgithubᚗcomᚋkubeagi if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalNDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessItem(ctx, sel, v[i]) + ret[i] = ec.marshalNDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessItem(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31299,35 +31299,35 @@ func (ec *executionContext) marshalODataProcessItem2ᚕᚖgithubᚗcomᚋkubeagi return ret } -func (ec *executionContext) marshalODataProcessMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessMutation(ctx context.Context, sel ast.SelectionSet, v *DataProcessMutation) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessMutation(ctx context.Context, sel ast.SelectionSet, v *DataProcessMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessMutation(ctx, sel, v) } -func (ec *executionContext) marshalODataProcessQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessQuery(ctx context.Context, sel ast.SelectionSet, v *DataProcessQuery) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessQuery(ctx context.Context, sel ast.SelectionSet, v *DataProcessQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessQuery(ctx, sel, v) } -func (ec *executionContext) marshalODataProcessResponse2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessResponse(ctx context.Context, sel ast.SelectionSet, v *DataProcessResponse) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessResponse2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessResponse(ctx context.Context, sel ast.SelectionSet, v *DataProcessResponse) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessResponse(ctx, sel, v) } -func (ec *executionContext) marshalODataProcessSupportType2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportType(ctx context.Context, sel ast.SelectionSet, v *DataProcessSupportType) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessSupportType2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportType(ctx context.Context, sel ast.SelectionSet, v *DataProcessSupportType) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DataProcessSupportType(ctx, sel, v) } -func (ec *executionContext) marshalODataProcessSupportTypeChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildrenᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessSupportTypeChildren) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessSupportTypeChildren2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildrenᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessSupportTypeChildren) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31354,7 +31354,7 @@ func (ec *executionContext) marshalODataProcessSupportTypeChildren2ᚕᚖgithub if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalNDataProcessSupportTypeChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildren(ctx, sel, v[i]) + ret[i] = ec.marshalNDataProcessSupportTypeChildren2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeChildren(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31374,7 +31374,7 @@ func (ec *executionContext) marshalODataProcessSupportTypeChildren2ᚕᚖgithub return ret } -func (ec *executionContext) marshalODataProcessSupportTypeItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItemᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessSupportTypeItem) graphql.Marshaler { +func (ec *executionContext) marshalODataProcessSupportTypeItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItemᚄ(ctx context.Context, sel ast.SelectionSet, v []*DataProcessSupportTypeItem) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31401,7 +31401,7 @@ func (ec *executionContext) marshalODataProcessSupportTypeItem2ᚕᚖgithubᚗco if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalNDataProcessSupportTypeItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItem(ctx, sel, v[i]) + ret[i] = ec.marshalNDataProcessSupportTypeItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDataProcessSupportTypeItem(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31421,35 +31421,35 @@ func (ec *executionContext) marshalODataProcessSupportTypeItem2ᚕᚖgithubᚗco return ret } -func (ec *executionContext) marshalODatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasetMutation(ctx context.Context, sel ast.SelectionSet, v *DatasetMutation) graphql.Marshaler { +func (ec *executionContext) marshalODatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasetMutation(ctx context.Context, sel ast.SelectionSet, v *DatasetMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DatasetMutation(ctx, sel, v) } -func (ec *executionContext) marshalODatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasetQuery(ctx context.Context, sel ast.SelectionSet, v *DatasetQuery) graphql.Marshaler { +func (ec *executionContext) marshalODatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasetQuery(ctx context.Context, sel ast.SelectionSet, v *DatasetQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DatasetQuery(ctx, sel, v) } -func (ec *executionContext) marshalODatasourceMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasourceMutation(ctx context.Context, sel ast.SelectionSet, v *DatasourceMutation) graphql.Marshaler { +func (ec *executionContext) marshalODatasourceMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasourceMutation(ctx context.Context, sel ast.SelectionSet, v *DatasourceMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DatasourceMutation(ctx, sel, v) } -func (ec *executionContext) marshalODatasourceQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDatasourceQuery(ctx context.Context, sel ast.SelectionSet, v *DatasourceQuery) graphql.Marshaler { +func (ec *executionContext) marshalODatasourceQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDatasourceQuery(ctx context.Context, sel ast.SelectionSet, v *DatasourceQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._DatasourceQuery(ctx, sel, v) } -func (ec *executionContext) unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx context.Context, v interface{}) (*DeleteCommonInput, error) { +func (ec *executionContext) unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteCommonInput(ctx context.Context, v interface{}) (*DeleteCommonInput, error) { if v == nil { return nil, nil } @@ -31457,7 +31457,7 @@ func (ec *executionContext) unmarshalODeleteCommonInput2ᚖgithubᚗcomᚋkubeag return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalODeleteDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐDeleteDataProcessInput(ctx context.Context, v interface{}) (*DeleteDataProcessInput, error) { +func (ec *executionContext) unmarshalODeleteDataProcessInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐDeleteDataProcessInput(ctx context.Context, v interface{}) (*DeleteDataProcessInput, error) { if v == nil { return nil, nil } @@ -31465,28 +31465,28 @@ func (ec *executionContext) unmarshalODeleteDataProcessInput2ᚖgithubᚗcomᚋk return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOEmbedderMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedderMutation(ctx context.Context, sel ast.SelectionSet, v *EmbedderMutation) graphql.Marshaler { +func (ec *executionContext) marshalOEmbedderMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedderMutation(ctx context.Context, sel ast.SelectionSet, v *EmbedderMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._EmbedderMutation(ctx, sel, v) } -func (ec *executionContext) marshalOEmbedderQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEmbedderQuery(ctx context.Context, sel ast.SelectionSet, v *EmbedderQuery) graphql.Marshaler { +func (ec *executionContext) marshalOEmbedderQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEmbedderQuery(ctx context.Context, sel ast.SelectionSet, v *EmbedderQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._EmbedderQuery(ctx, sel, v) } -func (ec *executionContext) marshalOEndpoint2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpoint(ctx context.Context, sel ast.SelectionSet, v *Endpoint) graphql.Marshaler { +func (ec *executionContext) marshalOEndpoint2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpoint(ctx context.Context, sel ast.SelectionSet, v *Endpoint) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Endpoint(ctx, sel, v) } -func (ec *executionContext) unmarshalOEndpointInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐEndpointInput(ctx context.Context, v interface{}) (*EndpointInput, error) { +func (ec *executionContext) unmarshalOEndpointInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐEndpointInput(ctx context.Context, v interface{}) (*EndpointInput, error) { if v == nil { return nil, nil } @@ -31494,7 +31494,7 @@ func (ec *executionContext) unmarshalOEndpointInput2ᚖgithubᚗcomᚋkubeagiᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileFilter(ctx context.Context, v interface{}) (*FileFilter, error) { +func (ec *executionContext) unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileFilter(ctx context.Context, v interface{}) (*FileFilter, error) { if v == nil { return nil, nil } @@ -31502,7 +31502,7 @@ func (ec *executionContext) unmarshalOFileFilter2ᚖgithubᚗcomᚋkubeagiᚋarc return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroup(ctx context.Context, v interface{}) ([]*FileGroup, error) { +func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroup(ctx context.Context, v interface{}) ([]*FileGroup, error) { if v == nil { return nil, nil } @@ -31514,7 +31514,7 @@ func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋa res := make([]*FileGroup, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalOFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroup(ctx, vSlice[i]) + res[i], err = ec.unmarshalOFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroup(ctx, vSlice[i]) if err != nil { return nil, err } @@ -31522,7 +31522,7 @@ func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋa return res, nil } -func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroupᚄ(ctx context.Context, v interface{}) ([]*FileGroup, error) { +func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroupᚄ(ctx context.Context, v interface{}) ([]*FileGroup, error) { if v == nil { return nil, nil } @@ -31534,7 +31534,7 @@ func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋa res := make([]*FileGroup, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalNFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroup(ctx, vSlice[i]) + res[i], err = ec.unmarshalNFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroup(ctx, vSlice[i]) if err != nil { return nil, err } @@ -31542,7 +31542,7 @@ func (ec *executionContext) unmarshalOFileGroup2ᚕᚖgithubᚗcomᚋkubeagiᚋa return res, nil } -func (ec *executionContext) unmarshalOFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileGroup(ctx context.Context, v interface{}) (*FileGroup, error) { +func (ec *executionContext) unmarshalOFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileGroup(ctx context.Context, v interface{}) (*FileGroup, error) { if v == nil { return nil, nil } @@ -31550,7 +31550,7 @@ func (ec *executionContext) unmarshalOFileGroup2ᚖgithubᚗcomᚋkubeagiᚋarca return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOFileItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileItemᚄ(ctx context.Context, v interface{}) ([]*FileItem, error) { +func (ec *executionContext) unmarshalOFileItem2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileItemᚄ(ctx context.Context, v interface{}) ([]*FileItem, error) { if v == nil { return nil, nil } @@ -31562,7 +31562,7 @@ func (ec *executionContext) unmarshalOFileItem2ᚕᚖgithubᚗcomᚋkubeagiᚋar res := make([]*FileItem, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalNFileItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFileItem(ctx, vSlice[i]) + res[i], err = ec.unmarshalNFileItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFileItem(ctx, vSlice[i]) if err != nil { return nil, err } @@ -31586,35 +31586,35 @@ func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.Sele return res } -func (ec *executionContext) marshalOKnowledgeBaseApplicationMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationMutation(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseApplicationMutation) graphql.Marshaler { +func (ec *executionContext) marshalOKnowledgeBaseApplicationMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationMutation(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseApplicationMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._KnowledgeBaseApplicationMutation(ctx, sel, v) } -func (ec *executionContext) marshalOKnowledgeBaseApplicationQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationQuery(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseApplicationQuery) graphql.Marshaler { +func (ec *executionContext) marshalOKnowledgeBaseApplicationQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseApplicationQuery(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseApplicationQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._KnowledgeBaseApplicationQuery(ctx, sel, v) } -func (ec *executionContext) marshalOKnowledgeBaseMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseMutation(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseMutation) graphql.Marshaler { +func (ec *executionContext) marshalOKnowledgeBaseMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseMutation(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._KnowledgeBaseMutation(ctx, sel, v) } -func (ec *executionContext) marshalOKnowledgeBaseQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐKnowledgeBaseQuery(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseQuery) graphql.Marshaler { +func (ec *executionContext) marshalOKnowledgeBaseQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐKnowledgeBaseQuery(ctx context.Context, sel ast.SelectionSet, v *KnowledgeBaseQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._KnowledgeBaseQuery(ctx, sel, v) } -func (ec *executionContext) unmarshalOLLMConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLLMConfigItem(ctx context.Context, v interface{}) (*LLMConfigItem, error) { +func (ec *executionContext) unmarshalOLLMConfigItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLLMConfigItem(ctx context.Context, v interface{}) (*LLMConfigItem, error) { if v == nil { return nil, nil } @@ -31622,14 +31622,14 @@ func (ec *executionContext) unmarshalOLLMConfigItem2ᚖgithubᚗcomᚋkubeagiᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOLLMQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐLLMQuery(ctx context.Context, sel ast.SelectionSet, v *LLMQuery) graphql.Marshaler { +func (ec *executionContext) marshalOLLMQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐLLMQuery(ctx context.Context, sel ast.SelectionSet, v *LLMQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._LLMQuery(ctx, sel, v) } -func (ec *executionContext) unmarshalOListDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐListDatasetInput(ctx context.Context, v interface{}) (*ListDatasetInput, error) { +func (ec *executionContext) unmarshalOListDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐListDatasetInput(ctx context.Context, v interface{}) (*ListDatasetInput, error) { if v == nil { return nil, nil } @@ -31653,28 +31653,28 @@ func (ec *executionContext) marshalOMap2map(ctx context.Context, sel ast.Selecti return res } -func (ec *executionContext) marshalOModelMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModelMutation(ctx context.Context, sel ast.SelectionSet, v *ModelMutation) graphql.Marshaler { +func (ec *executionContext) marshalOModelMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModelMutation(ctx context.Context, sel ast.SelectionSet, v *ModelMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._ModelMutation(ctx, sel, v) } -func (ec *executionContext) marshalOModelQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐModelQuery(ctx context.Context, sel ast.SelectionSet, v *ModelQuery) graphql.Marshaler { +func (ec *executionContext) marshalOModelQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐModelQuery(ctx context.Context, sel ast.SelectionSet, v *ModelQuery) graphql.Marshaler { if v == nil { return graphql.Null } return ec._ModelQuery(ctx, sel, v) } -func (ec *executionContext) marshalOOss2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐOss(ctx context.Context, sel ast.SelectionSet, v *Oss) graphql.Marshaler { +func (ec *executionContext) marshalOOss2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐOss(ctx context.Context, sel ast.SelectionSet, v *Oss) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Oss(ctx, sel, v) } -func (ec *executionContext) unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐOssInput(ctx context.Context, v interface{}) (*OssInput, error) { +func (ec *executionContext) unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐOssInput(ctx context.Context, v interface{}) (*OssInput, error) { if v == nil { return nil, nil } @@ -31682,7 +31682,7 @@ func (ec *executionContext) unmarshalOOssInput2ᚖgithubᚗcomᚋkubeagiᚋarcad return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOPageNode2ᚕgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPageNodeᚄ(ctx context.Context, sel ast.SelectionSet, v []PageNode) graphql.Marshaler { +func (ec *executionContext) marshalOPageNode2ᚕgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPageNodeᚄ(ctx context.Context, sel ast.SelectionSet, v []PageNode) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31709,7 +31709,7 @@ func (ec *executionContext) marshalOPageNode2ᚕgithubᚗcomᚋkubeagiᚋarcadia if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalNPageNode2githubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPageNode(ctx, sel, v[i]) + ret[i] = ec.marshalNPageNode2githubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPageNode(ctx, sel, v[i]) } if isLen1 { f(i) @@ -31729,14 +31729,14 @@ func (ec *executionContext) marshalOPageNode2ᚕgithubᚗcomᚋkubeagiᚋarcadia return ret } -func (ec *executionContext) marshalOPaginatedDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐPaginatedDataProcessItem(ctx context.Context, sel ast.SelectionSet, v *PaginatedDataProcessItem) graphql.Marshaler { +func (ec *executionContext) marshalOPaginatedDataProcessItem2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐPaginatedDataProcessItem(ctx context.Context, sel ast.SelectionSet, v *PaginatedDataProcessItem) graphql.Marshaler { if v == nil { return graphql.Null } return ec._PaginatedDataProcessItem(ctx, sel, v) } -func (ec *executionContext) unmarshalOResourcesInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐResourcesInput(ctx context.Context, v interface{}) (*ResourcesInput, error) { +func (ec *executionContext) unmarshalOResourcesInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐResourcesInput(ctx context.Context, v interface{}) (*ResourcesInput, error) { if v == nil { return nil, nil } @@ -31814,14 +31814,14 @@ func (ec *executionContext) marshalOTime2ᚖtimeᚐTime(ctx context.Context, sel return res } -func (ec *executionContext) marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx context.Context, sel ast.SelectionSet, v *TypedObjectReference) graphql.Marshaler { +func (ec *executionContext) marshalOTypedObjectReference2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReference(ctx context.Context, sel ast.SelectionSet, v *TypedObjectReference) graphql.Marshaler { if v == nil { return graphql.Null } return ec._TypedObjectReference(ctx, sel, v) } -func (ec *executionContext) unmarshalOTypedObjectReferenceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx context.Context, v interface{}) (*TypedObjectReferenceInput, error) { +func (ec *executionContext) unmarshalOTypedObjectReferenceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐTypedObjectReferenceInput(ctx context.Context, v interface{}) (*TypedObjectReferenceInput, error) { if v == nil { return nil, nil } @@ -31829,7 +31829,7 @@ func (ec *executionContext) unmarshalOTypedObjectReferenceInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOUpdateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateDatasetInput(ctx context.Context, v interface{}) (*UpdateDatasetInput, error) { +func (ec *executionContext) unmarshalOUpdateDatasetInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateDatasetInput(ctx context.Context, v interface{}) (*UpdateDatasetInput, error) { if v == nil { return nil, nil } @@ -31837,7 +31837,7 @@ func (ec *executionContext) unmarshalOUpdateDatasetInput2ᚖgithubᚗcomᚋkubea return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOUpdateDatasourceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateDatasourceInput(ctx context.Context, v interface{}) (*UpdateDatasourceInput, error) { +func (ec *executionContext) unmarshalOUpdateDatasourceInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateDatasourceInput(ctx context.Context, v interface{}) (*UpdateDatasourceInput, error) { if v == nil { return nil, nil } @@ -31845,7 +31845,7 @@ func (ec *executionContext) unmarshalOUpdateDatasourceInput2ᚖgithubᚗcomᚋku return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOUpdateEmbedderInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateEmbedderInput(ctx context.Context, v interface{}) (*UpdateEmbedderInput, error) { +func (ec *executionContext) unmarshalOUpdateEmbedderInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateEmbedderInput(ctx context.Context, v interface{}) (*UpdateEmbedderInput, error) { if v == nil { return nil, nil } @@ -31853,7 +31853,7 @@ func (ec *executionContext) unmarshalOUpdateEmbedderInput2ᚖgithubᚗcomᚋkube return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOUpdateKnowledgeBaseInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseInput(ctx context.Context, v interface{}) (*UpdateKnowledgeBaseInput, error) { +func (ec *executionContext) unmarshalOUpdateKnowledgeBaseInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateKnowledgeBaseInput(ctx context.Context, v interface{}) (*UpdateKnowledgeBaseInput, error) { if v == nil { return nil, nil } @@ -31861,7 +31861,7 @@ func (ec *executionContext) unmarshalOUpdateKnowledgeBaseInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOUpdateModelInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateModelInput(ctx context.Context, v interface{}) (*UpdateModelInput, error) { +func (ec *executionContext) unmarshalOUpdateModelInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateModelInput(ctx context.Context, v interface{}) (*UpdateModelInput, error) { if v == nil { return nil, nil } @@ -31869,7 +31869,7 @@ func (ec *executionContext) unmarshalOUpdateModelInput2ᚖgithubᚗcomᚋkubeagi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOUpdateWorkerInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐUpdateWorkerInput(ctx context.Context, v interface{}) (*UpdateWorkerInput, error) { +func (ec *executionContext) unmarshalOUpdateWorkerInput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐUpdateWorkerInput(ctx context.Context, v interface{}) (*UpdateWorkerInput, error) { if v == nil { return nil, nil } @@ -31877,14 +31877,14 @@ func (ec *executionContext) unmarshalOUpdateWorkerInput2ᚖgithubᚗcomᚋkubeag return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVersionedDatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDatasetMutation(ctx context.Context, sel ast.SelectionSet, v *VersionedDatasetMutation) graphql.Marshaler { +func (ec *executionContext) marshalOVersionedDatasetMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDatasetMutation(ctx context.Context, sel ast.SelectionSet, v *VersionedDatasetMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._VersionedDatasetMutation(ctx, sel, v) } -func (ec *executionContext) marshalOVersionedDatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐVersionedDatasetQuery(ctx context.Context, sel ast.SelectionSet, v *VersionedDatasetQuery) graphql.Marshaler { +func (ec *executionContext) marshalOVersionedDatasetQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐVersionedDatasetQuery(ctx context.Context, sel ast.SelectionSet, v *VersionedDatasetQuery) graphql.Marshaler { if v == nil { return graphql.Null } @@ -31907,14 +31907,14 @@ func (ec *executionContext) marshalOVoid2ᚖstring(ctx context.Context, sel ast. return res } -func (ec *executionContext) marshalOWorkerMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorkerMutation(ctx context.Context, sel ast.SelectionSet, v *WorkerMutation) graphql.Marshaler { +func (ec *executionContext) marshalOWorkerMutation2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorkerMutation(ctx context.Context, sel ast.SelectionSet, v *WorkerMutation) graphql.Marshaler { if v == nil { return graphql.Null } return ec._WorkerMutation(ctx, sel, v) } -func (ec *executionContext) marshalOWorkerQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐWorkerQuery(ctx context.Context, sel ast.SelectionSet, v *WorkerQuery) graphql.Marshaler { +func (ec *executionContext) marshalOWorkerQuery2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐWorkerQuery(ctx context.Context, sel ast.SelectionSet, v *WorkerQuery) graphql.Marshaler { if v == nil { return graphql.Null } @@ -32123,7 +32123,7 @@ func (ec *executionContext) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgen return ec.___Type(ctx, sel, v) } -func (ec *executionContext) marshalOfiledetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFiledetail(ctx context.Context, sel ast.SelectionSet, v []*Filedetail) graphql.Marshaler { +func (ec *executionContext) marshalOfiledetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFiledetail(ctx context.Context, sel ast.SelectionSet, v []*Filedetail) graphql.Marshaler { if v == nil { return graphql.Null } @@ -32150,7 +32150,7 @@ func (ec *executionContext) marshalOfiledetail2ᚕᚖgithubᚗcomᚋkubeagiᚋar if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalOfiledetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFiledetail(ctx, sel, v[i]) + ret[i] = ec.marshalOfiledetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFiledetail(ctx, sel, v[i]) } if isLen1 { f(i) @@ -32164,14 +32164,14 @@ func (ec *executionContext) marshalOfiledetail2ᚕᚖgithubᚗcomᚋkubeagiᚋar return ret } -func (ec *executionContext) marshalOfiledetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFiledetail(ctx context.Context, sel ast.SelectionSet, v *Filedetail) graphql.Marshaler { +func (ec *executionContext) marshalOfiledetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFiledetail(ctx context.Context, sel ast.SelectionSet, v *Filedetail) graphql.Marshaler { if v == nil { return graphql.Null } return ec._filedetail(ctx, sel, v) } -func (ec *executionContext) marshalOfilegroupdetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx context.Context, sel ast.SelectionSet, v []*Filegroupdetail) graphql.Marshaler { +func (ec *executionContext) marshalOfilegroupdetail2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx context.Context, sel ast.SelectionSet, v []*Filegroupdetail) graphql.Marshaler { if v == nil { return graphql.Null } @@ -32198,7 +32198,7 @@ func (ec *executionContext) marshalOfilegroupdetail2ᚕᚖgithubᚗcomᚋkubeagi if !isLen1 { defer wg.Done() } - ret[i] = ec.marshalOfilegroupdetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx, sel, v[i]) + ret[i] = ec.marshalOfilegroupdetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx, sel, v[i]) } if isLen1 { f(i) @@ -32212,14 +32212,14 @@ func (ec *executionContext) marshalOfilegroupdetail2ᚕᚖgithubᚗcomᚋkubeagi return ret } -func (ec *executionContext) marshalOfilegroupdetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx context.Context, sel ast.SelectionSet, v *Filegroupdetail) graphql.Marshaler { +func (ec *executionContext) marshalOfilegroupdetail2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupdetail(ctx context.Context, sel ast.SelectionSet, v *Filegroupdetail) graphql.Marshaler { if v == nil { return graphql.Null } return ec._filegroupdetail(ctx, sel, v) } -func (ec *executionContext) unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupinputᚄ(ctx context.Context, v interface{}) ([]*Filegroupinput, error) { +func (ec *executionContext) unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupinputᚄ(ctx context.Context, v interface{}) ([]*Filegroupinput, error) { if v == nil { return nil, nil } @@ -32231,7 +32231,7 @@ func (ec *executionContext) unmarshalOfilegroupinput2ᚕᚖgithubᚗcomᚋkubeag res := make([]*Filegroupinput, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalNfilegroupinput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋgraphqlᚑserverᚋgoᚑserverᚋgraphᚋgeneratedᚐFilegroupinput(ctx, vSlice[i]) + res[i], err = ec.unmarshalNfilegroupinput2ᚖgithubᚗcomᚋkubeagiᚋarcadiaᚋapiserverᚋgraphᚋgeneratedᚐFilegroupinput(ctx, vSlice[i]) if err != nil { return nil, err } diff --git a/graphql-server/go-server/graph/generated/models_gen.go b/apiserver/graph/generated/models_gen.go similarity index 100% rename from graphql-server/go-server/graph/generated/models_gen.go rename to apiserver/graph/generated/models_gen.go diff --git a/graphql-server/go-server/graph/impl/dataprocessing.resolvers.go b/apiserver/graph/impl/dataprocessing.resolvers.go similarity index 96% rename from graphql-server/go-server/graph/impl/dataprocessing.resolvers.go rename to apiserver/graph/impl/dataprocessing.resolvers.go index b104644c1..fb52088da 100644 --- a/graphql-server/go-server/graph/impl/dataprocessing.resolvers.go +++ b/apiserver/graph/impl/dataprocessing.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/dataprocessing" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/dataprocessing" ) // CreateDataProcessTask is the resolver for the createDataProcessTask field. diff --git a/graphql-server/go-server/graph/impl/dataset.resolvers.go b/apiserver/graph/impl/dataset.resolvers.go similarity index 94% rename from graphql-server/go-server/graph/impl/dataset.resolvers.go rename to apiserver/graph/impl/dataset.resolvers.go index e579b587d..3bcde3b87 100644 --- a/graphql-server/go-server/graph/impl/dataset.resolvers.go +++ b/apiserver/graph/impl/dataset.resolvers.go @@ -9,9 +9,9 @@ import ( "fmt" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/dataset" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/versioneddataset" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/dataset" + "github.com/kubeagi/arcadia/apiserver/pkg/versioneddataset" ) // Versions is the resolver for the versions field. diff --git a/graphql-server/go-server/graph/impl/datasource.resolvers.go b/apiserver/graph/impl/datasource.resolvers.go similarity index 92% rename from graphql-server/go-server/graph/impl/datasource.resolvers.go rename to apiserver/graph/impl/datasource.resolvers.go index 4e37d96be..34d765819 100644 --- a/graphql-server/go-server/graph/impl/datasource.resolvers.go +++ b/apiserver/graph/impl/datasource.resolvers.go @@ -7,10 +7,10 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/auth" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/client" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/datasource" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/auth" + "github.com/kubeagi/arcadia/apiserver/pkg/client" + "github.com/kubeagi/arcadia/apiserver/pkg/datasource" ) // CreateDatasource is the resolver for the createDatasource field. diff --git a/graphql-server/go-server/graph/impl/embedder.resolvers.go b/apiserver/graph/impl/embedder.resolvers.go similarity index 95% rename from graphql-server/go-server/graph/impl/embedder.resolvers.go rename to apiserver/graph/impl/embedder.resolvers.go index a8f6d96cf..c1406ee0f 100644 --- a/graphql-server/go-server/graph/impl/embedder.resolvers.go +++ b/apiserver/graph/impl/embedder.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/embedder" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/embedder" ) // CreateEmbedder is the resolver for the createEmbedder field. diff --git a/graphql-server/go-server/graph/impl/entrypoint.resolvers.go b/apiserver/graph/impl/entrypoint.resolvers.go similarity index 93% rename from graphql-server/go-server/graph/impl/entrypoint.resolvers.go rename to apiserver/graph/impl/entrypoint.resolvers.go index 233d498f2..d202dc610 100644 --- a/graphql-server/go-server/graph/impl/entrypoint.resolvers.go +++ b/apiserver/graph/impl/entrypoint.resolvers.go @@ -7,7 +7,7 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" + "github.com/kubeagi/arcadia/apiserver/graph/generated" ) // Hello is the resolver for the hello field. diff --git a/graphql-server/go-server/graph/impl/knowledgebase.resolvers.go b/apiserver/graph/impl/knowledgebase.resolvers.go similarity index 96% rename from graphql-server/go-server/graph/impl/knowledgebase.resolvers.go rename to apiserver/graph/impl/knowledgebase.resolvers.go index bd9fa9898..d3c5a3a43 100644 --- a/graphql-server/go-server/graph/impl/knowledgebase.resolvers.go +++ b/apiserver/graph/impl/knowledgebase.resolvers.go @@ -8,8 +8,8 @@ import ( "context" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/knowledgebase" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/knowledgebase" "github.com/kubeagi/arcadia/pkg/config" ) diff --git a/graphql-server/go-server/graph/impl/knowledgebase_application.resolvers.go b/apiserver/graph/impl/knowledgebase_application.resolvers.go similarity index 96% rename from graphql-server/go-server/graph/impl/knowledgebase_application.resolvers.go rename to apiserver/graph/impl/knowledgebase_application.resolvers.go index 4216d2760..3072140f7 100644 --- a/graphql-server/go-server/graph/impl/knowledgebase_application.resolvers.go +++ b/apiserver/graph/impl/knowledgebase_application.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/application" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/application" ) // CreateKnowledgeBaseApplication is the resolver for the createKnowledgeBaseApplication field. diff --git a/graphql-server/go-server/graph/impl/llm.resolvers.go b/apiserver/graph/impl/llm.resolvers.go similarity index 90% rename from graphql-server/go-server/graph/impl/llm.resolvers.go rename to apiserver/graph/impl/llm.resolvers.go index 55b06b175..d82b49a4f 100644 --- a/graphql-server/go-server/graph/impl/llm.resolvers.go +++ b/apiserver/graph/impl/llm.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/llm" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/llm" ) // GetLlm is the resolver for the getLLM field. diff --git a/graphql-server/go-server/graph/impl/model.resolvers.go b/apiserver/graph/impl/model.resolvers.go similarity index 95% rename from graphql-server/go-server/graph/impl/model.resolvers.go rename to apiserver/graph/impl/model.resolvers.go index 9532a1c76..fea7418d8 100644 --- a/graphql-server/go-server/graph/impl/model.resolvers.go +++ b/apiserver/graph/impl/model.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - md "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/model" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + md "github.com/kubeagi/arcadia/apiserver/pkg/model" ) // Files is the resolver for the files field. diff --git a/graphql-server/go-server/graph/impl/resolver.go b/apiserver/graph/impl/resolver.go similarity index 74% rename from graphql-server/go-server/graph/impl/resolver.go rename to apiserver/graph/impl/resolver.go index 7166e7aba..c96ab0e73 100644 --- a/graphql-server/go-server/graph/impl/resolver.go +++ b/apiserver/graph/impl/resolver.go @@ -5,8 +5,8 @@ import ( "k8s.io/client-go/dynamic" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/auth" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/client" + "github.com/kubeagi/arcadia/apiserver/pkg/auth" + "github.com/kubeagi/arcadia/apiserver/pkg/client" ) // This file will not be regenerated automatically. diff --git a/graphql-server/go-server/graph/impl/versioned_dataset.resolvers.go b/apiserver/graph/impl/versioned_dataset.resolvers.go similarity index 96% rename from graphql-server/go-server/graph/impl/versioned_dataset.resolvers.go rename to apiserver/graph/impl/versioned_dataset.resolvers.go index a0ba4daf9..cff1937b3 100644 --- a/graphql-server/go-server/graph/impl/versioned_dataset.resolvers.go +++ b/apiserver/graph/impl/versioned_dataset.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/versioneddataset" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/versioneddataset" ) // VersionedDataset is the resolver for the VersionedDataset field. diff --git a/graphql-server/go-server/graph/impl/worker.resolvers.go b/apiserver/graph/impl/worker.resolvers.go similarity index 95% rename from graphql-server/go-server/graph/impl/worker.resolvers.go rename to apiserver/graph/impl/worker.resolvers.go index 5db01bdca..582643dc4 100644 --- a/graphql-server/go-server/graph/impl/worker.resolvers.go +++ b/apiserver/graph/impl/worker.resolvers.go @@ -7,8 +7,8 @@ package impl import ( "context" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - md "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/worker" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + md "github.com/kubeagi/arcadia/apiserver/pkg/worker" ) // Worker is the resolver for the Worker field. diff --git a/graphql-server/go-server/graph/schema/dataprocessing.gql b/apiserver/graph/schema/dataprocessing.gql similarity index 100% rename from graphql-server/go-server/graph/schema/dataprocessing.gql rename to apiserver/graph/schema/dataprocessing.gql diff --git a/graphql-server/go-server/graph/schema/dataprocessing.graphqls b/apiserver/graph/schema/dataprocessing.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/dataprocessing.graphqls rename to apiserver/graph/schema/dataprocessing.graphqls diff --git a/graphql-server/go-server/graph/schema/dataset.gql b/apiserver/graph/schema/dataset.gql similarity index 100% rename from graphql-server/go-server/graph/schema/dataset.gql rename to apiserver/graph/schema/dataset.gql diff --git a/graphql-server/go-server/graph/schema/dataset.graphqls b/apiserver/graph/schema/dataset.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/dataset.graphqls rename to apiserver/graph/schema/dataset.graphqls diff --git a/graphql-server/go-server/graph/schema/datasource.gql b/apiserver/graph/schema/datasource.gql similarity index 100% rename from graphql-server/go-server/graph/schema/datasource.gql rename to apiserver/graph/schema/datasource.gql diff --git a/graphql-server/go-server/graph/schema/datasource.graphqls b/apiserver/graph/schema/datasource.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/datasource.graphqls rename to apiserver/graph/schema/datasource.graphqls diff --git a/graphql-server/go-server/graph/schema/embedder.gql b/apiserver/graph/schema/embedder.gql similarity index 100% rename from graphql-server/go-server/graph/schema/embedder.gql rename to apiserver/graph/schema/embedder.gql diff --git a/graphql-server/go-server/graph/schema/embedder.graphqls b/apiserver/graph/schema/embedder.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/embedder.graphqls rename to apiserver/graph/schema/embedder.graphqls diff --git a/graphql-server/go-server/graph/schema/entrypoint.graphqls b/apiserver/graph/schema/entrypoint.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/entrypoint.graphqls rename to apiserver/graph/schema/entrypoint.graphqls diff --git a/graphql-server/go-server/graph/schema/knowledgebase.gql b/apiserver/graph/schema/knowledgebase.gql similarity index 100% rename from graphql-server/go-server/graph/schema/knowledgebase.gql rename to apiserver/graph/schema/knowledgebase.gql diff --git a/graphql-server/go-server/graph/schema/knowledgebase.graphqls b/apiserver/graph/schema/knowledgebase.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/knowledgebase.graphqls rename to apiserver/graph/schema/knowledgebase.graphqls diff --git a/graphql-server/go-server/graph/schema/knowledgebase_application.gql b/apiserver/graph/schema/knowledgebase_application.gql similarity index 100% rename from graphql-server/go-server/graph/schema/knowledgebase_application.gql rename to apiserver/graph/schema/knowledgebase_application.gql diff --git a/graphql-server/go-server/graph/schema/knowledgebase_application.graphqls b/apiserver/graph/schema/knowledgebase_application.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/knowledgebase_application.graphqls rename to apiserver/graph/schema/knowledgebase_application.graphqls diff --git a/graphql-server/go-server/graph/schema/llm.gql b/apiserver/graph/schema/llm.gql similarity index 100% rename from graphql-server/go-server/graph/schema/llm.gql rename to apiserver/graph/schema/llm.gql diff --git a/graphql-server/go-server/graph/schema/llm.graphqls b/apiserver/graph/schema/llm.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/llm.graphqls rename to apiserver/graph/schema/llm.graphqls diff --git a/graphql-server/go-server/graph/schema/model.gql b/apiserver/graph/schema/model.gql similarity index 100% rename from graphql-server/go-server/graph/schema/model.gql rename to apiserver/graph/schema/model.gql diff --git a/graphql-server/go-server/graph/schema/model.graphqls b/apiserver/graph/schema/model.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/model.graphqls rename to apiserver/graph/schema/model.graphqls diff --git a/graphql-server/go-server/graph/schema/versioned_dataset.gql b/apiserver/graph/schema/versioned_dataset.gql similarity index 100% rename from graphql-server/go-server/graph/schema/versioned_dataset.gql rename to apiserver/graph/schema/versioned_dataset.gql diff --git a/graphql-server/go-server/graph/schema/versioned_dataset.graphqls b/apiserver/graph/schema/versioned_dataset.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/versioned_dataset.graphqls rename to apiserver/graph/schema/versioned_dataset.graphqls diff --git a/graphql-server/go-server/graph/schema/worker.gql b/apiserver/graph/schema/worker.gql similarity index 100% rename from graphql-server/go-server/graph/schema/worker.gql rename to apiserver/graph/schema/worker.gql diff --git a/graphql-server/go-server/graph/schema/worker.graphqls b/apiserver/graph/schema/worker.graphqls similarity index 100% rename from graphql-server/go-server/graph/schema/worker.graphqls rename to apiserver/graph/schema/worker.graphqls diff --git a/graphql-server/go-server/main.go b/apiserver/main.go similarity index 79% rename from graphql-server/go-server/main.go rename to apiserver/main.go index 4afe8e1d8..b615e8f9d 100644 --- a/graphql-server/go-server/main.go +++ b/apiserver/main.go @@ -19,10 +19,10 @@ package main import ( "k8s.io/klog/v2" - "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/service" + "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/service" - _ "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/oidc" + _ "github.com/kubeagi/arcadia/apiserver/pkg/oidc" ) func main() { diff --git a/graphql-server/go-server/pkg/application/knowledgebaseapplication.go b/apiserver/pkg/application/knowledgebaseapplication.go similarity index 98% rename from graphql-server/go-server/pkg/application/knowledgebaseapplication.go rename to apiserver/pkg/application/knowledgebaseapplication.go index ea6b1bc52..35b67917f 100644 --- a/graphql-server/go-server/pkg/application/knowledgebaseapplication.go +++ b/apiserver/pkg/application/knowledgebaseapplication.go @@ -33,9 +33,9 @@ import ( apiprompt "github.com/kubeagi/arcadia/api/app-node/prompt/v1alpha1" apiretriever "github.com/kubeagi/arcadia/api/app-node/retriever/v1alpha1" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + "github.com/kubeagi/arcadia/apiserver/pkg/utils" ) func cr2model(objPrompt, objChain, objRetriever, objApp *unstructured.Unstructured) (*generated.KnowledgeBaseApplication, error) { diff --git a/graphql-server/go-server/pkg/auth/auth.go b/apiserver/pkg/auth/auth.go similarity index 98% rename from graphql-server/go-server/pkg/auth/auth.go rename to apiserver/pkg/auth/auth.go index 2514d87b1..d897f6d4f 100644 --- a/graphql-server/go-server/pkg/auth/auth.go +++ b/apiserver/pkg/auth/auth.go @@ -33,7 +33,7 @@ import ( "k8s.io/klog/v2" "github.com/kubeagi/arcadia/api/base/v1alpha1" - client1 "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/client" + client1 "github.com/kubeagi/arcadia/apiserver/pkg/client" ) type idtokenKey struct{} diff --git a/graphql-server/go-server/pkg/chat/chat.go b/apiserver/pkg/chat/chat.go similarity index 96% rename from graphql-server/go-server/pkg/chat/chat.go rename to apiserver/pkg/chat/chat.go index b0f066bd5..7ccfd975c 100644 --- a/graphql-server/go-server/pkg/chat/chat.go +++ b/apiserver/pkg/chat/chat.go @@ -28,8 +28,8 @@ import ( "k8s.io/apimachinery/pkg/util/uuid" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/auth" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/client" + "github.com/kubeagi/arcadia/apiserver/pkg/auth" + "github.com/kubeagi/arcadia/apiserver/pkg/client" "github.com/kubeagi/arcadia/pkg/application" "github.com/kubeagi/arcadia/pkg/application/base" ) diff --git a/graphql-server/go-server/pkg/chat/chat_type.go b/apiserver/pkg/chat/chat_type.go similarity index 100% rename from graphql-server/go-server/pkg/chat/chat_type.go rename to apiserver/pkg/chat/chat_type.go diff --git a/graphql-server/go-server/pkg/client/client.go b/apiserver/pkg/client/client.go similarity index 94% rename from graphql-server/go-server/pkg/client/client.go rename to apiserver/pkg/client/client.go index 79b219214..19d16b2fe 100644 --- a/graphql-server/go-server/pkg/client/client.go +++ b/apiserver/pkg/client/client.go @@ -22,7 +22,7 @@ import ( "k8s.io/client-go/tools/clientcmd" ctrl "sigs.k8s.io/controller-runtime" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/oidc" + "github.com/kubeagi/arcadia/apiserver/pkg/oidc" ) func GetClient(idtoken *string) (dynamic.Interface, error) { diff --git a/graphql-server/go-server/pkg/common/common.go b/apiserver/pkg/common/common.go similarity index 97% rename from graphql-server/go-server/pkg/common/common.go rename to apiserver/pkg/common/common.go index 8e1f6e4a5..a2abb9f2c 100644 --- a/graphql-server/go-server/pkg/common/common.go +++ b/apiserver/pkg/common/common.go @@ -25,7 +25,7 @@ import ( "k8s.io/client-go/dynamic" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" + "github.com/kubeagi/arcadia/apiserver/graph/generated" "github.com/kubeagi/arcadia/pkg/config" "github.com/kubeagi/arcadia/pkg/datasource" ) diff --git a/graphql-server/go-server/pkg/common/endpoint.go b/apiserver/pkg/common/endpoint.go similarity index 98% rename from graphql-server/go-server/pkg/common/endpoint.go rename to apiserver/pkg/common/endpoint.go index 522722960..9fcdcde0f 100644 --- a/graphql-server/go-server/pkg/common/endpoint.go +++ b/apiserver/pkg/common/endpoint.go @@ -31,7 +31,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" + "github.com/kubeagi/arcadia/apiserver/graph/generated" ) // MakeEndpoint provides a common way to handle endpoint input diff --git a/graphql-server/go-server/pkg/common/file_chunk.go b/apiserver/pkg/common/file_chunk.go similarity index 100% rename from graphql-server/go-server/pkg/common/file_chunk.go rename to apiserver/pkg/common/file_chunk.go diff --git a/graphql-server/go-server/pkg/common/read_csv.go b/apiserver/pkg/common/read_csv.go similarity index 100% rename from graphql-server/go-server/pkg/common/read_csv.go rename to apiserver/pkg/common/read_csv.go diff --git a/graphql-server/go-server/pkg/common/read_csv_test.go b/apiserver/pkg/common/read_csv_test.go similarity index 100% rename from graphql-server/go-server/pkg/common/read_csv_test.go rename to apiserver/pkg/common/read_csv_test.go diff --git a/graphql-server/go-server/pkg/common/schema.go b/apiserver/pkg/common/schema.go similarity index 100% rename from graphql-server/go-server/pkg/common/schema.go rename to apiserver/pkg/common/schema.go diff --git a/graphql-server/go-server/pkg/dataprocessing/dataprocessing.go b/apiserver/pkg/dataprocessing/dataprocessing.go similarity index 98% rename from graphql-server/go-server/pkg/dataprocessing/dataprocessing.go rename to apiserver/pkg/dataprocessing/dataprocessing.go index 27c16ada9..816e3df2c 100644 --- a/graphql-server/go-server/pkg/dataprocessing/dataprocessing.go +++ b/apiserver/pkg/dataprocessing/dataprocessing.go @@ -22,7 +22,7 @@ import ( "k8s.io/client-go/dynamic" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" + "github.com/kubeagi/arcadia/apiserver/graph/generated" ) var ( diff --git a/graphql-server/go-server/pkg/dataset/dataset.go b/apiserver/pkg/dataset/dataset.go similarity index 97% rename from graphql-server/go-server/pkg/dataset/dataset.go rename to apiserver/pkg/dataset/dataset.go index 3bba776fe..2ba8f4ede 100644 --- a/graphql-server/go-server/pkg/dataset/dataset.go +++ b/apiserver/pkg/dataset/dataset.go @@ -28,9 +28,9 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + "github.com/kubeagi/arcadia/apiserver/pkg/utils" ) func dataset2model(obj *unstructured.Unstructured) (*generated.Dataset, error) { diff --git a/graphql-server/go-server/pkg/datasource/datasource.go b/apiserver/pkg/datasource/datasource.go similarity index 98% rename from graphql-server/go-server/pkg/datasource/datasource.go rename to apiserver/pkg/datasource/datasource.go index 5a77d7008..77b0aa184 100644 --- a/graphql-server/go-server/pkg/datasource/datasource.go +++ b/apiserver/pkg/datasource/datasource.go @@ -33,9 +33,9 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" "github.com/kubeagi/arcadia/pkg/datasource" "github.com/kubeagi/arcadia/pkg/utils" ) diff --git a/graphql-server/go-server/pkg/embedder/embedder.go b/apiserver/pkg/embedder/embedder.go similarity index 97% rename from graphql-server/go-server/pkg/embedder/embedder.go rename to apiserver/pkg/embedder/embedder.go index 4c0304506..1c5660541 100644 --- a/graphql-server/go-server/pkg/embedder/embedder.go +++ b/apiserver/pkg/embedder/embedder.go @@ -28,9 +28,9 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" "github.com/kubeagi/arcadia/pkg/embeddings" "github.com/kubeagi/arcadia/pkg/utils" ) diff --git a/graphql-server/go-server/pkg/knowledgebase/knowledgebase.go b/apiserver/pkg/knowledgebase/knowledgebase.go similarity index 98% rename from graphql-server/go-server/pkg/knowledgebase/knowledgebase.go rename to apiserver/pkg/knowledgebase/knowledgebase.go index 5b56881cc..c9ed03c67 100644 --- a/graphql-server/go-server/pkg/knowledgebase/knowledgebase.go +++ b/apiserver/pkg/knowledgebase/knowledgebase.go @@ -28,8 +28,8 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" "github.com/kubeagi/arcadia/pkg/utils" ) diff --git a/graphql-server/go-server/pkg/llm/llm.go b/apiserver/pkg/llm/llm.go similarity index 95% rename from graphql-server/go-server/pkg/llm/llm.go rename to apiserver/pkg/llm/llm.go index 8e6dc1358..1a87616b6 100644 --- a/graphql-server/go-server/pkg/llm/llm.go +++ b/apiserver/pkg/llm/llm.go @@ -26,9 +26,9 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" "github.com/kubeagi/arcadia/pkg/utils" ) diff --git a/graphql-server/go-server/pkg/model/model.go b/apiserver/pkg/model/model.go similarity index 97% rename from graphql-server/go-server/pkg/model/model.go rename to apiserver/pkg/model/model.go index 3752b931d..fdb3e25dc 100644 --- a/graphql-server/go-server/pkg/model/model.go +++ b/apiserver/pkg/model/model.go @@ -31,10 +31,10 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" pkgconf "github.com/kubeagi/arcadia/pkg/config" "github.com/kubeagi/arcadia/pkg/datasource" "github.com/kubeagi/arcadia/pkg/utils" diff --git a/graphql-server/go-server/pkg/oidc/auth.go b/apiserver/pkg/oidc/auth.go similarity index 100% rename from graphql-server/go-server/pkg/oidc/auth.go rename to apiserver/pkg/oidc/auth.go diff --git a/graphql-server/go-server/pkg/oidc/oidc.go b/apiserver/pkg/oidc/oidc.go similarity index 100% rename from graphql-server/go-server/pkg/oidc/oidc.go rename to apiserver/pkg/oidc/oidc.go diff --git a/graphql-server/go-server/pkg/utils/structured.go b/apiserver/pkg/utils/structured.go similarity index 100% rename from graphql-server/go-server/pkg/utils/structured.go rename to apiserver/pkg/utils/structured.go diff --git a/graphql-server/go-server/pkg/utils/structured_test.go b/apiserver/pkg/utils/structured_test.go similarity index 100% rename from graphql-server/go-server/pkg/utils/structured_test.go rename to apiserver/pkg/utils/structured_test.go diff --git a/graphql-server/go-server/pkg/versioneddataset/versioned_dataset.go b/apiserver/pkg/versioneddataset/versioned_dataset.go similarity index 98% rename from graphql-server/go-server/pkg/versioneddataset/versioned_dataset.go rename to apiserver/pkg/versioneddataset/versioned_dataset.go index 9d2d5112a..1e37640f2 100644 --- a/graphql-server/go-server/pkg/versioneddataset/versioned_dataset.go +++ b/apiserver/pkg/versioneddataset/versioned_dataset.go @@ -32,9 +32,9 @@ import ( "k8s.io/client-go/dynamic" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" "github.com/kubeagi/arcadia/pkg/config" "github.com/kubeagi/arcadia/pkg/datasource" "github.com/kubeagi/arcadia/pkg/utils" diff --git a/graphql-server/go-server/pkg/worker/worker.go b/apiserver/pkg/worker/worker.go similarity index 96% rename from graphql-server/go-server/pkg/worker/worker.go rename to apiserver/pkg/worker/worker.go index cb17f3c69..0c4b04e31 100644 --- a/graphql-server/go-server/pkg/worker/worker.go +++ b/apiserver/pkg/worker/worker.go @@ -31,11 +31,11 @@ import ( "k8s.io/klog/v2" "github.com/kubeagi/arcadia/api/base/v1alpha1" - "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - gqlmodel "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/model" - graphqlutils "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/utils" + "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + gqlmodel "github.com/kubeagi/arcadia/apiserver/pkg/model" + graphqlutils "github.com/kubeagi/arcadia/apiserver/pkg/utils" "github.com/kubeagi/arcadia/pkg/utils" ) diff --git a/graphql-server/go-server/service/chat.go b/apiserver/service/chat.go similarity index 92% rename from graphql-server/go-server/service/chat.go rename to apiserver/service/chat.go index 46ef06e02..577401f3e 100644 --- a/graphql-server/go-server/service/chat.go +++ b/apiserver/service/chat.go @@ -22,8 +22,8 @@ import ( "github.com/gin-gonic/gin" "k8s.io/klog/v2" - "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/chat" + "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/pkg/chat" ) func chatHandler() gin.HandlerFunc { diff --git a/graphql-server/go-server/service/graph_api_server.go b/apiserver/service/graph_api_server.go similarity index 82% rename from graphql-server/go-server/service/graph_api_server.go rename to apiserver/service/graph_api_server.go index 84d913cde..cc286f057 100644 --- a/graphql-server/go-server/service/graph_api_server.go +++ b/apiserver/service/graph_api_server.go @@ -26,11 +26,11 @@ import ( "github.com/gin-gonic/gin" "k8s.io/klog/v2" - "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/impl" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/auth" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/oidc" + "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/graph/impl" + "github.com/kubeagi/arcadia/apiserver/pkg/auth" + "github.com/kubeagi/arcadia/apiserver/pkg/oidc" ) func graphqlHandler() gin.HandlerFunc { @@ -60,7 +60,7 @@ func RegisterGraphQL(g *gin.Engine, bg *gin.RouterGroup, conf config.ServerConfi endpoint = fmt.Sprintf("/%s%s", prefix, endpoint) } } - g.GET("/", gin.WrapH(playground.Handler("Arcadia-Graphql-Server", endpoint))) + g.GET("/", gin.WrapH(playground.Handler("Arcadia-apiserver", endpoint))) } bg.POST("", auth.AuthInterceptor(conf.EnableOIDC, oidc.Verifier, "", ""), graphqlHandler()) diff --git a/graphql-server/go-server/service/minio_server.go b/apiserver/service/minio_server.go similarity index 98% rename from graphql-server/go-server/service/minio_server.go rename to apiserver/service/minio_server.go index b4dcc70c6..6ec4a59df 100644 --- a/graphql-server/go-server/service/minio_server.go +++ b/apiserver/service/minio_server.go @@ -29,11 +29,11 @@ import ( "k8s.io/klog/v2" "github.com/kubeagi/arcadia/api/base/v1alpha1" - gqlconfig "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/auth" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/client" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/common" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/oidc" + gqlconfig "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/pkg/auth" + "github.com/kubeagi/arcadia/apiserver/pkg/client" + "github.com/kubeagi/arcadia/apiserver/pkg/common" + "github.com/kubeagi/arcadia/apiserver/pkg/oidc" "github.com/kubeagi/arcadia/pkg/cache" "github.com/kubeagi/arcadia/pkg/datasource" ) diff --git a/graphql-server/go-server/service/router.go b/apiserver/service/router.go similarity index 93% rename from graphql-server/go-server/service/router.go rename to apiserver/service/router.go index d0c1404dc..ed4d4b2a1 100644 --- a/graphql-server/go-server/service/router.go +++ b/apiserver/service/router.go @@ -21,8 +21,8 @@ import ( "github.com/gin-gonic/gin" - "github.com/kubeagi/arcadia/graphql-server/go-server/config" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/oidc" + "github.com/kubeagi/arcadia/apiserver/config" + "github.com/kubeagi/arcadia/apiserver/pkg/oidc" ) func Cors() gin.HandlerFunc { diff --git a/cmd/arctl/main.go b/cmd/arctl/main.go index 9f79c6ff8..2cad132af 100644 --- a/cmd/arctl/main.go +++ b/cmd/arctl/main.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/cobra" "k8s.io/client-go/dynamic" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/client" + "github.com/kubeagi/arcadia/apiserver/pkg/client" arctlPkg "github.com/kubeagi/arcadia/pkg/arctl" ) diff --git a/deploy/charts/arcadia/Chart.yaml b/deploy/charts/arcadia/Chart.yaml index fdf7c4e8d..c1ef92d16 100644 --- a/deploy/charts/arcadia/Chart.yaml +++ b/deploy/charts/arcadia/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: arcadia description: A Helm chart(KubeBB Component) for KubeAGI Arcadia type: application -version: 0.1.42 +version: 0.1.43 appVersion: "0.0.1" keywords: diff --git a/deploy/charts/arcadia/templates/apiserver.yaml b/deploy/charts/arcadia/templates/apiserver.yaml index fadf62675..5cb7ed6c3 100644 --- a/deploy/charts/arcadia/templates/apiserver.yaml +++ b/deploy/charts/arcadia/templates/apiserver.yaml @@ -15,7 +15,7 @@ spec: spec: serviceAccountName: {{ .Release.Name }} containers: - - name: graphql-server + - name: apiserver image: {{ .Values.apiserver.image }} ports: - containerPort: {{ .Values.apiserver.port }} @@ -33,7 +33,7 @@ spec: - name: DEFAULT_CONFIG value: {{ .Release.Name }}-config command: - - "./graphql-server" + - "./apiserver" args: - "--enable-playground={{ .Values.apiserver.enableplayground }}" - "--port={{ .Values.apiserver.port }}" diff --git a/deploy/charts/arcadia/templates/config.yaml b/deploy/charts/arcadia/templates/config.yaml index 07390a017..55912defb 100644 --- a/deploy/charts/arcadia/templates/config.yaml +++ b/deploy/charts/arcadia/templates/config.yaml @@ -9,7 +9,9 @@ data: gateway: apiServer: 'http://{{ .Release.Name }}-fastchat.{{ .Release.Namespace }}.svc.cluster.local:8000/v1' controller: 'http://{{ .Release.Name }}-fastchat.{{ .Release.Namespace }}.svc.cluster.local:21001' - externalApiServer: 'http://{{ .Values.apiserver.ingress.host }}/{{ .Values.apiserver.ingress.path }}' +{{- if .Values.fastchat.ingress.enabled }} + externalApiServer: 'http://{{ .Values.fastchat.ingress.host }}/v1' +{{- end }} vectorStore: apiGroup: arcadia.kubeagi.k8s.com.cn/v1alpha1 kind: VectorStore diff --git a/deploy/charts/arcadia/templates/dataprocess.yaml b/deploy/charts/arcadia/templates/dataprocess.yaml index 52e1019d9..0bc0e1e33 100644 --- a/deploy/charts/arcadia/templates/dataprocess.yaml +++ b/deploy/charts/arcadia/templates/dataprocess.yaml @@ -21,6 +21,18 @@ spec: ports: - containerPort: {{ .Values.dataprocess.port }} env: + - name: POD_NAME + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + - name: DEFAULT_CONFIG + value: {{ .Release.Name }}-config - name: MINIO_ACCESSKEY value: "to-be-replaced" - name: MINIO_SECRETKEY diff --git a/deploy/charts/arcadia/templates/ingress-apiserver.yaml b/deploy/charts/arcadia/templates/ingress-apiserver.yaml index 3da0304dd..402269894 100644 --- a/deploy/charts/arcadia/templates/ingress-apiserver.yaml +++ b/deploy/charts/arcadia/templates/ingress-apiserver.yaml @@ -1,3 +1,4 @@ +{{- if .Values.apiserver.ingress.enabled }} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -32,3 +33,4 @@ spec: name: {{ .Release.Name }}-apiserver port: number: {{ .Values.apiserver.port }} +{{- end }} \ No newline at end of file diff --git a/deploy/charts/arcadia/templates/ingress-fastchat.yaml b/deploy/charts/arcadia/templates/ingress-fastchat.yaml new file mode 100644 index 000000000..d18aef031 --- /dev/null +++ b/deploy/charts/arcadia/templates/ingress-fastchat.yaml @@ -0,0 +1,34 @@ +{{- if .Values.fastchat.ingress.enabled }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ .Release.Name }}-fastchat-ingress + namespace: {{ .Release.Namespace }} + annotations: + description: kubeagi-fastchat-ingress + displayName: kubeagi-fastchat-ingress + httpSend: / + ingress-lb: portal-ingress + kubernetes.io/ingress.class: portal-ingress + nginx.ingress.kubernetes.io/enable-access-log: "false" + nginx.ingress.kubernetes.io/enable-rewrite-log: "false" + nginx.ingress.kubernetes.io/load-balance: round_robin + nginx.ingress.kubernetes.io/proxy-body-size: "" + nginx.ingress.kubernetes.io/proxy-buffering: "on" + nginx.ingress.kubernetes.io/proxy-connect-timeout: "60" + nginx.ingress.kubernetes.io/server-alias: "" + nginx.ingress.kubernetes.io/ssl-redirect: "true" + nginx.ingress.kubernetes.io/upstream-vhost: $host +spec: + rules: + - host: {{ .Values.apiserver.ingress.host }} + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: {{ .Release.Name }}-fastchat + port: + number: 8000 +{{- end }} \ No newline at end of file diff --git a/deploy/charts/arcadia/values.yaml b/deploy/charts/arcadia/values.yaml index 0ddb9032d..456e74d55 100644 --- a/deploy/charts/arcadia/values.yaml +++ b/deploy/charts/arcadia/values.yaml @@ -1,12 +1,13 @@ global: oss: bucket: &default-oss-bucket "arcadia" + # @section controller is used as the core controller for arcadia # @param image Image to be used # @param imagePullPolcy ImagePullPolicy # @param resources Resources to be used controller: - image: kubeagi/arcadia:v0.1.0-20231207-11c8738 + image: kubeagi/arcadia:v0.1.0-20231208-89982be imagePullPolicy: IfNotPresent resources: limits: @@ -15,27 +16,31 @@ controller: requests: cpu: 10m memory: 64Mi -# graphql and bff server + +# @section graphql and bff server +# related project: https://github.com/kubeagi/arcadia/tree/main/apiserver apiserver: - image: kubeagi/arcadia:v0.1.0-20231207-11c8738 + image: kubeagi/arcadia:v0.1.0-20231208-89982be enableplayground: false # update the namespace if we use different one dataProcessURL: http://arcadia-dataprocess:28888 port: 8081 ingress: + enabled: true path: kubeagi-apis host: portal..nip.io oidc: enabled: true clientID: bff-client - issuerURL: https://portal..nip.io/oidc clientSecret: 61324af0-1234-4f61-b110-ef57013267d6 + issuerURL: https://portal..nip.io/oidc masterURL: https://k8s..nip.io -# portal + +# @section portal for arcadia web console portal: enabled: true kubebbEnabled: true - image: yuntibuild/kubeagi-portal:0.1.0 + image: kubeagi/portal:v0.1.0-20231216-df45bd2 port: 80 ingress: path: kubeagi-portal-public @@ -48,21 +53,10 @@ fastchat: # Use either v0.1.0 or vllm-v0.1.0(with vllm enabled) tag: v0.1.0 ingress: - enabled: false - className: portal-ingress - hosts: - - host: fastchat-api..nip.io - paths: - - path: / - port: 8000 - pathType: ImplementationSpecific + enabled: true + host: fastchat-api..nip.io -# @section oss is used as default Object-Storage-Service for arcadia which provides the capability to -# - host user-uploaded data files as local datasource -# - host user-uploaded models -# The following params comes from kubeagi/minio in repository https://kubebb.github.io/components -# @param oss.enabled Enable Object-Storage-Service in arcadia -# @param oss.buckets List of default buckets in arcadia +# @section oss is used as default Object-Storage-Service for arcadia minio: image: repository: kubeagi/minio @@ -106,12 +100,24 @@ minio: # bucket [true|false] NOTE: versioning is enabled by default if you use locking objectlocking: false +# @section vectorstore configures the default vectorstore utilzied by knowledgebase vectorstore: - # update the namespace if we use different one, update to pgvector later url: http://arcadia-chromadb:8000 chroma: distanceFunction: cosine +# @section chromadb is used to deploy a chromadb instance +chromadb: + image: + repository: kubeagi/chromadb + chromadb: + auth: + enabled: false + dataVolumeStorageClass: "openebs-hostpath" + apiVersion: "0.4.18" + +# @section dataprocess is used to configure data processing service +# Related project: https://github.com/kubeagi/arcadia/tree/main/data-processing dataprocess: enabled: true image: kubeagi/data-processing:v0.1.0 @@ -130,12 +136,3 @@ dataprocess: user: admin password: Passw0rd! database: arcadia - -chromadb: - image: - repository: kubeagi/chromadb - chromadb: - auth: - enabled: false - dataVolumeStorageClass: "openebs-hostpath" - apiVersion: "0.4.18.dev39-offline" diff --git a/examples/app-ui-using-streamlit/chat_app_english_teacher.py b/examples/app-ui-using-streamlit/chat_app_english_teacher.py index 329ef361c..522808837 100644 --- a/examples/app-ui-using-streamlit/chat_app_english_teacher.py +++ b/examples/app-ui-using-streamlit/chat_app_english_teacher.py @@ -3,7 +3,7 @@ import os with st.sidebar: - server_url = st.text_input("服务 graphql-server/go-server 请求地址, 默认为 http://arcadia-apiserver.kubeagi-system.svc:8081/chat", key="url") + server_url = st.text_input("服务 apiserver 请求地址, 默认为 http://arcadia-apiserver.kubeagi-system.svc:8081/chat", key="url") conversion_id = st.text_input("如果想继续的话,可以输入上次的conversion_id,留空表示新对话", key="conversion_id") st.title("💬 Chat with kubeagi") diff --git a/examples/app-ui-using-streamlit/chat_using_private_knowledgebase.py b/examples/app-ui-using-streamlit/chat_using_private_knowledgebase.py index 67277daae..0ada0eff5 100644 --- a/examples/app-ui-using-streamlit/chat_using_private_knowledgebase.py +++ b/examples/app-ui-using-streamlit/chat_using_private_knowledgebase.py @@ -3,7 +3,7 @@ import os with st.sidebar: - server_url = st.text_input("服务 graphql-server/go-server 请求地址, 默认为 http://arcadia-apiserver.kubeagi-system.svc:8081/chat", key="url") + server_url = st.text_input("服务 apiserver 请求地址, 默认为 http://arcadia-apiserver.kubeagi-system.svc:8081/chat", key="url") conversion_id = st.text_input("如果想继续的话,可以输入上次的conversion_id,留空表示新对话", key="conversion_id") st.title("💬 Chat with kubeagi") diff --git a/gqlgen.yaml b/gqlgen.yaml index 1d2c0a94b..532440da7 100644 --- a/gqlgen.yaml +++ b/gqlgen.yaml @@ -1,10 +1,10 @@ # Where are all the schema files located? globs are supported eg src/**/*.graphqls schema: - - graphql-server/go-server/graph/schema/*.graphqls + - apiserver/graph/schema/*.graphqls # Where should the generated server code go? exec: - filename: graphql-server/go-server/graph/generated/generated.go + filename: apiserver/graph/generated/generated.go package: generated # Uncomment to enable federation @@ -14,13 +14,13 @@ exec: # Where should any generated models go? model: - filename: graphql-server/go-server/graph/generated/models_gen.go + filename: apiserver/graph/generated/models_gen.go package: generated # Where should the resolver implementations go? resolver: layout: follow-schema - dir: graphql-server/go-server/graph/impl + dir: apiserver/graph/impl package: impl filename_template: "{name}.resolvers.go" # Optional: turn on to not generate template comments above resolvers diff --git a/graphql-server/go-server/README.md b/graphql-server/go-server/README.md deleted file mode 100644 index 92215fa0f..000000000 --- a/graphql-server/go-server/README.md +++ /dev/null @@ -1,100 +0,0 @@ -# graphql go server - -## How to develop - -**There can only be one Query structure in all schemas, and Mutation can have one or none.** -**Query and Mutation define the entry point to the service. The fields, functions, defined below these two structures are what the front-end uses to query.** - -Now that there is a `datasource` definition in the code, we can add new structures and related functions as follows. - -### Add schema - -go to `graph/schema` dir. - -```shell -cat << EOF > x.graphqls -type X { - name: String -} -EOF -``` - -### Add a query function - -The `graph/schema/datasource.graphqls` file defines the Query structure, so we need to edit this file to add a function. - -```shell -type Query { - ds(input: QueryDatasource!): [Datasource!] - findX(input: String!): String! -} -``` - -### generate resolver - -in the root dir of the project, update `gqlgen.yaml` file. - -in the root dir of the project: - -```shell -make gql-gen -``` - -Looking at `datasource.resolver.go`, I can see the addition of the function we defined: - -```go -func (r *queryResolver) FindX(ctx context.Context, input string) (string, error) { - panic(fmt.Errorf("not implemented: FindX - findX")) -} -``` - -The file `model/model_gen.go` has a new structure x that we defined. - -All we have to do is just implement the `FindX` function. And the content of the function is up to you to play with. - -## How to run - -At the root dir of the project - -1. Build graphql server - -```shell -make build-graphql-server -``` - -2. Try graphql-server - -```shell -$ ./bin/graphql-server -h -Usage of ./bin/graphql-server: - -host string - bind to the host, default is 0.0.0.0 - -port int - service listening port (default 8081) - -enable-playground - whether to enable the graphql playground - -enable-oidc - whether to enable oidc authentication - -client-id string - oidc client id - -client-secret string - oidc client secret - -master-url string - k8s master url - -issuer-url string - oidc issuer url - -kubeconfig string - Paths to a kubeconfig. Only required if out-of-cluster. -``` - -3. Run graphql-server - -> If you don't want to try playground, do not pass flag `-enable-plaground` - -```shell -./bin/graphql-server -enable-playground --client-id=bff-client --client-secret=some-secret --master-url=https://k8s-adress --issuer-url=https://oidc-server -``` - -4. Try apis with plaground - -Open http://localhost:8081/ in your browser! diff --git a/pkg/arctl/datasource.go b/pkg/arctl/datasource.go index 54b278600..3c8cfa941 100644 --- a/pkg/arctl/datasource.go +++ b/pkg/arctl/datasource.go @@ -28,8 +28,8 @@ import ( "k8s.io/client-go/dynamic" "k8s.io/klog/v2" - "github.com/kubeagi/arcadia/graphql-server/go-server/graph/generated" - "github.com/kubeagi/arcadia/graphql-server/go-server/pkg/datasource" + "github.com/kubeagi/arcadia/apiserver/graph/generated" + "github.com/kubeagi/arcadia/apiserver/pkg/datasource" "github.com/kubeagi/arcadia/pkg/arctl/printer" )