Skip to content

Commit 683f33b

Browse files
committed
fixes
1 parent e354e7f commit 683f33b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

frontend/bindings.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Some structs that must be redefined for transpiling without changing actual types on backend
22

3+
use tsync::tsync;
4+
35
#[tsync]
46
pub type Hostname = String;

frontend/src/types/rust.d.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22

33
/** Data needed to connect to a BOB cluster */
44
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;
99
}
1010

1111
/** Optional auth credentials for a BOB cluster */
1212
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;
1717
}
18-
19-
type Hostname = string;

0 commit comments

Comments
 (0)