|
8f45dbe563
|
style(*): edit indents
|
2023-12-29 20:53:29 -05:00 |
|
|
1447960b1a
|
refactor(db/models): update populatedDoc types
- remove `& Document` qualifier
- cast `T | number` to T with the `as` keyword
|
2023-12-29 19:06:55 -05:00 |
|
|
3e5af47107
|
refactor(*): refactor tsconfig paths
looks/feels nicer
|
2023-12-20 17:23:31 -05:00 |
|
|
989fefd6e7
|
fix(pages & middleware): throw error if non-author/collaborator tries to edit a story
|
2023-12-09 17:32:23 -05:00 |
|
|
a5346e8622
|
fix(client-side): add error check to story redirect middleware
|
2023-12-09 17:31:39 -05:00 |
|
|
fe7c452231
|
feat(client-side): create story middleware
redirect users to the login page if a story is restricted and they're not logged in
|
2023-12-06 22:19:05 -05:00 |
|