Function asPayloadDivinerQueryPayload
- asPayloadDivinerQueryPayload<
TType extends
DeepRestrictToStringKeys<
{
address?: Lowercase<string>
| Lowercase<string>[];
budget?: number;
cursor?: Lowercase<string>;
limit?: number;
maxFrequency?:
| "once"
| "second"
| "minute"
| "hour"
| "day"
| "week"
| "month"
| "year";
minBid?: number;
order?: Order;
schema: "network.xyo.diviner.payload.query";
schemas?: string[];
},
>,
>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Type Parameters
- TType extends DeepRestrictToStringKeys<
{
address?: Lowercase<string>
| Lowercase<string>[];
budget?: number;
cursor?: Lowercase<string>;
limit?: number;
maxFrequency?:
| "once"
| "second"
| "minute"
| "hour"
| "day"
| "week"
| "month"
| "year";
minBid?: number;
order?: Order;
schema: "network.xyo.diviner.payload.query";
schemas?: string[];
},
>
Returns undefined | TType
- asPayloadDivinerQueryPayload<
TType extends
DeepRestrictToStringKeys<
{
address?: Lowercase<string>
| Lowercase<string>[];
budget?: number;
cursor?: Lowercase<string>;
limit?: number;
maxFrequency?:
| "once"
| "second"
| "minute"
| "hour"
| "day"
| "week"
| "month"
| "year";
minBid?: number;
order?: Order;
schema: "network.xyo.diviner.payload.query";
schemas?: string[];
},
>,
>(
value: AnyNonPromise,
assert: StringOrAlertFunction<
DeepRestrictToStringKeys<
{
address?: Lowercase<string>
| Lowercase<string>[];
budget?: number;
cursor?: Lowercase<string>;
limit?: number;
maxFrequency?:
| "once"
| "second"
| "minute"
| "hour"
| "day"
| "week"
| "month"
| "year";
minBid?: number;
order?: Order;
schema: "network.xyo.diviner.payload.query";
schemas?: string[];
},
>,
>,
config?: TypeCheckConfig,
): TType Type Parameters
- TType extends DeepRestrictToStringKeys<
{
address?: Lowercase<string>
| Lowercase<string>[];
budget?: number;
cursor?: Lowercase<string>;
limit?: number;
maxFrequency?:
| "once"
| "second"
| "minute"
| "hour"
| "day"
| "week"
| "month"
| "year";
minBid?: number;
order?: Order;
schema: "network.xyo.diviner.payload.query";
schemas?: string[];
},
>
Parameters
- value: AnyNonPromise
- assert: StringOrAlertFunction<
DeepRestrictToStringKeys<
{
address?: Lowercase<string>
| Lowercase<string>[];
budget?: number;
cursor?: Lowercase<string>;
limit?: number;
maxFrequency?:
| "once"
| "second"
| "minute"
| "hour"
| "day"
| "week"
| "month"
| "year";
minBid?: number;
order?: Order;
schema: "network.xyo.diviner.payload.query";
schemas?: string[];
},
>,
> Optional
config: TypeCheckConfig