Commit 8e5101a
committed
Codable utility types implemented so far
These are all used from Bestiary; and consistent of Page, Source (otherSources, alternateSources), Edition, Reprint (reprintedAs), Speed, CreatureType, Alignment, Size, and Proficiency (proficiencyLevel).
Also add Tag, which is a common type-like used in Bestiary but didn't get its own $defs.
Trying to make the resulting types as ergonmically Swift-like as possible, while still supporting the full 5eTools schema.1 parent 90d93c0 commit 8e5101a
File tree
5 files changed
+1108
-1
lines changed- Sources/FifthEdition
- Tests/FifthEditionTests
5 files changed
+1108
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 | | |
24 | 32 | | |
25 | 33 | | |
| |||
0 commit comments