API Changes
This commit is contained in:
		
							parent
							
								
									7cc74866fc
								
							
						
					
					
						commit
						953c06212d
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -29,6 +29,11 @@ interface API { | |||
|     project: NewProject, | ||||
|     token: string, | ||||
|   ): Promise<APIResponse<Project>>; | ||||
|   /** Gets all the projects of a user*/ | ||||
|   getUserProjects( | ||||
|     username: string, | ||||
|     token: string, | ||||
|   ): Promise<APIResponse<Project[]>>; | ||||
|   /** Submit a weekly report */ | ||||
|   submitWeeklyReport( | ||||
|     project: NewWeeklyReport, | ||||
|  | @ -41,11 +46,6 @@ interface API { | |||
|     week: string, | ||||
|     token: string, | ||||
|   ): Promise<APIResponse<NewWeeklyReport>>; | ||||
|   /** Gets all the projects of a user*/ | ||||
|   getUserProjects( | ||||
|     username: string, | ||||
|     token: string, | ||||
|   ): Promise<APIResponse<Project[]>>; | ||||
| } | ||||
| 
 | ||||
| // Export an instance of the API
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 al8763be
						al8763be