1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-09 05:20:05 +00:00

fix: remove deployToSasjs and executeJobSasjs from main sasjs module

This commit is contained in:
2022-10-18 19:09:56 +05:00
parent 53e167b17d
commit b0c2a81989
2 changed files with 7 additions and 27 deletions

View File

@@ -8,6 +8,13 @@ import { getTokens } from './auth/getTokens'
export class SASjsApiClient {
constructor(private requestClient: RequestClient) {}
/**
* Creates the folders and services at the given location `appLoc` on the given server `serverUrl`.
* @param dataJson - the JSON specifying the folders and files to be created, can also includes
* appLoc, streamServiceName, streamWebFolder, streamLogo
* @param appLoc - the base folder in which to create the new folders and services.
* @param authConfig - (optional) a valid client, secret, refresh and access tokens that are authorised to execute compute jobs.
*/
public async deploy(
dataJson: ServicePackSASjs,
appLoc: string,