Documentation
¶
Index ¶
Constants ¶
View Source
const ( IptString = iota IptNumber IptBoolean IptJson IptFile IptEnum IptRelation )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionWithProperties ¶
type CollectionWithProperties struct {
Collection *pocketbase_api.Collection
Properties []*InterfaceProperty
}
func (CollectionWithProperties) GetGdScriptCollectionEntry ¶ added in v0.0.3
func (collection CollectionWithProperties) GetGdScriptCollectionEntry(generatorFlags *cmd.GeneratorFlags) string
func (CollectionWithProperties) GetGdScriptInterface ¶
func (collection CollectionWithProperties) GetGdScriptInterface(generatorFlags *cmd.GeneratorFlags) string
type InterfaceProperty ¶
type InterfaceProperty struct {
Name string
CollectionName string
Optional bool
Type InterfacePropertyType
IsArray bool
Data interface{}
}
func (InterfaceProperty) GetGdscriptProperty ¶
func (property InterfaceProperty) GetGdscriptProperty(generatorFlags *cmd.GeneratorFlags, flags propertyFlags) string
func (InterfaceProperty) String ¶
func (property InterfaceProperty) String() string
type InterfacePropertyType ¶
type InterfacePropertyType int
func GetInterfacePropertyType ¶
func GetInterfacePropertyType(typeName string) InterfacePropertyType
func (InterfacePropertyType) String ¶
func (propertyType InterfacePropertyType) String() string
Click to show internal directories.
Click to hide internal directories.