@welldot/utils

PermitTimelineItem

PermitTimelineItem = { date: string; entry: PermitHistoryEntry; kind: "history"; } | { condition: PermitCondition; date: string; fulfillment: ConditionFulfillment; kind: "fulfillment"; }

Union Members

Type Literal

{ date: string; entry: PermitHistoryEntry; kind: "history"; }

date

date: string

Calendar date (YYYY-MM-DD) the item is placed at.

entry

entry: PermitHistoryEntry

kind

kind: "history"


Type Literal

{ condition: PermitCondition; date: string; fulfillment: ConditionFulfillment; kind: "fulfillment"; }

condition

condition: PermitCondition

date

date: string

Local calendar date of the fulfillment instant.

fulfillment

fulfillment: ConditionFulfillment

kind

kind: "fulfillment"