Skip to content

Conversation

@mfw78
Copy link
Contributor

@mfw78 mfw78 commented Jun 6, 2022

This refactors the space availability and sets it so that it just sets the object, there is no incrementing of `numSpaces.

Galeaf11 and others added 15 commits June 6, 2022 11:09
This standards the storage of the Availability protobuf message.
Particularly when being called, it just simply wraps the leveldb
database. Functionally, this is required as a per day override may be
used in order to 'ram' the availability of a space type to 0 when a
guesthouse wants to 'block' out a specific space type for a day.

BREAKING CHANGE: 🧨 Discrete daily override does NOT only increment numSpaces
@mfw78 mfw78 added D-chore Difficulty: chore C-database Components: database labels Jun 6, 2022
@mfw78 mfw78 added this to the ETHBarcelona & ETHcc milestone Jun 6, 2022
@mfw78 mfw78 requested a review from kostysh June 6, 2022 12:09
mfw78 added 2 commits June 6, 2022 12:43
Updates the storage schema to add missing rates for otherItems, as well
as convering on standards for space and otherItems with respect to
metadata keys.

BREAKING CHANGE: 🧨 metadata keys for spaces are changed

✅ Closes: #13
kostysh
kostysh previously approved these changes Jun 6, 2022
@mfw78 mfw78 closed this Jun 6, 2022
@mfw78 mfw78 deleted the refactor/standardization branch June 6, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-database Components: database D-chore Difficulty: chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants