generated from nhcarrigan/template
feat: add tags and links
This commit is contained in:
@@ -23,6 +23,8 @@ export class ArtService {
|
||||
return artPieces.map((art) => ({
|
||||
...art,
|
||||
description: art.description || undefined,
|
||||
tags: art.tags ?? [],
|
||||
links: art.links ?? [],
|
||||
dateAdded: art.dateAdded,
|
||||
createdAt: art.createdAt,
|
||||
updatedAt: art.updatedAt,
|
||||
@@ -42,6 +44,8 @@ export class ArtService {
|
||||
return {
|
||||
...art,
|
||||
description: art.description || undefined,
|
||||
tags: art.tags ?? [],
|
||||
links: art.links ?? [],
|
||||
dateAdded: art.dateAdded,
|
||||
createdAt: art.createdAt,
|
||||
updatedAt: art.updatedAt,
|
||||
@@ -59,6 +63,8 @@ export class ArtService {
|
||||
return {
|
||||
...art,
|
||||
description: art.description || undefined,
|
||||
tags: art.tags ?? [],
|
||||
links: art.links ?? [],
|
||||
dateAdded: art.dateAdded,
|
||||
createdAt: art.createdAt,
|
||||
updatedAt: art.updatedAt,
|
||||
@@ -77,6 +83,8 @@ export class ArtService {
|
||||
return {
|
||||
...art,
|
||||
description: art.description || undefined,
|
||||
tags: art.tags ?? [],
|
||||
links: art.links ?? [],
|
||||
dateAdded: art.dateAdded,
|
||||
createdAt: art.createdAt,
|
||||
updatedAt: art.updatedAt,
|
||||
|
||||
Reference in New Issue
Block a user