@timardex/cluemart-shared 1.5.620 → 1.5.622

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.
Files changed (35) hide show
  1. package/dist/{auth-CJIbsVCg.d.mts → auth-BG7u9KHu.d.mts} +1 -1
  2. package/dist/{auth-CLKWWsIQ.d.ts → auth-CUd-VUEN.d.ts} +1 -1
  3. package/dist/{chunk-A2ZE5RVV.mjs → chunk-Z6IM4DWX.mjs} +3 -3
  4. package/dist/chunk-Z6IM4DWX.mjs.map +1 -0
  5. package/dist/formFields/index.d.mts +1 -1
  6. package/dist/formFields/index.d.ts +1 -1
  7. package/dist/{global-w94c0MGw.d.ts → global-Brbdg9ob.d.ts} +2 -0
  8. package/dist/{global-J6EFP0wh.d.mts → global-CI5OK3U9.d.mts} +2 -0
  9. package/dist/graphql/index.cjs +2 -2
  10. package/dist/graphql/index.cjs.map +1 -1
  11. package/dist/graphql/index.d.mts +4 -4
  12. package/dist/graphql/index.d.ts +4 -4
  13. package/dist/graphql/index.mjs +1 -1
  14. package/dist/hooks/index.cjs.map +1 -1
  15. package/dist/hooks/index.d.mts +3 -3
  16. package/dist/hooks/index.d.ts +3 -3
  17. package/dist/hooks/index.mjs +1 -1
  18. package/dist/index.cjs +2 -2
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.mts +3 -1
  21. package/dist/index.d.ts +3 -1
  22. package/dist/index.mjs +2 -2
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/{post-BkgyLFwF.d.mts → post-AUQDjZoJ.d.mts} +1 -1
  25. package/dist/{post-BmQ3R3cA.d.ts → post-Bw5yGyLM.d.ts} +1 -1
  26. package/dist/{resourceActivities-I3eJPRqW.d.mts → resourceActivities-Br97kzRe.d.mts} +1 -1
  27. package/dist/{resourceActivities-Bnk-1tPS.d.ts → resourceActivities-Bv3pAH9H.d.ts} +1 -1
  28. package/dist/sharing/index.d.mts +1 -1
  29. package/dist/sharing/index.d.ts +1 -1
  30. package/dist/types/index.d.mts +5 -5
  31. package/dist/types/index.d.ts +5 -5
  32. package/dist/utils/index.d.mts +1 -1
  33. package/dist/utils/index.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-A2ZE5RVV.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -410,6 +410,8 @@ type UnregisteredVendorType = Omit<UnregisteredVendorFormData, "dateTime" | "inv
410
410
  _id: string;
411
411
  active: boolean;
412
412
  claimed: boolean;
413
+ claimedAt?: Date;
414
+ claimedByUserId?: string;
413
415
  createdAt: Date;
414
416
  deletedAt: Date | null;
415
417
  invitations: UnregisteredVendorInvitationType[];
@@ -1845,7 +1847,7 @@ declare const useDeleteRelation: () => {
1845
1847
  loading: boolean;
1846
1848
  };
1847
1849
 
1848
- declare const useGetRelation: (_id: string) => {
1850
+ declare const useGetRelation: (_id?: string) => {
1849
1851
  error: _apollo_client.ApolloError | undefined;
1850
1852
  loading: boolean;
1851
1853
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
package/dist/index.d.ts CHANGED
@@ -410,6 +410,8 @@ type UnregisteredVendorType = Omit<UnregisteredVendorFormData, "dateTime" | "inv
410
410
  _id: string;
411
411
  active: boolean;
412
412
  claimed: boolean;
413
+ claimedAt?: Date;
414
+ claimedByUserId?: string;
413
415
  createdAt: Date;
414
416
  deletedAt: Date | null;
415
417
  invitations: UnregisteredVendorInvitationType[];
@@ -1845,7 +1847,7 @@ declare const useDeleteRelation: () => {
1845
1847
  loading: boolean;
1846
1848
  };
1847
1849
 
1848
- declare const useGetRelation: (_id: string) => {
1850
+ declare const useGetRelation: (_id?: string) => {
1849
1851
  error: _apollo_client.ApolloError | undefined;
1850
1852
  loading: boolean;
1851
1853
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
package/dist/index.mjs CHANGED
@@ -4582,8 +4582,8 @@ import { useQuery as useQuery4 } from "@apollo/client";
4582
4582
  var useGetRelation = (_id) => {
4583
4583
  const { loading, error, data, refetch } = useQuery4(GET_RELATION, {
4584
4584
  fetchPolicy: "network-only",
4585
- skip: !_id || _id === "",
4586
- variables: { _id }
4585
+ skip: !_id,
4586
+ variables: _id ? { _id } : void 0
4587
4587
  });
4588
4588
  const relation = data?.relation;
4589
4589
  return { error, loading, refetch, relation };