Skip to content

Commit 960abf5

Browse files
authored
Move RelatesTo interface to export scope
Signed-off-by: Sandeep Nambiar <[email protected]>
1 parent 397f1e1 commit 960abf5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/generic/WebhookTransformer.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ interface Mentions {
1010
user_ids?: string[];
1111
room?: boolean;
1212
}
13-
14-
interface RelatesTo {
15-
event_id?: string;
16-
is_falling_back?: boolean;
17-
key?: string;
18-
"m.in_reply_to"?: { event_id?: string };
19-
rel_type?: string;
20-
}
21-
2213
interface FunctionResultObject {
2314
version: string;
2415
plain?: string;
@@ -29,6 +20,14 @@ interface FunctionResultObject {
2920
mentions?: Mentions;
3021
}
3122

23+
export interface RelatesTo {
24+
event_id?: string;
25+
is_falling_back?: boolean;
26+
key?: string;
27+
"m.in_reply_to"?: { event_id?: string };
28+
rel_type?: string;
29+
}
30+
3231
export interface ExecuteResultWebhookResponse {
3332
body: string;
3433
contentType?: string;

0 commit comments

Comments
 (0)