Presentation

declslides.domain.Presentation
See thePresentation companion class
object Presentation

Factory and validation helpers for Presentation.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(title: String, slides: Vector[Slide], theme: Theme = ..., footer: Option[String] = ...): Either[Vector[DomainError], Presentation]

Creates a validated presentation.

Creates a validated presentation.

Attributes

Returns

the validated presentation, or all structural errors found

def validateSkeleton(title: String, slideTitles: Vector[String], footer: Option[String] = ...): Vector[DomainError]

Validates presentation-level constraints without constructing the value.

Validates presentation-level constraints without constructing the value.

This is useful when slide validation is handled elsewhere and only the outer structure still needs to be checked.

Attributes