Function asApiUriTemplateCall
- asApiUriTemplateCall<TType>(value, config?): undefined | TType
Type Parameters
TType extends SchemaFields & object & ApiCallFields & {
params?: Record<string, unknown>;
uriTemplate?: string;
} & {
schema: "network.xyo.api.call";
}
Parameters
value: unknown
Optional
config: TypeCheckConfig
Returns undefined | TType
- asApiUriTemplateCall<TType_1>(value, assert, config?): TType_1
Type Parameters
TType_1 extends SchemaFields & object & ApiCallFields & {
params?: Record<string, unknown>;
uriTemplate?: string;
} & {
schema: "network.xyo.api.call";
}
Parameters
value: unknown
assert: string | (() => string)
Optional
config: TypeCheckConfig