Versions in this module Expand all Collapse all v0 v0.10.0 Aug 10, 2022 v0.9.0 Jul 20, 2022 v0.8.0 Jun 17, 2022 Changes in this version type TranslatedPropertySchemaField + Prefix i18n.String + Suffix i18n.String type TranslationPropertySchemaField + Prefix *string + Suffix *string v0.7.0 May 17, 2022 v0.6.1 Apr 20, 2022 v0.6.0 Apr 8, 2022 v0.5.0 Feb 24, 2022 Changes in this version + type Diff struct + DeletedExtensions []DiffExtensionDeleted + From plugin.ID + PropertySchemaDeleted bool + PropertySchemaDiff property.SchemaDiff + To plugin.ID + UpdatedExtensions []DiffExtensionUpdated + func DiffFrom(old, new Manifest) (d Diff) + func (d *Diff) IsEmpty() bool + func (d Diff) DeletedPropertySchemas() []id.PropertySchemaID + func (d Diff) PropertySchmaDiffs() property.SchemaDiffList + type DiffExtensionDeleted struct + ExtensionID plugin.ExtensionID + PropertySchemaID property.SchemaID + type DiffExtensionUpdated struct + ExtensionID plugin.ExtensionID + NewType plugin.ExtensionType + OldType plugin.ExtensionType + PropertySchemaDiff property.SchemaDiff + type TranslatedExtension struct + Description i18n.String + Name i18n.String + PropertySchema TranslatedPropertySchema + type TranslatedPropertySchema map[string]*TranslatedPropertySchemaGroup + type TranslatedPropertySchemaField struct + Choices map[string]i18n.String + Description i18n.String + Title i18n.String + type TranslatedPropertySchemaGroup struct + Description i18n.String + Fields map[string]*TranslatedPropertySchemaField + Title i18n.String + type TranslatedRoot struct + Description i18n.String + Extensions map[string]*TranslatedExtension + Name i18n.String + Schema TranslatedPropertySchema + type TranslationMap map[string]TranslationRoot + func (tm TranslationMap) Translated() (res TranslatedRoot) + func (tm TranslationMap) TranslatedRef() *TranslatedRoot v0.4.0 Jan 27, 2022 Changes in this version type Manifest + func (m Manifest) PropertySchema(psid property.SchemaID) *property.Schema v0.3.0 Jan 11, 2022 v0.2.0 Nov 18, 2021 v0.1.0 Nov 1, 2021 Changes in this version + var ErrFailedToParseManifest error = errors.New("failed to parse plugin manifest") + var ErrFailedToParseManifestTranslation error = errors.New("failed to parse plugin manifest translation") + var ErrInvalidManifest error = errors.New("invalid manifest") + var ErrInvalidManifestTranslation error = errors.New("invalid manifest translation") + var ErrSystemManifest = errors.New("cannot build system manifest") + type Choice struct + Icon string + Key string + Label string + type Extendable struct + Horizontally *bool + Vertically *bool + type Extension struct + Description *string + ID ID + Icon *string + Name string + Schema *PropertySchema + SingleOnly *bool + Type string + Visualizer *string + WidgetLayout *WidgetLayout + type ID string + type Id string + type Location struct + Area string + Section string + Zone string + type Manifest struct + ExtensionSchema []*property.Schema + Plugin *plugin.Plugin + Schema *property.Schema + func MergeManifestTranslation(m *Manifest, tl map[string]*TranslationRoot) *Manifest + func MustParseSystemFromBytes(source []byte, scene *id.SceneID) *Manifest + func Parse(source io.Reader, scene *id.SceneID) (*Manifest, error) + func ParseSystemFromBytes(source []byte, scene *id.SceneID) (*Manifest, error) + func (m Manifest) PropertySchemas() []*property.Schema + type PropertyCondition struct + Field string + Type Valuetype + Value interface{} + type PropertyLinkableFields struct + Latlng *PropertyPointer + URL *PropertyPointer + type PropertyPointer struct + FieldID string + SchemaGroupID string + type PropertySchema struct + Groups []PropertySchemaGroup + Linkable *PropertyLinkableFields + Version float64 + type PropertySchemaField struct + AvailableIf *PropertyCondition + Choices []Choice + DefaultValue interface{} + Description *string + ID ID + Max *float64 + Min *float64 + Prefix *string + Suffix *string + Title *string + Type Valuetype + UI *string + type PropertySchemaGroup struct + AvailableIf *PropertyCondition + Description *string + Fields []PropertySchemaField + ID ID + List bool + RepresentativeField *Id + Title string + type Root struct + Author *string + Description *string + Extensions []Extension + ID ID + Main *string + Name string + Repository *string + Schema *PropertySchema + System bool + Version string + type TranslationExtension struct + Description *string + Name *string + PropertySchema TranslationPropertySchema + type TranslationPropertySchema map[string]TranslationPropertySchemaGroup + type TranslationPropertySchemaField struct + Choices map[string]string + Description *string + Title *string + type TranslationPropertySchemaGroup struct + Description *string + Fields map[string]TranslationPropertySchemaField + Title *string + type TranslationRoot struct + Description *string + Extensions map[string]TranslationExtension + Name *string + Schema TranslationPropertySchema + func MustParseTranslationFromBytes(source []byte) *TranslationRoot + func ParseTranslation(source io.Reader) (*TranslationRoot, error) + func ParseTranslationFromBytes(source []byte) (*TranslationRoot, error) + type Valuetype string + type WidgetLayout struct + DefaultLocation *Location + Extendable *Extendable + Extended *bool + Floating bool