import { definitions } from '@inlang/database' ; import * as fs from 'fs' ; export type jsonFormat = { key_id : number ; text : string ; } ; export function db2json ( x ) { let r = { key_id : 1 , text : x . text } ; return r ; } export function json2file ( x ) { fs . writeFile ( '' , '' , ( x ) => { } ) ; }