Skip to content

Commit

Permalink
refactor: ♻️ teachings & degrees
Browse files Browse the repository at this point in the history
To improve generic degrees as discussed in cartabinaria/dynamik#122 and #17, I've created 2 separate files:
`teachings.json`: organizes all the teachings by year, giving an id to each course;
`degrees.json`: organizes all the degrees, taking for each year the courses referenced in teachings by id.
  • Loading branch information
ali-benny committed Oct 24, 2023
1 parent 54b5824 commit ee8b7ec
Show file tree
Hide file tree
Showing 2 changed files with 523 additions and 0 deletions.
114 changes: 114 additions & 0 deletions degrees.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
[
{
"id": "informatica",
"name": "Informatica",
"icon": "🧑‍💻",
"years": [
{
"year": 1,
"teachings": [
{
"$ref": "teachings.json#/1/teachings?filter=id&value=informatica"
}
]
},
{
"year": 2,
"teachings": [
{
"$ref": "teachings.json#/2/teachings?filter=id&value=informatica"
}
]
},
{
"year": 3,
"teachings": [
{
"$ref": "teachings.json#/3/teachings?filter=id&value=informatica"
}
]
}
]
},
{
"id": "ingegneria",
"name": "Ingegneria Informatica",
"icon": "👨‍🔧",
"years": [
{
"year": 1,
"teachings": [
{
"$ref": "teachings.json#/1/teachings?filter=id&value=ingegneria"
}
]
},
{
"year": 2,
"teachings": [
{
"$ref": "teachings.json#/2/teachings?filter=id&value=ingegneria"
}
]
},
{
"year": 3,
"teachings": [
{
"$ref": "teachings.json#/3/teachings?filter=id&value=ingegneria"
}
]
}
]
},
{
"id": "informatica-magistrale",
"name": "Informatica Magistrale",
"icon": "🧑‍🏫",
"years": [
{
"year": 1,
"teachings": [
{
"$ref": "teachings.json#/1/teachings?filter=id&value=informatica-magistrale"
}
]
}
]
},
{
"id": "ingegneria-e-scienze-informatiche-magistrale",
"name": "Ingegneria e Scienze Informatiche Magistrale",
"icon": "🥸",
"years": [
{
"year": 1,
"teachings": [
{
"$ref": "teachings.json#/1/teachings?filter=id&value=ingegneria-e-scienze-informatiche-magistrale"
}
]
}
]
},
{
"id": "artificial-intelligence",
"name": "Artificial Intelligence Master's Degree",
"icon": "🧠",
"years": [
{
"year": 1,
"teachings": [
{
"$ref": "teachings.json#/1/teachings?filter=id&value=artificial-intelligence"
}
]
}
]
},
{
"id": "lab",
"name": "Laboratori fra Pari",
"icon": "🧪"
}
]
Loading

0 comments on commit ee8b7ec

Please sign in to comment.