@chevre/domain 23.2.0-alpha.14 → 23.2.0-alpha.15

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,7 +5,10 @@ export type IScreeningRoomFoundByBranchCode = Pick<factory.place.screeningRoom.I
5
5
  export type IMovieTheaterIncludingScreeningRooms = Pick<factory.place.movieTheater.IPlace, 'additionalProperty' | 'branchCode' | 'kanaName' | 'name' | 'offers' | 'parentOrganization' | 'project' | 'telephone' | 'typeOf'> & {
6
6
  containsPlace: factory.place.screeningRoom.IPlace[];
7
7
  };
8
- type IKeyOfProjection = keyof factory.place.movieTheater.IPlace;
8
+ type IKeyOfProjection = keyof factory.place.movieTheater.IPlace | 'offers.availabilityStartsGraceTime' | 'offers.availabilityEndsGraceTime';
9
+ type IMovieTheaterPublicAttributes = Pick<factory.place.movieTheater.IPlace, 'additionalProperty' | 'branchCode' | 'id' | 'kanaName' | 'name' | 'parentOrganization' | 'project' | 'telephone' | 'typeOf' | 'url'> & {
10
+ offers?: Pick<factory.place.movieTheater.IOffer, 'availabilityEndsGraceTime' | 'availabilityStartsGraceTime'>;
11
+ };
9
12
  /**
10
13
  * 施設リポジトリ
11
14
  */
@@ -24,7 +27,7 @@ export declare class MovieTheaterRepo {
24
27
  * 施設のpublic属性検索
25
28
  * 2024-09-18~
26
29
  */
27
- projectPublicFields(params: factory.place.movieTheater.ISearchConditions): Promise<Omit<factory.place.movieTheater.IPlace, 'screenCount'>[]>;
30
+ projectPublicFields(params: factory.place.movieTheater.ISearchConditions): Promise<IMovieTheaterPublicAttributes[]>;
28
31
  /**
29
32
  * 施設検索
30
33
  * redefine(2024-09-18~)
@@ -26,7 +26,9 @@ const settings_1 = require("../../settings");
26
26
  const civicStructure_1 = require("../mongoose/schemas/civicStructure");
27
27
  const AVAILABLE_PROJECT_FIELDS = [
28
28
  'additionalProperty', 'branchCode', 'hasEntranceGate', 'kanaName', 'name',
29
- 'offers', 'parentOrganization', 'project', 'telephone', 'typeOf', 'url'
29
+ 'offers', 'parentOrganization', 'project', 'telephone', 'typeOf', 'url',
30
+ 'offers.availabilityStartsGraceTime',
31
+ 'offers.availabilityEndsGraceTime'
30
32
  ];
31
33
  /**
32
34
  * 施設リポジトリ
package/package.json CHANGED
@@ -116,5 +116,5 @@
116
116
  "postversion": "git push origin --tags",
117
117
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
118
118
  },
119
- "version": "23.2.0-alpha.14"
119
+ "version": "23.2.0-alpha.15"
120
120
  }