@chevre/factory 4.337.0 → 4.338.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.
@@ -5,6 +5,7 @@ import { IMultilingualString } from './multilingualString';
5
5
  import { IOfferCatalog } from './offerCatalog';
6
6
  import { OfferType } from './offerType';
7
7
  import { OrderType } from './order';
8
+ import { PlaceType } from './placeType';
8
9
  import { IProject } from './project';
9
10
  import { PropertyValueType } from './propertyValue';
10
11
  import { ISeller } from './seller';
@@ -13,7 +14,7 @@ import { IThing } from './thing';
13
14
  export type CategoryCodeType = ICategoryCode['typeOf'];
14
15
  export type OfferCatalogType = IOfferCatalog['typeOf'];
15
16
  export type SellerType = ISeller['typeOf'];
16
- export type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | OrderType.Order | SellerType;
17
+ export type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | OrderType.Order | PlaceType.MovieTheater | SellerType;
17
18
  /**
18
19
  * {@link https://schema.org/CategoryCodeSet}
19
20
  */
@@ -17,7 +17,7 @@ export interface IAvailabilityEndsGraceTime extends Pick<IQuantitativeValue<Unit
17
17
  /**
18
18
  * 施設に対するオファー
19
19
  */
20
- export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'project' | 'typeOf' | 'eligibleQuantity'> {
20
+ export interface IOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'eligibleQuantity'> {
21
21
  /**
22
22
  * イベント開始前の販売猶予期間
23
23
  */
@@ -69,7 +69,7 @@ export type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
69
69
  /**
70
70
  * 施設
71
71
  */
72
- export interface IPlace extends Pick<PlaceFactory.IPlace, 'additionalProperty' | 'branchCode' | 'name' | 'project' | 'telephone' | 'typeOf'> {
72
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'additionalProperty' | 'branchCode' | 'name' | 'project' | 'telephone' | 'typeOf' | 'url'> {
73
73
  typeOf: PlaceType.MovieTheater;
74
74
  id: string;
75
75
  /**
package/lib/place.d.ts CHANGED
@@ -8,7 +8,7 @@ export type IAmenityFeature = ILocationFeatureSpecification;
8
8
  /**
9
9
  * 場所インターフェース
10
10
  */
11
- export interface IPlace extends Pick<IThing, 'identifier' | 'name'> {
11
+ export interface IPlace extends Pick<IThing, 'identifier' | 'name' | 'url'> {
12
12
  project: Pick<IProject, 'id' | 'typeOf'>;
13
13
  typeOf: PlaceType;
14
14
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.337.0",
3
+ "version": "4.338.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",