VariantRow._tag
property · packages/entity/src/conformance/variants.ts:24
readonly _tag: 'Priced' | 'Free' | 'Held'Entity / foldkit-entity/conformance
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.
VariantRow._tagproperty · packages/entity/src/conformance/variants.ts:24
readonly _tag: 'Priced' | 'Free' | 'Held'VariantRow.idproperty · packages/entity/src/conformance/variants.ts:25
readonly id: stringVariantRow.labelproperty · packages/entity/src/conformance/variants.ts:26
readonly label: stringVariantRow.centsproperty · packages/entity/src/conformance/variants.ts:27
readonly cents: number | nullVariantRow.untilproperty · packages/entity/src/conformance/variants.ts:28
readonly until: string | null