diff --git a/src/index.test.ts b/src/index.test.ts index c061aa3..a773abc 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -34,7 +34,7 @@ const fullChartRendererConfig: Required = { selectionValidators: [ { type: 'minimumSelectedPlaces', minimum: 4 }, { type: 'consecutiveSeats' }, - { type: 'noOrphanSeats', highlight: false, mode: 'lenient'} + { type: 'noOrphanSeats', highlight: false, mode: 'lenient', ignoreCategories: false} ], maxSelectedObjects: [ { ticketType: 'adult', quantity: 2 }, diff --git a/src/index.ts b/src/index.ts index a04cdee..d764db8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -256,7 +256,7 @@ export interface ChartRendererConfigOptions extends DeprecatedConfigProperties, colorTitle?: string availableObjectColor?: string selectedObjectColor?: string - errorColor?: string + errorColor?: string } /** * Sets the preset of styles to use for the seating chart user interface. {@link https://docs.seats.io/docs/renderer/stylepreset See documentation} @@ -1050,6 +1050,7 @@ interface SelectionValidatorNoOrphanSeats { type: 'noOrphanSeats' mode?: 'strict' | 'lenient' highlight?: boolean + ignoreCategories?: boolean } interface SelectionValidatorConsecutiveSeats {