diff --git a/src/lib/ContentType.ts b/src/lib/ContentType.ts index a3a1819..4e3b271 100644 --- a/src/lib/ContentType.ts +++ b/src/lib/ContentType.ts @@ -3,7 +3,7 @@ import { ContentTypeDTO } from "./utility/Global.js" export const ContentTypeEndpoint = 'contenttype' export class ContentType { - clinet: Client + private clinet: Client constructor(client:Client) { this.clinet = client } diff --git a/src/lib/List.ts b/src/lib/List.ts index a748951..298b685 100644 --- a/src/lib/List.ts +++ b/src/lib/List.ts @@ -3,7 +3,7 @@ import { PredefinedListDTO } from "./utility/Global.js" export const ListEndpoint = 'list' export class List { - client: Client + private client: Client constructor(client:Client) { this.client = client } diff --git a/src/lib/Media.ts b/src/lib/Media.ts index 61497e3..698ead3 100644 --- a/src/lib/Media.ts +++ b/src/lib/Media.ts @@ -7,7 +7,7 @@ const { readFile, stat } = promises export const MediaEndpoint = 'media' export class Media { - client: Client + private client: Client util: { getMediaIDs: (parentID: number, arrLimit?: number, reqTimeout?: number) => Promise } constructor(client:Client) { this.client = client diff --git a/src/lib/MediaCategory.ts b/src/lib/MediaCategory.ts index 9239562..79a01a3 100644 --- a/src/lib/MediaCategory.ts +++ b/src/lib/MediaCategory.ts @@ -3,7 +3,7 @@ import { Category } from "./utility/Global.js" export const MediaCategoryEndpoint = 'mediacategory' export class MediaCategory { - client: Client + private client: Client constructor(client: Client) { this.client = client } diff --git a/src/lib/MediaType.ts b/src/lib/MediaType.ts index 98f3f7c..5b46919 100644 --- a/src/lib/MediaType.ts +++ b/src/lib/MediaType.ts @@ -2,7 +2,7 @@ import { Client } from "./Client.js" export const MediaTypeEndpoint = 'mediaType' export class MediaType { - clinet: Client + private clinet: Client constructor(client:Client) { this.clinet = client }