generaltranslation
Version:
A language toolkit for AI developers
24 lines (23 loc) • 555 B
TypeScript
import { Entry } from './entry';
export type FileFormat = 'JSON' | 'YAML' | 'MDX' | 'MD' | 'TS' | 'JS';
export type FileMetadata = {
filePath: string;
fileFormat: FileFormat;
context?: string;
sourceLocale?: string;
hash?: string;
};
export type File = {
source: Entry[] | string;
fileMetadata: FileMetadata;
};
export type CompletedFileTranslationData = {
locale: string;
metadata: any;
fileId: string;
fileName: string;
versionId: string;
id: string;
isReady: boolean;
downloadUrl: string;
};