Skip to content

Commit

Permalink
Merge pull request #28 from code0-tech/26-aquila-events
Browse files Browse the repository at this point in the history
feat: added event message
  • Loading branch information
raphael-goetz authored Jan 3, 2025
2 parents e8cc91d + f74f668 commit 2a25928
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ fn main() -> Result<()> {
"action.proto",
"transfer.proto",
"ping.proto",
"action_execute.proto"
"action_execute.proto",
"event.proto"
];

let inclusions = &[
Expand Down
13 changes: 13 additions & 0 deletions proto/aquila/event.proto
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 2a25928

Please sign in to comment.