Skip to content

Commit 496eaee

Browse files
committed
feat: add new show_ and allow_ features to ProjectContributions
1 parent fdb27ab commit 496eaee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/aind_metadata_viz/contributions/models.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,8 @@ class ProjectContributions(BaseModel):
115115
doi: Optional[str] = Field(default=None, description="Optional DOI associated with this set of contributions")
116116
assets: List[str] = Field(default_factory=list, description="List of asset names associated with the project")
117117
locked: bool = Field(default=False, description="Whether this project is password-protected")
118+
show_sections: bool = Field(default=False, description="Whether to show section contributions in the interface")
119+
show_levels: bool = Field(default=True, description="Whether to show CRediT contribution levels in the interface")
120+
show_timeline: bool = Field(default=False, description="Whether to show author timelines in the interface")
121+
allow_lead: bool = Field(default=True, description="Whether to allow designation of lead authors in the interface")
122+
allow_levels: bool = Field(default=True, description="Whether to allow designation of CRediT contribution levels in the interface")

0 commit comments

Comments
 (0)