feat: add custom terms and consolidate session management
Show exact matches in red and add categorized custom terms to hit review. Move session administration into the translation tables command.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type EntityType = string;
|
||||
export type CustomTerm = { type: EntityType; value: string };
|
||||
|
||||
export type MappingEntry = {
|
||||
original: string;
|
||||
@@ -36,6 +37,7 @@ export type VelumSession = {
|
||||
mapping: PlaceholderMapping;
|
||||
entityTypes?: EntityType[];
|
||||
excludedTerms?: Array<{ type: string; original: string }>;
|
||||
customTerms?: CustomTerm[];
|
||||
mappingCreatedAt?: Record<string, string>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user