IConfig.d.ts 889 B

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