@chevre/factory 10.5.0-alpha.0 → 10.5.0-alpha.2
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';
|
|
@@ -211,29 +212,11 @@ export type IUpdateByIdentifierParams = Pick<IUpdateByIdParams, 'additionalPrope
|
|
|
211
212
|
*/
|
|
212
213
|
export { ISortOrder };
|
|
213
214
|
export interface IOfferSearchConditions {
|
|
214
|
-
/**
|
|
215
|
-
* apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
|
|
216
|
-
*/
|
|
217
|
-
availableFrom?: Date;
|
|
218
|
-
/**
|
|
219
|
-
* apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
|
|
220
|
-
*/
|
|
221
|
-
availableThrough?: Date;
|
|
222
|
-
/**
|
|
223
|
-
* apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
|
|
224
|
-
*/
|
|
225
|
-
validFrom?: Date;
|
|
226
|
-
/**
|
|
227
|
-
* apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
|
|
228
|
-
*/
|
|
229
|
-
validThrough?: Date;
|
|
230
215
|
itemOffered?: {
|
|
231
216
|
id?: {
|
|
232
217
|
$in?: string[];
|
|
233
218
|
};
|
|
234
|
-
serviceType?:
|
|
235
|
-
ids?: string[];
|
|
236
|
-
};
|
|
219
|
+
serviceType?: never;
|
|
237
220
|
serviceOutput?: {
|
|
238
221
|
reservedTicket?: {
|
|
239
222
|
ticketedSeat?: {
|
|
@@ -271,7 +254,12 @@ export interface IOfferSearchConditions {
|
|
|
271
254
|
/**
|
|
272
255
|
* イベント検索条件
|
|
273
256
|
*/
|
|
274
|
-
export interface ISearchConditions extends IBaseSearchConditions
|
|
257
|
+
export interface ISearchConditions extends IBaseSearchConditions {
|
|
258
|
+
typeOf?: EventType.ScreeningEvent;
|
|
259
|
+
/**
|
|
260
|
+
* イベントステータス
|
|
261
|
+
*/
|
|
262
|
+
eventStatuses?: EventStatusType[];
|
|
275
263
|
location?: {
|
|
276
264
|
/**
|
|
277
265
|
* ルームコード
|
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
|
}
|