@timardex/cluemart-shared 1.3.41 → 1.3.43
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/{auth-BNRITQZO.d.ts → auth-B8Belf-h.d.ts} +1 -1
- package/dist/{auth-CrGjj4Xt.d.mts → auth-CvNBSPXa.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BimclztT.d.mts → global-BN1zcCyz.d.mts} +2 -2
- package/dist/{global-u-2yiS2S.d.ts → global-DM9eKgbE.d.ts} +2 -2
- package/dist/graphql/index.cjs +18 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +8 -3
- package/dist/graphql/index.d.ts +8 -3
- package/dist/graphql/index.mjs +17 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.mjs +17 -0
- package/dist/index.mjs.map +1 -1
- package/dist/{post-Dc17vbEp.d.mts → post-CdrU9ts5.d.mts} +1 -1
- package/dist/{post-CnQYeCHI.d.ts → post-Dwg8-Ybg.d.ts} +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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BN1zcCyz.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DM9eKgbE.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -96,11 +96,11 @@ type UserActivityEventType = {
|
|
|
96
96
|
description: string;
|
|
97
97
|
eventType: EnumEventType;
|
|
98
98
|
location: LocationType;
|
|
99
|
-
logo?: ResourceImageType;
|
|
99
|
+
logo?: ResourceImageType | null;
|
|
100
100
|
name: string;
|
|
101
101
|
rainOrShine: boolean;
|
|
102
102
|
region: string;
|
|
103
|
-
socialMedia?: SocialMediaType[];
|
|
103
|
+
socialMedia?: SocialMediaType[] | null;
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
type VendorLocation = {
|
|
@@ -96,11 +96,11 @@ type UserActivityEventType = {
|
|
|
96
96
|
description: string;
|
|
97
97
|
eventType: EnumEventType;
|
|
98
98
|
location: LocationType;
|
|
99
|
-
logo?: ResourceImageType;
|
|
99
|
+
logo?: ResourceImageType | null;
|
|
100
100
|
name: string;
|
|
101
101
|
rainOrShine: boolean;
|
|
102
102
|
region: string;
|
|
103
|
-
socialMedia?: SocialMediaType[];
|
|
103
|
+
socialMedia?: SocialMediaType[] | null;
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
type VendorLocation = {
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -28,6 +28,7 @@ __export(graphql_exports, {
|
|
|
28
28
|
useAdminResendTesterVerificationEmail: () => useAdminResendTesterVerificationEmail,
|
|
29
29
|
useAdminUpdateResourceType: () => useAdminUpdateResourceType,
|
|
30
30
|
useAdminUpdateTester: () => useAdminUpdateTester,
|
|
31
|
+
useAppVersionCheck: () => useAppVersionCheck,
|
|
31
32
|
useCancelSubscription: () => useCancelSubscription,
|
|
32
33
|
useContactUs: () => useContactUs,
|
|
33
34
|
useCreateAd: () => useCreateAd,
|
|
@@ -2432,6 +2433,7 @@ var SELECT_PACKAGE_MUTATION = import_client41.gql`
|
|
|
2432
2433
|
licences {
|
|
2433
2434
|
...LicenceFields
|
|
2434
2435
|
}
|
|
2436
|
+
userId
|
|
2435
2437
|
message
|
|
2436
2438
|
}
|
|
2437
2439
|
}
|
|
@@ -2485,6 +2487,15 @@ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
|
|
|
2485
2487
|
}
|
|
2486
2488
|
${USER_FIELDS_FRAGMENT}
|
|
2487
2489
|
`;
|
|
2490
|
+
var APP_VERSION_CHECK_MUTATION = import_client41.gql`
|
|
2491
|
+
mutation appVersionCheck($appVersion: String!) {
|
|
2492
|
+
appVersionCheck(appVersion: $appVersion) {
|
|
2493
|
+
isUpToDate
|
|
2494
|
+
latestVersion
|
|
2495
|
+
message
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
`;
|
|
2488
2499
|
|
|
2489
2500
|
// src/graphql/hooks/user/hooksMutation.ts
|
|
2490
2501
|
var useCreateUser = () => {
|
|
@@ -2601,6 +2612,12 @@ var useRemoveUserPresentResource = () => {
|
|
|
2601
2612
|
);
|
|
2602
2613
|
return { error, loading, removeUserPresentResource };
|
|
2603
2614
|
};
|
|
2615
|
+
var useAppVersionCheck = () => {
|
|
2616
|
+
const [appVersionCheck, { loading, error }] = (0, import_client42.useMutation)(
|
|
2617
|
+
APP_VERSION_CHECK_MUTATION
|
|
2618
|
+
);
|
|
2619
|
+
return { appVersionCheck, error, loading };
|
|
2620
|
+
};
|
|
2604
2621
|
|
|
2605
2622
|
// src/graphql/hooks/user/hooksQuery.ts
|
|
2606
2623
|
var import_client43 = require("@apollo/client");
|
|
@@ -3232,6 +3249,7 @@ var useGetPostsByType = (postType) => {
|
|
|
3232
3249
|
useAdminResendTesterVerificationEmail,
|
|
3233
3250
|
useAdminUpdateResourceType,
|
|
3234
3251
|
useAdminUpdateTester,
|
|
3252
|
+
useAppVersionCheck,
|
|
3235
3253
|
useCancelSubscription,
|
|
3236
3254
|
useContactUs,
|
|
3237
3255
|
useCreateAd,
|