membermatters / MemberMatters

An open source membership, access and payments portal for makerspaces and community groups.
https://membermatters.org
MIT License
43 stars 23 forks source link

Feature/220 space api #221

Closed proffalken closed 11 months ago

proffalken commented 11 months ago

Fixes #220 (possibly! :rofl: )

This is an attempt to start the migration of certain parts of the SpaceAPI integration from Constance to a more dynamic way of working.

It allows for the space state (open/close) and message to be set via a database model, and also provides sensors that can be added to the database inline with the JSON Schema for SpaceAPI. SpaceDIROutput

jabelone commented 11 months ago

Heya @proffalken I've left a few comments with some suggested changes. Looks really good and would be great to merge after!

Also it would be good to check a few sample outputs against the space api validator below before we merge just to make sure it hasn't broken anything. https://validator.spaceapi.io/ui/