@chevre/factory 10.5.0-alpha.0 → 10.5.0-alpha.1
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.
|
@@ -191,7 +191,9 @@ export type ICreateParams = Pick<IAttributes, 'name' | 'duration' | 'endDate' |
|
|
|
191
191
|
/**
|
|
192
192
|
* 検索条件
|
|
193
193
|
*/
|
|
194
|
-
export interface ISearchConditions extends Pick<IBaseSearchConditions
|
|
194
|
+
export interface ISearchConditions extends Pick<IBaseSearchConditions, 'additionalProperty' | 'endFrom' | 'endThrough' | 'id' | 'inSessionFrom' | 'inSessionThrough' | 'limit' | 'organizer' | 'page' | 'project' | 'sort' | 'startFrom' | 'startThrough'> {
|
|
195
|
+
typeOf?: EventType.ScreeningEventSeries;
|
|
196
|
+
name?: string;
|
|
195
197
|
location?: {
|
|
196
198
|
branchCode?: {
|
|
197
199
|
$eq?: string;
|
|
@@ -218,12 +220,6 @@ export interface ISearchConditions extends Pick<IBaseSearchConditions<EventType.
|
|
|
218
220
|
$in?: string[];
|
|
219
221
|
};
|
|
220
222
|
};
|
|
221
|
-
soundFormat?: {
|
|
222
|
-
typeOf?: {
|
|
223
|
-
$eq?: string;
|
|
224
|
-
$in?: string[];
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
223
|
workPerformed?: {
|
|
228
224
|
/**
|
|
229
225
|
* コンテンツコード
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { COAFactory } from '@coasystems/factory';
|
|
2
2
|
import { IEvent as IBaseEvent, ISearchConditions as IBaseSearchConditions, ISortOrder } from '../event';
|
|
3
|
+
import { EventStatusType } from '../eventStatusType';
|
|
3
4
|
import { IEvent as IEventSeries, IUnacceptedPaymentMethodType } from './eventSeries';
|
|
4
5
|
import { EventType } from '../eventType';
|
|
5
6
|
import { OfferType } from '../offerType';
|
|
@@ -231,9 +232,7 @@ export interface IOfferSearchConditions {
|
|
|
231
232
|
id?: {
|
|
232
233
|
$in?: string[];
|
|
233
234
|
};
|
|
234
|
-
serviceType?:
|
|
235
|
-
ids?: string[];
|
|
236
|
-
};
|
|
235
|
+
serviceType?: never;
|
|
237
236
|
serviceOutput?: {
|
|
238
237
|
reservedTicket?: {
|
|
239
238
|
ticketedSeat?: {
|
|
@@ -271,7 +270,12 @@ export interface IOfferSearchConditions {
|
|
|
271
270
|
/**
|
|
272
271
|
* イベント検索条件
|
|
273
272
|
*/
|
|
274
|
-
export interface ISearchConditions extends IBaseSearchConditions
|
|
273
|
+
export interface ISearchConditions extends IBaseSearchConditions {
|
|
274
|
+
typeOf?: EventType.ScreeningEvent;
|
|
275
|
+
/**
|
|
276
|
+
* イベントステータス
|
|
277
|
+
*/
|
|
278
|
+
eventStatuses?: EventStatusType[];
|
|
275
279
|
location?: {
|
|
276
280
|
/**
|
|
277
281
|
* ルームコード
|
package/lib/chevre/event.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export type IEvent<T extends IAttributes<EventType>> = T & {
|
|
|
42
42
|
export interface ISortOrder {
|
|
43
43
|
startDate?: SortType;
|
|
44
44
|
}
|
|
45
|
-
export interface ISearchConditions
|
|
45
|
+
export interface ISearchConditions {
|
|
46
46
|
limit?: number;
|
|
47
47
|
page?: number;
|
|
48
48
|
sort?: ISortOrder;
|
|
@@ -61,15 +61,6 @@ export interface ISearchConditions<T extends EventType> {
|
|
|
61
61
|
$eq?: string;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
/**
|
|
65
|
-
* イベントタイプ
|
|
66
|
-
*/
|
|
67
|
-
typeOf?: T;
|
|
68
|
-
typeOfIn?: EventType[];
|
|
69
|
-
/**
|
|
70
|
-
* イベント名称
|
|
71
|
-
*/
|
|
72
|
-
name?: string;
|
|
73
64
|
/**
|
|
74
65
|
* 開催中 from
|
|
75
66
|
* ISO 8601 date format
|
|
@@ -100,10 +91,6 @@ export interface ISearchConditions<T extends EventType> {
|
|
|
100
91
|
* ISO 8601 date format
|
|
101
92
|
*/
|
|
102
93
|
endThrough?: Date;
|
|
103
|
-
/**
|
|
104
|
-
* イベントステータス
|
|
105
|
-
*/
|
|
106
|
-
eventStatuses?: EventStatusType[];
|
|
107
94
|
additionalProperty?: {
|
|
108
95
|
$elemMatch?: {
|
|
109
96
|
name?: {
|
|
@@ -114,4 +101,6 @@ export interface ISearchConditions<T extends EventType> {
|
|
|
114
101
|
};
|
|
115
102
|
};
|
|
116
103
|
};
|
|
104
|
+
typeOfIn?: never;
|
|
105
|
+
name?: never;
|
|
117
106
|
}
|