2022-03-04 16:49:29 +00:00
2022-01-15 10:38:35 +00:00
2021-07-24 17:01:05 +01:00
2022-01-26 15:03:54 +00:00
2022-01-15 10:38:35 +00:00
2022-01-15 10:38:35 +00:00
2022-01-15 10:38:35 +00:00
2021-07-24 17:01:05 +01:00
2021-07-12 20:32:18 +01:00

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();
S
Description
Typescript typings and OpenAPI v3 generator for the Stoat API.
Readme MIT 1.7 MiB
Languages
TypeScript 98.1%
JavaScript 1.8%