Add attempts for default data
This commit is contained in:
parent
c25f27e82e
commit
910717cf01
4 changed files with 56 additions and 3 deletions
|
@ -31,3 +31,20 @@ type MediaMetadata struct {
|
|||
// Whether the media is to be blurred by default
|
||||
Blurred bool
|
||||
}
|
||||
|
||||
// TODO: Implement special handling for the linstrom URI type
|
||||
// Linstrom URIs indicate resource either generated on the fly, like identicons,
|
||||
// or embedded data, such as the default duck
|
||||
// For external users, transform them into normal http URIs with a "special" path
|
||||
const DefaultDuckLocationName = "linstrom://default-media"
|
||||
|
||||
var DefaultDuckMedia = MediaMetadata{
|
||||
ID: "3b562a45-36b7-4c42-a944-3672f319ff7b",
|
||||
OwnedById: "", // FIXME: Add default user ID here
|
||||
Remote: false,
|
||||
Location: DefaultDuckLocationName,
|
||||
Type: "image/webp",
|
||||
Name: "default-duck.webp",
|
||||
AltText: "a greyscale image of a pidgeon on some smooth surface, likely a liquid. It is captioned with the text \"Duck\"",
|
||||
Blurred: false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue