dswbx
bb756548a6
Fix entity referencing issue during post-seeded relational fetch
2025-01-10 17:28:43 +01:00
dswbx
e94e8d8bd1
Refactor entity handling to preserve config while overriding type
...
Reworked `ensureEntity` to replace entities while maintaining their configuration and allowing type adjustments. Updated tests to verify type persistence and synchronization of entity properties.
2025-01-10 15:51:47 +01:00
dswbx
a8c20d3675
Refactor module schema handling and add sync mechanism
...
Redesigned entity and index management with methods to streamline schema updates and added a sync flag to signal required DB syncs post-build. Enhanced test coverage and functionality for schema modifications, including support for additional fields.
2025-01-10 14:43:39 +01:00
dswbx
c8745b3464
Merge remote-tracking branch 'origin/feat/repo-query-sort' into release/0.5
...
# Conflicts:
# app/src/data/api/DataController.ts
2025-01-10 08:23:51 +01:00
dswbx
aa86d54553
clean up data controller
2025-01-08 10:16:41 +01:00
dswbx
6026613d29
feat: allow data query to have single string as sort
2025-01-07 18:08:50 +01:00
dswbx
7d3d1e811f
refactor: extracted auth as middleware to be added manually to endpoints
2025-01-07 13:32:50 +01:00
dswbx
c1e92e503b
update & fix typing, updated examples
2024-12-23 19:28:31 +01:00
dswbx
3a79ce2cf8
added a new mutate replacement for useEntityMutate to quickly update cache without revalidating
2024-12-21 15:03:14 +01:00
dswbx
deddf00c38
added pausing to event manager, added context aware entity schemas, fixed typings, first boot event, improved useEntityQuery mutation behavior
2024-12-20 20:11:49 +01:00
dswbx
a7e3ce878a
added chainable functions in em()
2024-12-19 16:12:30 +01:00
dswbx
d7ee13011f
isolated constructor functions for entities and relations from config
2024-12-19 08:16:47 +01:00
dswbx
8e987d58f2
to em() toJSON to match expected type
2024-12-19 07:58:41 +01:00
dswbx
386c0d3ff0
added new em() shorthand for prototyping, added insertMany mutator function for seeding
2024-12-19 07:38:40 +01:00
dswbx
602235b372
optimized module manager seeding, added type support for new api hooks and reduced amount of dist chunks
2024-12-18 18:22:01 +01:00
dswbx
8c91dff94d
updated admin to use swr hooks instead of react-query
2024-12-13 16:24:55 +01:00
dswbx
50c5adce0c
added useEntity and useEntityQuery hooks
2024-12-12 17:00:10 +01:00
dswbx
9d9aa7b7a5
added useApi and useApiQuery to work seamlessly with SWR (tbc)
2024-12-12 10:37:52 +01:00
dswbx
25027429df
fixing condition where entity has been created with empty label
2024-12-11 18:48:57 +01:00
dswbx
d81b3acb94
mm: disable console as it might error trying to fetch config
2024-12-11 18:25:31 +01:00
dswbx
94cc4042d3
small refactorings and cleanups, improved bun/node adapter, updated docs
2024-12-07 18:55:02 +01:00
dswbx
71dbfc5469
moved main pkg back to deps to reduce tarball size + removed zod + cleanup old code + fixed tests
2024-12-07 10:11:26 +01:00
dswbx
7c58f20cca
Merge remote-tracking branch 'origin/refactor/ext-deps' into release/0.2.3
2024-12-07 09:30:06 +01:00
dswbx
110c7681b7
externalize libsql dependency to let installing env install the correct dep
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-07 06:29:29 +01:00
dswbx
ba517feab5
fix typings for initial partial config
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-05 20:48:49 +01:00
dswbx
7e990feb99
added new diffing method to module manager
...
Signed-off-by: dswbx <dennis.senn@gmx.ch >
2024-12-05 20:23:51 +01:00
dswbx
77a6b6e7f5
fix repository's findOne to allow offset and sort – fixes module manager's config retrieval
2024-12-05 10:37:05 +01:00
dswbx
a3348122e6
module manager: use json schema field for additional validation
2024-12-05 09:50:25 +01:00
dswbx
3757157a06
module manager: switched config table to use entity
2024-12-05 09:23:34 +01:00
dswbx
0184f47a41
added prototype to the list of exports from "bknd/data"
2024-12-03 17:15:53 +01:00
dswbx
6718419d41
prepare admin for astro: inject clientprovider props directly from admin component
2024-11-28 10:04:14 +01:00
dswbx
16a6a3315d
added cookie to config + fixed config set endpoint
2024-11-25 16:57:12 +01:00
dswbx
2433833ad0
reworked html serving, added new permissions for api/auth, updated adapters
2024-11-23 11:21:09 +01:00
dswbx
90f80c4280
public commit
2024-11-16 12:01:47 +01:00