buttons labels and fix grid of translation manager, import and export functionality in data-table

This commit is contained in:
Gagan7900
2026-08-04 16:47:01 +05:30
parent c7c361cc0b
commit c683f6fea9
28 changed files with 1742 additions and 55 deletions
@@ -0,0 +1,58 @@
import { DataTableRecord } from '../../../shared/components/data-table/data-table.types';
export interface LocalizedTextKeyRequest {
tenantId?: string | null;
entityType?: string | null;
entityId?: string | null;
fieldName?: string | null;
languageId?: string | null;
}
export interface LocalizedTextDto {
id?: string;
tenantId?: string | null;
entityType?: string;
entityId?: string | null;
fieldName?: string;
languageId?: string;
languageCode?: string;
translatedValue: string;
isOverride?: boolean;
tenantName?: string | null;
}
export interface UpsertLocalizedTextRequest {
translatedValue: string;
}
export interface TranslationMatrixRow extends DataTableRecord {
id: string;
serialNumber?: number;
key: string;
module: string;
tenantId: string | null;
entityType: string;
entityId: string | null;
overrideStatus: string;
tenantName?: string | null;
translations: Record<string, string>;
originalTranslations: Record<string, string>;
dirtyFlags: Record<string, boolean>;
}
export interface TranslationFilter {
searchKey: string;
module: string;
languageId: string;
tenantId?: string;
}
export interface CreateTranslationFormValue {
key: string;
module: string;
enUs: string;
arSa: string;
hiIn: string;
tenantId?: string | null;
tenantName?: string | null;
}