You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should move from keeping stored in the Item object to keeping them in a separate collection.
Benefits:
much greater ability to store many individual things
More flexibility in how things are stored
Simpler conceptual storage methodology
Object Changes
Items
Now much simpler schema (no tracking stored)
Typed to specify what kind of stored to allow:
Bulk
amount
unique
Hold a list of allowed storage blocks
Stored
Now in own collection
types:
Unique
Amount (unique + amount data?)
if amount, locked to unit from item
New API layout
/.../inventoryItem [C, S]
/<item id> [R, U, D]
/stored [S]
/transact (add/ subtract/ transfer/ checkout object types)
/transaction [S]
/<transactionId> [R]
/stats (same as interface for search, but returns a stats object for stored related to an item)
/inBlock/<blockId> [C(if amount, create with 0) S]
/stats (same as interface for search, but returns a stats object for stored related to an item + block)
/<storedId> [R, U (update only data, not amounts)]
C/reate
R/ead
U/pdate
D/elete
S/earch
Is your feature request related to a problem?
Test users have expressed some confusion on methods of storage. Additionally, old method does not scale well for large amounts of individual stored items
Software
Core API, Base Station
Describe what you'd like to see
We should move from keeping stored in the Item object to keeping them in a separate collection.
Benefits:
Object Changes
Items
Stored
New API layout
C/reate
R/ead
U/pdate
D/elete
S/earch
Is your feature request related to a problem?
Test users have expressed some confusion on methods of storage. Additionally, old method does not scale well for large amounts of individual stored items
Describe alternatives you've considered
None
Additional context
None
Checklist:
API
UI
To Follow up on:
The text was updated successfully, but these errors were encountered: