node-csfd-api 4.1.3 → 4.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dto/global.d.mts CHANGED
@@ -6,16 +6,16 @@ interface CSFDScreening {
6
6
  url: string;
7
7
  type: CSFDFilmTypes;
8
8
  /**
9
- * Overall aggregated rating. (On the web usually represented by colors).
10
- *
11
- * 'unknown': unknown (gray color)
12
- *
13
- * 'good': 70% – 100 % (red color)
14
- *
15
- * 'average': 30% - 69% (blue color)
16
- *
17
- * 'bad': 0% - 29% (black color)
18
- */
9
+ * Overall aggregated rating. (On the web usually represented by colors).
10
+ *
11
+ * 'unknown': unknown (gray color)
12
+ *
13
+ * 'good': 70% – 100 % (red color)
14
+ *
15
+ * 'average': 30% - 69% (blue color)
16
+ *
17
+ * 'bad': 0% - 29% (black color)
18
+ */
19
19
  colorRating: CSFDColorRating;
20
20
  }
21
21
  type CSFDColorRating = 'bad' | 'average' | 'good' | 'unknown';
package/dto/global.d.ts CHANGED
@@ -6,16 +6,16 @@ interface CSFDScreening {
6
6
  url: string;
7
7
  type: CSFDFilmTypes;
8
8
  /**
9
- * Overall aggregated rating. (On the web usually represented by colors).
10
- *
11
- * 'unknown': unknown (gray color)
12
- *
13
- * 'good': 70% – 100 % (red color)
14
- *
15
- * 'average': 30% - 69% (blue color)
16
- *
17
- * 'bad': 0% - 29% (black color)
18
- */
9
+ * Overall aggregated rating. (On the web usually represented by colors).
10
+ *
11
+ * 'unknown': unknown (gray color)
12
+ *
13
+ * 'good': 70% – 100 % (red color)
14
+ *
15
+ * 'average': 30% - 69% (blue color)
16
+ *
17
+ * 'bad': 0% - 29% (black color)
18
+ */
19
19
  colorRating: CSFDColorRating;
20
20
  }
21
21
  type CSFDColorRating = 'bad' | 'average' | 'good' | 'unknown';
package/dto/movie.d.mts CHANGED
@@ -42,12 +42,12 @@ interface CSFDTitlesOther {
42
42
  }
43
43
  interface CSFDMovieCreator {
44
44
  /**
45
- * CSFD person ID.
46
- *
47
- * You can always assemble url from ID like this:
48
- *
49
- * `https://www.csfd.cz/tvurce/${id}`
50
- */
45
+ * CSFD person ID.
46
+ *
47
+ * You can always assemble url from ID like this:
48
+ *
49
+ * `https://www.csfd.cz/tvurce/${id}`
50
+ */
51
51
  id: number;
52
52
  name: string;
53
53
  url: string;
package/dto/movie.d.ts CHANGED
@@ -42,12 +42,12 @@ interface CSFDTitlesOther {
42
42
  }
43
43
  interface CSFDMovieCreator {
44
44
  /**
45
- * CSFD person ID.
46
- *
47
- * You can always assemble url from ID like this:
48
- *
49
- * `https://www.csfd.cz/tvurce/${id}`
50
- */
45
+ * CSFD person ID.
46
+ *
47
+ * You can always assemble url from ID like this:
48
+ *
49
+ * `https://www.csfd.cz/tvurce/${id}`
50
+ */
51
51
  id: number;
52
52
  name: string;
53
53
  url: string;
@@ -9,16 +9,16 @@ interface CSFDUserRatingConfig {
9
9
  includesOnly?: CSFDFilmTypes[];
10
10
  excludes?: CSFDFilmTypes[];
11
11
  /**
12
- * Fetch all ratings. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
13
- */
12
+ * Fetch all ratings. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
13
+ */
14
14
  allPages?: boolean;
15
15
  /**
16
- * Delay on each page request. In milliseconds
17
- */
16
+ * Delay on each page request. In milliseconds
17
+ */
18
18
  allPagesDelay?: number;
19
19
  /**
20
- * Specific page number to fetch (e.g., 2 for second page)
21
- */
20
+ * Specific page number to fetch (e.g., 2 for second page)
21
+ */
22
22
  page?: number;
23
23
  }
24
24
  type CSFDColors = 'lightgrey' | 'blue' | 'red' | 'grey';
@@ -9,16 +9,16 @@ interface CSFDUserRatingConfig {
9
9
  includesOnly?: CSFDFilmTypes[];
10
10
  excludes?: CSFDFilmTypes[];
11
11
  /**
12
- * Fetch all ratings. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
13
- */
12
+ * Fetch all ratings. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
13
+ */
14
14
  allPages?: boolean;
15
15
  /**
16
- * Delay on each page request. In milliseconds
17
- */
16
+ * Delay on each page request. In milliseconds
17
+ */
18
18
  allPagesDelay?: number;
19
19
  /**
20
- * Specific page number to fetch (e.g., 2 for second page)
21
- */
20
+ * Specific page number to fetch (e.g., 2 for second page)
21
+ */
22
22
  page?: number;
23
23
  }
24
24
  type CSFDColors = 'lightgrey' | 'blue' | 'red' | 'grey';
@@ -11,16 +11,16 @@ interface CSFDUserReviewsConfig {
11
11
  includesOnly?: CSFDFilmTypes[];
12
12
  excludes?: CSFDFilmTypes[];
13
13
  /**
14
- * Fetch all reviews. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
15
- */
14
+ * Fetch all reviews. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
15
+ */
16
16
  allPages?: boolean;
17
17
  /**
18
- * Delay on each page request. In milliseconds
19
- */
18
+ * Delay on each page request. In milliseconds
19
+ */
20
20
  allPagesDelay?: number;
21
21
  /**
22
- * Specific page number to fetch (e.g., 2 for second page)
23
- */
22
+ * Specific page number to fetch (e.g., 2 for second page)
23
+ */
24
24
  page?: number;
25
25
  }
26
26
  //#endregion
@@ -11,16 +11,16 @@ interface CSFDUserReviewsConfig {
11
11
  includesOnly?: CSFDFilmTypes[];
12
12
  excludes?: CSFDFilmTypes[];
13
13
  /**
14
- * Fetch all reviews. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
15
- */
14
+ * Fetch all reviews. (Warning: Use it wisely. Can be detected and banned. Consider using it together with `allPagesDelay` attribute)
15
+ */
16
16
  allPages?: boolean;
17
17
  /**
18
- * Delay on each page request. In milliseconds
19
- */
18
+ * Delay on each page request. In milliseconds
19
+ */
20
20
  allPagesDelay?: number;
21
21
  /**
22
- * Specific page number to fetch (e.g., 2 for second page)
23
- */
22
+ * Specific page number to fetch (e.g., 2 for second page)
23
+ */
24
24
  page?: number;
25
25
  }
26
26
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-csfd-api",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)",
5
5
  "author": "BART! <bart@bartweb.cz>",
6
6
  "publishConfig": {