IConfig.d.ts 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. sleepTime?: number;
  28. // Login options
  29. userAgent?: string;
  30. logUsingApi?: boolean;
  31. logUsingCookie?: boolean;
  32. crSessionUrl?: string;
  33. crDeviceType?: string;
  34. crAPIVersion?: string;
  35. crLocale?: string;
  36. crSessionKey?: string;
  37. crLoginUrl?: string;
  38. // Third method, injecting data from cookies
  39. crUserId?: string;
  40. crUserKey?: string;
  41. // Generated values
  42. crDeviceId?: string;
  43. crSessionId?: string;
  44. }