diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/models | 10 | ||||
| -rw-r--r-- | config/routes | 3 |
2 files changed, 11 insertions, 2 deletions
diff --git a/config/models b/config/models index aa335df..16b4ce0 100644 --- a/config/models +++ b/config/models | |||
| @@ -4,9 +4,17 @@ Item | |||
| 4 | bought Day Maybe | 4 | bought Day Maybe |
| 5 | expires Day Maybe | 5 | expires Day Maybe |
| 6 | opened Day Maybe | 6 | opened Day Maybe |
| 7 | Foreign Kind fkType normKind | ||
| 7 | deriving Show Eq | 8 | deriving Show Eq |
| 8 | Reference | 9 | Reference |
| 9 | normKind Text | 10 | normKind Text |
| 10 | kind Text | 11 | kind Text |
| 12 | UniqueRefKind normKind | ||
| 13 | Foreign Kind fkType normKind | ||
| 14 | deriving Show Eq Ord | ||
| 15 | Kind | ||
| 16 | normKind Text | ||
| 17 | type Text | ||
| 18 | Primary normKind | ||
| 11 | UniqueKind normKind | 19 | UniqueKind normKind |
| 12 | deriving Show Eq Ord \ No newline at end of file | 20 | deriving Show Eq \ No newline at end of file |
diff --git a/config/routes b/config/routes index 08babf4..6ed3204 100644 --- a/config/routes +++ b/config/routes | |||
| @@ -7,7 +7,8 @@ | |||
| 7 | /inv/#ItemId ItemR GET PUT PATCH DELETE | 7 | /inv/#ItemId ItemR GET PUT PATCH DELETE |
| 8 | 8 | ||
| 9 | /ref ReferenceListingR GET POST PUT | 9 | /ref ReferenceListingR GET POST PUT |
| 10 | /ref/#ReferenceId ReferenceItemR GET PUT PATCH DELETE | 10 | /ref/#ReferenceId ReferenceItemR GET PUT DELETE |
| 11 | /ref/#ReferenceId/delete DeleteRefItemR POST | 11 | /ref/#ReferenceId/delete DeleteRefItemR POST |
| 12 | |||
| 12 | /kinds KindsR GET | 13 | /kinds KindsR GET |
| 13 | /list ListR GET POST | 14 | /list ListR GET POST |
