Add timedmap mod, RegisterContext struc type

This commit is contained in:
2023-12-20 07:55:49 -06:00
parent a915e80d7a
commit f87e6d31fa
3 changed files with 11 additions and 0 deletions

View File

@@ -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