Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Typescript typings and OpenAPI v3 generator for the Revolt API.

Notifications You must be signed in to change notification settings

NightScript370/api

 
 

Repository files navigation

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

About

Typescript typings and OpenAPI v3 generator for the Revolt API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%