@bash-app/bash-common 27.0.3 → 27.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 +1 -1
- package/prisma/schema.prisma +2 -2
- package/src/extendedSchemas.ts +19 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -569,7 +569,6 @@ model TargetAudience {
|
|
|
569
569
|
occupation Occupation @default(NoPreference)
|
|
570
570
|
education Education @default(NoPreference)
|
|
571
571
|
showOnDetailPage Boolean @default(true)
|
|
572
|
-
|
|
573
572
|
bashEvent BashEvent?
|
|
574
573
|
service Service?
|
|
575
574
|
venue Venue?
|
|
@@ -1188,7 +1187,8 @@ model Venue {
|
|
|
1188
1187
|
serviceConnectionId String?
|
|
1189
1188
|
serviceConnection String?
|
|
1190
1189
|
venueName String?
|
|
1191
|
-
email String?
|
|
1190
|
+
email String?
|
|
1191
|
+
place String?
|
|
1192
1192
|
street String?
|
|
1193
1193
|
city String?
|
|
1194
1194
|
state String?
|
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: {
|