@timardex/cluemart-shared 1.5.813 → 1.5.822
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/{ad-0muFV6oH.d.ts → ad-BFGA6SrQ.d.ts} +4 -123
- package/dist/{ad-Dlk9SFLw.d.mts → ad-BRC6KNgv.d.mts} +4 -123
- package/dist/apollo/index.cjs +1362 -0
- package/dist/apollo/index.cjs.map +1 -0
- package/dist/apollo/index.d.mts +337 -0
- package/dist/apollo/index.d.ts +337 -0
- package/dist/apollo/index.mjs +1273 -0
- package/dist/apollo/index.mjs.map +1 -0
- package/dist/auth/index.cjs +1425 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.mts +119 -0
- package/dist/auth/index.d.ts +119 -0
- package/dist/auth/index.mjs +317 -0
- package/dist/auth/index.mjs.map +1 -0
- package/dist/{chunk-LETM2YHF.mjs → chunk-D33VEY7Q.mjs} +3 -1
- package/dist/chunk-D33VEY7Q.mjs.map +1 -0
- package/dist/chunk-DQ7ZHIXW.mjs +26 -0
- package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
- package/dist/{chunk-LKMJ75YV.mjs → chunk-EUOLQ7SS.mjs} +2 -2
- package/dist/{chunk-GJO7X2Y4.mjs → chunk-IREUJYMR.mjs} +3 -3
- package/dist/{chunk-POXARN2X.mjs → chunk-KMLUQVNM.mjs} +1 -24
- package/dist/chunk-KMLUQVNM.mjs.map +1 -0
- package/dist/chunk-MIDSLTUJ.mjs +1214 -0
- package/dist/chunk-MIDSLTUJ.mjs.map +1 -0
- package/dist/{chunk-DLPDX4EH.mjs → chunk-N7KENXCS.mjs} +10 -49
- package/dist/chunk-N7KENXCS.mjs.map +1 -0
- package/dist/chunk-RAYUJODN.mjs +45 -0
- package/dist/chunk-RAYUJODN.mjs.map +1 -0
- package/dist/{chunk-4TP57ZL7.mjs → chunk-UHDYJBIX.mjs} +2 -2
- package/dist/{chunk-4ICKZHQA.mjs → chunk-WZPKYUSX.mjs} +361 -2328
- package/dist/chunk-WZPKYUSX.mjs.map +1 -0
- package/dist/{contactUs-CiXFYse5.d.ts → contactUs-Bwxzw-cB.d.ts} +1 -1
- package/dist/{contactUs-HPydW6BR.d.mts → contactUs-b5SfvqmJ.d.mts} +1 -1
- package/dist/enums/index.cjs +2 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +3 -1
- package/dist/enums/index.d.ts +3 -1
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +7 -5
- package/dist/{global-Dq6A7pNV.d.mts → global-959zf6qy.d.mts} +1 -1
- package/dist/{global-B2jacmZB.d.ts → global-wVC9VaCx.d.ts} +1 -1
- package/dist/graphql/index.cjs +2 -844
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +4 -3
- package/dist/graphql/index.d.ts +4 -3
- package/dist/graphql/index.mjs +23 -21
- package/dist/hooks/index.cjs +5 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +4 -3
- package/dist/hooks/index.d.ts +4 -3
- package/dist/hooks/index.mjs +15 -12
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +4 -844
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +3 -843
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-DUR5JaaB.d.ts → resourceActivities-ChZcl5wJ.d.ts} +1 -1
- package/dist/{resourceActivities-BCZ6HU7U.d.mts → resourceActivities-ZPT9JlfH.d.mts} +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/subscription-BU8GvH2K.d.ts +12 -0
- package/dist/subscription-bmAdrnfi.d.mts +12 -0
- package/dist/types/index.d.mts +9 -16
- package/dist/types/index.d.ts +9 -16
- package/dist/types/index.mjs +7 -5
- package/dist/user-CCN2IPDV.d.ts +124 -0
- package/dist/user-CadKvubI.d.mts +124 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +8 -5
- package/package.json +25 -9
- package/dist/chunk-4ICKZHQA.mjs.map +0 -1
- package/dist/chunk-DLPDX4EH.mjs.map +0 -1
- package/dist/chunk-LETM2YHF.mjs.map +0 -1
- package/dist/chunk-POXARN2X.mjs.map +0 -1
- /package/dist/{chunk-LKMJ75YV.mjs.map → chunk-EUOLQ7SS.mjs.map} +0 -0
- /package/dist/{chunk-GJO7X2Y4.mjs.map → chunk-IREUJYMR.mjs.map} +0 -0
- /package/dist/{chunk-4TP57ZL7.mjs.map → chunk-UHDYJBIX.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
|
|
4
|
-
import { A as AuthPayloadType, R as RefreshTokenPayloadType,
|
|
5
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
6
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-
|
|
4
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType, d as AffiliateType } from '../ad-BRC6KNgv.mjs';
|
|
5
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-ZPT9JlfH.mjs';
|
|
6
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-959zf6qy.mjs';
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardResponse, a as ResourceByUser, b as SubscriptionPlansResponse, c as SubscriptionStatusData } from '../user-CadKvubI.mjs';
|
|
7
8
|
import '../images/index.mjs';
|
|
8
9
|
import 'react-hook-form';
|
|
9
10
|
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
|
|
4
|
-
import { A as AuthPayloadType, R as RefreshTokenPayloadType,
|
|
5
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
6
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-
|
|
4
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType, d as AffiliateType } from '../ad-BFGA6SrQ.js';
|
|
5
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-ChZcl5wJ.js';
|
|
6
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-wVC9VaCx.js';
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardResponse, a as ResourceByUser, b as SubscriptionPlansResponse, c as SubscriptionStatusData } from '../user-CCN2IPDV.js';
|
|
7
8
|
import '../images/index.js';
|
|
8
9
|
import 'react-hook-form';
|
|
9
10
|
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
GET_EVENT,
|
|
3
2
|
GET_EVENT_BY_SLUG,
|
|
4
|
-
GET_EVENT_INFO,
|
|
5
|
-
GET_PARTNER,
|
|
6
3
|
GET_PARTNER_BY_SLUG,
|
|
7
4
|
GET_POST,
|
|
8
5
|
GET_POST_BY_SLUG,
|
|
9
6
|
GET_RESOURCE_CONNECTIONS,
|
|
10
|
-
GET_VENDOR,
|
|
11
7
|
GET_VENDOR_BY_SLUG,
|
|
12
|
-
GET_VENDOR_INFO,
|
|
13
8
|
toGraphqlQueryString,
|
|
14
9
|
useAddParticipantToChat,
|
|
15
10
|
useAddUserFavouriteResource,
|
|
@@ -92,31 +87,20 @@ import {
|
|
|
92
87
|
useGetUnregisteredVendor,
|
|
93
88
|
useGetUnregisteredVendors,
|
|
94
89
|
useGetUnregisteredVendorsByInviterId,
|
|
95
|
-
useGetUser,
|
|
96
|
-
useGetUserActivities,
|
|
97
90
|
useGetUserChats,
|
|
98
|
-
useGetUserEvents,
|
|
99
91
|
useGetUserNotifications,
|
|
100
92
|
useGetUserNotificationsSubscription,
|
|
101
|
-
useGetUserPartners,
|
|
102
|
-
useGetUserResources,
|
|
103
|
-
useGetUserVendors,
|
|
104
|
-
useGetUsers,
|
|
105
93
|
useGetVendor,
|
|
106
94
|
useGetVendorInfo,
|
|
107
95
|
useGetVendorRelations,
|
|
108
96
|
useGetVendors,
|
|
109
97
|
useGetVendorsByRegion,
|
|
110
98
|
useLeaveGame,
|
|
111
|
-
useLogin,
|
|
112
|
-
useLogout,
|
|
113
99
|
useMarkAllNotificationsRead,
|
|
114
100
|
useMarkChatMessagesSeen,
|
|
115
101
|
useMarkNotificationRead,
|
|
116
102
|
useRedeemAffiliateReward,
|
|
117
103
|
useRedeemReward,
|
|
118
|
-
useRefreshToken,
|
|
119
|
-
useRegister,
|
|
120
104
|
useRemoveParticipantFromChat,
|
|
121
105
|
useRemoveUserFavouriteResource,
|
|
122
106
|
useRemoveUserGoingResource,
|
|
@@ -124,8 +108,6 @@ import {
|
|
|
124
108
|
useRemoveUserPresentResource,
|
|
125
109
|
useReportChatUser,
|
|
126
110
|
useRequestMarketingMaterial,
|
|
127
|
-
useRequestPasswordReset,
|
|
128
|
-
useResetPassword,
|
|
129
111
|
useSearchEvents,
|
|
130
112
|
useSearchPartners,
|
|
131
113
|
useSearchVendors,
|
|
@@ -151,10 +133,30 @@ import {
|
|
|
151
133
|
useUpdateUnregisteredVendor,
|
|
152
134
|
useUpdateUser,
|
|
153
135
|
useUpdateVendor,
|
|
154
|
-
useUpdateVendorInfo
|
|
136
|
+
useUpdateVendorInfo
|
|
137
|
+
} from "../chunk-WZPKYUSX.mjs";
|
|
138
|
+
import {
|
|
139
|
+
GET_EVENT,
|
|
140
|
+
GET_EVENT_INFO,
|
|
141
|
+
GET_PARTNER,
|
|
142
|
+
GET_VENDOR,
|
|
143
|
+
GET_VENDOR_INFO,
|
|
144
|
+
useGetUser,
|
|
145
|
+
useGetUserActivities,
|
|
146
|
+
useGetUserEvents,
|
|
147
|
+
useGetUserPartners,
|
|
148
|
+
useGetUserResources,
|
|
149
|
+
useGetUserVendors,
|
|
150
|
+
useGetUsers,
|
|
151
|
+
useLogin,
|
|
152
|
+
useLogout,
|
|
153
|
+
useRefreshToken,
|
|
154
|
+
useRegister,
|
|
155
|
+
useRequestPasswordReset,
|
|
156
|
+
useResetPassword,
|
|
155
157
|
useValidateVerificationToken
|
|
156
|
-
} from "../chunk-
|
|
157
|
-
import "../chunk-
|
|
158
|
+
} from "../chunk-MIDSLTUJ.mjs";
|
|
159
|
+
import "../chunk-D33VEY7Q.mjs";
|
|
158
160
|
export {
|
|
159
161
|
GET_EVENT,
|
|
160
162
|
GET_EVENT_BY_SLUG,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -257,11 +257,13 @@ var EnumUserLicence = /* @__PURE__ */ ((EnumUserLicence2) => {
|
|
|
257
257
|
})(EnumUserLicence || {});
|
|
258
258
|
var EnumUserRole = /* @__PURE__ */ ((EnumUserRole2) => {
|
|
259
259
|
EnumUserRole2["ADMIN"] = "admin";
|
|
260
|
+
EnumUserRole2["SUPER_ADMIN"] = "super_admin";
|
|
260
261
|
EnumUserRole2["CUSTOMER"] = "customer";
|
|
261
262
|
EnumUserRole2["MARKETING"] = "marketing";
|
|
262
263
|
EnumUserRole2["MODERATOR"] = "moderator";
|
|
263
264
|
EnumUserRole2["SUPPORT"] = "support";
|
|
264
265
|
EnumUserRole2["AFFILIATE"] = "affiliate";
|
|
266
|
+
EnumUserRole2["SCHOOL"] = "school";
|
|
265
267
|
return EnumUserRole2;
|
|
266
268
|
})(EnumUserRole || {});
|
|
267
269
|
var EnumSocialMedia = /* @__PURE__ */ ((EnumSocialMedia2) => {
|
|
@@ -3661,6 +3663,9 @@ var GET_RESOURCE_CONNECTIONS = import_client9.gql`
|
|
|
3661
3663
|
${EVENT_LIST_ITEM}
|
|
3662
3664
|
`;
|
|
3663
3665
|
|
|
3666
|
+
// src/graphql/toGraphqlQueryString.ts
|
|
3667
|
+
var import_graphql = require("graphql");
|
|
3668
|
+
|
|
3664
3669
|
// src/graphql/hooks/admin/hooksMutation.ts
|
|
3665
3670
|
var import_client11 = require("@apollo/client");
|
|
3666
3671
|
|