Skip to content

Commit

Permalink
fix: add missing loadType
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Mar 14, 2022
1 parent 921c724 commit 15ef136
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": "./dist/index.js"
}
},
"version": "0.1.8",
"version": "0.1.9",
"license": "GPL-3.0",
"repository": {
"url": "https://github.com/kirishima-ship/lavalink-api-types"
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ export enum TrackEndReasonEnum {
/**
* @description A load type returned by lavalink in loadtracks route.
*/
export type LoadType = 'TRACK_LOADED' | 'PLAYLIST_LOADED' | 'NO_MATCHES' | 'LOAD_FAILED';
export type LoadType = 'SEARCH_RESULT ' | 'TRACK_LOADED' | 'PLAYLIST_LOADED' | 'NO_MATCHES' | 'LOAD_FAILED';

/**
* @description A load type returned by lavalink in loadtracks route.
*/
export enum LoadTypeEnum {
SEARCH_RESULT = 'SEARCH_RESULT',
TRACK_LOADED = 'TRACK_LOADED',
PLAYLIST_LOADED = 'PLAYLIST_LOADED',
NO_MATCHES = 'NO_MATCHES',
Expand Down

0 comments on commit 15ef136

Please sign in to comment.