add types

This commit is contained in:
Ruidy Nemausat 2020-05-12 15:56:26 +02:00
parent a616aaf1b4
commit 1b99353f92
4 changed files with 24 additions and 0 deletions

15
src/models/DevFull.ts Normal file
View file

@ -0,0 +1,15 @@
import DevSummary from '../models/DevSummary';
import Experience from './Experience';
import Education from './Education';
import Repo from './Repo';
/**Full developer profile information. extends summary to avoid duplication */
interface DevFull extends DevSummary {
bio: string;
links: Object;
experiences: Experience[];
educations: Education[];
repos: Repo[];
}
export default DevFull;

3
src/models/Education.ts Normal file
View file

@ -0,0 +1,3 @@
interface Education {}
export default Education;

3
src/models/Experience.ts Normal file
View file

@ -0,0 +1,3 @@
interface Experience {}
export default Experience;

3
src/models/Repo.ts Normal file
View file

@ -0,0 +1,3 @@
interface Repo {}
export default Repo;