/* @flow */

/**
 * The data binding between the state of a seat and the graphic
 * representation of a seat.
 */
export type SeatData = {
  id: number,
  x: number,
  y: number,
  label: string,  // what's written on the seat
};

/* @flow */

/**
 * The data binding between the state of a seat and the graphic
 * representation of a seat.
 */
export type SeatData = {
  id: number,
  x: number,
  y: number,
  label: string,  // what's written on the seat
  data?: Object,  // aditionnal data associated with this seat.
};

Add a `data` Object in the definition of a Seat.
Add a `data` Object in the definition of a Seat.
