File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
// Some structs that must be redefined for transpiling without changing actual types on backend
2
2
3
+ use tsync:: tsync;
4
+
3
5
#[ tsync]
4
6
pub type Hostname = String ;
Original file line number Diff line number Diff line change 2
2
3
3
/** Data needed to connect to a BOB cluster */
4
4
interface BobConnectionData {
5
- /** Address to connect to */
6
- hostname : Hostname ;
7
- /** [Optional] Credentials used for BOB authentication */
8
- credentials ?: Credentials ;
5
+ /** Address to connect to */
6
+ hostname : Hostname ;
7
+ /** [Optional] Credentials used for BOB authentication */
8
+ credentials ?: Credentials ;
9
9
}
10
10
11
11
/** Optional auth credentials for a BOB cluster */
12
12
interface Credentials {
13
- /** Login used during auth */
14
- login : string ;
15
- /** Password used during auth */
16
- password : string ;
13
+ /** Login used during auth */
14
+ login : string ;
15
+ /** Password used during auth */
16
+ password : string ;
17
17
}
18
-
19
- type Hostname = string ;
You can’t perform that action at this time.
0 commit comments