@chevre/factory 4.321.0 → 4.321.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.
@@ -4,19 +4,19 @@ import * as OfferFactory from '../offer';
4
4
  import { IProject } from '../project';
5
5
  import { SortType } from '../sortType';
6
6
  /**
7
- * コンテンツに対するオファーインターフェース
7
+ * コンテンツに対するオファー
8
+ * 最適化(2023-08-01~)
8
9
  */
9
- export interface IOffer extends OfferFactory.IOffer {
10
- }
10
+ export declare type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts'>;
11
11
  /**
12
- * 配給者インターフェース
12
+ * 配給者
13
13
  */
14
14
  export interface IDistributor {
15
15
  id?: string;
16
16
  codeValue?: string;
17
17
  }
18
18
  /**
19
- * コンテンツインターフェース
19
+ * コンテンツ
20
20
  * {@link https://schema.org/Movie}
21
21
  */
22
22
  export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
@@ -30,14 +30,14 @@ export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
30
30
  /**
31
31
  * 販売情報
32
32
  */
33
- offers?: IOffer;
33
+ offers: IOffer;
34
34
  /**
35
35
  * 配給者
36
36
  */
37
37
  distributor?: IDistributor;
38
38
  }
39
39
  /**
40
- * ソート条件インターフェース
40
+ * ソート条件
41
41
  */
42
42
  export interface ISortOrder {
43
43
  identifier?: SortType;
@@ -47,7 +47,7 @@ export interface IOfferSearchConditions {
47
47
  availableThrough?: Date;
48
48
  }
49
49
  /**
50
- * 検索条件インターフェース
50
+ * 検索条件
51
51
  */
52
52
  export interface ISearchConditions {
53
53
  limit?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.321.0",
3
+ "version": "4.321.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",