generaltranslation
Version:
A language toolkit for AI developers
38 lines (37 loc) • 895 B
TypeScript
export type FileTranslationQuery = {
versionId: string;
fileName?: string;
fileId?: string;
locale: string;
};
export type CheckFileTranslationsOptions = {
timeout?: number;
};
export type FileQuery = {
fileId: string;
branchId?: string;
versionId?: string;
};
export type FileQueryResult = {
sourceFile: {
id: string;
fileId: string;
versionId: string;
sourceLocale: string;
fileName: string;
fileFormat: string;
dataFormat: string | null;
createdAt: string;
updatedAt: string;
approvalRequiredAt: string | null;
locales: string[];
};
translations: {
locale: string;
completedAt: string | null;
approvedAt: string | null;
publishedAt: string | null;
createdAt: string | null;
updatedAt: string | null;
}[];
};