Skip to content

Commit 163af3d

Browse files
authored
Merge pull request #522 from ellemouton/litREST
litrpc: add REST annotations for Litd RPC services
2 parents e50c228 + 365ad8f commit 163af3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+10478
-428
lines changed

app/scripts/build-protos.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ const filePatches = {
5959
'auctioneerrpc/auctioneer': 'poolrpc: {}',
6060
'lit-sessions': 'litrpc: {}',
6161
'lit-accounts': 'litrpc: {}',
62+
'lit-autopilot': 'litrpc: {}',
63+
'firewall': 'litrpc: {}',
64+
'proxy': 'litrpc: {}',
6265
};
6366

6467
/**
@@ -84,7 +87,7 @@ const download = async () => {
8487
}
8588
// copy the lit proto files from litrpc to the proto dir so that the original
8689
// files are not modified by `sanitize`
87-
const litProtoFiles = ['lit-sessions', 'lit-accounts'];
90+
const litProtoFiles = ['lit-sessions', 'lit-accounts', 'lit-autopilot', 'proxy', 'firewall'];
8891
for (name of litProtoFiles) {
8992
const src = join(appPath, '..', 'litrpc', `${name}.proto`);
9093
const dest = join(appPath, '..', 'proto', `${name}.proto`);

app/src/types/generated/firewall_pb.d.ts

Lines changed: 218 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)