Constructors
constructor
-
Parameters
Properties
cache
cache: Map<string, any>
directory
lang
lang: string
path
path: string
repo
Accessors
initialized
- get initialized(): boolean
-
Returns boolean
Methods
getFile
- getFile(file: string, directory?: Directory): Promise<any>
-
Parameters
-
file: string
-
Default value directory: Directory = this.directory
Returns Promise<any>
init
-
Returns Promise<void>
Abstract resolve
- resolve(model: IModel): Promise<any[]>
-
Parameters
Returns Promise<any[]>
The base class for all resolvers. Resolvers manage obtaining and caching files from the remote repository.