wedance-shared 1.0.246 → 1.0.248

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.
@@ -141,10 +141,11 @@ export type OrganizerApplication = {
141
141
  about: string | null;
142
142
  status: OrganizerApplicationStatus;
143
143
  rejectionReason: string | null;
144
+ language: string;
144
145
  createdAt: string;
145
146
  updatedAt: string;
146
147
  };
147
- export type CreateOrganizerApplicationInput = Pick<OrganizerApplication, "fullName" | "organizerName" | "email" | "phone" | "city" | "foundedAt" | "frequency" | "averageAttendance" | "styles" | "currentTicketing" | "interestedInTicketing" | "website" | "facebook" | "instagram" | "about">;
148
+ export type CreateOrganizerApplicationInput = Pick<OrganizerApplication, "fullName" | "organizerName" | "email" | "phone" | "city" | "foundedAt" | "frequency" | "averageAttendance" | "styles" | "currentTicketing" | "interestedInTicketing" | "website" | "facebook" | "instagram" | "about" | "language">;
148
149
  export type ApproveOrganizerApplicationInput = {
149
150
  city: City;
150
151
  };
@@ -128,6 +128,26 @@ export type TicketTypeBase = {
128
128
  */
129
129
  classId?: string | null;
130
130
  accessScope: PassAccessScope;
131
+ /**
132
+ * Group the ticket type is displayed under, see {@link TicketTypeGroup}
133
+ */
134
+ groupId: string | null;
135
+ /**
136
+ * Display order, ascending. Within a group when groupId is set.
137
+ */
138
+ sortOrder: number;
139
+ };
140
+ /**
141
+ * A named section grouping an event's ticket types (e.g. "Full passes").
142
+ */
143
+ export type TicketTypeGroup = {
144
+ id: string;
145
+ eventId: string;
146
+ name: string;
147
+ description: string | null;
148
+ sortOrder: number;
149
+ createdAt: string;
150
+ updatedAt: string;
131
151
  };
132
152
  /**
133
153
  * A ticket sold for one specific event. The only variant currently written in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.246",
3
+ "version": "1.0.248",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",