From c5e995f8d67b6480cd17d52bf782b96d30b899c1 Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Sun, 13 Jun 2021 16:25:04 +0500 Subject: [PATCH] chore: TSDoc comments updated --- src/SASViyaApiClient.ts | 2 +- src/SASjs.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 0022b6a..bb629bf 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -541,7 +541,7 @@ export class SASViyaApiClient { /** * Creates a file. Path to or URI of the parent folder is required. * @param fileName - the name of the new file. - * @param content - the content of the new file. + * @param contentBuffer - the content of the new file in Buffer. * @param parentFolderPath - the full path to the parent folder. If not * provided, the parentFolderUri must be provided. * @param parentFolderUri - the URI (eg /folders/folders/UUID) of the parent diff --git a/src/SASjs.ts b/src/SASjs.ts index 410c143..1057aaf 100644 --- a/src/SASjs.ts +++ b/src/SASjs.ts @@ -267,7 +267,7 @@ export default class SASjs { } /** - * Creates a folder at SAS file system. + * Creates a folder in the logical SAS folder tree * @param folderName - name of the folder to be created. * @param parentFolderPath - the full path (eg `/Public/example/myFolder`) of the parent folder. * @param parentFolderUri - the URI of the parent folder. @@ -300,14 +300,13 @@ export default class SASjs { } /** - * Creates a file at SAS file system. + * Creates a file in the logical SAS folder tree * @param fileName - name of the file to be created. * @param content - content of the file to be created. * @param parentFolderPath - the full path (eg `/Public/example/myFolder`) of the parent folder. * @param parentFolderUri - the URI of the parent folder. * @param accessToken - the access token to authorizing the request. * @param sasApiClient - a client for interfacing with SAS API. - * @param isForced - flag that indicates if target folder already exists, it and all subfolders have to be deleted. Applicable for SAS VIYA only. */ public async createFile( fileName: string,