Entity / foldkit-entity/conformance

VariantRow

interface · packages/entity/src/conformance/variants.ts:23

interface VariantRow {
  readonly _tag: 'Priced' | 'Free' | 'Held'
  readonly id: string
  readonly label: string
  readonly cents: number | null
  readonly until: string | null
  readonly [key: string]: unknown
}

A stored row: every field of every case, null where the row is of another.

Members

VariantRow._tag

property · packages/entity/src/conformance/variants.ts:24

readonly _tag: 'Priced' | 'Free' | 'Held'

VariantRow.id

property · packages/entity/src/conformance/variants.ts:25

readonly id: string

VariantRow.label

property · packages/entity/src/conformance/variants.ts:26

readonly label: string

VariantRow.cents

property · packages/entity/src/conformance/variants.ts:27

readonly cents: number | null

VariantRow.until

property · packages/entity/src/conformance/variants.ts:28

readonly until: string | null