Interface: IDataSource
Core-API.IDataSource
Hierarchy
IEventDispatcher
<string
>↳
IDataSource
Implemented by
Methods
addAssetList
▸ addAssetList(list
): void
Parameters
Name | Type |
---|---|
list | SimpleAssetList |
Returns
void
removeAssetList
▸ removeAssetList(list
): void
Parameters
Name | Type |
---|---|
list | SimpleAssetList |
Returns
void
findAssetRegex
▸ findAssetRegex(query
): Promise
<undefined
| IAsset
>
Parameters
Name | Type |
---|---|
query | RegExp |
Returns
Promise
<undefined
| IAsset
>
findAsset
▸ findAsset(query
): Promise
<undefined
| IAsset
>
Parameters
Name | Type |
---|---|
query | IAssetSearchQuery |
Returns
Promise
<undefined
| IAsset
>
findAssetSimple
▸ findAssetSimple(match
, ignoreCase?
): Promise
<undefined
| IAsset
>
Parameters
Name | Type |
---|---|
match | string |
ignoreCase? | boolean |
Returns
Promise
<undefined
| IAsset
>