Skip to content

Commit

Permalink
Old CreateProjectRequest in types.go (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAgassi authored Dec 12, 2024
2 parents 037d976 + d4743b6 commit 391bab3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions backend/internal/server/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,6 @@ type ProjectLink struct {
URL string `json:"url" validate:"required,url"`
}

type CreateProjectRequest struct {
CompanyID string `json:"company_id" validate:"required"`
Title string `json:"title" validate:"required"`
Description *string `json:"description"`
Status string `json:"status" validate:"required"`
FoundedDate string `json:"founded_date,omitempty"`
CompanyStage string `json:"company_stage,omitempty"`
InvestmentStage string `json:"investment_stage,omitempty"`
Inspiration string `json:"inspiration,omitempty"`
Vision string `json:"vision,omitempty"`
TeamMembers []TeamMember `json:"team_members,omitempty" validate:"dive"`
Files []ProjectFile `json:"files" validate:"dive"`
Links []ProjectLink `json:"links" validate:"dive"`
}

type UpdateProjectRequest struct {
Title string `json:"title" validate:"required"`
Description string `json:"description"`
Expand Down

0 comments on commit 391bab3

Please sign in to comment.