mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 20:16:06 -04:00
refactor: update exports and docs
This commit is contained in:
+2
-1
@@ -13,7 +13,7 @@
|
||||
"lint": "eslint --ext .ts,.tsx src/",
|
||||
"lint:fix": "eslint --fix --ext .ts,.tsx src/",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"docs": "typedoc --readme README.md src/",
|
||||
"docs": "typedoc --plugin @mxssfd/typedoc-theme --theme my-theme --readme README.md src/",
|
||||
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
||||
"fmt:check": "prettier --check 'src/**/*.{js,jsx,ts,tsx}'"
|
||||
},
|
||||
@@ -24,6 +24,7 @@
|
||||
"description": "Library for interacting with the Revolt API.",
|
||||
"packageManager": "pnpm@7.14.2",
|
||||
"dependencies": {
|
||||
"@mxssfd/typedoc-theme": "^1.1.1",
|
||||
"@solid-primitives/map": "^0.4.3",
|
||||
"@solid-primitives/set": "^0.4.3",
|
||||
"eventemitter3": "^5.0.0",
|
||||
|
||||
@@ -7,6 +7,11 @@ import { serverHydration } from "./server";
|
||||
import { serverMemberHydration } from "./serverMember";
|
||||
import { userHydration } from "./user";
|
||||
|
||||
export { BotFlags } from "./bot";
|
||||
export { ServerFlags } from "./server";
|
||||
export { UserBadges, UserFlags } from "./user";
|
||||
|
||||
export type { HydratedBot } from "./bot";
|
||||
export type { HydratedChannel } from "./channel";
|
||||
export type { HydratedChannelUnread } from "./channelUnread";
|
||||
export type { HydratedEmoji } from "./emoji";
|
||||
|
||||
+5
-3
@@ -1,6 +1,8 @@
|
||||
export { Client } from "./Client";
|
||||
export type { Session } from "./Client";
|
||||
|
||||
export * from "./classes";
|
||||
export * from "./lib/regex";
|
||||
export * from "./collections";
|
||||
export * as API from "revolt-api";
|
||||
export type { Session } from "./Client";
|
||||
export { Client, ClientOptions } from "./Client";
|
||||
export { EventClient, ConnectionState } from "./events";
|
||||
export { ServerFlags, UserBadges, UserFlags, BotFlags } from "./hydration";
|
||||
|
||||
Reference in New Issue
Block a user