-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add/update Milestone, MilestoneText, MilestoneImage models - add admin endpoints to create / update / delete milestones Make endpoint naming more consistent - use plurals for all collections of entities - use PUT instead of PATCH since these endpoints take the entire entity, not just selected fields to update Refactor - use factory pattern for app and routers to make it easier to modify app settings in tests - extract common router code into utils - extend and refactor backend tests
- Loading branch information
Showing
17 changed files
with
891 additions
and
494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 0 additions & 108 deletions
108
frontend/src/lib/components/Admin/NewMilestoneGroupModal.svelte
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { writable } from 'svelte/store'; | ||
import { writable, type Writable } from 'svelte/store'; | ||
|
||
export const isLoggedIn = writable(false); | ||
|
||
export const milestoneGroups = writable([]); | ||
|
||
export const languages = writable({}); | ||
export const languages: Writable<Record<string, string>> = writable({}); | ||
|
||
export const lang_id = writable('1'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.