feat(transcription): person @mention sidecar + rename propagation (PR-A backend, #362) #366

Merged
marcel merged 40 commits from feat/person-mentions-issue-362-backend into main 2026-04-28 23:54:40 +02:00
Showing only changes of commit 8b498665df - Show all commits

View File

@@ -132,6 +132,22 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/documents/{documentId}/transcription-blocks/review-all": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put: operations["markAllBlocksReviewed"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/documents/{documentId}/transcription-blocks/reorder": {
parameters: {
query?: never;
@@ -1611,9 +1627,15 @@ export interface components {
trainingLabels?: ("KURRENT_RECOGNITION" | "KURRENT_SEGMENTATION")[];
thumbnailUrl?: string;
};
PersonMention: {
/** Format: uuid */
personId: string;
displayName: string;
};
UpdateTranscriptionBlockDTO: {
text?: string;
label?: string;
mentionedPersons?: components["schemas"]["PersonMention"][];
};
TranscriptionBlock: {
/** Format: uuid */
@@ -1623,6 +1645,7 @@ export interface components {
/** Format: uuid */
documentId: string;
text?: string;
mentionedPersons: components["schemas"]["PersonMention"][];
label?: string;
/** Format: int32 */
sortOrder: number;
@@ -1665,7 +1688,8 @@ export interface components {
CreateRelationshipRequest: {
/** Format: uuid */
relatedPersonId: string;
relationType: string;
/** @enum {string} */
relationType: "PARENT_OF" | "SPOUSE_OF" | "SIBLING_OF" | "FRIEND" | "COLLEAGUE" | "EMPLOYER" | "DOCTOR" | "NEIGHBOR" | "OTHER";
/** Format: int32 */
fromYear?: number;
/** Format: int32 */
@@ -1796,6 +1820,7 @@ export interface components {
height?: number;
text?: string;
label?: string;
mentionedPersons?: components["schemas"]["PersonMention"][];
};
CreateCommentDTO: {
content?: string;
@@ -2747,6 +2772,28 @@ export interface operations {
};
};
};
markAllBlocksReviewed: {
parameters: {
query?: never;
header?: never;
path: {
documentId: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["TranscriptionBlock"][];
};
};
};
};
reorderBlocks: {
parameters: {
query?: never;