@vtj / renderer / createSchemaApi
Function: createSchemaApi()
createSchemaApi(
schema
,adapter
): (query
?) =>Promise
<any
> | (data
,opts
?) =>Promise
<any
>
Parameters
schema
ApiSchema
adapter
Returns
(query
?) => Promise
<any
> | (data
, opts
?) => Promise
<any
>
Defined in
packages/renderer/types/provider/apis.d.ts:4