@seatsio/seatsio-types 0.3.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -15
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -667,12 +667,10 @@ interface Labels {
667
667
  }
668
668
  export type PriceType = number | string;
669
669
  export interface InteractiveObjectProps {
670
- readonly label?: string;
670
+ readonly label: string;
671
+ readonly labels: Labels;
671
672
  }
672
673
  export interface NonBookableTableProps extends InteractiveObjectProps {
673
- readonly label?: string;
674
- readonly labels: Labels;
675
- readonly id?: string;
676
674
  readonly seats: SeatProps[];
677
675
  readonly center: {
678
676
  x: number;
@@ -681,9 +679,6 @@ export interface NonBookableTableProps extends InteractiveObjectProps {
681
679
  readonly category?: CategoryToJSON;
682
680
  }
683
681
  export interface NonBookableTableSeatProps extends InteractiveObjectProps {
684
- readonly id?: string;
685
- readonly label: string;
686
- readonly labels: Labels;
687
682
  readonly center: {
688
683
  x: number;
689
684
  y: number;
@@ -691,16 +686,12 @@ export interface NonBookableTableSeatProps extends InteractiveObjectProps {
691
686
  readonly restrictedView: boolean;
692
687
  readonly companionSeat: boolean;
693
688
  readonly accessible: boolean;
694
- readonly disabledBySocialDistancingRules: boolean;
695
689
  readonly parent: {
696
690
  type: 'row' | 'table';
697
691
  };
698
692
  }
699
693
  export interface SelectableObjectProps extends InteractiveObjectProps {
700
- readonly id: string | undefined;
701
- readonly label: string | undefined;
702
694
  readonly objectType: string;
703
- readonly labels: Labels;
704
695
  readonly selected: boolean;
705
696
  readonly selectedTicketType: string | undefined;
706
697
  readonly accessible: boolean | undefined;
@@ -710,17 +701,14 @@ export interface SelectableObjectProps extends InteractiveObjectProps {
710
701
  readonly category?: CategoryToJSON;
711
702
  readonly pricing: PricingJson;
712
703
  readonly selectable?: boolean;
713
- readonly disabledBySocialDistancingRules?: boolean;
714
704
  }
715
705
  export interface SectionProps extends InteractiveObjectProps {
716
706
  readonly objectType: string;
717
- readonly label: string | undefined;
718
707
  readonly numberOfSelectableObjects: number;
719
708
  readonly numberOfSelectedObjects: number;
720
709
  readonly selectableCategories: CategoryKey[];
721
710
  readonly entrance: string | null;
722
711
  readonly isInteractive: boolean;
723
- readonly labels: Labels;
724
712
  readonly sectionCategory?: CategoryToJSON;
725
713
  }
726
714
  export interface InteractiveSectionProps extends SelectableObjectProps {
@@ -772,7 +760,6 @@ export interface GeneralAdmissionAreaProps extends BookableObjectProps {
772
760
  readonly holds: Dict<Dict<number>>;
773
761
  readonly dataPerEvent: Dict<object>;
774
762
  readonly entrance: string | null;
775
- readonly translucent: boolean;
776
763
  readonly bookAsAWhole: boolean;
777
764
  }
778
765
  export interface SeatingChart {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seatsio/seatsio-types",
3
3
  "description": "Type definitions for Seats.io",
4
- "version": "0.3.2",
4
+ "version": "2.0.0",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [