import * as domainFunctions from "https://deno.land/x/domain_functions@v3.0.0/src/types.ts";
Type Aliases
It is similar to Partial but it requires at least one property to be defined. | |
A domain function. It carries the output type which can be further unpacked with UnpackData and other type helpers. | |
The properties of the ErrorResult which carry information about what made the domain function fail. | |
A failed domain function result. | |
Items in the errors array returned by failed domain functions. | |
T Last | Returns the last item of a tuple type. |
A parsing error when validating the input or environment schemas.
This will be transformed into a | |
The result of input or environment validation.
See the type | |
The object used to validate either input or environment when creating domain functions. | |
The content of the Promise a domain function returns. | |
Items in the inputErrors and environmentErrors array returned by failed domain functions. | |
A successful domain function result. | |
Converts a tuple type to a union type. | |
Unpacks a list of DomainFunctions into a tuple of their data types. | |
Unpacks the data type of a successful domain function. | |
Unpacks the result of a domain function. | |
Unpacks the data type of a successful domain function. |