1
0
Fork 0
Commit graph

14 commits

Author SHA1 Message Date
Joost De Cock
7939c1bc45 chore(backend): Thanks prettier, real nice 2023-10-17 18:18:03 +02:00
Joost De Cock
74f6e12d76 chore(backend): Shut up eslint 2023-10-17 18:14:17 +02:00
Joost De Cock
37d6959cb2 chore(backend): Remove (c)set from patterns, img from users
This removes some fields from the database and the logic for handling
them. Specifically:

- Do not keep a set or cset reference for patterns. Doing so will only
  raise expectations for users as a link between (c)set and pattern
  might signal that changes to the (c)set would somehow also update the
  pattern. Once a pattern is saved, it is what it is, so no point
  keeping a link to the (c)set. We may want to look at how to add a note
  about which (c)set the pattern was generated for, but I don't think
  that's crucial.
- Do not keep an img field in the user account, cset, or open pack,
  since they have a deterministic image ID anyway.

This also adds and info field to cset and option pack which is an
internal field allowing us to keep (non-public) notes about where the
record comes from. This will be important when we add a new mesurement
and we have to contqct all these people for that extra measurement (for
example).
2023-10-17 17:41:28 +02:00
Joost De Cock
af89505d0a feat(backend): Change storage of JSON fields 2023-08-17 14:28:36 +02:00
Joost De Cock
fd96e3aa55 chore: Linter issues 2023-08-08 11:21:21 +02:00
Joost De Cock
6b8060e05c chore(backend): Migrated from sanity to cloudflare images 2023-08-08 06:51:56 +02:00
joostdecock
e4f2aab9d0 feat(backend): Added curatedSets data type 2023-05-07 12:00:43 +02:00
joostdecock
34de608351 chore(backend): Use signin instead of login 2023-03-19 16:59:26 +01:00
Joost De Cock
cbe95701c5 wip(backend): PATCH not PUT 2022-12-23 15:12:24 +01:00
joostdecock
772cf4ffdf wip(backend): Added control to account 2022-11-14 18:45:45 +01:00
joostdecock
bccf4a35ee wip(backend): more progress on account endpoints and tests 2022-11-11 18:02:28 +01:00
joostdecock
f8e1fed09a wip(backend): Fixed async issues with tests 2022-11-10 20:09:30 +01:00
joostdecock
19050ce3b7 wip(backend): Better handling of data 2022-11-08 21:04:32 +01:00
joostdecock
819656815c wip(backend): moved more logic to user model 2022-11-07 20:42:23 +01:00