Interface SeatingRecord

Which pool entry sat in every seat for one call.

interface SeatingRecord {
    policy: "preferred" | "weighted" | "round-robin" | "random";
    seed?: string | number;
    seedUsed?: number;
    call: number;
    distinct: false | "model" | "provider" | "vendor";
    available: string[];
    seats: Record<string, SeatingSeatRecord>;
    skipped: {
        entry: string;
        reason: string;
    }[];
}

Properties

policy: "preferred" | "weighted" | "round-robin" | "random"
seed?: string | number

As configured, or the number drawn at construction; for 'weighted' and 'random'.

seedUsed?: number

The 32-bit value the draws used.

call: number

This call's number on the instance, from 0.

distinct: false | "model" | "provider" | "vendor"
available: string[]

Names of the pool entries that were available when the seats were filled.

seats: Record<string, SeatingSeatRecord>
skipped: {
    entry: string;
    reason: string;
}[]

Type declaration

  • entry: string
  • reason: string