@experts_hub/shared 1.0.705 → 1.0.708

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.
@@ -78,6 +78,7 @@ export declare class User extends BaseEntity {
78
78
  gender: string;
79
79
  profilePictureUrl: string;
80
80
  presignedProfilePictureUrl: string;
81
+ presignedProfilePictureUrlExpiresAt: Date;
81
82
  email: string;
82
83
  mobileCode: string;
83
84
  mobile: string;
package/dist/index.d.mts CHANGED
@@ -2030,6 +2030,7 @@ declare class User extends BaseEntity {
2030
2030
  gender: string;
2031
2031
  profilePictureUrl: string;
2032
2032
  presignedProfilePictureUrl: string;
2033
+ presignedProfilePictureUrlExpiresAt: Date;
2033
2034
  email: string;
2034
2035
  mobileCode: string;
2035
2036
  mobile: string;
package/dist/index.d.ts CHANGED
@@ -2030,6 +2030,7 @@ declare class User extends BaseEntity {
2030
2030
  gender: string;
2031
2031
  profilePictureUrl: string;
2032
2032
  presignedProfilePictureUrl: string;
2033
+ presignedProfilePictureUrlExpiresAt: Date;
2033
2034
  email: string;
2034
2035
  mobileCode: string;
2035
2036
  mobile: string;
package/dist/index.js CHANGED
@@ -5784,7 +5784,9 @@ __decorateClass([
5784
5784
  __decorateClass([
5785
5785
  (0, import_typeorm59.ManyToOne)(
5786
5786
  () => AssessmetQuestion,
5787
- (assessmentQuestion) => assessmentQuestion.options
5787
+ (assessmentQuestion) => assessmentQuestion.options,
5788
+ { onDelete: "CASCADE" }
5789
+ // ✅ IMPORTANT
5788
5790
  ),
5789
5791
  (0, import_typeorm59.JoinColumn)({ name: "question_id" })
5790
5792
  ], AssessmetQuestionOption.prototype, "question", 2);
@@ -5873,7 +5875,9 @@ __decorateClass([
5873
5875
  __decorateClass([
5874
5876
  (0, import_typeorm61.ManyToOne)(
5875
5877
  () => AssessmetQuestion,
5876
- (assessmentQuestion) => assessmentQuestion.answers
5878
+ (assessmentQuestion) => assessmentQuestion.answers,
5879
+ { onDelete: "CASCADE" }
5880
+ // ✅ IMPORTANT
5877
5881
  ),
5878
5882
  (0, import_typeorm61.JoinColumn)({ name: "question_id" })
5879
5883
  ], AssessmentAnswer.prototype, "question", 2);
@@ -5884,7 +5888,9 @@ __decorateClass([
5884
5888
  __decorateClass([
5885
5889
  (0, import_typeorm61.ManyToOne)(
5886
5890
  () => AssessmetQuestionOption,
5887
- (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5891
+ (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions,
5892
+ { onDelete: "CASCADE" }
5893
+ // ✅ IMPORTANT
5888
5894
  ),
5889
5895
  (0, import_typeorm61.JoinColumn)({ name: "selected_option_id" })
5890
5896
  ], AssessmentAnswer.prototype, "option", 2);
@@ -6802,6 +6808,9 @@ __decorateClass([
6802
6808
  __decorateClass([
6803
6809
  (0, import_typeorm79.Column)({ name: "presigned_profile_picture_url", type: "text", nullable: true })
6804
6810
  ], User.prototype, "presignedProfilePictureUrl", 2);
6811
+ __decorateClass([
6812
+ (0, import_typeorm79.Column)({ name: "presigned_profile_picture_url_expires_at", type: "timestamp with time zone", nullable: true })
6813
+ ], User.prototype, "presignedProfilePictureUrlExpiresAt", 2);
6805
6814
  __decorateClass([
6806
6815
  (0, import_typeorm79.Column)({ name: "email", type: "varchar", unique: true })
6807
6816
  ], User.prototype, "email", 2);
package/dist/index.mjs CHANGED
@@ -5568,7 +5568,9 @@ __decorateClass([
5568
5568
  __decorateClass([
5569
5569
  ManyToOne56(
5570
5570
  () => AssessmetQuestion,
5571
- (assessmentQuestion) => assessmentQuestion.options
5571
+ (assessmentQuestion) => assessmentQuestion.options,
5572
+ { onDelete: "CASCADE" }
5573
+ // ✅ IMPORTANT
5572
5574
  ),
5573
5575
  JoinColumn56({ name: "question_id" })
5574
5576
  ], AssessmetQuestionOption.prototype, "question", 2);
@@ -5657,7 +5659,9 @@ __decorateClass([
5657
5659
  __decorateClass([
5658
5660
  ManyToOne58(
5659
5661
  () => AssessmetQuestion,
5660
- (assessmentQuestion) => assessmentQuestion.answers
5662
+ (assessmentQuestion) => assessmentQuestion.answers,
5663
+ { onDelete: "CASCADE" }
5664
+ // ✅ IMPORTANT
5661
5665
  ),
5662
5666
  JoinColumn58({ name: "question_id" })
5663
5667
  ], AssessmentAnswer.prototype, "question", 2);
@@ -5668,7 +5672,9 @@ __decorateClass([
5668
5672
  __decorateClass([
5669
5673
  ManyToOne58(
5670
5674
  () => AssessmetQuestionOption,
5671
- (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5675
+ (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions,
5676
+ { onDelete: "CASCADE" }
5677
+ // ✅ IMPORTANT
5672
5678
  ),
5673
5679
  JoinColumn58({ name: "selected_option_id" })
5674
5680
  ], AssessmentAnswer.prototype, "option", 2);
@@ -6604,6 +6610,9 @@ __decorateClass([
6604
6610
  __decorateClass([
6605
6611
  Column79({ name: "presigned_profile_picture_url", type: "text", nullable: true })
6606
6612
  ], User.prototype, "presignedProfilePictureUrl", 2);
6613
+ __decorateClass([
6614
+ Column79({ name: "presigned_profile_picture_url_expires_at", type: "timestamp with time zone", nullable: true })
6615
+ ], User.prototype, "presignedProfilePictureUrlExpiresAt", 2);
6607
6616
  __decorateClass([
6608
6617
  Column79({ name: "email", type: "varchar", unique: true })
6609
6618
  ], User.prototype, "email", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.705",
3
+ "version": "1.0.708",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",