@bash-app/bash-common 17.3.0 → 17.5.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
package/prisma/schema.prisma
CHANGED
|
@@ -860,8 +860,8 @@ model Venue {
|
|
|
860
860
|
coverPhoto String?
|
|
861
861
|
media Media[]
|
|
862
862
|
visibility VisibilityPreference @default(Public)
|
|
863
|
-
yearsInBusiness
|
|
864
|
-
|
|
863
|
+
yearsInBusiness YearsOfExperience
|
|
864
|
+
description String?
|
|
865
865
|
capacity Int?
|
|
866
866
|
amenities String[]
|
|
867
867
|
additionalInfo String?
|
|
@@ -883,6 +883,7 @@ model Venue {
|
|
|
883
883
|
targetAudience VenueTargetAudience @relation("VenueTargetAudience", fields: [venueTargetAudienceId], references: [id])
|
|
884
884
|
bashesInterestedIn BashEventType[]
|
|
885
885
|
venueTargetAudienceId String @unique
|
|
886
|
+
venueLinks ServiceLink[]
|
|
886
887
|
}
|
|
887
888
|
|
|
888
889
|
enum ServiceTag {
|
|
@@ -1025,6 +1026,8 @@ model ServiceLink {
|
|
|
1025
1026
|
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1026
1027
|
linkId String
|
|
1027
1028
|
link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)
|
|
1029
|
+
venue Venue? @relation(fields: [venueId], references: [id])
|
|
1030
|
+
venueId String?
|
|
1028
1031
|
|
|
1029
1032
|
@@index([serviceId])
|
|
1030
1033
|
}
|
package/src/extendedSchemas.ts
CHANGED
package/src/utils/awsS3Utils.ts
CHANGED
|
@@ -30,7 +30,6 @@ export class AwsS3Utils {
|
|
|
30
30
|
if (!preSignedUrl) {
|
|
31
31
|
throw new Error('The pre-signed url for uploading the file was undefined');
|
|
32
32
|
}
|
|
33
|
-
console.log(`Uploading with url: ${preSignedUrl}`);
|
|
34
33
|
const res = await fetch(preSignedUrl, {
|
|
35
34
|
method: 'PUT',
|
|
36
35
|
headers: {
|