mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-03 12:16:22 -04:00
app call/message and private routing checkpoint
This commit is contained in:
parent
507d02974c
commit
baa1714943
29 changed files with 1139 additions and 538 deletions
|
@ -1232,11 +1232,19 @@ abstract class VeilidUpdate {
|
|||
switch (json["kind"]) {
|
||||
case "Log":
|
||||
{
|
||||
return VeilidUpdateLog(
|
||||
return VeilidLog(
|
||||
logLevel: veilidLogLevelFromJson(json["log_level"]),
|
||||
message: json["message"],
|
||||
backtrace: json["backtrace"]);
|
||||
}
|
||||
case "AppMessage":
|
||||
{
|
||||
return VeilidAppMessage();
|
||||
}
|
||||
case "AppCall":
|
||||
{
|
||||
return VeilidAppCall();
|
||||
}
|
||||
case "Attachment":
|
||||
{
|
||||
return VeilidUpdateAttachment(
|
||||
|
@ -1256,12 +1264,12 @@ abstract class VeilidUpdate {
|
|||
Map<String, dynamic> get json;
|
||||
}
|
||||
|
||||
class VeilidUpdateLog implements VeilidUpdate {
|
||||
class VeilidLog implements VeilidUpdate {
|
||||
final VeilidLogLevel logLevel;
|
||||
final String message;
|
||||
final String? backtrace;
|
||||
//
|
||||
VeilidUpdateLog({
|
||||
VeilidLog({
|
||||
required this.logLevel,
|
||||
required this.message,
|
||||
required this.backtrace,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue