Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ services that Sagittarius must implement as a server.
├── flow_definition - Defines a definition for a Flow
├── runtime_function_definition - Defines types for runtime functions
├── struct - Defines types for json representations
└── translation - Contains translations with country codes and translated messages
├── translation - Contains translations with country codes and translated messages
└── version - Contains verion type for definitions
```
20 changes: 20 additions & 0 deletions proto/sagittarius/sagittarius.text_execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ message TestExecutionResponse {
}

message Log {
oneof kind {
ApplicationLog application_log = 1;
SuccessLog success_log = 2;
RuntimeErrorLog error_log = 3;
}
}

message SuccessLog {
int64 note_id = 1;
shared.Value result = 2;
}

message RuntimeErrorLog {
int64 note_id = 1;
string error_code = 2;
string error_message = 3;
optional string suggestion = 4;
}

message ApplicationLog {
string message = 1;
string level = 2;
string timestamp = 3;
Expand Down