@chevre/factory 4.346.0 → 4.347.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.
@@ -148,11 +148,19 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
148
148
  * 施設コンテンツ
149
149
  */
150
150
  export type IEvent = EventFactory.IEvent<IAttributes>;
151
- export type ICreateParams = Omit<IAttributes, 'location' | 'workPerformed' | 'coaInfo' | 'organizer' | 'videoFormat' | 'alternativeHeadline'> & {
151
+ export type ICreateParams = Pick<IAttributes, 'typeOf' | 'name' | 'duration' | 'endDate' | 'headline' | 'offers' | 'startDate' | 'additionalProperty' | 'kanaName' | 'eventStatus' | 'description'> & {
152
+ subtitleLanguage?: Pick<ILanguage, 'name'>;
153
+ dubLanguage?: Pick<ILanguage, 'name'>;
152
154
  location: {
155
+ /**
156
+ * 施設ID
157
+ */
153
158
  id: string;
154
159
  };
155
160
  workPerformed: {
161
+ /**
162
+ * コンテンツコード
163
+ */
156
164
  identifier: string;
157
165
  /**
158
166
  * 同コンテンツに対する複数施設コンテンツのバージョン
@@ -160,7 +168,12 @@ export type ICreateParams = Omit<IAttributes, 'location' | 'workPerformed' | 'co
160
168
  */
161
169
  version?: string;
162
170
  };
163
- videoFormat: IVideoFormat[];
171
+ videoFormat: {
172
+ /**
173
+ * 上映方式区分コード
174
+ */
175
+ typeOf: string;
176
+ }[];
164
177
  };
165
178
  /**
166
179
  * ソート条件
package/lib/language.d.ts CHANGED
@@ -1,8 +1,9 @@
1
+ type ILanguageName = 'Japanese';
1
2
  /**
2
3
  * 言語インターフェース
3
4
  */
4
5
  export interface ILanguage {
5
6
  typeOf: 'Language';
6
- name: string;
7
- alternateName?: string;
7
+ name: ILanguageName;
8
8
  }
9
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.346.0",
3
+ "version": "4.347.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",