Skip to content

Conversation

@mfw78
Copy link
Contributor

@mfw78 mfw78 commented Jun 6, 2022

This PR:

  1. Adds a stubs index to the facility-specific sublevel.
  2. Adds a stubs sublevel specific to each facility for storing the actual `stub.
  3. Adds a stubs sublevel specific to each facility.space for storing a date index and num_booked counter.

Closes #16

Galeaf11 and others added 21 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
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
@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 17:02
@mfw78 mfw78 closed this Jun 6, 2022
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.

Stubs connector

2 participants