@chevre/factory 4.396.0 → 4.397.0-alpha.0
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/lib/event/anyEvent.d.ts +11 -5
- package/lib/event/screeningEvent.d.ts +1 -1
- package/lib/event.d.ts +6 -1
- package/package.json +1 -1
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -160,10 +160,10 @@ export interface ILocation {
|
|
|
160
160
|
description?: IMultilingualString;
|
|
161
161
|
address?: IMultilingualString;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
164
|
-
*
|
|
163
|
+
* maximumPhysicalAttendeeCapacityへ移行
|
|
164
|
+
* 2025-08-24時点で、まだ実態としては属性が残っている
|
|
165
165
|
*/
|
|
166
|
-
maximumAttendeeCapacity?:
|
|
166
|
+
maximumAttendeeCapacity?: never;
|
|
167
167
|
}
|
|
168
168
|
export type IName = IMultilingualString;
|
|
169
169
|
export interface IOrganizer {
|
|
@@ -172,7 +172,7 @@ export interface IOrganizer {
|
|
|
172
172
|
/**
|
|
173
173
|
* イベント属性
|
|
174
174
|
*/
|
|
175
|
-
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Event>, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'typeOf'> {
|
|
175
|
+
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Event>, 'maximumPhysicalAttendeeCapacity' | 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'typeOf'> {
|
|
176
176
|
/**
|
|
177
177
|
* 上映場所
|
|
178
178
|
*/
|
|
@@ -218,7 +218,13 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
|
|
|
218
218
|
* イベント
|
|
219
219
|
*/
|
|
220
220
|
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
221
|
-
export type ILocation4create = Pick<ILocation, 'branchCode'
|
|
221
|
+
export type ILocation4create = Pick<ILocation, 'branchCode'> & {
|
|
222
|
+
/**
|
|
223
|
+
* イベント固有のキャパシティ
|
|
224
|
+
* 施設のキャパシティに依存しない場合に使用
|
|
225
|
+
*/
|
|
226
|
+
maximumAttendeeCapacity?: number;
|
|
227
|
+
};
|
|
222
228
|
export interface IMemberProgramTier4create {
|
|
223
229
|
isTierOf: {
|
|
224
230
|
identifier: string;
|
|
@@ -107,7 +107,7 @@ export import IName = AnyEventFactory.IName;
|
|
|
107
107
|
/**
|
|
108
108
|
* イベント属性
|
|
109
109
|
*/
|
|
110
|
-
export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'aggregateReservation' | 'organizer' | 'checkInCount' | 'attendeeCount'> {
|
|
110
|
+
export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'maximumPhysicalAttendeeCapacity' | 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'aggregateReservation' | 'organizer' | 'checkInCount' | 'attendeeCount'> {
|
|
111
111
|
/**
|
|
112
112
|
* 親イベント
|
|
113
113
|
* 施設コンテンツに相当
|
package/lib/event.d.ts
CHANGED
|
@@ -55,9 +55,14 @@ export interface IAttributes<T extends EventType> {
|
|
|
55
55
|
*/
|
|
56
56
|
location?: Omit<PlaceFactory.IPlace, 'project'>;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* 予約集計結果としてのキャパシティ
|
|
59
59
|
*/
|
|
60
60
|
maximumAttendeeCapacity?: number;
|
|
61
|
+
/**
|
|
62
|
+
* イベント固有のキャパシティ
|
|
63
|
+
* 施設のキャパシティに依存しない場合に使用
|
|
64
|
+
*/
|
|
65
|
+
maximumPhysicalAttendeeCapacity?: number;
|
|
61
66
|
/**
|
|
62
67
|
* An offer to provide this item—for example, an offer to sell a product,
|
|
63
68
|
* rent the DVD of a movie, perform a service, or give away tickets to an event.
|