0.5.3-alpha.12 • Published 2 years ago
bronycord-api v0.5.3-alpha.12
Revolt API
This package contains typings for objects in the Revolt API and code for generating the OpenAPI specification.
For most cases, if not all, you should only be concerned with revolt-api/types
.
Example Usage
import type { User } from 'revolt-api/types/Users';
Tip (for development)
For faster compile times when working on API routes, comment out the categories you don't care about.
/// src/routes/index.ts
export async function load() {
// await import('./core.js');
// await import('./users.js');
// await import('./channels.js');
await import('./servers.js');
}
await load();
0.5.3-alpha.12
2 years ago