Skip to content

Commit

Permalink
proto: add new lit service protos
Browse files Browse the repository at this point in the history
Add missing lit service protos to 'build-protos.js' and run `make
protos`
  • Loading branch information
ellemouton committed Mar 20, 2023
1 parent e698d70 commit 365ad8f
Show file tree
Hide file tree
Showing 18 changed files with 6,178 additions and 16 deletions.
5 changes: 4 additions & 1 deletion app/scripts/build-protos.js
Expand Up @@ -59,6 +59,9 @@ const filePatches = {
'auctioneerrpc/auctioneer': 'poolrpc: {}',
'lit-sessions': 'litrpc: {}',
'lit-accounts': 'litrpc: {}',
'lit-autopilot': 'litrpc: {}',
'firewall': 'litrpc: {}',
'proxy': 'litrpc: {}',
};

/**
Expand All @@ -84,7 +87,7 @@ const download = async () => {
}
// copy the lit proto files from litrpc to the proto dir so that the original
// files are not modified by `sanitize`
const litProtoFiles = ['lit-sessions', 'lit-accounts'];
const litProtoFiles = ['lit-sessions', 'lit-accounts', 'lit-autopilot', 'proxy', 'firewall'];
for (name of litProtoFiles) {
const src = join(appPath, '..', 'litrpc', `${name}.proto`);
const dest = join(appPath, '..', 'proto', `${name}.proto`);
Expand Down
218 changes: 218 additions & 0 deletions app/src/types/generated/firewall_pb.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 365ad8f

Please sign in to comment.