Track person import source and previous names; add source report and edit UX.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,10 +48,19 @@ export class PeopleController {
|
||||
query.q,
|
||||
query.page ?? 1,
|
||||
query.limit ?? 20,
|
||||
{ mood: query.mood, sort: query.sort },
|
||||
{
|
||||
mood: query.mood,
|
||||
sort: query.sort,
|
||||
importSource: query.importSource,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@Get('source-stats')
|
||||
sourceStats(@CurrentUser() user: Actor) {
|
||||
return this.peopleService.sourceStats(user);
|
||||
}
|
||||
|
||||
@Get('export')
|
||||
async export(
|
||||
@CurrentUser() user: Actor,
|
||||
|
||||
Reference in New Issue
Block a user