Skip to content

Commit

Permalink
予約取引のobject.subReservationを最適化
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Apr 8, 2024
1 parent 18afd59 commit 5c4e927
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/assetTransaction/reserve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,9 @@ export interface IObjectWithoutDetail {
reservationFor?: { id: string };
}
export type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
// reservationStatusは不要なので削除(2023-07-19~)
export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus';
// tslint:disable-next-line:no-suspicious-comment
// TODO さらに最適化
// | 'project'
// | 'reservationNumber'
// | 'bookingTime'
// | 'modifiedTime'
// | 'underName'
// | 'checkedIn' | 'attended';
export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus'
// ↓さらに最適化(2024-04-08~)
| 'project' | 'reservationNumber' | 'bookingTime' | 'modifiedTime' | 'underName' | 'checkedIn' | 'attended';
export type IObjectSubReservation =
Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
export type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
Expand Down

0 comments on commit 5c4e927

Please sign in to comment.