| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 44 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { useStaticQuery, graphql } from 'gatsby'; |
||
| 2 | |||
| 3 | export const getResumeDataProvider = () => { |
||
| 4 | const { resume } = useStaticQuery(graphql` |
||
| 5 | { |
||
| 6 | resume: dataYaml(slug: {eq: "resume"}) { |
||
| 7 | title |
||
| 8 | subtitle |
||
| 9 | summary |
||
| 10 | links { |
||
| 11 | name |
||
| 12 | href |
||
| 13 | } |
||
| 14 | education { |
||
| 15 | institution |
||
| 16 | area |
||
| 17 | studyType |
||
| 18 | years |
||
| 19 | } |
||
| 20 | work { |
||
| 21 | company |
||
| 22 | location |
||
| 23 | duration |
||
| 24 | positions { |
||
| 25 | position |
||
| 26 | date |
||
| 27 | } |
||
| 28 | summary |
||
| 29 | tags |
||
| 30 | } |
||
| 31 | skills { |
||
| 32 | name |
||
| 33 | level |
||
| 34 | } |
||
| 35 | languages { |
||
| 36 | language |
||
| 37 | fluency |
||
| 38 | } |
||
| 39 | } |
||
| 40 | } |
||
| 41 | `); |
||
| 42 | |||
| 43 | return resume; |
||
| 44 | }; |
||
| 45 |