@bash-app/bash-common 17.2.0 → 17.4.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 +5 -1
- package/src/utils/awsS3Utils.ts +0 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -860,7 +860,8 @@ model Venue {
|
|
|
860
860
|
coverPhoto String?
|
|
861
861
|
media Media[]
|
|
862
862
|
visibility VisibilityPreference @default(Public)
|
|
863
|
-
yearsInBusiness
|
|
863
|
+
yearsInBusiness YearsOfExperience
|
|
864
|
+
description String?
|
|
864
865
|
capacity Int?
|
|
865
866
|
amenities String[]
|
|
866
867
|
additionalInfo String?
|
|
@@ -882,6 +883,7 @@ model Venue {
|
|
|
882
883
|
targetAudience VenueTargetAudience @relation("VenueTargetAudience", fields: [venueTargetAudienceId], references: [id])
|
|
883
884
|
bashesInterestedIn BashEventType[]
|
|
884
885
|
venueTargetAudienceId String @unique
|
|
886
|
+
venueLinks ServiceLink[]
|
|
885
887
|
}
|
|
886
888
|
|
|
887
889
|
enum ServiceTag {
|
|
@@ -1024,6 +1026,8 @@ model ServiceLink {
|
|
|
1024
1026
|
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1025
1027
|
linkId String
|
|
1026
1028
|
link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)
|
|
1029
|
+
venue Venue? @relation(fields: [venueId], references: [id])
|
|
1030
|
+
venueId String?
|
|
1027
1031
|
|
|
1028
1032
|
@@index([serviceId])
|
|
1029
1033
|
}
|
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: {
|