Skip to content

Commit 2a25928

Browse files
Merge pull request #28 from code0-tech/26-aquila-events
feat: added event message
2 parents e8cc91d + f74f668 commit 2a25928

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

build/rust/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ fn main() -> Result<()> {
1111
"action.proto",
1212
"transfer.proto",
1313
"ping.proto",
14-
"action_execute.proto"
14+
"action_execute.proto",
15+
"event.proto"
1516
];
1617

1718
let inclusions = &[

proto/aquila/event.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
syntax = "proto3";
2+
3+
option ruby_package = "Tucana::Aquila";
4+
5+
package aquila;
6+
7+
// Event that gets admitted by an action
8+
message Event {
9+
// Id of Event type
10+
string event_type = 1;
11+
// Payload (JSON) of event params
12+
string payload = 2;
13+
}

0 commit comments

Comments
 (0)