Skip to content

Commit

Permalink
Merge pull request #315 from sohosai/develop
Browse files Browse the repository at this point in the history
deploy 20240525
  • Loading branch information
arata-nvm authored May 25, 2024
2 parents 7d86cf4 + 92ec70b commit 188d00e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/sos24-presentation/src/model/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,14 @@ pub struct ProjectSummary {
id: String,
index: i32,
title: String,
kana_title: String,
category: ProjectCategory,
attributes: ProjectAttributes,
owner_id: String,
owner_name: String,
owner_email: String,
group_name: String,
kana_group_name: String,
}

impl From<ProjectDto> for ProjectSummary {
Expand All @@ -221,11 +224,14 @@ impl From<ProjectDto> for ProjectSummary {
id: project.id,
index: project.index,
title: project.title,
kana_title: project.kana_title,
category: ProjectCategory::from(project.category),
attributes: ProjectAttributes::from(project.attributes),
owner_id: project.owner_id,
owner_name: project.owner_name,
owner_email: project.owner_email,
group_name: project.group_name,
kana_group_name: project.kana_group_name,
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2551,22 +2551,31 @@ components:
- id
- index
- title
- kana_title
- category
- attributes
- owner_id
- owner_name
- owner_email
- group_name
- kana_group_name
properties:
attributes:
$ref: '#/components/schemas/ProjectAttributes'
category:
$ref: '#/components/schemas/ProjectCategory'
group_name:
type: string
id:
type: string
format: uuid
index:
type: integer
format: int32
kana_group_name:
type: string
kana_title:
type: string
owner_email:
type: string
owner_id:
Expand Down

0 comments on commit 188d00e

Please sign in to comment.