@timardex/cluemart-shared 1.2.61 → 1.2.63
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-DDPQcDOS.d.ts → ad-DMOf8pe0.d.ts} +7 -2
- package/dist/{ad-5KC7r-i4.d.mts → ad-zeewmNrQ.d.mts} +7 -2
- package/dist/formFields/index.cjs +375 -357
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -2
- package/dist/formFields/index.d.ts +1 -2
- package/dist/formFields/index.mjs +375 -356
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/graphql/index.cjs +2 -16
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +2 -16
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.cjs +368 -364
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.mjs +368 -363
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
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-DMOf8pe0.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -792,11 +792,8 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = gql7`
|
|
|
792
792
|
`;
|
|
793
793
|
var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = gql7`
|
|
794
794
|
mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
|
|
795
|
-
removeParticipantFromChat(chatId: $chatId, userId: $userId)
|
|
796
|
-
...ChatFields
|
|
797
|
-
}
|
|
795
|
+
removeParticipantFromChat(chatId: $chatId, userId: $userId)
|
|
798
796
|
}
|
|
799
|
-
${CHAT_FIELDS_FRAGMENT}
|
|
800
797
|
`;
|
|
801
798
|
|
|
802
799
|
// src/graphql/hooks/chat/hooksMutation.ts
|
|
@@ -851,18 +848,7 @@ var useRemoveParticipantFromChat = () => {
|
|
|
851
848
|
REMOVE_PARTICIPANT_FROM_CHAT_MUTATION,
|
|
852
849
|
{
|
|
853
850
|
awaitRefetchQueries: true,
|
|
854
|
-
refetchQueries:
|
|
855
|
-
const chatId = mutationResult?.data?.removeParticipantFromChat?._id;
|
|
856
|
-
return [
|
|
857
|
-
{
|
|
858
|
-
query: CHAT,
|
|
859
|
-
variables: { _id: chatId }
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
query: USER_CHATS
|
|
863
|
-
}
|
|
864
|
-
];
|
|
865
|
-
}
|
|
851
|
+
refetchQueries: [{ query: USER_CHATS }]
|
|
866
852
|
}
|
|
867
853
|
);
|
|
868
854
|
return { error, loading, removeParticipantFromChat };
|