json_dynamic_widget_plugin_components library
Classes
- AssetDependencyLoader
- Loader that loads the dependency from the asset bundle
- AssetPathResolver
- Resolves the asset path from the dependency. Allows to define custom component spec files organization
- CachedDependencyLoader
- Loader that caches the content of the child loader in the in-memory map. It allows to
- Dependency
- DependencyLoader
- DependencyRegistry
- A registry that holds the used dependency loader and version resolver
- DependencyVersionResolver
- Allows to define different dependency version resolving strategies. For example in case of missing version it is possible to define the logic of resolving latest one.
- DirAssetPathResolver
-
Resolves the asset path based on the dependency name and version
It expects the following directory structure:
base_path/
-> dependency_name
-> dependency_version.
json|yaml
- Ext
- Supported extensions for component spec files
- JsonComponentsPluginRegistrar
- MemoryDependencyLoader
- Loader that keeps the dependencies in memory
- RequiredDependencyVersionResolver
- Ensures that version is always passed.