UNPKG

google-spreadsheet-translation-sync

Version:
27 lines (18 loc) 863 B
'use strict' /** * The options type * @typedef {{translationFormat: string, mode: string, spreadsheetId: string, gid : string, credentials: {}, keyId: string, fileBaseName: string, namespaces: boolean, defaultLocaleName: string, defaultFallback: boolean}} OptionsObject */ /** * Adds commas to a number */ /** * @param {string} localPath the path where to export the translations locally, before uploading * @param sheetId the google spreadsheet id * @param credentials the google json credentials * @param {function} callback */ module.exports.exportToSpreadsheet = require('./src/export-to-spreadsheet'); module.exports.importFromSpreadsheet = require('./src/import-from-spreadsheet'); module.exports.possibleTranslationFormats = require('./src/util/constraints').translationFormats; module.exports.interaction = require('./src/interaction');