feat: reimplement pathAlias for yaml fields
All checks were successful
Build and Push Server / build-and-push (push) Successful in 7m4s

This commit is contained in:
Max Richter
2025-10-24 11:12:35 +02:00
parent fcbce7b443
commit 75d6dab008
10 changed files with 51 additions and 20 deletions

View File

@@ -14,6 +14,7 @@
- path: about
- path: url
- path: author.name
pathAlias: author
- path: author._type
codec: const
value: Person
@@ -21,11 +22,14 @@
- path: datePublished
- path: articleSection
- path: reviewRating.ratingValue
pathAlias: rating
pathAlias:
- rating
- path: reviewRating.bestRating
value: 5
codec: const
hidden: true
- path: reviewRating.worstRating
value: 1
codec: const
hidden: true
}

View File

@@ -17,8 +17,12 @@
hidden: true
value: Person
- path: author.name
pathAlias:
- author
- path: author.email
- path: datePublished
pathAlias:
- date
- path: prepTime
- path: cookTime
- path: recipeYield

View File

@@ -13,13 +13,17 @@
- path: tmdbId
- path: image
- path: author.name
pathAlias: author
- path: author._type
codec: const
value: Person
hidden: true
- path: datePublished
- path: itemReviewed.name
pathAlias:
- date
- path: reviewRating.ratingValue
pathAlias:
- rating
- path: reviewRating.bestRating
codec: const
value: 5