次の方法で共有


ProductState type

ProductState の値を定義します。

type ProductState = "notPublished" | "published"