mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 13:36:43 +00:00
add types
This commit is contained in:
parent
a616aaf1b4
commit
1b99353f92
4 changed files with 24 additions and 0 deletions
15
src/models/DevFull.ts
Normal file
15
src/models/DevFull.ts
Normal 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
3
src/models/Education.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
interface Education {}
|
||||||
|
|
||||||
|
export default Education;
|
||||||
3
src/models/Experience.ts
Normal file
3
src/models/Experience.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
interface Experience {}
|
||||||
|
|
||||||
|
export default Experience;
|
||||||
3
src/models/Repo.ts
Normal file
3
src/models/Repo.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
interface Repo {}
|
||||||
|
|
||||||
|
export default Repo;
|
||||||
Loading…
Reference in a new issue