@timardex/cluemart-shared 1.5.771 → 1.5.773
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-6PrFQe2t.d.ts → ad-CVkVX_z5.d.ts} +3 -7
- package/dist/{ad-B8ZWiTsv.d.mts → ad-DA9ECAhK.d.mts} +3 -7
- package/dist/affiliate-B2cMp_Ge.d.ts +36 -0
- package/dist/affiliate-BSitNQQT.d.mts +36 -0
- package/dist/{chunk-HASLOIIM.mjs → chunk-27YUJMSX.mjs} +11 -2
- package/dist/chunk-27YUJMSX.mjs.map +1 -0
- package/dist/{chunk-PPNVURC4.mjs → chunk-5SXT2YSW.mjs} +2 -2
- package/dist/{chunk-7CIQ6AD4.mjs → chunk-DQH7DVTD.mjs} +2 -2
- package/dist/{chunk-2X2YVFTH.mjs → chunk-I43QHNPW.mjs} +32 -2
- package/dist/chunk-I43QHNPW.mjs.map +1 -0
- package/dist/{chunk-VO2WRHJV.mjs → chunk-R4GAZNEY.mjs} +96 -12
- package/dist/chunk-R4GAZNEY.mjs.map +1 -0
- package/dist/formFields/index.cjs +16 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +96 -10
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +20 -2
- package/dist/graphql/index.d.ts +20 -2
- package/dist/graphql/index.mjs +5 -1
- package/dist/hooks/index.cjs +80 -10
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +5 -5
- package/dist/index.cjs +138 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +76 -6
- package/dist/index.d.ts +76 -6
- package/dist/index.mjs +133 -10
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +16 -0
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.cjs +10 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.mjs +3 -1
- package/dist/utils/index.cjs +32 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +27 -1
- package/dist/utils/index.d.ts +27 -1
- package/dist/utils/index.mjs +6 -2
- package/package.json +1 -1
- package/dist/chunk-2X2YVFTH.mjs.map +0 -1
- package/dist/chunk-HASLOIIM.mjs.map +0 -1
- package/dist/chunk-VO2WRHJV.mjs.map +0 -1
- /package/dist/{chunk-PPNVURC4.mjs.map → chunk-5SXT2YSW.mjs.map} +0 -0
- /package/dist/{chunk-7CIQ6AD4.mjs.map → chunk-DQH7DVTD.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, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-
|
|
4
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-DA9ECAhK.mjs';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-zczOntNk.mjs';
|
|
6
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-BUUfmCo7.mjs';
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-BSitNQQT.mjs';
|
|
7
8
|
import '../images/index.mjs';
|
|
8
9
|
import 'react-hook-form';
|
|
9
10
|
|
|
@@ -1163,4 +1164,21 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1163
1164
|
school: SchoolReturnType | null;
|
|
1164
1165
|
};
|
|
1165
1166
|
|
|
1166
|
-
|
|
1167
|
+
declare const useGetAffiliate: (_id: string) => {
|
|
1168
|
+
affiliate: AffiliateType | undefined;
|
|
1169
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1170
|
+
loading: boolean;
|
|
1171
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1172
|
+
affiliate: AffiliateType;
|
|
1173
|
+
}>>;
|
|
1174
|
+
};
|
|
1175
|
+
declare const useGetAffiliates: () => {
|
|
1176
|
+
affiliates: AffiliateType[];
|
|
1177
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1178
|
+
loading: boolean;
|
|
1179
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1180
|
+
affiliates: AffiliateType[];
|
|
1181
|
+
}>>;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
export { GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, toGraphqlQueryString, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
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, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-
|
|
4
|
+
import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-CVkVX_z5.js';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BL_12IAo.js';
|
|
6
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-fKbMmluy.js';
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-B2cMp_Ge.js';
|
|
7
8
|
import '../images/index.js';
|
|
8
9
|
import 'react-hook-form';
|
|
9
10
|
|
|
@@ -1163,4 +1164,21 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1163
1164
|
school: SchoolReturnType | null;
|
|
1164
1165
|
};
|
|
1165
1166
|
|
|
1166
|
-
|
|
1167
|
+
declare const useGetAffiliate: (_id: string) => {
|
|
1168
|
+
affiliate: AffiliateType | undefined;
|
|
1169
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1170
|
+
loading: boolean;
|
|
1171
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1172
|
+
affiliate: AffiliateType;
|
|
1173
|
+
}>>;
|
|
1174
|
+
};
|
|
1175
|
+
declare const useGetAffiliates: () => {
|
|
1176
|
+
affiliates: AffiliateType[];
|
|
1177
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1178
|
+
loading: boolean;
|
|
1179
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1180
|
+
affiliates: AffiliateType[];
|
|
1181
|
+
}>>;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
export { GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, toGraphqlQueryString, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -55,6 +55,8 @@ import {
|
|
|
55
55
|
useGetAd,
|
|
56
56
|
useGetAds,
|
|
57
57
|
useGetAdsByRegion,
|
|
58
|
+
useGetAffiliate,
|
|
59
|
+
useGetAffiliates,
|
|
58
60
|
useGetAppSettings,
|
|
59
61
|
useGetChat,
|
|
60
62
|
useGetChatSubscription,
|
|
@@ -148,7 +150,7 @@ import {
|
|
|
148
150
|
useUpdateVendor,
|
|
149
151
|
useUpdateVendorInfo,
|
|
150
152
|
useValidateVerificationToken
|
|
151
|
-
} from "../chunk-
|
|
153
|
+
} from "../chunk-R4GAZNEY.mjs";
|
|
152
154
|
import "../chunk-KZTOISPA.mjs";
|
|
153
155
|
export {
|
|
154
156
|
GET_EVENT,
|
|
@@ -207,6 +209,8 @@ export {
|
|
|
207
209
|
useGetAd,
|
|
208
210
|
useGetAds,
|
|
209
211
|
useGetAdsByRegion,
|
|
212
|
+
useGetAffiliate,
|
|
213
|
+
useGetAffiliates,
|
|
210
214
|
useGetAppSettings,
|
|
211
215
|
useGetChat,
|
|
212
216
|
useGetChatSubscription,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -533,6 +533,22 @@ var futureTimePeriods = mapArrayToOptions(
|
|
|
533
533
|
value: period.value
|
|
534
534
|
}));
|
|
535
535
|
|
|
536
|
+
// src/utils/affiliate.ts
|
|
537
|
+
var AFFILIATE_REWARDS = {
|
|
538
|
+
["NEW_EVENT_REGISTRATION" /* NEW_EVENT_REGISTRATION */]: {
|
|
539
|
+
description: "10 points for new event registration (one-time reward)",
|
|
540
|
+
value: 10
|
|
541
|
+
},
|
|
542
|
+
["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
|
|
543
|
+
description: "5 points for new vendor registration (one-time reward)",
|
|
544
|
+
value: 5
|
|
545
|
+
},
|
|
546
|
+
["NEW_PARTNER_REGISTRATION" /* NEW_PARTNER_REGISTRATION */]: {
|
|
547
|
+
description: "",
|
|
548
|
+
value: 0
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
|
|
536
552
|
// src/utils/school.ts
|
|
537
553
|
var SCHOOL_MIN_STUDENT_COUNT = 300;
|
|
538
554
|
|
|
@@ -2494,12 +2510,6 @@ var REDEEMED_REWARD_FIELDS_FRAGMENT = import_client.gql`
|
|
|
2494
2510
|
redeemedAt
|
|
2495
2511
|
}
|
|
2496
2512
|
`;
|
|
2497
|
-
var AFFILIATE_FIELDS_FRAGMENT = import_client.gql`
|
|
2498
|
-
fragment AffiliateFields on AffiliateType {
|
|
2499
|
-
affiliateCode
|
|
2500
|
-
pointsAvailable
|
|
2501
|
-
}
|
|
2502
|
-
`;
|
|
2503
2513
|
var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
2504
2514
|
fragment UserFields on UserType {
|
|
2505
2515
|
_id
|
|
@@ -2507,9 +2517,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
|
2507
2517
|
associates {
|
|
2508
2518
|
...AssociatesFields
|
|
2509
2519
|
}
|
|
2510
|
-
affiliate
|
|
2511
|
-
...AffiliateFields
|
|
2512
|
-
}
|
|
2520
|
+
affiliate
|
|
2513
2521
|
avatar {
|
|
2514
2522
|
...ResourceImageFields
|
|
2515
2523
|
}
|
|
@@ -2553,7 +2561,6 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
|
2553
2561
|
${LICENCE_FIELDS_FRAGMENT}
|
|
2554
2562
|
${LOCATION_FIELDS_FRAGMENT}
|
|
2555
2563
|
${REDEEMED_REWARD_FIELDS_FRAGMENT}
|
|
2556
|
-
${AFFILIATE_FIELDS_FRAGMENT}
|
|
2557
2564
|
`;
|
|
2558
2565
|
var STALL_TYPE_FIELDS_FRAGMENT = import_client.gql`
|
|
2559
2566
|
fragment StallTypeFields on StallTypeType {
|
|
@@ -4980,6 +4987,69 @@ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client71.gql`
|
|
|
4980
4987
|
// src/graphql/hooks/school/hooksQuery.ts
|
|
4981
4988
|
var import_client73 = require("@apollo/client");
|
|
4982
4989
|
|
|
4990
|
+
// src/graphql/hooks/affiliate/hooksQuery.ts
|
|
4991
|
+
var import_client75 = require("@apollo/client");
|
|
4992
|
+
|
|
4993
|
+
// src/graphql/queries/affiliate.ts
|
|
4994
|
+
var import_client74 = require("@apollo/client");
|
|
4995
|
+
var AFFILIATE_REWARD_FIELDS_FRAGMENT = import_client74.gql`
|
|
4996
|
+
fragment AffiliateRewardFields on AffiliateRewardType {
|
|
4997
|
+
createdAt
|
|
4998
|
+
deletedAt
|
|
4999
|
+
redeemedAt
|
|
5000
|
+
rewardDescription
|
|
5001
|
+
rewardType
|
|
5002
|
+
rewardValue
|
|
5003
|
+
updatedAt
|
|
5004
|
+
}
|
|
5005
|
+
`;
|
|
5006
|
+
var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = import_client74.gql`
|
|
5007
|
+
fragment AffiliateResourceFields on AffiliateResourceType {
|
|
5008
|
+
resourceActive
|
|
5009
|
+
resourceId
|
|
5010
|
+
resourceType
|
|
5011
|
+
rewards {
|
|
5012
|
+
...AffiliateRewardFields
|
|
5013
|
+
}
|
|
5014
|
+
}
|
|
5015
|
+
${AFFILIATE_REWARD_FIELDS_FRAGMENT}
|
|
5016
|
+
`;
|
|
5017
|
+
var AFFILIATE_FIELDS_FRAGMENT = import_client74.gql`
|
|
5018
|
+
fragment AffiliateFields on AffiliateType {
|
|
5019
|
+
_id
|
|
5020
|
+
active
|
|
5021
|
+
affiliateCode
|
|
5022
|
+
affiliateResources {
|
|
5023
|
+
...AffiliateResourceFields
|
|
5024
|
+
}
|
|
5025
|
+
createdAt
|
|
5026
|
+
deletedAt
|
|
5027
|
+
overallPoints
|
|
5028
|
+
owner {
|
|
5029
|
+
...OwnerFields
|
|
5030
|
+
}
|
|
5031
|
+
updatedAt
|
|
5032
|
+
}
|
|
5033
|
+
${AFFILIATE_RESOURCE_FIELDS_FRAGMENT}
|
|
5034
|
+
${OWNER_FIELDS_FRAGMENT}
|
|
5035
|
+
`;
|
|
5036
|
+
var GET_AFFILIATE = import_client74.gql`
|
|
5037
|
+
query getAffiliate($_id: ID!) {
|
|
5038
|
+
affiliate(_id: $_id) {
|
|
5039
|
+
...AffiliateFields
|
|
5040
|
+
}
|
|
5041
|
+
}
|
|
5042
|
+
${AFFILIATE_FIELDS_FRAGMENT}
|
|
5043
|
+
`;
|
|
5044
|
+
var GET_AFFILIATES = import_client74.gql`
|
|
5045
|
+
query getAffiliates {
|
|
5046
|
+
affiliates {
|
|
5047
|
+
...AffiliateFields
|
|
5048
|
+
}
|
|
5049
|
+
}
|
|
5050
|
+
${AFFILIATE_FIELDS_FRAGMENT}
|
|
5051
|
+
`;
|
|
5052
|
+
|
|
4983
5053
|
// src/images/index.ts
|
|
4984
5054
|
var PKG = "@timardex/cluemart-shared";
|
|
4985
5055
|
var IMAGE_EXTENSION = ".webp";
|