@timardex/cluemart-shared 1.2.60 → 1.2.62
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/{ad-CZPQz-Bx.d.ts → ad-CBydPYq0.d.ts} +8 -3
- package/dist/{ad-DSADn76s.d.mts → ad-DGLf7N6m.d.mts} +8 -3
- package/dist/{auth-CvLyedZM.d.ts → auth-BwtjPUgO.d.ts} +1 -1
- package/dist/{auth-Cea2ytrt.d.mts → auth-DaiySFU6.d.mts} +1 -1
- package/dist/formFields/index.cjs +375 -357
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -3
- package/dist/formFields/index.d.ts +2 -3
- package/dist/formFields/index.mjs +375 -356
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-Fgweq_ct.d.ts → global-BY8seqWN.d.ts} +4 -0
- package/dist/{global-RAEmLq2G.d.mts → global-CKf55A-q.d.mts} +4 -0
- package/dist/graphql/index.cjs +3 -16
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +3 -16
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +5 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +5 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +374 -364
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.mjs +374 -363
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-BkGGnxjl.js';
|
|
3
|
-
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-
|
|
3
|
+
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-BY8seqWN.js';
|
|
4
4
|
import { EnumResourceType } from '../enums/index.js';
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType } from '../ad-
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType } from '../ad-CBydPYq0.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -420,6 +420,7 @@ var VENDOR = gql4`
|
|
|
420
420
|
createdAt
|
|
421
421
|
description
|
|
422
422
|
deletedAt
|
|
423
|
+
foodTruck
|
|
423
424
|
images {
|
|
424
425
|
...ResourceImageFields
|
|
425
426
|
}
|
|
@@ -791,11 +792,8 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = gql7`
|
|
|
791
792
|
`;
|
|
792
793
|
var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = gql7`
|
|
793
794
|
mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
|
|
794
|
-
removeParticipantFromChat(chatId: $chatId, userId: $userId)
|
|
795
|
-
...ChatFields
|
|
796
|
-
}
|
|
795
|
+
removeParticipantFromChat(chatId: $chatId, userId: $userId)
|
|
797
796
|
}
|
|
798
|
-
${CHAT_FIELDS_FRAGMENT}
|
|
799
797
|
`;
|
|
800
798
|
|
|
801
799
|
// src/graphql/hooks/chat/hooksMutation.ts
|
|
@@ -850,18 +848,7 @@ var useRemoveParticipantFromChat = () => {
|
|
|
850
848
|
REMOVE_PARTICIPANT_FROM_CHAT_MUTATION,
|
|
851
849
|
{
|
|
852
850
|
awaitRefetchQueries: true,
|
|
853
|
-
refetchQueries:
|
|
854
|
-
const chatId = mutationResult?.data?.removeParticipantFromChat?._id;
|
|
855
|
-
return [
|
|
856
|
-
{
|
|
857
|
-
query: CHAT,
|
|
858
|
-
variables: { _id: chatId }
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
query: USER_CHATS
|
|
862
|
-
}
|
|
863
|
-
];
|
|
864
|
-
}
|
|
851
|
+
refetchQueries: [{ query: USER_CHATS }]
|
|
865
852
|
}
|
|
866
853
|
);
|
|
867
854
|
return { error, loading, removeParticipantFromChat };
|