Type alias: MetadataFunction¶
Ƭ MetadataFunction: context
: klzzwxh:0001, search
: string
, formulaContext?
: klzzwxh:0005) => Promise
<MetadataFormulaResultType
| MetadataFormulaResultType
[] | ArraySchema
| ObjectSchema
<K
, L
>>
Type declaration¶
▸ <K
, L
>(context
, search
, formulaContext?
): Promise
<MetadataFormulaResultType
| MetadataFormulaResultType
[] | ArraySchema
| ObjectSchema
<K
, L
>>
A JavaScript function that can implement a MetadataFormulaDef.
Type parameters¶
Name | Type |
---|---|
K |
extends string |
L |
extends string |
Parameters¶
Name | Type |
---|---|
context |
ExecutionContext |
search |
string |
formulaContext? |
MetadataContext |
Returns¶
Promise
<MetadataFormulaResultType
| MetadataFormulaResultType
[] | ArraySchema
| ObjectSchema
<K
, L
>>