@getmicdrop/venue-calendar 3.4.7 → 3.5.0

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 (37) hide show
  1. package/dist/{CarouselView.legacy-CQlC6l1Y.js → CarouselView.legacy-fAmsAKLi.js} +3 -3
  2. package/dist/{CarouselView.legacy-CQlC6l1Y.js.map → CarouselView.legacy-fAmsAKLi.js.map} +1 -1
  3. package/dist/{Checkout.legacy-CtMZcw12.js → Checkout.legacy-DqNypQ8O.js} +2 -2
  4. package/dist/{Checkout.legacy-CtMZcw12.js.map → Checkout.legacy-DqNypQ8O.js.map} +1 -1
  5. package/dist/{FeaturedView.legacy-CZsfv_H6.js → FeaturedView.legacy-BNysXCtk.js} +2 -2
  6. package/dist/{FeaturedView.legacy-CZsfv_H6.js.map → FeaturedView.legacy-BNysXCtk.js.map} +1 -1
  7. package/dist/GalleryCard-RBMkn3Va.js +92 -0
  8. package/dist/GalleryCard-RBMkn3Va.js.map +1 -0
  9. package/dist/{GalleryView.legacy-CWRwmSUM.js → GalleryView.legacy-BDKpD6lT.js} +3 -3
  10. package/dist/{GalleryView.legacy-CWRwmSUM.js.map → GalleryView.legacy-BDKpD6lT.js.map} +1 -1
  11. package/dist/{GroupedListView.legacy-CvSu64U2.js → GroupedListView.legacy-fL2kRm35.js} +2 -2
  12. package/dist/{GroupedListView.legacy-CvSu64U2.js.map → GroupedListView.legacy-fL2kRm35.js.map} +1 -1
  13. package/dist/{Success.legacy-BLqztss5.js → Success.legacy-D9MZwTCk.js} +2 -2
  14. package/dist/{Success.legacy-BLqztss5.js.map → Success.legacy-D9MZwTCk.js.map} +1 -1
  15. package/dist/{VenueCalendar-DoZ7VM4G.js → VenueCalendar-DsXtZNAR.js} +12032 -11343
  16. package/dist/VenueCalendar-DsXtZNAR.js.map +1 -0
  17. package/dist/seo/HostSeoController.d.ts +59 -0
  18. package/dist/seo/buildCollectionJsonLd.d.ts +7 -0
  19. package/dist/seo/buildEventJsonLd.d.ts +9 -0
  20. package/dist/seo/buildSeriesJsonLd.d.ts +6 -0
  21. package/dist/seo/helpers.d.ts +40 -0
  22. package/dist/seo/index.d.ts +9 -0
  23. package/dist/seo/seo.cjs +2 -0
  24. package/dist/seo/seo.cjs.map +1 -0
  25. package/dist/seo/seo.mjs +460 -0
  26. package/dist/seo/seo.mjs.map +1 -0
  27. package/dist/seo/types.d.ts +135 -0
  28. package/dist/venue-calendar.css +1 -1
  29. package/dist/venue-calendar.es.js +2 -2
  30. package/dist/venue-calendar.iife.js +33 -33
  31. package/dist/venue-calendar.iife.js.map +1 -1
  32. package/dist/venue-calendar.umd.js +33 -33
  33. package/dist/venue-calendar.umd.js.map +1 -1
  34. package/package.json +10 -3
  35. package/dist/GalleryCard-BGMUX0Hm.js +0 -87
  36. package/dist/GalleryCard-BGMUX0Hm.js.map +0 -1
  37. package/dist/VenueCalendar-DoZ7VM4G.js.map +0 -1
