Skip to content

Commit

Permalink
注文のISuperEventからkanaNameを廃止
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Jan 22, 2024
1 parent f8e66bc commit 40f6b8a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Removed

- 注文のISuperEventからkanaNameを廃止

### Fixed

### Security
Expand Down
11 changes: 10 additions & 1 deletion src/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,16 @@ export type IWorkPerformed = Pick<
EventReservationFactory.IOptimizedWorkPerformed,
'typeOf' | 'id' | 'identifier' | 'name' | 'duration'
>;
export type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
export type ISuperEvent = Pick<
EventReservationFactory.IOptimizedSuperEvent,
'additionalProperty' | 'id'
// | 'kanaName' // 廃止(2024-01-22~)
| 'location'
| 'name' | 'soundFormat' | 'typeOf'
| 'videoFormat' | 'description' | 'headline'
// ↓COAのみ
| 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'
> & {
workPerformed: IWorkPerformed;
};
export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
Expand Down
6 changes: 3 additions & 3 deletions src/reservation/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export type IOptimizedWorkPerformed = Omit<
name?: string | IMultilingualString;
};
export type IOptimizedSuperEvent = Pick<ISuperEvent,
// 不要なので廃止(2022-12-19~)
// 'project' |
'additionalProperty' | 'id' | 'kanaName' | 'location'
'additionalProperty' | 'id'
| 'kanaName'
| 'location'
| 'name' | 'soundFormat' | 'typeOf'
| 'videoFormat' | 'description' | 'headline'
// ↓COAのみ
Expand Down

0 comments on commit 40f6b8a

Please sign in to comment.