@@ -1,3 +1,5 @@
|
|||||||
|
import type { ImageModel } from '~/shared/model/image.model'
|
||||||
|
|
||||||
export interface RSSProps {
|
export interface RSSProps {
|
||||||
title: string
|
title: string
|
||||||
url: string
|
url: string
|
||||||
@@ -10,5 +12,6 @@ export interface RSSProps {
|
|||||||
title: string
|
title: string
|
||||||
text: string
|
text: string
|
||||||
id: string
|
id: string
|
||||||
|
images: ImageModel[]
|
||||||
}[]
|
}[]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -333,6 +333,7 @@ export class AggregateService {
|
|||||||
created: post.created!,
|
created: post.created!,
|
||||||
modified: post.modified,
|
modified: post.modified,
|
||||||
link: baseURL + this.urlService.build(post),
|
link: baseURL + this.urlService.build(post),
|
||||||
|
images: post.images || [],
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const notesRss: RSSProps['data'] = notes.map((note) => {
|
const notesRss: RSSProps['data'] = notes.map((note) => {
|
||||||
@@ -343,6 +344,7 @@ export class AggregateService {
|
|||||||
created: note.created!,
|
created: note.created!,
|
||||||
modified: note.modified,
|
modified: note.modified,
|
||||||
link: baseURL + this.urlService.build(note),
|
link: baseURL + this.urlService.build(note),
|
||||||
|
images: note.images || [],
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user