Typescript types and interfaces for the Music Assistant Queue Actions
- Add
@droans/mass-queue-actionsto your package.json file or runnpm i @droans/mass-queue-actions
All service schemas are available as PARTIAL (service data only) or FULL (entire service call) schemas. Full will only work when calling hass.callWS due to the function schemas.
Use FULL when...
- You are calling
hass.callWS. - You want complete validation, including the
type,domain,service, and (if applicable),return_response.
Use PARTIAL when...
- You are calling
hass.callService. - You only want to validate the service data being passed.
All mass_queue services have schemas available:
get_group_volumeget_queue_itemsget_recommendationsmove_queue_item_downmove_queue_item_nextmove_queue_item_upplay_queue_itemremove_queue_itemsend_commandset_group_volumeunfavorite_current_item
There are only a few services in Music Assistant Queue Actions which can return a service response. All of these are available.
Like with Service Schemas, these are available as PARTIAL (response data only) or FULL (data inside the response key).
get_group_volumeget_queue_itemsget_recommendations
Music Assistant Queue Actions supports a handful of WebSocket commands which aren't available as service calls. All of them have their service and response schemas available.
mass_queue/download_and_encode_image- NOTE: No response schema is available since this only returns a string
mass_queue/encode_imagesmass_queue.get_info
While I appreciate it, I am not going to accept any funding.
When someone funds development, there's often an implied belief that the card will keep being developed or the maintainer will provide new projects. I want to be able to drop development on this card when I feel that it is complete. I do not want people to feel misled, cheated, or that I should prioritize their wants over anything else. This card is something I created for myself
Check the repository issues to see if your question has already been asked. If not, feel free to submit a new issue.
I am happy to accept any new contributions to this repository. Feel free to fork and submit pull requests.
This card uses corepack for development and relies on Node 22.
git clone https://github.com/droans/mass-queue-typesSwitch to Node 22:
nvm use 22Install corepack:
npm install corepackInstall dependencies:
yarn install