<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakehashi_dev</author_name>
  <author_url>https://blog.hatena.ne.jp/kakehashi_dev/</author_url>
  <blog_title>KAKEHASHI Tech Blog</blog_title>
  <blog_url>https://kakehashi-dev.hatenablog.com/</blog_url>
  <categories>
    <anon>クライアントサイド</anon>
  </categories>
  <description>1. はじめに こんにちは。生成AI研究開発チームでAIエージェントの開発をしているNokogiri（@nkgrnkgr）です。 薬局向け業務システムMusubiはAngular製のWebアプリケーションです。このMusubi上で動作するAIアシスタント機能をReactで開発することになりました。Angular製の親アプリケーション（Musubi）とReact製の子アプリケーション（AIアシスタント）という異なるフレームワークが共存する特殊なアーキテクチャとなったため、両者の通信にはカスタムイベントを採用しています。 この記事では、TypeScriptの型システムを活用してカスタムイベント通信…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakehashi-dev.hatenablog.com%2Fentry%2F2025%2F08%2F12%2F110000&quot; title=&quot;型とテストで守るカスタムイベント通信 - 実プロダクトでの実装事例 - KAKEHASHI Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-12 11:00:00</published>
  <title>型とテストで守るカスタムイベント通信 - 実プロダクトでの実装事例</title>
  <type>rich</type>
  <url>https://kakehashi-dev.hatenablog.com/entry/2025/08/12/110000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
