mirror of
https://github.com/Xevion/r2park.git
synced 2025-12-09 00:08:04 -06:00
Add timedmap mod, RegisterContext struc type
This commit is contained in:
8
types.go
8
types.go
@@ -12,6 +12,14 @@ type Field struct {
|
||||
id string // The id of the field
|
||||
}
|
||||
|
||||
// RegisterContext is used to store the contextual information used during registration.
|
||||
type RegisterContext struct {
|
||||
hiddenKeys []string // The form inputs that are hidden & unused
|
||||
requiredFormKeys []string // The form inputs that arne't hidden - required to submit the form
|
||||
propertyId uint // The property ID involved with the request
|
||||
residentId uint // The resident ID involved with the request
|
||||
}
|
||||
|
||||
const (
|
||||
GuestCodeRequired = iota
|
||||
GuestCodeNotRequired = iota
|
||||
|
||||
Reference in New Issue
Block a user