# Functions
IsKnownAgeGroupOrEmpty returns error if not a valid age group.
No description provided by the author
IsKnownGender returns false if bad value.
IsKnownGenderOrEmpty returns error if bad value.
IsKnownRelationship checks if values is a known relationship.
NewSpaceItemID returns space item ID as a concatenation of space ID and item ID.
No description provided by the author
ValidateAgeGroup return error if not a valid age group, TODO: similar but not same as IsKnownAgeGroupOrEmpty?.
ValidateGender checks gender.
ValidateTitle validates title.
No description provided by the author
WithSingleSpaceID returns WithSpaceIDs with single spaceID.
# Constants
AgeGroupAdult = "adult".
AgeGroupChild = "child".
Should be removed?.
AgeGroupUndisclosed = "undisclosed".
AgeGroupUnknown = "unknown".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RelationshipChild = "child".
RelationshipGrandparent = "grandparent".
RelationshipOther = "other".
RelationshipParent = "parent".
RelationshipPartner = "partner".
RelationshipSibling = "sibling".
RelationshipSpouse = "spouse".
RelationshipUndisclosed = "undisclosed".
RelationshipUnknown = "unknown".
No description provided by the author
SpaceItemIDSeparatorChar is a separator character between space ID and item ID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Address is a postal address.
ByUser record.
No description provided by the author
DtoWithID is a DTO with ID.
GeoPoint represents a location as latitude/longitude in degrees.
IDTitle record.
Modified DTO.
PersonEmail holds person's email.
PersonPhone holds person's phone number.
RemoteClientInfo a struct to store data about remote client (e.g.
Timestamp record.
Timezone record.
No description provided by the author
No description provided by the author
WithMemberIDs defines a record with a list of member IDs.
WithModified DTO.
WithMultiSpaceAssetIDs mixin that adds indexed AssetIDs field // TODO: should be moved to assetus module?.
WithOptionalRelatedAs is a mixin that adds RelatedAs field.
No description provided by the author
No description provided by the author
WithRequiredRelatedAs is a mixin that adds RelatedAs field.
WithSpaceDates holds date properties for indexed queries.
WithSpaceID holds SpaceID property.
WithSpaceIDs holds SpaceIDs property.
No description provided by the author
WithUserID defines a record with a user ContactID.
WithUserIDs defines a record with a list of user IDs.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
Versioned defines an interface for versioned record.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author