Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

litrpc: add REST annotations for Litd RPC services #522

Merged
merged 11 commits into from Mar 20, 2023
Merged
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.