IConfig.d.ts 906 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. interface IConfig {
  2. // Authentication
  3. pass?: string;
  4. user?: string;
  5. // Disables
  6. cache?: boolean;
  7. merge?: boolean;
  8. episodes?: string;
  9. // Settings
  10. crlang?: string;
  11. sublang?: any;
  12. format?: string;
  13. output?: string;
  14. series?: string;
  15. nametmpl?: string;
  16. tag?: string;
  17. ignoredub?: boolean;
  18. resolution?: string;
  19. video_format?: string;
  20. video_quality?: string;
  21. rebuildcrp?: boolean;
  22. batch?: string;
  23. verbose?: boolean;
  24. debug?: boolean;
  25. unlog?: boolean;
  26. retry?: number;
  27. // Login options
  28. userAgent?: string;
  29. logUsingApi?: boolean;
  30. logUsingCookie?: boolean;
  31. crSessionUrl?: string;
  32. crDeviceType?: string;
  33. crAPIVersion?: string;
  34. crLocale?: string;
  35. crSessionKey?: string;
  36. crLoginUrl?: string;
  37. // Third method, injecting data from cookies
  38. crUserId?: string;
  39. crUserKey?: string;
  40. // Generated values
  41. crDeviceId?: string;
  42. crSessionId?: string;
  43. }