// Code generated by ndpgen. DO NOT EDIT.
//
// Package {{.Package}} holds the stable, shared data types exchanged between
// Navidrome and its plugins. These types are referenced by host services and
// capability wrappers via the types package.

package {{.Package}}
{{- range .Structs}}

{{- if .Doc}}
{{formatDoc .Doc}}
{{- else}}
// {{.Name}} represents the {{.Name}} data structure.
{{- end}}
type {{.Name}} struct {
{{- range .Fields}}
{{- if .Doc}}
{{formatDoc .Doc | indent 1}}
{{- end}}
	{{.Name}} {{.Type}} `json:"{{.JSONTag}}{{if .OmitEmpty}},omitempty{{end}}"`
{{- end}}
}
{{- end}}
