@timardex/cluemart-shared 1.4.24 → 1.4.25

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.
@@ -1200,22 +1200,28 @@ var GET_CHATS_BY_REGION = import_client9.gql`
1200
1200
  }
1201
1201
  ${CHAT_FIELDS_FRAGMENT}
1202
1202
  `;
1203
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client9.gql`
1204
+ fragment ChatReportFields on ChatReportType {
1205
+ id
1206
+ chatId
1207
+ createdAt
1208
+ reason {
1209
+ reasonType
1210
+ details
1211
+ }
1212
+ reportedUserId
1213
+ reporterUserId
1214
+ resolved
1215
+ updatedAt
1216
+ }
1217
+ `;
1203
1218
  var GET_REPORTED_CHAT_USERS = import_client9.gql`
1204
1219
  query getReportedChatUsers {
1205
1220
  reportedChatUsers {
1206
- _id
1207
- chatId
1208
- createdAt
1209
- reason {
1210
- reasonType
1211
- details
1212
- }
1213
- reportedUserId
1214
- reporterUserId
1215
- resolved
1216
- updatedAt
1221
+ ...ChatReportFields
1217
1222
  }
1218
1223
  }
1224
+ ${CHAT_REPORT_FIELDS_FRAGMENT}
1219
1225
  `;
1220
1226
 
1221
1227
  // src/graphql/mutations/chat.ts
@@ -1267,9 +1273,10 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client10.gql`
1267
1273
  var REPORT_CHAT_USER_MUTATION = import_client10.gql`
1268
1274
  mutation reportChatUser($input: ReportChatUserInputType!) {
1269
1275
  reportChatUser(input: $input) {
1270
- success
1276
+ ...ChatReportFields
1271
1277
  }
1272
1278
  }
1279
+ ${CHAT_REPORT_FIELDS_FRAGMENT}
1273
1280
  `;
1274
1281
 
1275
1282
  // src/graphql/hooks/chat/hooksMutation.ts