@bash-app/bash-common 14.0.0 → 14.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "14.0.0",
3
+ "version": "14.1.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -13,7 +13,7 @@ import {
13
13
  ServiceTargetAudience,
14
14
  Checkout,
15
15
  ServiceLink,
16
- Link,
16
+ Link, Venue, Availability,
17
17
  } from "@prisma/client";
18
18
 
19
19
  export const FRONT_END_USER_DATA_TO_SELECT = {
@@ -111,6 +111,14 @@ export const BASH_EVENT_DATA_TO_REMOVE: RemoveCommonProperties<BashEvent, BashEv
111
111
  'tickets'
112
112
  ];
113
113
 
114
+ export interface VenueExt extends Venue {
115
+ availableDateTimes: Availability[];
116
+ }
117
+
118
+ export const VENUE_DATA_TO_INCLUDE = {
119
+ availableDateTimes: true,
120
+ }
121
+
114
122
  export interface ServiceExt extends Service {
115
123
  owner: User;
116
124
  media: Media[];