Skip to content

Commit d836430

Browse files
committed
fix(interface/lockers): add a allocation id
to help with syncing
1 parent 2904c9d commit d836430

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: placeos-driver
2-
version: 7.3.3
2+
version: 7.3.4
33

44
dependencies:
55
action-controller:

src/placeos-driver/interface/lockers.cr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ abstract class PlaceOS::Driver
2222
# is the current locker allocated
2323
property? allocated : Bool?
2424

25+
# an indicator that can be synced with PlaceOS bookings
26+
# could be the locker system user id or a booking id
27+
property allocation_id : String | Int64? = nil
28+
2529
# when the locker is released if known / enabled in the locker system
2630
@[JSON::Field(converter: Time::EpochConverter, type: "integer", format: "Int64")]
2731
property expires_at : Time? = nil

0 commit comments

Comments
 (0)