feat(share): add option to automatically render and show README file (#2382)

This commit is contained in:
Aaron Liu
2025-07-04 14:40:32 +08:00
parent aada3aab02
commit fe2ccb4d4e
6 changed files with 10 additions and 2 deletions

View File

@@ -177,6 +177,8 @@ type (
ShareProps struct {
// Whether to share view setting from owner
ShareView bool `json:"share_view,omitempty"`
// Whether to automatically show readme file in share view
ShowReadMe bool `json:"show_read_me,omitempty"`
}
FileTypeIconSetting struct {