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