Skip to content

Commit

Permalink
Merge pull request #2 from Moosync/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Ovenoboyo authored Nov 1, 2023
2 parents 953e89b + 5a7ea77 commit c5bc0f8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,12 @@ export interface extensionAPI {
*/
addSongs(...songs: Song[]): Promise<(Song | undefined)[] | undefined>

/**
* Update song in library by ID
* @param song song to update
*/
updateSong(song: Song): Promise<Song | undefined>

/**
* @deprecated pass song instead of song_id
* Remove song from library
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"devDependencies": {
"loglevel": "^1.7.1",
"typedoc": "^0.22.5",
"typescript": "^4.4.3",
"@types/node": "^18.11.7"
"typescript": "^4.4.3"
},
"dependencies": {
"@types/node": "^17.0.35"
}
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@types/node@^18.11.7":
version "18.11.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.7.tgz#8ccef136f240770c1379d50100796a6952f01f94"
integrity sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==
"@types/node@^17.0.35":
version "17.0.35"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.35.tgz#635b7586086d51fb40de0a2ec9d1014a5283ba4a"
integrity sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==

balanced-match@^1.0.0:
version "1.0.2"
Expand Down

0 comments on commit c5bc0f8

Please sign in to comment.