Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

revolt-api

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

revolt-api

Revolt API typings

  • 0.5.2-alpha.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
124
decreased by-36.08%
Maintainers
1
Weekly downloads
 
Created
Source

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';

Commit Style

If publishing a new version of the spec, the first line should always be the API version.

0.5.0-alpha.0
Commit description.
Line 2.

If you are creating new changes for a PR, don't include any version!

For any subsequent lines, prepend the relevant text:

PrefixDescription
StructureAdded a new data structure to the API.
RouteAdded a new route to the API.
ChangeChanged an existing route or data structure.
FixFixes to structures / routes.
DeprecationUse when deprecating a structure or route.
LibraryChanges to this repo unrelated to the API.

Add new prefixes to this list as necessary.

Tip

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

FAQs

Package last updated on 30 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc