design: 싱글 토너먼트 구현 #355
Annotations
10 errors and 1 warning
build:
components/club/LeagueForm.tsx#L155
Object literal may only specify known properties, but 'league_status' does not exist in type '{ league_name: string; description: string; full_address: string; tier_limit: "GOLD" | "SILVER" | "BRONZE"; match_type: "SINGLES" | "DOUBLES"; league_at: string; recruiting_closed_at: string; player_limit_count: number; match_generation_type: "FREE" | "TOURNAMENT"; }'. Did you mean to write 'league_at'?
|
build:
components/club/TournamentBracket/index.tsx#L501
Type 'Node<CustomNodeData>[] | undefined' is not assignable to type 'Node<CustomNodeData>[]'.
|
build:
lib/api/hooks/clubHook.ts#L59
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { club_token: string; club_name: string; club_description: string; club_image: string; created_at: string; modified_at: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; }[] | undefined; error_code?: "...' is not assignable to type 'Promise<CommonResponse<{ club_token: string; club_name: string; club_description: string; club_image: string; created_at: string; modified_at: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; }[]>>'.
|
build:
lib/api/hooks/clubHook.ts#L65
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { club_token: string; club_name: string; club_description: string; club_image: string; created_at: string; modified_at: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; }[] | undefined; error_code?: "...' is not assignable to type 'Promise<CommonResponse<{ club_token: string; club_name: string; club_description: string; club_image: string; created_at: string; modified_at: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; }[]>>'.
|
build:
lib/api/hooks/clubHook.ts#L71
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { club_token: string; club_name: string; club_description: string; club_image: string; created_at: string; modified_at: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; }[] | undefined; error_code?: "...' is not assignable to type 'Promise<CommonResponse<{ club_token: string; club_name: string; club_description: string; club_image: string; created_at: string; modified_at: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; }[]>>'.
|
build:
lib/api/hooks/clubHook.ts#L96
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { club_token: string; club_name: string; club_description: string; club_image: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; club_member_count: number; created_at: string; is_club_member: boolean; ...' is not assignable to type 'Promise<CommonResponse<{ club_token: string; club_name: string; club_description: string; club_image: string; gold_club_member_count: number; silver_club_member_count: number; bronze_club_member_count: number; club_member_count: number; created_at: string; is_club_member: boolean; }>>'.
|
build:
lib/api/hooks/clubMemberHook.ts#L25
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { role_owner?: { club_member_id: number; image: string; name: string; role: "ROLE_OWNER" | "ROLE_MANAGER" | "ROLE_USER"; league_record: { ...; }; tier: "GOLD" | ... 1 more ... | "BRONZE"; is_banned?: boolean | undefined; banned_end_date?: string | undefined; ...' is not assignable to type 'Promise<CommonResponse<{ role_owner?: { club_member_id: number; image: string; name: string; role: "ROLE_OWNER" | "ROLE_MANAGER" | "ROLE_USER"; league_record: { win_count?: number | undefined; lose_count?: number | undefined; draw_count?: number | undefined; match_count?: number | undefined; }; tier: "GOLD" | ... 1 ...'.
|
build:
lib/api/hooks/clubMemberHook.ts#L31
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { is_club_member: boolean; role?: "ROLE_OWNER" | "ROLE_MANAGER" | "ROLE_USER" | undefined; } | undefined; error_code?: "BAD_REQUEST" | ... 57 more ... | undefined; error_message_for_log?: string | undefined; error_message_for_client?: string | undefined; }>' is not assignable to type 'Promise<CommonResponse<{ is_club_member: boolean; role?: "ROLE_OWNER" | "ROLE_MANAGER" | "ROLE_USER" | undefined; }>>'.
|
build:
lib/api/hooks/leagueHook.ts#L37
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { league_id: number; league_name: string; status: "ALL" | "RECRUITING" | "RECRUITING_COMPLETED" | "PLAYING" | "CANCELED" | "FINISHED"; league_at: string; player_count: number; }[] | undefined; error_code?: "BAD_REQUEST" | ... 57 more ... | undefined; error_me...' is not assignable to type 'Promise<CommonResponse<{ league_id: number; league_name: string; status: "ALL" | "RECRUITING" | "RECRUITING_COMPLETED" | "PLAYING" | "CANCELED" | "FINISHED"; league_at: string; player_count: number; }[]>>'.
|
build:
lib/api/hooks/leagueHook.ts#L43
Type 'Promise<{ result?: "SUCCESS" | "FAIL" | undefined; data?: { league_id: number; league_at: string; league_name: string; match_type: "SINGLES" | "DOUBLES"; required_tier: "GOLD" | "SILVER" | "BRONZE"; recruiting_close_at: string; player_limit_count: number; participant_count: number; status: "ALL" | ... 4 more ... | "...' is not assignable to type 'Promise<CommonResponse<{ league_id: number; league_at: string; league_name: string; match_type: "SINGLES" | "DOUBLES"; required_tier: "GOLD" | "SILVER" | "BRONZE"; recruiting_close_at: string; player_limit_count: number; participant_count: number; status: "ALL" | ... 4 more ... | "FINISHED"; }[]>>'.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|