Improve code quality and add comments

This commit is contained in:
kevinpauer
2022-05-08 19:52:08 +02:00
parent a2b4686528
commit 0fc9e8d37f
10 changed files with 66 additions and 10 deletions

View File

@@ -15,6 +15,7 @@ export class BotService {
) {}
/**
* Function to get all keywords
* @returns Observable
*/
public getKeywords(): Observable<any> {
@@ -28,6 +29,7 @@ export class BotService {
}
/**
* Function to create a keyword
* @param {string} keyword
* @returns Observable
*/
@@ -47,6 +49,7 @@ export class BotService {
}
/**
* Function to delete a keyword
* @param {string} keyword
* @returns Observable
*/
@@ -63,6 +66,7 @@ export class BotService {
}
/**
* Function to get all shares
* @returns Observable
*/
public getSymbols(): Observable<any> {
@@ -76,6 +80,7 @@ export class BotService {
}
/**
* Function to create a share
* @param {string} keyword
* @returns Observable
*/
@@ -96,6 +101,7 @@ export class BotService {
}
/**
* Function to delete a share
* @param {string} symbol
* @returns Observable
*/