Skip to content

@vtj


@vtj / renderer / createSchemaApi

Function: createSchemaApi()

createSchemaApi(schema, adapter): (query?) => Promise<any> | (data, opts?) => Promise<any>

Parameters

schema

ApiSchema

adapter

ProvideAdapter

Returns

(query?) => Promise<any> | (data, opts?) => Promise<any>

Defined in

packages/renderer/types/provider/apis.d.ts:4

Released under the MIT License.