lint + login function for API
This commit is contained in:
		
							parent
							
								
									ff00b984fe
								
							
						
					
					
						commit
						5327ac7ad1
					
				
					 3 changed files with 0 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -1,13 +0,0 @@
 | 
			
		|||
export interface Project {
 | 
			
		||||
  id: number;
 | 
			
		||||
  name: string;
 | 
			
		||||
  description: string;
 | 
			
		||||
  owner: string;
 | 
			
		||||
  created: string; // This is a date
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface NewProject {
 | 
			
		||||
  name: string;
 | 
			
		||||
  description: string;
 | 
			
		||||
  owner: string;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,9 +0,0 @@
 | 
			
		|||
export interface TimeReport {
 | 
			
		||||
  week: string;
 | 
			
		||||
  development: string;
 | 
			
		||||
  meeting: string;
 | 
			
		||||
  administration: string;
 | 
			
		||||
  ownwork: string;
 | 
			
		||||
  studies: string;
 | 
			
		||||
  testing: string;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,11 +0,0 @@
 | 
			
		|||
// This is how the API responds
 | 
			
		||||
export interface User {
 | 
			
		||||
  id: number;
 | 
			
		||||
  userName: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Used to create a new user
 | 
			
		||||
export interface NewUser {
 | 
			
		||||
  userName: string;
 | 
			
		||||
  password: string;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue