Skip to content

Latest commit

 

History

History
52 lines (48 loc) · 1.11 KB

components.md

File metadata and controls

52 lines (48 loc) · 1.11 KB

Components

The fugazi client is extended using components.
There are different types of components, currently:

All components share the same basic descriptor.


Components name and path

Each component has a path which identifies it. This path is simply a concatenation of all the component names of the ancestors.
For example:

{
	"name": "mymodule",
	"modules": {
		"moduleone": {
			"types": {
				"typeone": { ... },
				"typetwo": { ... }
			}
		},
		"moduletwo": {
			"modulethree": {
				"types": {
					"typeone": { ... }
				}
			}
		}
	},
	"types": {
		"typeone": { ... },
		"typetwo": { ... }
	}
}

Here are the paths for the different components in this example:

  • mymodule
    • mymodule.moduleone
      • mymodule.moduleone.typeone
      • mymodule.moduleone.typetwo
    • mymodule.moduletwo
      • mymodule.moduletwo.modulethree
        • mymodule.moduletwo.modulethree.typeone
    • mymodule.typeone
    • mymodule.typetwo