Open urquico opened 5 months ago
91d6cc7752
)[!TIP] I can email you next time I complete a pull request if you set up your email here!
I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.
src/lib/types/project-data.ts
✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Create src/lib/types/project-data.ts with contents: ```ts export type ProjectData = { title: string; date: string; client: string; description: string[]; isInProgress: boolean; associatedExperience: string; role: string; stacks: { label: string; src: string; }[]; githubLink?: string; previewLink?: string; }; ```
src/lib/constants/project-data.ts
✓ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Modify src/lib/constants/project-data.ts with contents: Remove the `ProjectData` type definition and add the following import statement at the top of the file: ```ts import { ProjectData } from '../types/project-data'; ```
src/lib/types/experience-data.ts
✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Create src/lib/types/experience-data.ts with contents: ```ts export type ExperienceData = { title: string; date: string; location: string; description: string[]; active: boolean; projects: string[]; }; ```
src/lib/constants/experience-data.ts
! No changes made https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Modify src/lib/constants/experience-data.ts with contents: Remove the `ExperienceData` type definition and add the following import statement at the top of the file: ```ts import { ExperienceData } from '../types/experience-data'; ```
src/lib/types/maintenance-message.ts
✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Create src/lib/types/maintenance-message.ts with contents: ```ts export type MaintenanceMessage = { emoji: string; title: string; subtitle: string; description: string; }; ```
src/lib/constants/maintenance-message.ts
! No changes made https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Modify src/lib/constants/maintenance-message.ts with contents: Remove the `MaintenanceMessage` type definition and add the following import statement at the top of the file: ```ts import { MaintenanceMessage } from '../types/maintenance-message'; ```
src/lib/types/testimonial.ts
✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Create src/lib/types/testimonial.ts with contents: ```ts export type Testimonial = { name: string; role: string; quote: string; image: string; date: string; }; ```
src/app/me/about/Carousel.tsx
! No changes made https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 Edit
Modify src/app/me/about/Carousel.tsx with contents: Remove the `Testimonial` type definition and add the following import statement at the top of the file: ```ts import { Testimonial } from '@/lib/types/testimonial'; ```
I have finished reviewing the code for completeness. I did not find errors for sweep/on_main_branch_create_a_types_folder_and
.
💡 To recreate the pull request edit the issue title or description. Something wrong? Let us know.
This is an automated message generated by Sweep AI.
Details
Here are the steps:
refactor/types
types
; this should be insidesrc/lib/
.ts
and.tsx
files, check if there is an interface or type used.type PersonType
, the file should be named asperson-type.ts
Checklist
- [X] Create `src/lib/types/project-data.ts` ✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/types/project-data.ts) - [X] Modify `src/lib/constants/project-data.ts` ✓ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/constants/project-data.ts) - [X] Create `src/lib/types/experience-data.ts` ✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/types/experience-data.ts) - [X] Modify `src/lib/constants/experience-data.ts` ! No changes made https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/constants/experience-data.ts) - [X] Create `src/lib/types/maintenance-message.ts` ✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/types/maintenance-message.ts) - [X] Modify `src/lib/constants/maintenance-message.ts` ! No changes made https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/constants/maintenance-message.ts) - [X] Create `src/lib/types/testimonial.ts` ✗ https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/lib/types/testimonial.ts) - [X] Modify `src/app/me/about/Carousel.tsx` ! No changes made https://github.com/urquico/portfolio/commit/d3695aeb726577eb04618455088596dbe659d615 [Edit](https://github.com/urquico/portfolio/edit/sweep/on_main_branch_create_a_types_folder_and/src/app/me/about/Carousel.tsx)