DataContractExposeOptions
Defined in: namespaces.ts:1054
Options for exposing a data contract.
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription?:string
Defined in: namespaces.ts:1056
Human-readable description of the contract.
schema?
Section titled “schema?”
optionalschema?:Record<string,unknown>
Defined in: namespaces.ts:1058
JSON Schema for the returned data.
provider
Section titled “provider”provider: (
args) =>Promise<unknown>
Defined in: namespaces.ts:1060
Provider function called when the contract is queried.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”Promise<unknown>