@timardex/cluemart-shared 1.2.58 → 1.2.60
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 +3 -3
- 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 +3 -3
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/graphql/index.d.ts
CHANGED
|
@@ -580,7 +580,7 @@ declare const useGetPartnersByRegion: (region: string) => {
|
|
|
580
580
|
declare const useSearchPartners: (search: string, region: string) => {
|
|
581
581
|
error: _apollo_client.ApolloError | undefined;
|
|
582
582
|
loading: boolean;
|
|
583
|
-
|
|
583
|
+
partnersSearch: PartnerType[];
|
|
584
584
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
585
585
|
};
|
|
586
586
|
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -1051,7 +1051,7 @@ var GET_PARTNERS_BY_REGION = gql11`
|
|
|
1051
1051
|
`;
|
|
1052
1052
|
var SEARCH_PARTNERS = gql11`
|
|
1053
1053
|
query searchPartners($search: String!, $region: String) {
|
|
1054
|
-
|
|
1054
|
+
partnersSearch(search: $search, region: $region) {
|
|
1055
1055
|
...PartnerFields
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
@@ -2811,8 +2811,8 @@ var useSearchPartners = (search, region) => {
|
|
|
2811
2811
|
skip: search.length < 3,
|
|
2812
2812
|
variables: { region, search }
|
|
2813
2813
|
});
|
|
2814
|
-
const
|
|
2815
|
-
return { error, loading,
|
|
2814
|
+
const partnersSearch = data?.partnersSearch;
|
|
2815
|
+
return { error, loading, partnersSearch, refetch };
|
|
2816
2816
|
};
|
|
2817
2817
|
export {
|
|
2818
2818
|
useAddParticipantToChat,
|