@bash-app/bash-common 29.43.0 → 29.44.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.43.0",
3
+ "version": "29.44.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -38,6 +38,7 @@ import {
38
38
  ServicePackage,
39
39
  ServiceListingSubscription,
40
40
  SocialMediaProfile,
41
+ SocialMediaPlatform,
41
42
  } from "@prisma/client";
42
43
  import { SERVICE_LINK_DATA_TO_INCLUDE, UnionFromArray } from "./definitions";
43
44
 
@@ -49,6 +50,7 @@ export const FRONT_END_USER_DATA_TO_SELECT = {
49
50
  image: true,
50
51
  uploadedImage: true,
51
52
  isSuperUser: true,
53
+ socialMediaProfiles: true,
52
54
  } satisfies Prisma.UserSelect;
53
55
 
54
56
  export const PRIVATE_USER_ACCOUNT_TO_SELECT = {
@@ -525,6 +527,7 @@ export interface UserExt extends User {
525
527
  associatedBashes?: AssociatedBash[] | null;
526
528
  associatedServices?: AssociatedService[] | null;
527
529
  socialMediaProfiles?: SocialMediaProfile[] | null;
530
+ socialMediaPlatforms?: SocialMediaPlatform[] | null;
528
531
  reviews?: ReviewExt[] | null;
529
532
  contacts?: Contact[] | null;
530
533
  ticketsIOwn?: TicketExt[] | null;