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 { type ArticleMetaData struct {
Title string `owl:"inputType=text"` Title string
Content string `owl:"inputType=text widget=textarea"` Content string
} }
// Form implements model.EntryMetaData. // Form implements model.EntryMetaData.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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