Conversation
nenrinyear
approved these changes
Feb 23, 2025
Collaborator
nenrinyear
left a comment
There was a problem hiding this comment.
よさそうです!
いくつかコメントしました👀
Comment on lines
+22
to
+134
| const storyProgressions: StoryProgression[] = [ | ||
| { | ||
| id: BigInt("101255954679102464"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| story_id: BigInt("101255084679102464"), | ||
| status: StoryStatus.cleared, | ||
| current_question_id: BigInt("101255084679102464"), | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| { | ||
| id: BigInt("101255954679102464"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| story_id: BigInt("101255084679102465"), | ||
| status: StoryStatus.cleared, | ||
| current_question_id: BigInt("101255084679102464"), | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| { | ||
| id: BigInt("101255954679102464"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| story_id: BigInt("101255084679102466"), | ||
| status: StoryStatus.in_progress, | ||
| current_question_id: BigInt("101255084679102464"), | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| { | ||
| id: BigInt("101255954679102464"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| story_id: BigInt("101255084679102467"), | ||
| status: StoryStatus.in_progress, | ||
| current_question_id: BigInt("101255084679102464"), | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| ]; | ||
| // fetch(findStories(progressionStoryIDs)) | ||
| const progressingStories: Story[] = [ | ||
| { | ||
| id: BigInt("101255084679102464"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| title: "fdwas", | ||
| content: "fads", | ||
| image_url: null, | ||
| type: "long", | ||
| status: "public", | ||
| difficulty: 1, | ||
| estimated_time: "1", | ||
| area: "fa", | ||
| radius: 3, | ||
| latitude: 39, | ||
| longitude: 423, | ||
| pin_class: null, | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| { | ||
| id: BigInt("101255084679102465"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| title: "fdwas", | ||
| content: "fads", | ||
| image_url: null, | ||
| type: "long", | ||
| status: "public", | ||
| difficulty: 1, | ||
| estimated_time: "1", | ||
| area: "fa", | ||
| radius: 3, | ||
| latitude: 39, | ||
| longitude: 423, | ||
| pin_class: null, | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| { | ||
| id: BigInt("101255084679102466"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| title: "fdwas", | ||
| content: "fads", | ||
| image_url: null, | ||
| type: "long", | ||
| status: "public", | ||
| difficulty: 1, | ||
| estimated_time: "1", | ||
| area: "fa", | ||
| radius: 3, | ||
| latitude: 39, | ||
| longitude: 423, | ||
| pin_class: null, | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| { | ||
| id: BigInt("101255084679102467"), | ||
| user_account_id: BigInt("101255084679102464"), | ||
| title: "fdwas", | ||
| content: "fads", | ||
| image_url: null, | ||
| type: "long", | ||
| status: "in_progress", | ||
| difficulty: 1, | ||
| estimated_time: "1", | ||
| area: "fa", | ||
| radius: 3, | ||
| latitude: 39, | ||
| longitude: 423, | ||
| pin_class: null, | ||
| created_at: new Date(), | ||
| updated_at: new Date(), | ||
| }, | ||
| ]; |
Collaborator
There was a problem hiding this comment.
mockは外のファイルでexportしておくと後で再利用できて良いという説もある
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request
❓ 背景 (Why)
⛏️ 修正内容 (What)
📸 キャプチャ
👀 懸案事項
🔍 チェック項目
このPRで変更が想定通りうまくいっているかを確認するには...