@timardex/cluemart-shared 1.4.24 → 1.4.26

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/dist/index.cjs CHANGED
@@ -3577,22 +3577,28 @@ var GET_CHATS_BY_REGION = import_client9.gql`
3577
3577
  }
3578
3578
  ${CHAT_FIELDS_FRAGMENT}
3579
3579
  `;
3580
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client9.gql`
3581
+ fragment ChatReportFields on ReportChatUserType {
3582
+ _id
3583
+ chatId
3584
+ createdAt
3585
+ reason {
3586
+ reasonType
3587
+ details
3588
+ }
3589
+ reportedUserId
3590
+ reporterUserId
3591
+ resolved
3592
+ updatedAt
3593
+ }
3594
+ `;
3580
3595
  var GET_REPORTED_CHAT_USERS = import_client9.gql`
3581
3596
  query getReportedChatUsers {
3582
3597
  reportedChatUsers {
3583
- _id
3584
- chatId
3585
- createdAt
3586
- reason {
3587
- reasonType
3588
- details
3589
- }
3590
- reportedUserId
3591
- reporterUserId
3592
- resolved
3593
- updatedAt
3598
+ ...ChatReportFields
3594
3599
  }
3595
3600
  }
3601
+ ${CHAT_REPORT_FIELDS_FRAGMENT}
3596
3602
  `;
3597
3603
 
3598
3604
  // src/graphql/mutations/chat.ts
@@ -3644,9 +3650,10 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client10.gql`
3644
3650
  var REPORT_CHAT_USER_MUTATION = import_client10.gql`
3645
3651
  mutation reportChatUser($input: ReportChatUserInputType!) {
3646
3652
  reportChatUser(input: $input) {
3647
- success
3653
+ ...ChatReportFields
3648
3654
  }
3649
3655
  }
3656
+ ${CHAT_REPORT_FIELDS_FRAGMENT}
3650
3657
  `;
3651
3658
 
3652
3659
  // src/graphql/hooks/chat/hooksMutation.ts