@bash-app/bash-common 27.2.9 → 27.2.10

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": "27.2.9",
3
+ "version": "27.2.10",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -976,7 +976,7 @@ model VolunteerService {
976
976
  address String?
977
977
  email String?
978
978
  phone String?
979
- agreedToAgreement Boolean @default(false)
979
+ agreedToAgreement Boolean? @default(false)
980
980
  description String?
981
981
  status VolunteerServiceStatus?
982
982
  }
@@ -208,8 +208,7 @@ export const SERVICE_LINK_DATA_TO_INCLUDE = {
208
208
 
209
209
  export interface VenueExt extends Venue {
210
210
  service?: Service;
211
- availableDateTimes?: Availability[];
212
- agreedToAgreement: boolean;
211
+ availableDateTimes?: Availability[];
213
212
  targetAudience?: TargetAudience | null;
214
213
  links?: ServiceLinkExt[];
215
214
  coverPhotoUrl?: string;
@@ -252,7 +251,6 @@ export interface VolunteerServiceExt extends VolunteerService {
252
251
  address: string | null;
253
252
  email: string | null;
254
253
  phone: string | null;
255
- agreedToAgreement: boolean;
256
254
  description: string | null;
257
255
  status: VolunteerServiceStatus | null;
258
256
  }
@@ -260,11 +258,10 @@ export interface VolunteerServiceExt extends VolunteerService {
260
258
 
261
259
 
262
260
  export interface ServiceExt extends Service {
263
- owner: PublicUser;
261
+ owner?: PublicUser;
264
262
  media?: Media[];
265
263
  coverPhotoUrl?: string;
266
- targetAudience?: TargetAudience | null;
267
- agreedToAgreement: boolean;
264
+ targetAudience?: TargetAudience | null;
268
265
  volunteerService?: VolunteerService | null;
269
266
  serviceLinks?: ServiceLinkExt[];
270
267
  venues?: Venue[];