wedance-shared 1.0.247 → 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.
- package/dist/types/ticket.d.ts +20 -0
- package/package.json +1 -1
package/dist/types/ticket.d.ts
CHANGED
|
@@ -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