upload_file_params.d.ts 909 B

123456789101112131415161718192021222324252627
  1. import type { FileFormat } from "../types/file_format";
  2. export interface UploadFileParams {
  3. data: string;
  4. filename: string;
  5. lang_iso: string;
  6. convert_placeholders?: boolean;
  7. detect_icu_plurals?: boolean;
  8. tags?: string[];
  9. tag_inserted_keys?: boolean;
  10. tag_updated_keys?: boolean;
  11. tag_skipped_keys?: boolean;
  12. replace_modified?: boolean;
  13. slashn_to_linebreak?: boolean;
  14. keys_to_values?: boolean;
  15. distinguish_by_file?: boolean;
  16. apply_tm?: boolean;
  17. use_automations?: boolean;
  18. hidden_from_contributors?: boolean;
  19. cleanup_mode?: boolean;
  20. custom_translation_status_ids?: string[] | number[];
  21. custom_translation_status_inserted_keys?: boolean;
  22. custom_translation_status_updated_keys?: boolean;
  23. custom_translation_status_skipped_keys?: boolean;
  24. skip_detect_lang_iso?: boolean;
  25. format?: FileFormat;
  26. filter_task_id?: number;
  27. }