-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtauri.proto
41 lines (30 loc) · 892 Bytes
/
tauri.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
syntax = "proto3";
package rs.devtools.tauri;
import "google/protobuf/timestamp.proto";
service Tauri {
rpc GetVersions(VersionsRequest) returns (Versions) {}
rpc GetConfig(ConfigRequest) returns (Config) {}
rpc GetMetrics(MetricsRequest) returns (Metrics) {
option deprecated = true;
}
}
message VersionsRequest {}
message Versions {
/// Tauri version, follows SemVer.
string tauri = 1;
/// Version of the OS'es webview.
/// The format of this is freeform and changes depending on the OS.
optional string webview = 2;
}
message ConfigRequest {}
message MetricsRequest {}
message Config {
/// The raw JSON string of the configuration
string raw = 1;
}
message Metrics {
/// Tauri application initialization time
google.protobuf.Timestamp initialized_at = 1;
/// Tauri application reported `AppReady` time
google.protobuf.Timestamp ready_at = 2;
}