fetchResources<T>(resourceName, oDataConfig?): Promise<undefined | T>
Gets resources by resourceName from api.
Type Parameters
T = WithId
type of resources
Parameters
resourceName
string
name of the resource
oDataConfig?
ODataConfig
Returns
Promise<undefined | T>
T