buttons labels and fix grid of translation manager, import and export functionality in data-table
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user