Packages
cratis_chronicle_contracts
16.5.0
16.7.0
16.6.1
16.6.0
16.5.0
16.4.1
16.4.0
16.3.1
16.3.0
16.2.1
16.2.0
16.1.1
16.1.0
16.0.6
16.0.5
16.0.4
16.0.3
16.0.2
16.0.1
16.0.0
15.41.0
15.40.0
15.39.1
15.39.0
15.38.4
15.38.3
15.38.2
15.38.1
15.38.0
15.37.0
15.36.1
15.36.0
15.35.8
15.35.7
15.35.6
15.35.5
15.35.4
15.35.3
15.35.2
15.35.1
15.35.0
15.34.13
15.34.12
15.34.11
15.34.10
15.34.9
15.34.8
15.34.7
15.34.6
15.34.5
15.34.4
15.34.3
15.34.2
15.31.5
15.31.4
15.31.3
15.31.2
15.31.1
15.31.0
15.30.2
15.30.1
15.30.0
15.29.8
15.29.7
15.29.6
15.29.4
15.29.3
15.29.2
15.29.1
15.29.0
15.28.0
15.27.3
15.27.2
15.27.1
15.27.0
15.26.11
15.26.10
15.26.9
15.26.8
15.26.7
15.26.6
15.26.5
15.26.4
15.26.3
15.26.1
15.25.5
15.25.4
15.25.3
Generated Elixir gRPC contracts for Chronicle
Current section
Files
Jump to
Current section
Files
lib/generated/events.pb.ex
defmodule Cratis.Chronicle.Contracts.Events.EventType do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: :string
field :Generation, 2, type: :uint32
field :Tombstone, 3, type: :bool
end
defmodule Cratis.Chronicle.Contracts.Events.EventTypeGenerationDefinition do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Generation, 1, type: :uint32
field :Schema, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Events.EventTypeMigrationDefinition do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :FromGeneration, 1, type: :uint32
field :ToGeneration, 2, type: :uint32
field :Operations, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Events.EventTypeMigrationOperation
field :UpcastJmesPath, 4, type: :string
field :DowncastJmesPath, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.Events.EventTypeMigrationOperation do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Operation, 1, type: :string
field :Details, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Events.EventTypeRegistration do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Type, 1, type: Cratis.Chronicle.Contracts.Events.EventType
field :Schema, 2, type: :string
field :Generations, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Events.EventTypeGenerationDefinition
field :Migrations, 4,
repeated: true,
type: Cratis.Chronicle.Contracts.Events.EventTypeMigrationDefinition
field :EventStore, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.Events.GetAllEventTypesRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
end
defmodule Cratis.Chronicle.Contracts.Events.GetEventTypeGenerationsRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :EventTypeId, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Events.IEnumerable_EventType do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :items, 1, repeated: true, type: Cratis.Chronicle.Contracts.Events.EventType
end
defmodule Cratis.Chronicle.Contracts.Events.IEnumerable_EventTypeRegistration do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :items, 1, repeated: true, type: Cratis.Chronicle.Contracts.Events.EventTypeRegistration
end
defmodule Cratis.Chronicle.Contracts.Events.RegisterEventTypesRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Types, 2, repeated: true, type: Cratis.Chronicle.Contracts.Events.EventTypeRegistration
field :DisableValidation, 3, type: :bool
end
defmodule Cratis.Chronicle.Contracts.Events.RegisterSingleEventTypeRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Type, 2, type: Cratis.Chronicle.Contracts.Events.EventTypeRegistration
end
defmodule Cratis.Chronicle.Contracts.Events.EventTypes.Service do
@moduledoc false
use GRPC.Service,
name: "Cratis.Chronicle.Contracts.Events.EventTypes",
protoc_gen_elixir_version: "0.17.0"
rpc :GetAll,
Cratis.Chronicle.Contracts.Events.GetAllEventTypesRequest,
Cratis.Chronicle.Contracts.Events.IEnumerable_EventType
rpc :GetAllGenerationsForEventType,
Cratis.Chronicle.Contracts.Events.GetEventTypeGenerationsRequest,
Cratis.Chronicle.Contracts.Events.IEnumerable_EventTypeRegistration
rpc :GetAllRegistrations,
Cratis.Chronicle.Contracts.Events.GetAllEventTypesRequest,
Cratis.Chronicle.Contracts.Events.IEnumerable_EventTypeRegistration
rpc :ObserveAllRegistrations,
Cratis.Chronicle.Contracts.Events.GetAllEventTypesRequest,
stream(Cratis.Chronicle.Contracts.Events.IEnumerable_EventTypeRegistration)
rpc :Register,
Cratis.Chronicle.Contracts.Events.RegisterEventTypesRequest,
Google.Protobuf.Empty
rpc :RegisterSingle,
Cratis.Chronicle.Contracts.Events.RegisterSingleEventTypeRequest,
Google.Protobuf.Empty
end
defmodule Cratis.Chronicle.Contracts.Events.EventTypes.Stub do
@moduledoc false
use GRPC.Stub, service: Cratis.Chronicle.Contracts.Events.EventTypes.Service
end