-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from md-abid-hussain/project-delete
Implemented function to remove a project
- Loading branch information
Showing
4 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
/** Structure of a MindsDB Project. */ | ||
export default interface Project { | ||
/** Name of the project. */ | ||
import ProjectsApiClient from './projectsApiClient'; | ||
|
||
/** | ||
* Represents a MindsDB project and all supported operations. | ||
*/ | ||
export default class Project { | ||
/** API client to use for executing mlEngine operations. */ | ||
projectApiClient: ProjectsApiClient; | ||
|
||
/** Name of the mlEngine. */ | ||
name: string; | ||
|
||
/** | ||
* | ||
* @param {ProjectsApiClient} projectApiClient - API client to use for executing project operations. | ||
* @param {string} name - Name of the project. | ||
*/ | ||
constructor(projectApiClient: ProjectsApiClient, name: string) { | ||
this.projectApiClient = projectApiClient; | ||
this.name = name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters