@timardex/cluemart-shared 1.5.569 → 1.5.570
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-BDvPkMFk.d.ts → auth-CQiRtrAh.d.ts} +1 -1
- package/dist/{auth-DBhUhOg-.d.mts → auth-DH0WOTYB.d.mts} +1 -1
- package/dist/{chunk-LNHT4D45.mjs → chunk-IGDHXFQR.mjs} +35 -14
- package/dist/chunk-IGDHXFQR.mjs.map +1 -0
- package/dist/{chunk-J7JHBSR7.mjs → chunk-VA5YN2K3.mjs} +13 -13
- package/dist/chunk-VA5YN2K3.mjs.map +1 -0
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-3liXCxkc.d.mts → global-BbTqWv4Y.d.mts} +9 -10
- package/dist/{global-BebbAtVP.d.ts → global-pfQm7lSE.d.ts} +9 -10
- package/dist/graphql/index.cjs +34 -13
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +40 -28
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +8 -17
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +52 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.mjs +52 -40
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CSzn0CyV.d.mts → post-CQ4g94F3.d.mts} +8 -2
- package/dist/{post-HPDnvpBB.d.ts → post-CTbj6AEb.d.ts} +8 -2
- package/dist/{resourceActivities-Bmt-2ItD.d.mts → resourceActivities-BUBwaTTV.d.mts} +1 -1
- package/dist/{resourceActivities-2dcCvRIM.d.ts → resourceActivities-nugL4NlE.d.ts} +1 -1
- package/dist/theme/index.cjs +12 -12
- package/dist/theme/index.cjs.map +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-J7JHBSR7.mjs.map +0 -1
- package/dist/chunk-LNHT4D45.mjs.map +0 -1
|
@@ -90,6 +90,7 @@ interface EventType extends BaseResourceType {
|
|
|
90
90
|
relationId: string | null;
|
|
91
91
|
relationDates: RelationDate[] | null;
|
|
92
92
|
}[] | null;
|
|
93
|
+
unregisteredVendorIds: string[] | null;
|
|
93
94
|
}
|
|
94
95
|
type EventListItemType = Pick<EventType, "_id" | "active" | "claimed" | "cover" | "createdAt" | "dateTime" | "deletedAt" | "description" | "eventType" | "googlePlaceId" | "images" | "location" | "logo" | "name" | "rainOrShine" | "rating" | "region" | "relations" | "reviewCount" | "updatedAt">;
|
|
95
96
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
@@ -180,17 +181,14 @@ interface VendorType extends BaseResourceType {
|
|
|
180
181
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
181
182
|
_id: string;
|
|
182
183
|
};
|
|
183
|
-
type UnregisteredVendorInvitationType = {
|
|
184
|
-
dateTime: DateTimeType[];
|
|
185
|
-
eventId: string;
|
|
186
|
-
location: LocationType;
|
|
187
|
-
};
|
|
188
184
|
interface UnregisteredVendorFormData {
|
|
189
|
-
|
|
190
|
-
email
|
|
185
|
+
categoryIds: string[];
|
|
186
|
+
email?: string | null;
|
|
187
|
+
invitations?: {
|
|
188
|
+
dateTime: DateTimeType[];
|
|
189
|
+
eventId: string;
|
|
190
|
+
}[] | null;
|
|
191
191
|
name: string;
|
|
192
|
-
region: string;
|
|
193
|
-
invitations: UnregisteredVendorInvitationType[] | null;
|
|
194
192
|
}
|
|
195
193
|
type CreateUnregisteredVendorFormData = CreateFormData<UnregisteredVendorFormData>;
|
|
196
194
|
type UnregisteredVendorType = UnregisteredVendorFormData & {
|
|
@@ -199,6 +197,7 @@ type UnregisteredVendorType = UnregisteredVendorFormData & {
|
|
|
199
197
|
deletedAt: Date | null;
|
|
200
198
|
updatedAt: Date | null;
|
|
201
199
|
};
|
|
200
|
+
type UnregisteredVendorListItemType = Pick<UnregisteredVendorType, "_id" | "categoryIds" | "email" | "invitations" | "name">;
|
|
202
201
|
|
|
203
202
|
declare const PROMO_CODE_PREFIX = "CM-";
|
|
204
203
|
type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
|
|
@@ -384,4 +383,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
384
383
|
getValues: UseFormGetValues<T>;
|
|
385
384
|
}
|
|
386
385
|
|
|
387
|
-
export { type
|
|
386
|
+
export { type UnregisteredVendorListItemType as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type DateTimeType as D, type EventType as E, type FormField as F, type GeocodeLocation as G, type PosterUsageType as H, type ImageObjectType as I, type PromoCodeType as J, type Region as K, type LocationType as L, type RelationDate as M, type Nullable as N, type OptionItem as O, PROMO_CODE_PREFIX as P, type ResourceContactDetailsType as Q, type RefundPolicy as R, type StallType as S, type ResourceDetails as T, type UnregisteredVendorType as U, type VendorType as V, type ResourceImageType as W, type SocialMediaType as X, type Subcategory as Y, type SubcategoryItems as Z, type TermsAgreement as _, type FormDateField as a, type VendorAttributes as a0, type VendorCalendarData as a1, type VendorProductList as a2, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type VendorInfoType as g, type UserLicenceType as h, type VendorFormData as i, type CreateVendorFormData as j, type VendorInfoFormData as k, type CreateVendorInfoFormData as l, type EventFormData as m, type CreateEventFormData as n, type EventInfoFormData as o, type CreateEventInfoFormData as p, type UnregisteredVendorFormData as q, type BaseResourceType as r, type CreateFormData as s, type CreateUnregisteredVendorFormData as t, type DateTimeWithPriceType as u, type DeviceInfo as v, type EventStatusType as w, type LocationGeoType as x, type OwnerType as y, type PaymentInfoType as z };
|
|
@@ -90,6 +90,7 @@ interface EventType extends BaseResourceType {
|
|
|
90
90
|
relationId: string | null;
|
|
91
91
|
relationDates: RelationDate[] | null;
|
|
92
92
|
}[] | null;
|
|
93
|
+
unregisteredVendorIds: string[] | null;
|
|
93
94
|
}
|
|
94
95
|
type EventListItemType = Pick<EventType, "_id" | "active" | "claimed" | "cover" | "createdAt" | "dateTime" | "deletedAt" | "description" | "eventType" | "googlePlaceId" | "images" | "location" | "logo" | "name" | "rainOrShine" | "rating" | "region" | "relations" | "reviewCount" | "updatedAt">;
|
|
95
96
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
@@ -180,17 +181,14 @@ interface VendorType extends BaseResourceType {
|
|
|
180
181
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
181
182
|
_id: string;
|
|
182
183
|
};
|
|
183
|
-
type UnregisteredVendorInvitationType = {
|
|
184
|
-
dateTime: DateTimeType[];
|
|
185
|
-
eventId: string;
|
|
186
|
-
location: LocationType;
|
|
187
|
-
};
|
|
188
184
|
interface UnregisteredVendorFormData {
|
|
189
|
-
|
|
190
|
-
email
|
|
185
|
+
categoryIds: string[];
|
|
186
|
+
email?: string | null;
|
|
187
|
+
invitations?: {
|
|
188
|
+
dateTime: DateTimeType[];
|
|
189
|
+
eventId: string;
|
|
190
|
+
}[] | null;
|
|
191
191
|
name: string;
|
|
192
|
-
region: string;
|
|
193
|
-
invitations: UnregisteredVendorInvitationType[] | null;
|
|
194
192
|
}
|
|
195
193
|
type CreateUnregisteredVendorFormData = CreateFormData<UnregisteredVendorFormData>;
|
|
196
194
|
type UnregisteredVendorType = UnregisteredVendorFormData & {
|
|
@@ -199,6 +197,7 @@ type UnregisteredVendorType = UnregisteredVendorFormData & {
|
|
|
199
197
|
deletedAt: Date | null;
|
|
200
198
|
updatedAt: Date | null;
|
|
201
199
|
};
|
|
200
|
+
type UnregisteredVendorListItemType = Pick<UnregisteredVendorType, "_id" | "categoryIds" | "email" | "invitations" | "name">;
|
|
202
201
|
|
|
203
202
|
declare const PROMO_CODE_PREFIX = "CM-";
|
|
204
203
|
type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
|
|
@@ -384,4 +383,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
384
383
|
getValues: UseFormGetValues<T>;
|
|
385
384
|
}
|
|
386
385
|
|
|
387
|
-
export { type
|
|
386
|
+
export { type UnregisteredVendorListItemType as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type DateTimeType as D, type EventType as E, type FormField as F, type GeocodeLocation as G, type PosterUsageType as H, type ImageObjectType as I, type PromoCodeType as J, type Region as K, type LocationType as L, type RelationDate as M, type Nullable as N, type OptionItem as O, PROMO_CODE_PREFIX as P, type ResourceContactDetailsType as Q, type RefundPolicy as R, type StallType as S, type ResourceDetails as T, type UnregisteredVendorType as U, type VendorType as V, type ResourceImageType as W, type SocialMediaType as X, type Subcategory as Y, type SubcategoryItems as Z, type TermsAgreement as _, type FormDateField as a, type VendorAttributes as a0, type VendorCalendarData as a1, type VendorProductList as a2, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type VendorInfoType as g, type UserLicenceType as h, type VendorFormData as i, type CreateVendorFormData as j, type VendorInfoFormData as k, type CreateVendorInfoFormData as l, type EventFormData as m, type CreateEventFormData as n, type EventInfoFormData as o, type CreateEventInfoFormData as p, type UnregisteredVendorFormData as q, type BaseResourceType as r, type CreateFormData as s, type CreateUnregisteredVendorFormData as t, type DateTimeWithPriceType as u, type DeviceInfo as v, type EventStatusType as w, type LocationGeoType as x, type OwnerType as y, type PaymentInfoType as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -452,6 +452,21 @@ var EVENT_LIST_ITEM = import_client2.gql`
|
|
|
452
452
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
453
453
|
${RELATION_DATES_FRAGMENT}
|
|
454
454
|
`;
|
|
455
|
+
var UNREGISTERED_VENDOR_LIST_ITEM_FIELDS_FRAGMENT = import_client2.gql`
|
|
456
|
+
fragment UnregisteredVendorListItemFields on UnregisteredVendorListItemType {
|
|
457
|
+
_id
|
|
458
|
+
categoryIds
|
|
459
|
+
email
|
|
460
|
+
invitations {
|
|
461
|
+
dateTime {
|
|
462
|
+
...DateTimeFields
|
|
463
|
+
}
|
|
464
|
+
eventId
|
|
465
|
+
}
|
|
466
|
+
name
|
|
467
|
+
}
|
|
468
|
+
${DATETIME_FIELDS_FRAGMENT}
|
|
469
|
+
`;
|
|
455
470
|
|
|
456
471
|
// src/graphql/queries/event.ts
|
|
457
472
|
var EVENT_INFO = import_client3.gql`
|
|
@@ -542,10 +557,11 @@ var EVENT = import_client3.gql`
|
|
|
542
557
|
}
|
|
543
558
|
rating
|
|
544
559
|
reviewCount
|
|
560
|
+
rainOrShine
|
|
561
|
+
unregisteredVendorIds
|
|
545
562
|
socialMedia {
|
|
546
563
|
...SocialMediaFields
|
|
547
564
|
}
|
|
548
|
-
rainOrShine
|
|
549
565
|
tags
|
|
550
566
|
termsAgreement {
|
|
551
567
|
...TermsAgreementFields
|
|
@@ -779,23 +795,19 @@ var VENDOR_INFO = import_client4.gql`
|
|
|
779
795
|
`;
|
|
780
796
|
var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
|
|
781
797
|
fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
...LocationFields
|
|
798
|
+
invitations {
|
|
799
|
+
dateTime {
|
|
800
|
+
...DateTimeFields
|
|
801
|
+
}
|
|
802
|
+
eventId
|
|
788
803
|
}
|
|
789
804
|
}
|
|
790
805
|
${DATETIME_FIELDS_FRAGMENT}
|
|
791
|
-
${LOCATION_FIELDS_FRAGMENT}
|
|
792
806
|
`;
|
|
793
807
|
var UNREGISTERED_VENDOR = import_client4.gql`
|
|
794
808
|
fragment UnregisteredVendorFields on UnregisteredVendorType {
|
|
795
809
|
_id
|
|
796
|
-
|
|
797
|
-
...CategoryFields
|
|
798
|
-
}
|
|
810
|
+
categoryIds
|
|
799
811
|
createdAt
|
|
800
812
|
deletedAt
|
|
801
813
|
email
|
|
@@ -803,10 +815,8 @@ var UNREGISTERED_VENDOR = import_client4.gql`
|
|
|
803
815
|
...UnregisteredVendorInvitationFields
|
|
804
816
|
}
|
|
805
817
|
name
|
|
806
|
-
region
|
|
807
818
|
updatedAt
|
|
808
819
|
}
|
|
809
|
-
${CATEGORY_FIELDS_FRAGMENT}
|
|
810
820
|
${UNREGISTERED_VENDOR_INVITATION_FRAGMENT}
|
|
811
821
|
`;
|
|
812
822
|
var GET_VENDORS = import_client4.gql`
|
|
@@ -3939,10 +3949,20 @@ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client67.gql`
|
|
|
3939
3949
|
}
|
|
3940
3950
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
3941
3951
|
`;
|
|
3952
|
+
var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client67.gql`
|
|
3953
|
+
fragment SchoolCampaignFields on SchoolCampaignType {
|
|
3954
|
+
endDate
|
|
3955
|
+
name
|
|
3956
|
+
startDate
|
|
3957
|
+
}
|
|
3958
|
+
`;
|
|
3942
3959
|
var SCHOOL = import_client67.gql`
|
|
3943
3960
|
fragment SchoolFields on SchoolType {
|
|
3944
3961
|
_id
|
|
3945
3962
|
active
|
|
3963
|
+
campaigns {
|
|
3964
|
+
...SchoolCampaignFields
|
|
3965
|
+
}
|
|
3946
3966
|
contactDetails {
|
|
3947
3967
|
...ContactDetailsFields
|
|
3948
3968
|
}
|
|
@@ -3977,6 +3997,7 @@ var SCHOOL = import_client67.gql`
|
|
|
3977
3997
|
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
3978
3998
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
3979
3999
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
4000
|
+
${SCHOOL_CAMPAIGN_FIELDS_FRAGMENT}
|
|
3980
4001
|
`;
|
|
3981
4002
|
var GET_SCHOOL = import_client67.gql`
|
|
3982
4003
|
query getSchool($_id: ID!) {
|