@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/graphql/index.cjs +19 -12
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +19 -12
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +19 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +19 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3288,22 +3288,28 @@ var GET_CHATS_BY_REGION = gql7`
|
|
|
3288
3288
|
}
|
|
3289
3289
|
${CHAT_FIELDS_FRAGMENT}
|
|
3290
3290
|
`;
|
|
3291
|
+
var CHAT_REPORT_FIELDS_FRAGMENT = gql7`
|
|
3292
|
+
fragment ChatReportFields on ReportChatUserType {
|
|
3293
|
+
_id
|
|
3294
|
+
chatId
|
|
3295
|
+
createdAt
|
|
3296
|
+
reason {
|
|
3297
|
+
reasonType
|
|
3298
|
+
details
|
|
3299
|
+
}
|
|
3300
|
+
reportedUserId
|
|
3301
|
+
reporterUserId
|
|
3302
|
+
resolved
|
|
3303
|
+
updatedAt
|
|
3304
|
+
}
|
|
3305
|
+
`;
|
|
3291
3306
|
var GET_REPORTED_CHAT_USERS = gql7`
|
|
3292
3307
|
query getReportedChatUsers {
|
|
3293
3308
|
reportedChatUsers {
|
|
3294
|
-
|
|
3295
|
-
chatId
|
|
3296
|
-
createdAt
|
|
3297
|
-
reason {
|
|
3298
|
-
reasonType
|
|
3299
|
-
details
|
|
3300
|
-
}
|
|
3301
|
-
reportedUserId
|
|
3302
|
-
reporterUserId
|
|
3303
|
-
resolved
|
|
3304
|
-
updatedAt
|
|
3309
|
+
...ChatReportFields
|
|
3305
3310
|
}
|
|
3306
3311
|
}
|
|
3312
|
+
${CHAT_REPORT_FIELDS_FRAGMENT}
|
|
3307
3313
|
`;
|
|
3308
3314
|
|
|
3309
3315
|
// src/graphql/mutations/chat.ts
|
|
@@ -3355,9 +3361,10 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = gql8`
|
|
|
3355
3361
|
var REPORT_CHAT_USER_MUTATION = gql8`
|
|
3356
3362
|
mutation reportChatUser($input: ReportChatUserInputType!) {
|
|
3357
3363
|
reportChatUser(input: $input) {
|
|
3358
|
-
|
|
3364
|
+
...ChatReportFields
|
|
3359
3365
|
}
|
|
3360
3366
|
}
|
|
3367
|
+
${CHAT_REPORT_FIELDS_FRAGMENT}
|
|
3361
3368
|
`;
|
|
3362
3369
|
|
|
3363
3370
|
// src/graphql/hooks/chat/hooksMutation.ts
|