@seatsio/seatsio-types 6.27.0 → 6.28.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 +5 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -203,6 +203,7 @@ export interface ChartRendererConfigOptions extends DeprecatedConfigProperties,
203
203
  unavailableCategories?: CategoryKey[];
204
204
  /**
205
205
  * Leaves the specified categories normally visible, while making all others dimmed out. The array can be a list of category keys or labels.
206
+ * @deprecated Use `filters.categories` instead.
206
207
  */
207
208
  filteredCategories?: CategoryKey[];
208
209
  objectColor?: (object: SelectableObject, defaultColor: string, extraConfig: ExtraConfig) => string;
@@ -481,7 +482,11 @@ export interface BaseEventManagerOrderModeConfigOptions extends BaseEventManager
481
482
  categoryFilter?: CategoryFilter;
482
483
  availableCategories?: CategoryKey[];
483
484
  unavailableCategories?: CategoryKey[];
485
+ /**
486
+ * @deprecated Use `filters.categories` instead.
487
+ */
484
488
  filteredCategories?: CategoryKey[];
489
+ filters?: Pick<Filters, 'categories'>;
485
490
  session?: Session;
486
491
  holdToken?: string;
487
492
  showLegend?: boolean;
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": "6.27.0",
4
+ "version": "6.28.0",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",