Logo GenPRES

Dto Module

Holds the serializable shape of a plan context, with the category as a string, and converts a plan context to and from the Dto.

Types

Type Description

Dto

Functions and values

Function or value Description

fromDto today dto

Full Usage: fromDto today dto

Parameters:
Returns: Result<PlanContext, DtoError list>
today : DateTime
dto : Dto
Returns: Result<PlanContext, DtoError list>

toDto pc

Full Usage: toDto pc

Parameters:
Returns: Dto
pc : PlanContext
Returns: Dto

Type something to start searching.