Packages

Generated Elixir gRPC contracts for Cratis Chronicle - the open-source event-sourcing database

Current section

Files

Jump to
cratis_chronicle_contracts lib generated projectioneditor.pb.ex
Raw

lib/generated/projectioneditor.pb.ex

defmodule Cratis.Chronicle.Contracts.ProjectionEditor.ValidationResultSeverity do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Unknown, 0
field :Information, 1
field :Warning, 2
field :Error, 3
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.CommandResult_GenerateDeclarativeCodeResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.ProjectionEditor.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :AuthorizationFailureReason, 6, type: :string
field :Response, 7,
type: Cratis.Chronicle.Contracts.ProjectionEditor.GenerateDeclarativeCodeResponse
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.DraftReadModel do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Identifier, 1, type: :string
field :DisplayName, 2, type: :string
field :ContainerName, 3, type: :string
field :Schema, 4, type: :string
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.GenerateDeclarativeCodeRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :Declaration, 3, type: :string
field :DraftReadModel, 4, type: Cratis.Chronicle.Contracts.ProjectionEditor.DraftReadModel
field :Language, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.GenerateDeclarativeCodeResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Code, 1, type: :string
field :Errors, 2,
repeated: true,
type: Cratis.Chronicle.Contracts.ProjectionEditor.ProjectionDeclarationSyntaxError
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.GenerateModelBoundCodeRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :Declaration, 3, type: :string
field :DraftReadModel, 4, type: Cratis.Chronicle.Contracts.ProjectionEditor.DraftReadModel
field :Language, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.ProjectionDeclarationSyntaxError do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Message, 1, type: :string
field :Line, 2, type: :int32
field :Column, 3, type: :int32
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.ValidationResult do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Severity, 1,
type: Cratis.Chronicle.Contracts.ProjectionEditor.ValidationResultSeverity,
enum: true
field :Message, 2, type: :string
field :Members, 3, repeated: true, type: :string
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.ProjectionEditor.Service do
@moduledoc false
use GRPC.Service,
name: "Cratis.Chronicle.Contracts.ProjectionEditor.ProjectionEditor",
protoc_gen_elixir_version: "0.17.0"
rpc :GenerateDeclarativeCode,
Cratis.Chronicle.Contracts.ProjectionEditor.GenerateDeclarativeCodeRequest,
Cratis.Chronicle.Contracts.ProjectionEditor.CommandResult_GenerateDeclarativeCodeResponse
rpc :GenerateModelBoundCode,
Cratis.Chronicle.Contracts.ProjectionEditor.GenerateModelBoundCodeRequest,
Cratis.Chronicle.Contracts.ProjectionEditor.CommandResult_GenerateDeclarativeCodeResponse
end
defmodule Cratis.Chronicle.Contracts.ProjectionEditor.ProjectionEditor.Stub do
@moduledoc false
use GRPC.Stub, service: Cratis.Chronicle.Contracts.ProjectionEditor.ProjectionEditor.Service
end