@timardex/cluemart-shared 1.1.78 → 1.1.79

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.
Files changed (55) hide show
  1. package/dist/{ad-ByaFgKCJ.d.ts → ad-Ce7cLdiv.d.ts} +4 -4
  2. package/dist/{ad-BoyPTKzO.d.mts → ad-DwRLMLYf.d.mts} +4 -4
  3. package/dist/{auth-CatvNkT_.d.ts → auth-D0DRigoH.d.ts} +1 -1
  4. package/dist/{auth-CsMldwsP.d.mts → auth-waRIlEXb.d.mts} +1 -1
  5. package/dist/{chunk-ERBPRUAF.mjs → chunk-MVZHKSTO.mjs} +12 -12
  6. package/dist/chunk-MVZHKSTO.mjs.map +1 -0
  7. package/dist/{chunk-JFIG6CV2.mjs → chunk-YOGSPGDV.mjs} +2 -2
  8. package/dist/chunk-YOGSPGDV.mjs.map +1 -0
  9. package/dist/{chunk-JZMSWUO5.mjs → chunk-Z4MFANBF.mjs} +2 -2
  10. package/dist/enums/index.cjs +11 -11
  11. package/dist/enums/index.cjs.map +1 -1
  12. package/dist/enums/index.d.mts +11 -11
  13. package/dist/enums/index.d.ts +11 -11
  14. package/dist/enums/index.mjs +1 -1
  15. package/dist/formFields/index.cjs +26 -26
  16. package/dist/formFields/index.cjs.map +1 -1
  17. package/dist/formFields/index.d.mts +7 -7
  18. package/dist/formFields/index.d.ts +7 -7
  19. package/dist/formFields/index.mjs +23 -23
  20. package/dist/formFields/index.mjs.map +1 -1
  21. package/dist/{global-BsANkXhj.d.ts → global-SUox6kvO.d.ts} +14 -14
  22. package/dist/{global-Dt-vAIF9.d.mts → global-yFmN7ypZ.d.mts} +14 -14
  23. package/dist/graphql/index.cjs +249 -248
  24. package/dist/graphql/index.cjs.map +1 -1
  25. package/dist/graphql/index.d.mts +33 -33
  26. package/dist/graphql/index.d.ts +33 -33
  27. package/dist/graphql/index.mjs +236 -235
  28. package/dist/graphql/index.mjs.map +1 -1
  29. package/dist/hooks/index.cjs +36 -36
  30. package/dist/hooks/index.cjs.map +1 -1
  31. package/dist/hooks/index.d.mts +15 -15
  32. package/dist/hooks/index.d.ts +15 -15
  33. package/dist/hooks/index.mjs +33 -33
  34. package/dist/hooks/index.mjs.map +1 -1
  35. package/dist/index.cjs +321 -320
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.mts +74 -74
  38. package/dist/index.d.ts +74 -74
  39. package/dist/index.mjs +298 -297
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/{resourceViews-C2CYUMC0.d.ts → resourceViews-CcElRvU6.d.ts} +2 -2
  42. package/dist/{resourceViews-ja9Qif1X.d.mts → resourceViews-Xr7sq5z4.d.mts} +2 -2
  43. package/dist/types/index.cjs +1 -1
  44. package/dist/types/index.cjs.map +1 -1
  45. package/dist/types/index.d.mts +4 -4
  46. package/dist/types/index.d.ts +4 -4
  47. package/dist/types/index.mjs +1 -1
  48. package/dist/utils/index.cjs.map +1 -1
  49. package/dist/utils/index.d.mts +1 -1
  50. package/dist/utils/index.d.ts +1 -1
  51. package/dist/utils/index.mjs +2 -2
  52. package/package.json +1 -1
  53. package/dist/chunk-ERBPRUAF.mjs.map +0 -1
  54. package/dist/chunk-JFIG6CV2.mjs.map +0 -1
  55. /package/dist/{chunk-JZMSWUO5.mjs.map → chunk-Z4MFANBF.mjs.map} +0 -0
