@alisdigital/types-library
Version:
TypeScript type definitions for Papilet ecosystem with session soft delete and event management features
51 lines (50 loc) • 1.37 kB
TypeScript
import { ISeatDesignModelAttributes } from "../entity/seatGroup.entity";
import { ITicketModelAttributes } from "../entity/ticket.entity";
export interface ITicketResponse extends ITicketModelAttributes {
}
export interface IAdminReservedTicketResponse {
event: {
_id: string;
title: string;
information?: {
title?: string;
description?: string;
isActive?: boolean;
duration?: number;
media?: {
thumbnail?: {
url?: string;
alt?: string;
};
banner?: {
url?: string;
alt?: string;
};
gallery?: Array<{
url?: string;
alt?: string;
}>;
};
hasSeat?: boolean;
};
};
tickets: Array<{
_id: string;
purchaseNumber: string;
session: {
_id: string;
date: Date;
venue: {
_id: string;
name: string;
};
};
seatGroup: {
_id: string;
name: string;
seatGroupType: number;
seatDesigns: ISeatDesignModelAttributes[];
};
seat: ISeatDesignModelAttributes;
}>;
}