npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

mass-queue-types

v0.8.1

Published

Custom Types and Interfaces for Music Assistant Queue Actions

Downloads

1,388

Readme

GitHub Release

Maintainer GitHub Activity License

Music Assistant Queue Actions Types

Typescript types and interfaces for the Music Assistant Queue Actions

Table of Contents

Installation

  1. Add @droans/mass-queue-actions to your package.json file or run npm i @droans/mass-queue-actions

Usage

Service Schemas

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.

Available service schemas

All mass_queue services have schemas available:

  • get_group_volume
  • get_queue_items
  • get_recommendations
  • move_queue_item_down
  • move_queue_item_next
  • move_queue_item_up
  • play_queue_item
  • remove_queue_item
  • send_command
  • set_group_volume
  • unfavorite_current_item

Response Schemas

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).

Available service response schemas:

  • get_group_volume
  • get_queue_items
  • get_recommendations

Websocket Commands

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.

Available WebSocket schemas:

  • mass_queue/download_and_encode_image
    • NOTE: No response schema is available since this only returns a string
  • mass_queue/encode_images
  • mass_queue.get_info

FAQs

I would like to sponsor you/the card and/or pay to add a new feature!

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

I have other questions or issues not addressed

Check the repository issues to see if your question has already been asked. If not, feel free to submit a new issue.

Contributing

I am happy to accept any new contributions to this repository. Feel free to fork and submit pull requests.

Developing

This card uses corepack for development and relies on Node 22.

Clone the repository:

git clone https://github.com/droans/mass-queue-types

Set up the environment

Switch to Node 22:

nvm use 22

Install corepack:

npm install corepack

Install dependencies:

yarn install