@@ -0,0 +1,135 @@
1
+ /**
2
+ * Input/output TypeScript interfaces for all JSON-LD builders.
3
+ *
4
+ * These describe the data shape each builder expects, NOT the raw API response
5
+ * shape (those exist in `api/types.ts`). The mapping from API types to these
6
+ * builder input types happens at the call site.
7
+ */
8
+
9
+ // ---------------------------------------------------------------------------
10
+ // Event builder inputs
11
+ // ---------------------------------------------------------------------------
12
+
13
+ /** What buildEventJsonLd expects for an event. */
14
+ export interface EventJsonLdInput {
15
+ name: string;
16
+ startDateTime: string;
17
+ endDateTime?: string;
18
+ status?: string;
19
+ description?: string;
20
+ eventSummary?: string;
21
+ image?: string;
22
+ coverImage?: string;
23
+ ShowImage?: string;
24
+ availableTickets?: EventTicketInput[];
25
+ performers?: EventPerformerInput[];
26
+ }
27
+
28
+ export interface EventTicketInput {
29
+ visibility?: number;
30
+ salesChannel?: number;
31
+ price?: number | string;
32
+ remainingCapacity?: number;
33
+ quantityRemaining?: number;
34
+ quantity?: number;
35
+ soldOut?: boolean;
36
+ salesBegin?: string;
37
+ salesStart?: string;
38
+ saleBegin?: string;
39
+ onSaleStart?: string;
40
+ salesEnd?: string;
41
+ saleEnd?: string;
42
+ onSaleEnd?: string;
43
+ }
44
+
45
+ export interface EventPerformerInput {
46
+ acceptedState?: number;
47
+ shouldBeHidden?: boolean;
48
+ RosterPerformer?: {
49
+ User?: {
50
+ performerProfile?: {
51
+ firstName?: string;
52
+ lastName?: string;
53
+ displayName?: string;
54
+ };
55
+ };
56
+ };
57
+ }
58
+
59
+ export interface VenueInput {
60
+ name: string;
61
+ address?: string;
62
+ googleLocationNameCache?: string;
63
+ }
64
+
65
+ export interface OrganizerInput {
66
+ name: string;
67
+ url?: string;
68
+ }
69
+
70
+ // ---------------------------------------------------------------------------
71
+ // Series builder inputs (Plan 02)
72
+ // ---------------------------------------------------------------------------
73
+
74
+ /** What buildSeriesJsonLd expects. */
75
+ export interface SeriesJsonLdInput {
76
+ title: string;
77
+ description?: string;
78
+ eventSummary?: string;
79
+ image?: string;
80
+ timeZone: string;
81
+ venue: {
82
+ name: string;
83
+ googleLocationNameCache?: string;
84
+ };
85
+ performers?: Array<{ displayName: string }>;
86
+ occurrences: Array<{
87
+ id: number;
88
+ title: string;
89
+ slug: string;
90
+ startDateTime: string;
91
+ endDateTime?: string;
92
+ status?: string;
93
+ tickets?: Array<{ name: string; price: number; status: string }>;
94
+ }>;
95
+ }
96
+
97
+ // ---------------------------------------------------------------------------
98
+ // Collection builder inputs (Plan 02)
99
+ // ---------------------------------------------------------------------------
100
+
101
+ // ---------------------------------------------------------------------------
102
+ // HostSeoController options (Phase 6)
103
+ // ---------------------------------------------------------------------------
104
+
105
+ /** Options for HostSeoController constructor */
106
+ export interface HostSeoControllerOptions {
107
+ /** Venue name for JSON-LD location and page title */
108
+ venueName: string;
109
+ /** Venue address string (from googleLocationNameCache or address field) */
110
+ venueAddress?: string;
111
+ /** Venue timezone (IANA), defaults to 'America/Los_Angeles' */
112
+ venueTimeZone?: string;
113
+ /** Base URL for canonical links, e.g., "https://comedy-club.com/shows" (defaults to current page URL without query params) */
114
+ baseUrl?: string;
115
+ }
116
+
117
+ /** What buildCollectionJsonLd expects. */
118
+ export interface CollectionJsonLdInput {
119
+ collectionTitle: string;
120
+ description?: string;
121
+ summary?: string;
122
+ coverImage?: string;
123
+ dateRange?: { startDate: string; endDate: string } | null;
124
+ events: Array<{
125
+ id: number;
126
+ title: string;
127
+ slug?: string;
128
+ startDateTime?: string;
129
+ endDateTime?: string;
130
+ image?: string;
131
+ status?: string;
132
+ venueName?: string;
133
+ venueId?: number;
134
+ }>;
135
+ }