Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentDef ¶
type ComponentDef struct {
Name string `json:"name"`
Slug string `json:"slug"`
DisplayName string `json:"displayName"`
Description string `json:"description"`
Files []string `json:"files"`
Dependencies []string `json:"dependencies"`
Categories []string `json:"categories"`
Tags []string `json:"tags"`
HasJS bool `json:"hasJS,omitempty"`
}
ComponentDef describes a single component within the registry.
type Registry ¶
type Registry struct {
Components []ComponentDef `json:"components"`
Utils []UtilDef `json:"utils"`
}
Registry defines the structure of the registry.json file.
Click to show internal directories.
Click to hide internal directories.