Versions in this module Expand all Collapse all v0 v0.1.1 May 13, 2025 Changes in this version + var AllEntityOwner = []EntityOwner + var AllRelationType = []RelationType + func JSONDefaultValueWithError[T any](val string) (T, error) + func JSONDefaultValue[T any](val string) T + func ValidateEmail(val string) error + func ValidateJSONDefaultValue(val string) error + func ValidatePhone(val string) error + type CreateEdgeInput struct + BelongsToCaption *string + Caption string + Private *bool + Ref string + RelatedEntity *EntityConnectInput + RelationType RelationType + Required *bool + Type *string + type CreateEntityInput struct + Caption string + DisplayField FieldWhereUniqueInput + Edges *CreateManyEdgesInput + Fields *CreateManyFieldsInput + type CreateFieldInput struct + AcceptedValues []string + Caption string + DefaultValue *string + Max *string + Min *string + Private *bool + Required *bool + Type string + Unique *bool + type CreateManyEdgesInput struct + Create []*CreateEdgeInput + type CreateManyFieldsInput struct + Create []*CreateFieldInput + type Edge struct + BelongsToCaption *string + Caption string + EntName string + Name string + Private *bool + Ref string + RelationType RelationType + Required *bool + Type string + func (e *Edge) ApplyUpdateInput(data UpdateEdgeInput) + func (e Edge) Validate() error + func (f Edge) Equals(uniqueInput EdgeWhereUniqueInput) bool + type EdgeWhereUniqueInput struct + Caption *string + Name *string + type Entity struct + Caption string + DisplayFieldName string + EntName string + Name string + Owner EntityOwner + func (e *Entity) ApplyUpdateInput(data UpdateEntityInput) + func (f Entity) Equals(uniqueInput EntityWhereUniqueInput) bool + func (f Entity) Validate() error + type EntityConnectInput struct + Connect EntityWhereUniqueInput + type EntityOwner string + const EntityOwnerAdmin + const EntityOwnerUser + func (e *EntityOwner) UnmarshalGQL(v interface{}) error + func (e EntityOwner) IsValid() bool + func (e EntityOwner) MarshalGQL(w io.Writer) + func (e EntityOwner) String() string + type EntityWhereUniqueInput struct + Caption *string + EntName *string + Name *string + type Field struct + AcceptedValues []string + Caption string + DefaultValue *string + EntName string + Max *string + Min *string + Name string + Nillable bool + Private *bool + Required *bool + Type string + Unique *bool + UpdateDefault bool + func (f *Field) ApplyUpdateInput(data UpdateFieldInput) + func (f Field) Equals(uniqueInput FieldWhereUniqueInput) bool + func (f Field) Validate() error + type FieldType string + const FieldTypeBoolean + const FieldTypeDate + const FieldTypeDateTime + const FieldTypeDecimal + const FieldTypeEmail + const FieldTypeEnum + const FieldTypeEnums + const FieldTypeFloat + const FieldTypeID + const FieldTypeInteger + const FieldTypeJson + const FieldTypeLongText + const FieldTypeMultipleChoice + const FieldTypeRichText + const FieldTypeShortText + const FieldTypeSingleChoice + const FieldTypeTime + type FieldWhereUniqueInput struct + Caption *string + Name *string + type RelationType string + const RelationTypeM2M + const RelationTypeM2O + const RelationTypeMany + const RelationTypeO2M + const RelationTypeO2O + const RelationTypeOne + func (e *RelationType) UnmarshalGQL(v interface{}) error + func (e RelationType) IsValid() bool + func (e RelationType) MarshalGQL(w io.Writer) + func (e RelationType) String() string + func (e RelationType) VariableName() string + type UpdateEdgeInput struct + Caption *string + Private *bool + Required *bool + type UpdateEntityInput struct + Caption *string + DisplayField *FieldWhereUniqueInput + Edges *UpdateManyEdgesInput + Fields *UpdateManyFieldsInput + type UpdateFieldInput struct + AcceptedValues []string + Caption *string + DefaultValue *string + Max *string + Min *string + Private *bool + Required *bool + Unique *bool + type UpdateManyEdgesInput struct + Create []*CreateEdgeInput + Delete []*EdgeWhereUniqueInput + Update []*UpdateOneEdgeInput + type UpdateManyFieldsInput struct + Create []*CreateFieldInput + Delete []*FieldWhereUniqueInput + Update []*UpdateOneFieldInput + type UpdateOneEdgeInput struct + Data UpdateEdgeInput + Where EdgeWhereUniqueInput + type UpdateOneFieldInput struct + Data UpdateFieldInput + Where FieldWhereUniqueInput v0.1.0-mod2 May 13, 2025