IConfig.d.ts 870 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. format?: string;
  11. output?: string;
  12. series?: string;
  13. nametmpl?: string;
  14. tag?: string;
  15. ignoredub?: boolean;
  16. resolution?: string;
  17. video_format?: string;
  18. video_quality?: string;
  19. rebuildcrp?: boolean;
  20. batch?: string;
  21. verbose?: boolean;
  22. debug?: boolean;
  23. unlog?: boolean;
  24. retry?: number;
  25. // Login options
  26. userAgent?: string;
  27. logUsingApi?: boolean;
  28. logUsingCookie?: boolean;
  29. crSessionUrl?: string;
  30. crDeviceType?: string;
  31. crAPIVersion?: string;
  32. crLocale?: string;
  33. crSessionKey?: string;
  34. crLoginUrl?: string;
  35. // Third method, injecting data from cookies
  36. crUserId?: string;
  37. crUserKey?: string;
  38. // Generated values
  39. crDeviceId?: string;
  40. crSessionId?: string;
  41. }