@timardex/cluemart-shared 1.3.83 → 1.3.85
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 +1 -1
- 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 +1 -1
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1055,11 +1055,14 @@ type GoogleImportedMarket = {
|
|
|
1055
1055
|
allowsDogs?: boolean;
|
|
1056
1056
|
businessStatus?: string;
|
|
1057
1057
|
claimed: boolean;
|
|
1058
|
+
claimedAt?: Date;
|
|
1059
|
+
claimedByUserId?: string;
|
|
1058
1060
|
cover: ResourceImageType | null;
|
|
1059
1061
|
createdAt: Date;
|
|
1060
1062
|
dateTime: DateTimeType[];
|
|
1061
1063
|
deletedAt: Date | null;
|
|
1062
1064
|
description: string;
|
|
1065
|
+
eventId?: string;
|
|
1063
1066
|
eventType: EnumEventType;
|
|
1064
1067
|
goodForChildren?: boolean;
|
|
1065
1068
|
goodForGroups?: boolean;
|
|
@@ -1996,7 +1999,7 @@ declare const useGetPosts: () => {
|
|
|
1996
1999
|
declare const useGetPost: (_id: string) => {
|
|
1997
2000
|
error: _apollo_client.ApolloError | undefined;
|
|
1998
2001
|
loading: boolean;
|
|
1999
|
-
post: PostType |
|
|
2002
|
+
post: PostType | undefined;
|
|
2000
2003
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
2001
2004
|
post: PostType;
|
|
2002
2005
|
}>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1055,11 +1055,14 @@ type GoogleImportedMarket = {
|
|
|
1055
1055
|
allowsDogs?: boolean;
|
|
1056
1056
|
businessStatus?: string;
|
|
1057
1057
|
claimed: boolean;
|
|
1058
|
+
claimedAt?: Date;
|
|
1059
|
+
claimedByUserId?: string;
|
|
1058
1060
|
cover: ResourceImageType | null;
|
|
1059
1061
|
createdAt: Date;
|
|
1060
1062
|
dateTime: DateTimeType[];
|
|
1061
1063
|
deletedAt: Date | null;
|
|
1062
1064
|
description: string;
|
|
1065
|
+
eventId?: string;
|
|
1063
1066
|
eventType: EnumEventType;
|
|
1064
1067
|
goodForChildren?: boolean;
|
|
1065
1068
|
goodForGroups?: boolean;
|
|
@@ -1996,7 +1999,7 @@ declare const useGetPosts: () => {
|
|
|
1996
1999
|
declare const useGetPost: (_id: string) => {
|
|
1997
2000
|
error: _apollo_client.ApolloError | undefined;
|
|
1998
2001
|
loading: boolean;
|
|
1999
|
-
post: PostType |
|
|
2002
|
+
post: PostType | undefined;
|
|
2000
2003
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
2001
2004
|
post: PostType;
|
|
2002
2005
|
}>>;
|
package/dist/index.mjs
CHANGED
|
@@ -5469,7 +5469,7 @@ var useGetPost = (_id) => {
|
|
|
5469
5469
|
skip: !_id,
|
|
5470
5470
|
variables: { _id }
|
|
5471
5471
|
});
|
|
5472
|
-
return { error, loading, post: data?.post
|
|
5472
|
+
return { error, loading, post: data?.post, refetch };
|
|
5473
5473
|
};
|
|
5474
5474
|
var useGetPostsByType = (postType) => {
|
|
5475
5475
|
const { data, loading, error, refetch } = useQuery12(GET_POSTS_BY_TYPE, {
|
|
@@ -6344,7 +6344,7 @@ var defaultPartnerFormValues = {
|
|
|
6344
6344
|
};
|
|
6345
6345
|
var defaultEventFormValues = {
|
|
6346
6346
|
...globalDefaultValues,
|
|
6347
|
-
claimed:
|
|
6347
|
+
claimed: true,
|
|
6348
6348
|
dateTime: [],
|
|
6349
6349
|
eventType: "Market" /* MARKET */,
|
|
6350
6350
|
googlePlaceId: null,
|