@chevre/domain 22.3.0-alpha.25 → 22.3.0-alpha.26

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.
@@ -654,7 +654,8 @@ function createScreeningEventSeriesFromCOA(params) {
654
654
  // redefine videoFormat(2024-09-18~)
655
655
  // const videoFormat: factory.event.screeningEventSeries.ICOAKubun =
656
656
  // params.eizouKubuns.filter((kubun) => kubun.kubunCode === params.filmFromCOA.kbnEizou)[0];
657
- const videoFormat = params.joueihousikiKubuns.map(({ kubunCode }) => ({ typeOf: kubunCode, name: kubunCode }));
657
+ const videoFormat = params.joueihousikiKubuns.filter(({ kubunCode }) => kubunCode === params.filmFromCOA.kbnJoueihousiki)
658
+ .map(({ kubunCode }) => ({ typeOf: kubunCode, name: kubunCode }));
658
659
  return {
659
660
  project: { typeOf: params.project.typeOf, id: params.project.id },
660
661
  typeOf: factory.eventType.ScreeningEventSeries,
package/package.json CHANGED
@@ -110,5 +110,5 @@
110
110
  "postversion": "git push origin --tags",
111
111
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
112
112
  },
113
- "version": "22.3.0-alpha.25"
113
+ "version": "22.3.0-alpha.26"
114
114
  }