ReadonlycreatedReadonlyidUnique identifier assigned to the DTO at creation.
Creates a clone of this DTO instance.
Perform a deep equality check between the data contained within this DTO and the target DTO of the same type.
The target DTO.
Returns the error encountered during data parsing, if any. Applies the
provided transformError function if it exists.
Converts the parsed data within the DTO instance to a hash.
Optionalalgo: stringThe hashing algorithm to use (e.g. 'sha1', 'md5'). Defaults to 'sha1'.
Converts the parsed data within the DTO instance to a JSON string. Creates JSON strings in a deterministic structure by recursively sorting the keys.
Optionalpretty: booleanWhether to format the JSON string with indentation.
Converts the parsed data within the DTO instance to a JWT.
Optionalttl: numberConverts the parsed data within the DTO instance to a URLSearchParams
object suitable for building a URL (e.g. for an API request).
Converts this DTO instance to a string representation for debugging.
Produce a new DTO instance with the input data merged with the contents of this DTO.
The creation timestamp of the DTO.