f2955fdefc
Add missing fields in js model and rename fields for mode clarity. A link token can be valid for multiple shares. Signed-off-by: Michael Mayer <michael@liquidbytes.net>
12 lines
334 B
Go
12 lines
334 B
Go
package form
|
|
|
|
// Link represents a link sharing form.
|
|
type Link struct {
|
|
Password string `json:"Password"`
|
|
ShareSlug string `json:"Slug"`
|
|
LinkToken string `json:"Token"`
|
|
LinkExpires int `json:"Expires"`
|
|
MaxViews uint `json:"MaxViews"`
|
|
CanComment bool `json:"CanComment"`
|
|
CanEdit bool `json:"CanEdit"`
|
|
}
|