@bash-app/bash-common 23.1.0 → 23.2.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": "23.1.0",
3
+ "version": "23.2.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",
@@ -936,6 +936,7 @@ model VolunteerService {
936
936
  media Media[] @relation("VolunteerServiceMedia")
937
937
  links Link[] @relation("VolunteerServiceLinks")
938
938
  availableDateTimes Availability[] @relation("AvailableDateTimes")
939
+ fullName String?
939
940
  }
940
941
 
941
942
  model EventService {
@@ -211,7 +211,6 @@ export const VENUE_DATA_TO_INCLUDE = {
211
211
 
212
212
  export const VOLUNTEER_DATA_TO_INCLUDE = {
213
213
  business: true,
214
- availableDateTimes: true,
215
214
  links: {
216
215
  include: {
217
216
  serviceLinks: true,
@@ -234,13 +233,15 @@ export interface OrganizationExt extends Organization {
234
233
  }
235
234
 
236
235
  export interface VolunteerServiceExt extends VolunteerService {
237
- serviceRange?: ServiceRange;
236
+ serviceRange?: ServiceRange | null;
238
237
  media?: Media[];
239
238
  links?: Link[];
240
239
  availableDateTimes?: Availability[];
240
+ fullName: string | null;
241
241
  }
242
242
 
243
243
 
244
+
244
245
  export interface BusinessExt extends Business {
245
246
  owner: PublicUser;
246
247
  media: Media[];