Skip to content
On this page

stage.ref.event.admin

イベントに関する要認証操作です。

メソッド

create() admin

引数必須内容
dataCreateLiveEventInput作成データ

イベントを作成します。

使用方法

ts
const event = await Hedgehog.stage.ref("ステージのUUID").event.admin.create({
  title: "イベントタイトル",
  image: new File([], ""),
  startDate: new Date().toISOString(),
});