Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct tooling and dependency issues #749

Merged
merged 2 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions next-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface DbRepoPR {
readonly merged_at: string;
readonly updated_at: string;
readonly filesCount: number;
protected linesCount: number;
linesCount: number;
readonly merged: boolean;
readonly repo_owner: string;
readonly repo_name: string;
Expand All @@ -50,6 +50,7 @@ interface Meta {
}

interface DbContribution {
readonly id: number;
readonly commits: string,
readonly commit_days: string,
readonly files_modified: string,
Expand All @@ -64,6 +65,7 @@ interface DbContribution {
}

interface DbInsight {
readonly id: number;
readonly interval: number;
readonly day: string;
readonly all_prs: number;
Expand All @@ -84,20 +86,20 @@ interface DbInsight {
}

interface DbUserInsight {
id: number;
user_id: number;
name: string;
is_public: boolean;
is_favorite: boolean;
short_code: string;
created_at: string;
updated_at: string;
repos: DbUserInsightRepo[]
readonly id: number;
readonly user_id: number;
readonly name: string;
readonly is_public: boolean;
readonly is_favorite: boolean;
readonly short_code: string;
readonly created_at: string;
readonly updated_at: string;
readonly repos: DbUserInsightRepo[]
}

interface DbUserInsightRepo {
id: number;
insight_id: number;
repo_id: number;
created_at: string;
readonly id: number;
readonly insight_id: number;
readonly repo_id: number;
readonly created_at: string;
}
13 changes: 0 additions & 13 deletions pages/api/hello.ts

This file was deleted.

4 changes: 4 additions & 0 deletions stories/molecules/insight-page-card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default storyConfig;

const contributors: DbContribution[] = [
{
id: 1,
commits: "2",
commit_days: "ES",
last_commit_time: "1661496920000",
Expand All @@ -25,6 +26,7 @@ const contributors: DbContribution[] = [
recent_repo_list: ""
},
{
id: 2,
commits: "2",
commit_days: "ES",
last_commit_time: "1661496920000",
Expand All @@ -38,6 +40,7 @@ const contributors: DbContribution[] = [
recent_repo_list: ""
},
{
id: 3,
commits: "2",
commit_days: "ES",
last_commit_time: "1661496920000",
Expand All @@ -51,6 +54,7 @@ const contributors: DbContribution[] = [
recent_repo_list: ""
},
{
id: 4,
commits: "2",
commit_days: "ES",
last_commit_time: "1661496920000",
Expand Down