@timardex/cluemart-shared 1.5.839 → 1.5.841
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-_mwYq2Z9.d.ts → ad-OyMRZ4ZE.d.ts} +3 -3
- package/dist/{ad-BPb9_tSM.d.mts → ad-bXnDHikm.d.mts} +3 -3
- package/dist/{affiliate-DrhbUvqf.d.ts → affiliate-B28f_U7r.d.ts} +2 -2
- package/dist/{affiliate-C_2ZuhuU.d.mts → affiliate-C56okox0.d.mts} +2 -2
- package/dist/auth/index.cjs +14 -0
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-THXLJFLL.mjs → chunk-27VEKARL.mjs} +2 -2
- package/dist/{chunk-2V7QKRQE.mjs → chunk-4VN5M5JO.mjs} +1 -1
- package/dist/chunk-4VN5M5JO.mjs.map +1 -0
- package/dist/{chunk-P4XULG5P.mjs → chunk-QGEZL577.mjs} +15 -1
- package/dist/chunk-QGEZL577.mjs.map +1 -0
- package/dist/{chunk-EAO3C6JU.mjs → chunk-ZDYD4VDB.mjs} +2 -2
- package/dist/{contactUs-09e9ThN0.d.mts → contactUs-BH5uubk6.d.mts} +1 -1
- package/dist/{contactUs-DI70VJ9T.d.ts → contactUs-DKhr1NAC.d.ts} +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 +2 -2
- package/dist/{global--iSLy2cE.d.ts → global-B8kHBTPv.d.ts} +1 -1
- package/dist/{global-BHwZPjT8.d.mts → global-JPj82Tvl.d.mts} +1 -1
- package/dist/graphql/index.cjs +14 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +14 -7
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +4 -11
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +14 -0
- 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-BDIjVrI4.d.mts → resourceActivities-CZw8My9Z.d.mts} +1 -1
- package/dist/{resourceActivities-JNcJxpTh.d.ts → resourceActivities-DV23pl5i.d.ts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-Bhkd3l06.d.mts → user-B8Y1_VmG.d.mts} +6 -6
- package/dist/{user-C_kCo0Fm.d.ts → user-c_sh7aZ_.d.ts} +6 -6
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-2V7QKRQE.mjs.map +0 -1
- package/dist/chunk-P4XULG5P.mjs.map +0 -1
- /package/dist/{chunk-THXLJFLL.mjs.map → chunk-27VEKARL.mjs.map} +0 -0
- /package/dist/{chunk-EAO3C6JU.mjs.map → chunk-ZDYD4VDB.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-JPj82Tvl.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-B8kHBTPv.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -46,9 +46,9 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
availableCategories,
|
|
48
48
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-27VEKARL.mjs";
|
|
50
50
|
import "../chunk-SWWVD4J5.mjs";
|
|
51
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-4VN5M5JO.mjs";
|
|
52
52
|
import "../chunk-RAYUJODN.mjs";
|
|
53
53
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
54
54
|
import "../chunk-X3OLM35T.mjs";
|
|
@@ -553,7 +553,6 @@ interface BaseResourceTypeFormData {
|
|
|
553
553
|
logo?: ResourceImageType | null;
|
|
554
554
|
logoUpload?: ResourceImageType | null;
|
|
555
555
|
name: string;
|
|
556
|
-
owner?: OwnerType | null;
|
|
557
556
|
promoCodes?: PromoCodeType[] | null;
|
|
558
557
|
region: string;
|
|
559
558
|
socialMedia: SocialMediaType[] | null;
|
|
@@ -579,6 +578,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
|
|
|
579
578
|
approvedAt?: Date | null;
|
|
580
579
|
createdAt: Date;
|
|
581
580
|
deletedAt: Date | null;
|
|
581
|
+
owner: OwnerType;
|
|
582
582
|
posterUsage?: PosterUsageType | null;
|
|
583
583
|
rating?: number | null;
|
|
584
584
|
relatedPost?: RelatedPostType | null;
|
|
@@ -553,7 +553,6 @@ interface BaseResourceTypeFormData {
|
|
|
553
553
|
logo?: ResourceImageType | null;
|
|
554
554
|
logoUpload?: ResourceImageType | null;
|
|
555
555
|
name: string;
|
|
556
|
-
owner?: OwnerType | null;
|
|
557
556
|
promoCodes?: PromoCodeType[] | null;
|
|
558
557
|
region: string;
|
|
559
558
|
socialMedia: SocialMediaType[] | null;
|
|
@@ -579,6 +578,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
|
|
|
579
578
|
approvedAt?: Date | null;
|
|
580
579
|
createdAt: Date;
|
|
581
580
|
deletedAt: Date | null;
|
|
581
|
+
owner: OwnerType;
|
|
582
582
|
posterUsage?: PosterUsageType | null;
|
|
583
583
|
rating?: number | null;
|
|
584
584
|
relatedPost?: RelatedPostType | null;
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -317,6 +317,16 @@ var REDEEMED_REWARD_FIELDS_FRAGMENT = import_client.gql`
|
|
|
317
317
|
redeemedAt
|
|
318
318
|
}
|
|
319
319
|
`;
|
|
320
|
+
var STRIPE_FIELDS_FRAGMENT = import_client.gql`
|
|
321
|
+
fragment StripeSubscriptionFields on StripeSubscriptionType {
|
|
322
|
+
customerId
|
|
323
|
+
subscriptionId
|
|
324
|
+
status
|
|
325
|
+
currentPlan
|
|
326
|
+
startDate
|
|
327
|
+
endDate
|
|
328
|
+
}
|
|
329
|
+
`;
|
|
320
330
|
var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
321
331
|
fragment UserFields on UserType {
|
|
322
332
|
_id
|
|
@@ -350,6 +360,9 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
|
350
360
|
...RedeemedRewardFields
|
|
351
361
|
}
|
|
352
362
|
school
|
|
363
|
+
stripe {
|
|
364
|
+
...StripeSubscriptionFields
|
|
365
|
+
}
|
|
353
366
|
termsAgreement {
|
|
354
367
|
...TermsAgreementFields
|
|
355
368
|
}
|
|
@@ -365,6 +378,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
|
365
378
|
${LICENCE_FIELDS_FRAGMENT}
|
|
366
379
|
${LOCATION_FIELDS_FRAGMENT}
|
|
367
380
|
${REDEEMED_REWARD_FIELDS_FRAGMENT}
|
|
381
|
+
${STRIPE_FIELDS_FRAGMENT}
|
|
368
382
|
`;
|
|
369
383
|
var STALL_TYPE_FIELDS_FRAGMENT = import_client.gql`
|
|
370
384
|
fragment StallTypeFields on StallTypeType {
|