mirror of
https://github.com/documize/community.git
synced 2025-07-18 20:59:43 +02:00
Enable custom logo upload and rendering
This commit is contained in:
parent
a211ba051a
commit
036f36ba1d
36 changed files with 574 additions and 211 deletions
|
@ -99,6 +99,7 @@ const (
|
|||
EventTypeLabelAdd EventType = "added-label"
|
||||
EventTypeLabelUpdate EventType = "updated-label"
|
||||
EventTypeLabelDelete EventType = "removed-label"
|
||||
EventTypeOrganizationLogo EventType = "uploaded-logo"
|
||||
|
||||
// EventTypeVersionAdd records addition of version
|
||||
EventTypeVersionAdd EventType = "added-version"
|
||||
|
|
|
@ -44,5 +44,4 @@ type SiteMeta struct {
|
|||
Storage env.StoreType `json:"storageProvider"`
|
||||
Location string `json:"location"` // reserved for internal use
|
||||
Theme string `json:"theme"` // default side-wide theme, user overrideble
|
||||
Logo []byte `json:"logo"`
|
||||
}
|
||||
|
|
|
@ -94,6 +94,9 @@ type InvitationModel struct {
|
|||
// NewSpaceRequest details the new space to create.
|
||||
type NewSpaceRequest struct {
|
||||
Name string `json:"name"`
|
||||
Description string `json:"desc"`
|
||||
LabelID string `json:"labelId"`
|
||||
Icon string `json:"icon"`
|
||||
CloneID string `json:"cloneId"` // existing space to clone, empty = no cloning
|
||||
CopyTemplate bool `json:"copyTemplate"` // copy templates and reusable content blocks
|
||||
CopyPermission bool `json:"copyPermission"` // copy uer permissions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue