IConfig.d.ts 825 B

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