2026年10月23日の日記 📖

フルちゃん
フルちゃん

今日のメモ

# 今日やったこと
ミニアプリの復習
# 今日理解できたこと
```
const { post } = attempt;
```

const post = attempt.post;と同じ

attemptはMyAttempt型になっていて

```
export type AttemptPostSummary = {
id: number;
title: string | null;
image_public_id: string | null;
discarded: boolean;
};

export type MyAttempt = Attempt & { post: AttemptPostSummary };
```

{ } の中にキーの名称であるpostを書くことで、キーの型であるAttemptPostSummary型のデータ要素 (オブジェクト) を取得できる
# まだ理解できていないこと

# 次にやること
ミニアプリの復習(残り)
# 感想など
明日も頑張っていきたい!

今日の気分・状態

🙂 今日の気分
⛅ 今日のモチベーション
🌱 目標の進捗

リアクション

visibility 公開
public 公開日記 bar_chart 統計 作成 calendar_month 日記 アカウント