sheet-i18n 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +0,0 @@
1
- interface GoogleSheetCredentials {
2
- sheetId: string;
3
- clientEmail: string;
4
- privateKey: string;
5
- }
6
- type RowNumber = number;
7
-
8
- interface GoogleSheetExporterPreRequisites {
9
- credentials: GoogleSheetCredentials;
10
- defaultLocale: string;
11
- }
12
- interface GoogleSheetExporterConfig {
13
- /**@param headerStartRowNumber: row number of header */
14
- headerStartRowNumber?: RowNumber;
15
- /**@param ignoredSheets: sheets to be ignored */
16
- ignoredSheets?: string[];
17
- /**@param exportPath: path to export(run only in node.js environment) */
18
- exportPath?: string;
19
- }
20
- interface GoogleSheetExporterParams extends GoogleSheetExporterPreRequisites, GoogleSheetExporterConfig {
21
- }
22
- declare function googleSheetExporter(googleSheetExporterParams: GoogleSheetExporterParams): Promise<{
23
- getTranslations: () => Promise<{
24
- [k: string]: Record<string, {}>;
25
- }>;
26
- exportTranslations: () => Promise<void>;
27
- }>;
28
-
29
- declare const index_googleSheetExporter: typeof googleSheetExporter;
30
- declare namespace index {
31
- export {
32
- index_googleSheetExporter as googleSheetExporter,
33
- };
34
- }
35
-
36
- export { googleSheetExporter, index as i };