remove owl annotations

This commit is contained in:
Niko Abeler 2024-02-21 20:04:22 +01:00
parent bd11b88338
commit 1613d3dd11
9 changed files with 24 additions and 24 deletions

View File

@ -12,8 +12,8 @@ type Article struct {
}
type ArticleMetaData struct {
Title string `owl:"inputType=text"`
Content string `owl:"inputType=text widget=textarea"`
Title string
Content string
}
// Form implements model.EntryMetaData.

View File

@ -12,9 +12,9 @@ type Bookmark struct {
}
type BookmarkMetaData struct {
Title string `owl:"inputType=text"`
Url string `owl:"inputType=text"`
Content string `owl:"inputType=text widget=textarea"`
Title string
Url string
Content string
}
// Form implements model.EntryMetaData.

View File

@ -12,9 +12,9 @@ type Image struct {
}
type ImageMetaData struct {
ImageId string `owl:"inputType=file"`
Title string `owl:"inputType=text"`
Content string `owl:"inputType=text widget=textarea"`
ImageId string
Title string
Content string
}
// Form implements model.EntryMetaData.

View File

@ -12,7 +12,7 @@ type Note struct {
}
type NoteMetaData struct {
Content string `owl:"inputType=text widget=textarea"`
Content string
}
// Form implements model.EntryMetaData.

View File

@ -12,8 +12,8 @@ type Page struct {
}
type PageMetaData struct {
Title string `owl:"inputType=text"`
Content string `owl:"inputType=text widget=textarea"`
Title string
Content string
}
// Form implements model.EntryMetaData.

View File

@ -13,11 +13,11 @@ type Recipe struct {
}
type RecipeMetaData struct {
Title string `owl:"inputType=text"`
Yield string `owl:"inputType=text"`
Duration string `owl:"inputType=text"`
Ingredients []string `owl:"inputType=text widget=textlist"`
Content string `owl:"inputType=text widget=textarea"`
Title string
Yield string
Duration string
Ingredients []string
Content string
}
// Form implements model.EntryMetaData.

View File

@ -12,9 +12,9 @@ type Reply struct {
}
type ReplyMetaData struct {
Title string `owl:"inputType=text"`
Url string `owl:"inputType=text"`
Content string `owl:"inputType=text widget=textarea"`
Title string
Url string
Content string
}
// Form implements model.EntryMetaData.

View File

@ -17,8 +17,8 @@ type Instagram struct {
}
type InstagramConfig struct {
User string `owl:"widget=text"`
Password string `owl:"widget=password"`
User string
Password string
}
// Form implements app.AppConfig.

View File

@ -21,9 +21,9 @@ type ActivityPubServer struct {
}
type ActivityPubConfig struct {
PreferredUsername string `owl:"inputType=text"`
PublicKeyPem string `owl:"inputType=text widget=textarea"`
PrivateKeyPem string `owl:"inputType=text widget=textarea"`
PreferredUsername string
PublicKeyPem string
PrivateKeyPem string
}
// Form implements app.AppConfig.