@timardex/cluemart-shared 1.5.798 → 1.5.799
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-CnXQqP4h.d.mts → ad-BmEN-ByY.d.mts} +56 -1
- package/dist/{ad-jTYE2A1Z.d.ts → ad-DGOhJs69.d.ts} +56 -1
- package/dist/{chunk-EJPMEGZW.mjs → chunk-DXR4GYHF.mjs} +2 -42
- package/dist/chunk-DXR4GYHF.mjs.map +1 -0
- package/dist/{chunk-EWSFVF6C.mjs → chunk-JP57IB7P.mjs} +2 -1
- package/dist/{chunk-EWSFVF6C.mjs.map → chunk-JP57IB7P.mjs.map} +1 -1
- package/dist/{chunk-BNT4YIYG.mjs → chunk-TDTNL6PH.mjs} +1 -1
- package/dist/{chunk-BNT4YIYG.mjs.map → chunk-TDTNL6PH.mjs.map} +1 -1
- package/dist/formFields/index.cjs +0 -28
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +1 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -2
- package/dist/graphql/index.d.ts +1 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +1 -28
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -2
- package/dist/hooks/index.d.ts +1 -2
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +1 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -38
- package/dist/index.d.ts +2 -38
- package/dist/index.mjs +1 -40
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +0 -42
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -39
- package/dist/utils/index.d.ts +1 -39
- package/dist/utils/index.mjs +2 -6
- package/package.json +1 -1
- package/dist/affiliate-CIuny52X.d.mts +0 -58
- package/dist/affiliate-Slb5tO_6.d.ts +0 -58
- package/dist/chunk-EJPMEGZW.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
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, i as AffiliateType } from '../ad-BmEN-ByY.mjs';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-lFB7B-Y9.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-C8npu_7P.mjs';
|
|
7
|
-
import { A as AffiliateType } from '../affiliate-CIuny52X.mjs';
|
|
8
7
|
import '../images/index.mjs';
|
|
9
8
|
import 'react-hook-form';
|
|
10
9
|
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
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, i as AffiliateType } from '../ad-DGOhJs69.js';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CJrM2qDC.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-BeBuHWbg.js';
|
|
7
|
-
import { A as AffiliateType } from '../affiliate-Slb5tO_6.js';
|
|
8
7
|
import '../images/index.js';
|
|
9
8
|
import 'react-hook-form';
|
|
10
9
|
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -590,34 +590,6 @@ var PostTypeLabels = {
|
|
|
590
590
|
var CM_SCHOOL_PROMO_CODE = `${PROMO_CODE_PREFIX}SCHOOL`;
|
|
591
591
|
var CM_AFFILIATE_PROMO_CODE = `${PROMO_CODE_PREFIX}AFFILIATE`;
|
|
592
592
|
|
|
593
|
-
// src/utils/affiliate.ts
|
|
594
|
-
var AFFILIATE_REWARDS = {
|
|
595
|
-
["NEW_EVENT_REGISTRATION" /* NEW_EVENT_REGISTRATION */]: {
|
|
596
|
-
description: "10 points for new event registration (one-time reward)",
|
|
597
|
-
value: 10
|
|
598
|
-
},
|
|
599
|
-
["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
|
|
600
|
-
description: "5 points for new vendor registration (one-time reward)",
|
|
601
|
-
value: 5
|
|
602
|
-
},
|
|
603
|
-
["ACTIVE_VENDOR_PRO_SUBSCRIPTION" /* ACTIVE_VENDOR_PRO_SUBSCRIPTION */]: {
|
|
604
|
-
description: "3 points for active vendor pro subscription (monthly reward)",
|
|
605
|
-
value: 3
|
|
606
|
-
},
|
|
607
|
-
["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION" /* ACTIVE_VENDOR_STANDARD_SUBSCRIPTION */]: {
|
|
608
|
-
description: "1 point for active vendor standard subscription (monthly reward)",
|
|
609
|
-
value: 1
|
|
610
|
-
},
|
|
611
|
-
["ACTIVE_VENDOR_BONUS_REWARD" /* ACTIVE_VENDOR_BONUS_REWARD */]: {
|
|
612
|
-
description: "5 bonus points for every 10th active vendor (one-time reward)",
|
|
613
|
-
value: 5
|
|
614
|
-
},
|
|
615
|
-
["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS" /* ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS */]: {
|
|
616
|
-
description: "50 points for active event with vendor registrations (one-time reward)",
|
|
617
|
-
value: 50
|
|
618
|
-
}
|
|
619
|
-
};
|
|
620
|
-
|
|
621
593
|
// src/utils/school.ts
|
|
622
594
|
var SCHOOL_MIN_STUDENT_COUNT = 300;
|
|
623
595
|
|
|
@@ -5072,6 +5044,7 @@ var AFFILIATE_REWARD_FIELDS_FRAGMENT = import_client74.gql`
|
|
|
5072
5044
|
var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = import_client74.gql`
|
|
5073
5045
|
fragment AffiliateResourceFields on AffiliateResourceType {
|
|
5074
5046
|
resourceActive
|
|
5047
|
+
resourceDeletedAt
|
|
5075
5048
|
resourceId
|
|
5076
5049
|
resourceName
|
|
5077
5050
|
resourceType
|