@bash-app/bash-common 27.1.0 → 27.2.1
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 +1 -1
- package/prisma/schema.prisma +0 -1
- package/src/extendedSchemas.ts +21 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
package/src/extendedSchemas.ts
CHANGED
|
@@ -102,6 +102,25 @@ export interface BashNotificationExt extends BashNotification {
|
|
|
102
102
|
reminders?: Reminder[];
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
export interface TargetAudienceExt extends TargetAudience {
|
|
106
|
+
formattedDetails?: string;
|
|
107
|
+
isSelected?: boolean;
|
|
108
|
+
priorityScore?: number;
|
|
109
|
+
tags?: string[];
|
|
110
|
+
createdAt?: Date;
|
|
111
|
+
updatedAt?: Date;
|
|
112
|
+
notes?: string;
|
|
113
|
+
isHighlighted?: boolean;
|
|
114
|
+
associatedCampaigns?: string[];
|
|
115
|
+
icon?: string;
|
|
116
|
+
relatedAudiences?: TargetAudienceExt[];
|
|
117
|
+
conversionRate?: number;
|
|
118
|
+
feedbackScore?: number;
|
|
119
|
+
interactionHistory?: { date: Date; interaction: string }[];
|
|
120
|
+
customAttributes?: { [key: string]: any };
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
105
124
|
export const BASH_NOTIFICATION_DATA_TO_INCLUDE = {
|
|
106
125
|
bashEvent: {
|
|
107
126
|
select: {
|
|
@@ -239,7 +258,8 @@ export interface VolunteerServiceExt extends VolunteerService {
|
|
|
239
258
|
export interface ServiceExt extends Service {
|
|
240
259
|
owner: PublicUser;
|
|
241
260
|
media?: Media[];
|
|
242
|
-
|
|
261
|
+
coverPhotoUrl?: string;
|
|
262
|
+
targetAudience?: TargetAudience | null;
|
|
243
263
|
volunteerService?: VolunteerService | null;
|
|
244
264
|
serviceLinks?: ServiceLinkExt[];
|
|
245
265
|
venues?: Venue[];
|