diff --git a/build/rust/build.rs b/build/rust/build.rs index 25567a2..3d9f519 100644 --- a/build/rust/build.rs +++ b/build/rust/build.rs @@ -11,7 +11,8 @@ fn main() -> Result<()> { "action.proto", "transfer.proto", "ping.proto", - "action_execute.proto" + "action_execute.proto", + "event.proto" ]; let inclusions = &[ diff --git a/proto/aquila/event.proto b/proto/aquila/event.proto new file mode 100644 index 0000000..917150c --- /dev/null +++ b/proto/aquila/event.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option ruby_package = "Tucana::Aquila"; + +package aquila; + +// Event that gets admitted by an action +message Event { + // Id of Event type + string event_type = 1; + // Payload (JSON) of event params + string payload = 2; +} \ No newline at end of file