Documentation ¶
Index ¶
Constants ¶
View Source
const UsePublicApiValue = "1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
Address holds the schema definition for the Address entity.
func (Address) Annotations ¶
func (Address) Annotations() []schema.Annotation
type AuditLog ¶
func (AuditLog) Annotations ¶ added in v0.0.7
func (AuditLog) Annotations() []schema.Annotation
type Business ¶
Business holds the schema definition for the Business entity.
func (Business) Annotations ¶
func (Business) Annotations() []schema.Annotation
type Operator ¶
Operator holds the schema definition for the Operator entity. These users were derived from the users if the flag public_api is set to 1 There is no connection to the Users table, because of the public api See hooks.UpdatePublicUser()
type PublicApiMixin ¶
func (PublicApiMixin) Fields ¶
func (PublicApiMixin) Fields() []ent.Field
func (PublicApiMixin) Indexes ¶
func (PublicApiMixin) Indexes() []ent.Index
type TimeMixin ¶
type TimeMixin struct { // We embed the `mixin.Schema` to avoid // implementing the rest of the methods. mixin.Schema }
TimeMixin implements the ent.Mixin for sharing time fields with package schemas.
type Timetable ¶
Timetable holds the schema definition for a Timetable entity.
func (Timetable) Annotations ¶
func (Timetable) Annotations() []schema.Annotation
type TimetableTypeMixin ¶
func (TimetableTypeMixin) Fields ¶
func (TimetableTypeMixin) Fields() []ent.Field
type User ¶
User holds the schema definition for the User entity.
func (User) Annotations ¶ added in v0.0.7
func (User) Annotations() []schema.Annotation
Source Files ¶
Click to show internal directories.
Click to hide internal directories.