@timardex/cluemart-shared 1.3.49 → 1.3.51
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-Cp-vzzpW.d.mts → auth-B3W1oART.d.mts} +1 -1
- package/dist/{auth-BD8pG4QE.d.ts → auth-D6tQzAij.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BKEcBQxZ.d.ts → global-0iC3dHcr.d.ts} +1 -1
- package/dist/{global-DjZooB3t.d.mts → global-Cnrow6Qc.d.mts} +1 -1
- package/dist/graphql/index.cjs +27 -19
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +8 -7
- package/dist/graphql/index.d.ts +8 -7
- package/dist/graphql/index.mjs +27 -19
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +59 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +11 -4
- package/dist/hooks/index.d.ts +11 -4
- package/dist/hooks/index.mjs +58 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +86 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.mjs +85 -24
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CLTR6oRS.d.mts → post-0cLfaIEy.d.mts} +1 -1
- package/dist/{post-D83V8snF.d.ts → post-BYkFJijx.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-Cnrow6Qc.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-0iC3dHcr.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -373,4 +373,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
373
373
|
watch: UseFormWatch<T>;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, UserActivityEventType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p,
|
|
376
|
+
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, UserActivityEventType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, CreateFormData as q, ResourceContactDetailsType as r, ResourceImageType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, DateTimeType as w, Region as x, SubcategoryItems as y, Subcategory as z };
|
|
@@ -373,4 +373,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
373
373
|
watch: UseFormWatch<T>;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, UserActivityEventType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p,
|
|
376
|
+
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, UserActivityEventType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, CreateFormData as q, ResourceContactDetailsType as r, ResourceImageType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, DateTimeType as w, Region as x, SubcategoryItems as y, Subcategory as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -2586,15 +2586,6 @@ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
|
|
|
2586
2586
|
}
|
|
2587
2587
|
${USER_FIELDS_FRAGMENT}
|
|
2588
2588
|
`;
|
|
2589
|
-
var APP_VERSION_CHECK_MUTATION = import_client41.gql`
|
|
2590
|
-
mutation appVersionCheck($appVersion: String!) {
|
|
2591
|
-
appVersionCheck(appVersion: $appVersion) {
|
|
2592
|
-
isUpToDate
|
|
2593
|
-
latestVersion
|
|
2594
|
-
message
|
|
2595
|
-
}
|
|
2596
|
-
}
|
|
2597
|
-
`;
|
|
2598
2589
|
|
|
2599
2590
|
// src/graphql/hooks/user/hooksMutation.ts
|
|
2600
2591
|
var useCreateUser = () => {
|
|
@@ -2696,12 +2687,6 @@ var useRemoveUserPresentResource = () => {
|
|
|
2696
2687
|
);
|
|
2697
2688
|
return { error, loading, removeUserPresentResource };
|
|
2698
2689
|
};
|
|
2699
|
-
var useAppVersionCheck = () => {
|
|
2700
|
-
const [appVersionCheck, { loading, error }] = (0, import_client42.useMutation)(
|
|
2701
|
-
APP_VERSION_CHECK_MUTATION
|
|
2702
|
-
);
|
|
2703
|
-
return { appVersionCheck, error, loading };
|
|
2704
|
-
};
|
|
2705
2690
|
|
|
2706
2691
|
// src/graphql/hooks/user/hooksQuery.ts
|
|
2707
2692
|
var import_client43 = require("@apollo/client");
|
|
@@ -2947,8 +2932,8 @@ var import_client51 = require("@apollo/client");
|
|
|
2947
2932
|
|
|
2948
2933
|
// src/graphql/queries/resourceActivities.ts
|
|
2949
2934
|
var import_client50 = require("@apollo/client");
|
|
2950
|
-
var
|
|
2951
|
-
fragment
|
|
2935
|
+
var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
|
|
2936
|
+
fragment ResourceActivityFields on ResourceActivityType {
|
|
2952
2937
|
resourceId
|
|
2953
2938
|
resourceType
|
|
2954
2939
|
activity {
|
|
@@ -2972,10 +2957,10 @@ var GET_RESOURCE_ACTIVITY = import_client50.gql`
|
|
|
2972
2957
|
$resourceId: ID!
|
|
2973
2958
|
) {
|
|
2974
2959
|
resourceActivity(resourceType: $resourceType, resourceId: $resourceId) {
|
|
2975
|
-
...
|
|
2960
|
+
...ResourceActivityFields
|
|
2976
2961
|
}
|
|
2977
2962
|
}
|
|
2978
|
-
${
|
|
2963
|
+
${RESOURCE_ACTIVITY_FIELDS_FRAGMENT}
|
|
2979
2964
|
`;
|
|
2980
2965
|
|
|
2981
2966
|
// src/graphql/hooks/resourceActivities/hooksQuery.ts
|
|
@@ -3383,6 +3368,29 @@ var useGetPostsByType = (postType) => {
|
|
|
3383
3368
|
});
|
|
3384
3369
|
return { error, loading, postsByType: data?.postsByType || [], refetch };
|
|
3385
3370
|
};
|
|
3371
|
+
|
|
3372
|
+
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
3373
|
+
var import_client64 = require("@apollo/client");
|
|
3374
|
+
|
|
3375
|
+
// src/graphql/mutations/appSettings.ts
|
|
3376
|
+
var import_client63 = require("@apollo/client");
|
|
3377
|
+
var APP_VERSION_CHECK_MUTATION = import_client63.gql`
|
|
3378
|
+
mutation appVersionCheck($appVersion: String!) {
|
|
3379
|
+
appVersionCheck(appVersion: $appVersion) {
|
|
3380
|
+
isUpToDate
|
|
3381
|
+
latestVersion
|
|
3382
|
+
message
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
`;
|
|
3386
|
+
|
|
3387
|
+
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
3388
|
+
var useAppVersionCheck = () => {
|
|
3389
|
+
const [appVersionCheck, { loading, error }] = (0, import_client64.useMutation)(
|
|
3390
|
+
APP_VERSION_CHECK_MUTATION
|
|
3391
|
+
);
|
|
3392
|
+
return { appVersionCheck, error, loading };
|
|
3393
|
+
};
|
|
3386
3394
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3387
3395
|
0 && (module.exports = {
|
|
3388
3396
|
useAddParticipantToChat,
|