mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-20 01:25:03 -04:00
Finish server routes.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Revolt API
|
||||
|
||||
### Tip
|
||||
|
||||
For faster compile times when working on API routes, comment out the categories you don't care about.
|
||||
|
||||
```ts
|
||||
// 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();
|
||||
```
|
||||
Reference in New Issue
Block a user