@@ -17,7 +17,7 @@ interface RelationType {
17
17
  createdAt?: string;
18
18
  deletedAt?: string | null;
19
19
  lastUpdateBy: EnumResourceType;
20
- marketId: string;
20
+ eventId: string;
21
21
  relationDates: RelationDate[];
22
22
  relationType: EnumRelationResource;
23
23
  stallholderId: string;
@@ -47,38 +47,38 @@ type Requirement = {
47
47
  label: string;
48
48
  value: boolean;
49
49
  };
50
- interface MarketInfoFormData {
50
+ interface EventInfoFormData {
51
51
  _id?: string;
52
52
  applicationDeadlineHours: number;
53
53
  contactDetails?: ResourceContactDetailsType | null;
54
54
  dateTime: DateTimeWithPriceType[];
55
- marketId: string;
55
+ eventId: string;
56
56
  packInTime: number;
57
57
  paymentDueHours: number;
58
58
  paymentInfo: PaymentInfoType[];
59
59
  requirements?: Requirement[];
60
60
  }
61
- interface MarketFormData extends BaseResourceTypeFormData {
61
+ interface EventFormData extends BaseResourceTypeFormData {
62
62
  dateTime: DateTimeType[];
63
63
  location: LocationType;
64
64
  provider?: string | null;
65
65
  rainOrShine: boolean;
66
66
  tags: string[];
67
67
  }
68
- type CreateMarketInfoFormData = CreateFormData<MarketInfoFormData>;
69
- type CreateMarketFormData = CreateFormData<MarketFormData>;
70
- interface MarketType extends BaseResourceType {
68
+ type CreateEventInfoFormData = CreateFormData<EventInfoFormData>;
69
+ type CreateEventFormData = CreateFormData<EventFormData>;
70
+ interface EventType extends BaseResourceType {
71
71
  dateTime: DateTimeType[];
72
72
  location: LocationType;
73
- marketInfoId: string;
73
+ eventInfoId: string;
74
74
  provider: string | null;
75
75
  rainOrShine: boolean;
76
76
  tags: string[];
77
77
  }
78
- type MarketInfoType = Omit<MarketInfoFormData, "_id"> & {
78
+ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
79
79
  _id: string;
80
80
  };
81
- interface MarketWithConnectionDatesType extends MarketType {
81
+ interface EventWithConnectionDatesType extends EventType {
82
82
  relationDates: RelationDate[] | undefined;
83
83
  }
84
84
 
@@ -134,7 +134,7 @@ interface StallholderType extends BaseResourceType {
134
134
  type StallholderInfoType = Omit<StallholderInfoFormData, "_id" | "foodSafetyGradeFilesUpload"> & {
135
135
  _id: string;
136
136
  };
137
- interface SatllholderWithConnectionDatesType extends StallholderType {
137
+ interface StallholderWithConnectionDatesType extends StallholderType {
138
138
  relationDates: RelationDate[] | undefined;
139
139
  }
140
140
 
@@ -255,8 +255,8 @@ type ImageObjectType = {
255
255
  name: string;
256
256
  };
257
257
  interface ResourceConnectionsType {
258
- markets: MarketWithConnectionDatesType[] | null;
259
- stallholders: SatllholderWithConnectionDatesType[] | null;
258
+ events: EventWithConnectionDatesType[] | null;
259
+ stallholders: StallholderWithConnectionDatesType[] | null;
260
260
  }
261
261
  interface CreateFormData<T extends FieldValues> {
262
262
  control: Control<T, any>;
@@ -275,4 +275,4 @@ type ResourceContactDetailsType = {
275
275
  mobilePhone?: string | null;
276
276
  };
277
277
 
278
- export type { MarketWithConnectionDatesType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, RelationDate as E, FormField as F, GeocodeLocation as G, StallholderLocation as H, ImageObjectType as I, StallholderAttributes as J, SatllholderWithConnectionDatesType as K, LocationType as L, MarketType as M, Nullable as N, OptionItem as O, PosterUsageType as P, Requirement as R, StallType as S, FormDateField as a, MarketInfoType as b, RelationType as c, ResourceConnectionsType as d, StallholderType as e, StallholderInfoType as f, StallholderFormData as g, CreateStallholderFormData as h, StallholderInfoFormData as i, CreateStallholderInfoFormData as j, MarketFormData as k, CreateMarketFormData as l, MarketInfoFormData as m, CreateMarketInfoFormData as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, BaseResourceType as r, Region as s, MapMultiLocation as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, ResourceContactDetailsType as x, DateTimeWithPriceType as y, PaymentInfoType as z };
278
+ export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, StallholderLocation as H, ImageObjectType as I, StallholderAttributes as J, StallholderWithConnectionDatesType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, Requirement as R, StallType as S, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, StallholderType as e, StallholderInfoType as f, StallholderFormData as g, CreateStallholderFormData as h, StallholderInfoFormData as i, CreateStallholderInfoFormData as j, EventFormData as k, CreateEventFormData as l, EventInfoFormData as m, CreateEventInfoFormData as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, BaseResourceType as r, Region as s, SubcategoryItems as t, Subcategory as u, CreateFormData as v, ResourceContactDetailsType as w, DateTimeWithPriceType as x, PaymentInfoType as y, EventWithConnectionDatesType as z };