Skip to content

Commit

Permalink
Update Client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alejouribesanchez committed Oct 30, 2024
1 parent 881ae10 commit a7b9459
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/types/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,23 +917,6 @@ export declare class Client {
*/
public replace_tags(document_id: string, tags: string[]): Promise<Tag>;

/**
* Ensures a Base64 string includes a MIME type hint. If not present, uses the filename or filepath to add the appropriate MIME type.
*
* @param {string} base64String - The Base64 encoded string.
* @param {string} filename or filePath - The filename or filepath to derive the MIME type if missing.
* @returns {string} - Base64 string with MIME type prefix.
*/
public add_mime_type(base64String: String, filename: String): String;

/**
* Checks if a Base64 string contains any of the predefined MIME types.
*
* @param {string} base64String - The Base64 encoded string with a MIME type prefix.
* @returns {boolean} - Returns true if any predefined MIME type is found, false otherwise.
*/
public check_mime_type(base64String: String): Boolean;

}

/**
Expand Down

0 comments on commit a7b9459

Please sign in to comment.