guilded-api-typings
Advanced tools
Comparing version 0.9.0 to 0.10.0
# guilded-api-typings | ||
## 0.10.0 | ||
### Minor Changes | ||
- bb54674: feat: set server member XP | ||
### Patch Changes | ||
- 13a6533: types: change `WSOpCodes` to `WSOpCode` | ||
## 0.9.0 | ||
@@ -4,0 +14,0 @@ |
{ | ||
"name": "guilded-api-typings", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "Type definitions for the Guilded API.", | ||
@@ -10,7 +10,7 @@ "repository": { | ||
"homepage": "https://guildedts.js.org", | ||
"main": "lib", | ||
"main": "dist", | ||
"types": "typings", | ||
"files": [ | ||
"CHANGELOG.md", | ||
"lib", | ||
"dist", | ||
"typings" | ||
@@ -35,4 +35,4 @@ ], | ||
"build": "pnpm clear && tsc", | ||
"clear": "rimraf lib typings" | ||
"clear": "rimraf dist typings" | ||
} | ||
} |
@@ -109,2 +109,10 @@ import { APIUser, APIUserSummary } from './User'; | ||
/** | ||
* The payload for editing XP. | ||
* @see https://www.guilded.gg/docs/api/server-xp/ServerXpForUserUpdate | ||
*/ | ||
export interface APIServerXpEditPayload { | ||
/** The total XP */ | ||
total: number; | ||
} | ||
/** | ||
* Represents a social link on Guilded. | ||
@@ -111,0 +119,0 @@ * @see https://www.guilded.gg/docs/api/socialLinks/MemberSocialLinkRead |
@@ -22,3 +22,3 @@ import { APIChannel } from './structures/Channel'; | ||
/** The op code. */ | ||
op: number; | ||
op: WSOpCode; | ||
/** The name of the event. */ | ||
@@ -32,3 +32,3 @@ t?: string; | ||
/** The Guilded WebSocket API operation codes. */ | ||
export declare enum WSOpCodes { | ||
export declare enum WSOpCode { | ||
/** The event operation code. */ | ||
@@ -35,0 +35,0 @@ Event = 0, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124817
1953