Skip to content

Commit 6cf524d

Browse files
committed
fix(services): switch to options instead of settings in constructor
1 parent 8908d3a commit 6cf524d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/services/tmdb-client/clients/tmdb-client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TmdbClientAuthentication, TmdbClientSettings } from '~/models/tmdb/tmdb-client.model';
1+
import type { TmdbClientAuthentication, TmdbClientOptions } from '~/models/tmdb/tmdb-client.model';
22

33
import { tmdbApi } from '~/services/tmdb-client/api/tmdb-api.endpoint';
44
import { BaseTmdbClient } from '~/services/tmdb-client/clients/base-tmdb-client';
@@ -17,7 +17,7 @@ export class TmdbClient extends BaseTmdbClient {
1717
* @param settings - The settings for the client.
1818
* @param authentication - The authentication for the client.
1919
*/
20-
constructor(settings: TmdbClientSettings, authentication: TmdbClientAuthentication = {}) {
20+
constructor(settings: TmdbClientOptions, authentication: TmdbClientAuthentication = {}) {
2121
super(settings, authentication, tmdbApi);
2222
}
2323

src/services/trakt-client/clients/trakt-client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
TraktClientAuthentication,
1111
TraktDeviceAuthentication,
1212
} from '~/models/trakt/trakt-authentication.model';
13-
import type { TraktApiInit, TraktApiResponse, TraktClientSettings } from '~/models/trakt/trakt-client.model';
13+
import type { TraktApiInit, TraktApiResponse, TraktClientOptions } from '~/models/trakt/trakt-client.model';
1414

1515
import { TraktApiHeaders } from '~/models/trakt/trakt-client.model';
1616
import { traktApi } from '~/services/trakt-client/api/trakt-api.endpoints';
@@ -55,7 +55,7 @@ export class TraktClient extends BaseTraktClient {
5555
* @param settings - The settings for the client.
5656
* @param authentication - The authentication for the client.
5757
*/
58-
constructor(settings: TraktClientSettings, authentication: TraktClientAuthentication = {}) {
58+
constructor(settings: TraktClientOptions, authentication: TraktClientAuthentication = {}) {
5959
super(settings, authentication, traktApi);
6060
}
6161

src/services/tvdb-client/clients/tvdb-client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TvdbClientAuthentication, TvdbClientSettings } from '~/models/tvdb/tvdb-client.model';
1+
import type { TvdbClientAuthentication, TvdbClientOptions } from '~/models/tvdb/tvdb-client.model';
22

33
import { tvdbApi } from '~/services/tvdb-client/api/tvdb-api.endpoint';
44
import { BaseTvdbClient } from '~/services/tvdb-client/clients/base-tvdb-client';
@@ -16,7 +16,7 @@ export class TvdbClient extends BaseTvdbClient {
1616
* @param settings - The settings for the client.
1717
* @param authentication - The authentication for the client.
1818
*/
19-
constructor(settings: TvdbClientSettings, authentication: TvdbClientAuthentication = {}) {
19+
constructor(settings: TvdbClientOptions, authentication: TvdbClientAuthentication = {}) {
2020
super(settings, authentication, tvdbApi);
2121
}
2222

0 commit comments

Comments
 (0)