Add mobile review diff and comment sheets (#2021)
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
a62b2ac173
commit
efc36b41d4
37 files changed
+2734
-3
No files matched your search
@@ -95,6 +95,7 @@ export interface WsRpcClient {
|
||||
readonly preparePullRequestThread: RpcUnaryMethod<
|
||||
typeof WS_METHODS.gitPreparePullRequestThread
|
||||
>;
|
||||
readonly getReviewDiffs: RpcUnaryMethod<typeof WS_METHODS.gitGetReviewDiffs>;
|
||||
};
|
||||
readonly server: {
|
||||
readonly getConfig: RpcUnaryNoArgMethod<typeof WS_METHODS.serverGetConfig>;
|
||||
@@ -193,6 +194,8 @@ export function createWsRpcClient(transport: WsTransport): WsRpcClient {
|
||||
transport.request((client) => client[WS_METHODS.gitResolvePullRequest](input)),
|
||||
preparePullRequestThread: (input) =>
|
||||
transport.request((client) => client[WS_METHODS.gitPreparePullRequestThread](input)),
|
||||
getReviewDiffs: (input) =>
|
||||
transport.request((client) => client[WS_METHODS.gitGetReviewDiffs](input)),
|
||||
},
|
||||
server: {
|
||||
getConfig: () => transport.request((client) => client[WS_METHODS.serverGetConfig]({})),
|
||||
|
||||
Reference in new issue
Block a user