0.5.3-alpha.12 • Published 2 years ago

bronycord-api v0.5.3-alpha.12

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Revolt API

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();