@chevre/factory 4.383.0 → 4.384.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.
@@ -388,6 +388,11 @@ export interface IOfferSearchConditions {
388
388
  * イベント検索条件
389
389
  */
390
390
  export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.Event> {
391
+ hasOfferCatalog?: {
392
+ id?: {
393
+ $eq?: string;
394
+ };
395
+ };
391
396
  location?: {
392
397
  /**
393
398
  * ルームコード
@@ -255,6 +255,11 @@ export interface IOfferSearchConditions {
255
255
  * イベント検索条件
256
256
  */
257
257
  export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEvent> {
258
+ hasOfferCatalog?: {
259
+ id?: {
260
+ $eq?: string;
261
+ };
262
+ };
258
263
  location?: {
259
264
  /**
260
265
  * ルームコード
@@ -76,7 +76,7 @@ export interface ILocation {
76
76
  */
77
77
  name?: IMultilingualString;
78
78
  }
79
- export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'project' | 'typeOf' | 'identifier' | 'name' | 'alternativeHeadline' | 'description' | 'duration' | 'endDate' | 'eventStatus' | 'headline' | 'location' | 'offers' | 'startDate' | 'workPerformed' | 'additionalProperty'> {
79
+ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'project' | 'typeOf' | 'identifier' | 'name' | 'alternativeHeadline' | 'description' | 'duration' | 'endDate' | 'eventStatus' | 'headline' | 'location' | 'offers' | 'startDate' | 'additionalProperty'> {
80
80
  /**
81
81
  * 字幕利用可能言語
82
82
  */
@@ -87,8 +87,9 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
87
87
  dubLanguage?: ILanguage;
88
88
  /**
89
89
  * 上映方式
90
+ * discontinue ICOAKubun(2024-09-18~)
90
91
  */
91
- videoFormat: IVideoFormat[] | ICOAKubun;
92
+ videoFormat: IVideoFormat[];
92
93
  /**
93
94
  * 音響方式
94
95
  */
@@ -161,15 +162,10 @@ export type ICreateParams = Pick<IAttributes, 'typeOf' | 'name' | 'duration' | '
161
162
  typeOf: string;
162
163
  }[];
163
164
  };
164
- /**
165
- * ソート条件
166
- */
167
- export type ISortOrder = EventFactory.ISortOrder;
168
165
  /**
169
166
  * 検索条件
170
167
  */
171
- export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEventSeries> {
172
- sort?: ISortOrder;
168
+ export interface ISearchConditions extends Pick<EventFactory.ISearchConditions<EventType.ScreeningEventSeries>, 'additionalProperty' | 'endFrom' | 'endThrough' | 'eventStatuses' | 'id' | 'inSessionFrom' | 'inSessionThrough' | 'limit' | 'name' | 'organizer' | 'page' | 'project' | 'sort' | 'startFrom' | 'startThrough'> {
173
169
  location?: {
174
170
  branchCode?: {
175
171
  $eq?: string;
package/lib/event.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as CreativeWorkFactory from './creativeWork';
2
1
  import { EventStatusType } from './eventStatusType';
3
2
  import { EventType } from './eventType';
4
3
  import { IMultilingualString } from './multilingualString';
@@ -72,10 +71,6 @@ export interface IAttributes<T extends EventType> {
72
71
  * ISO 8601 date format
73
72
  */
74
73
  startDate?: Date;
75
- /**
76
- * イベントで上演されるコンテンツ
77
- */
78
- workPerformed?: CreativeWorkFactory.ICreativeWork;
79
74
  additionalProperty?: IPropertyValue<string>[];
80
75
  }
81
76
  /**
@@ -151,11 +146,6 @@ export interface ISearchConditions<T extends EventType> {
151
146
  * イベントステータス
152
147
  */
153
148
  eventStatuses?: EventStatusType[];
154
- hasOfferCatalog?: {
155
- id?: {
156
- $eq?: string;
157
- };
158
- };
159
149
  additionalProperty?: {
160
150
  $elemMatch?: {
161
151
  name?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.383.0",
3
+ "version": "4.384.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",