dswbx
eabd57cb4e
Delete media files from filesystem in media controller
...
Updated the logic to ensure media files are deleted from the filesystem alongside database entries when exceeding the maximum allowed items and enabled overwrite. Replaced IDs with file paths for proper file deletion.
2025-01-09 15:58:35 +01:00
dswbx
d182640981
Add Media.Dropzone and Media.Preview as isolated elements
...
Introduce `Media.*` to modularize and customize file upload handling. Refactor media-related components to improve usability, add max item limits, overwrite support, and event callbacks.
2025-01-09 15:43:43 +01:00
dswbx
5c7bfeab8f
Refactor authentication components for modularity
...
Replaced `LoginForm` with a more extensible `AuthForm` and `AuthScreen`, enabling support for multiple auth strategies (e.g., OAuth) and improved reusability. Updated imports, routes, and configurations accordingly.
2025-01-09 10:20:28 +01:00
dswbx
fcab042e88
replaced hook form with json schema from
2025-01-08 17:03: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
ab46611839
app auth: fix missing email when creating user on seeding
2024-12-24 16:16:45 +01:00
dswbx
d04c4a6191
bump to 0.4.0
2024-12-24 16:10:55 +01:00
dswbx
06125f1afe
added fallback route to server, created extensive setup instructions in docs
2024-12-24 16:01:42 +01:00
dswbx
76da14294c
unified runtime and framework adapters
2024-12-24 09:43:16 +01:00
dswbx
c1e92e503b
update & fix typing, updated examples
2024-12-23 19:28:31 +01:00
dswbx
70e42a02d7
updated examples: astro, nextjs, remix, bun, node
2024-12-23 16:50:26 +01:00
dswbx
a17fd2df67
Merge pull request #32 from bknd-io/feat/optimize-seeding
...
Feat: optimize seeding, adding api typing support
2024-12-23 11:45:15 +01:00
dswbx
0648f71a9e
Merge pull request #27 from bknd-io/feat/optimize-cf-adapter
...
improved cloudflare worker adapter
2024-12-23 11:44:52 +01:00
dswbx
131b7dd52e
Merge pull request #25 from bknd-io/feat/node-media-local
...
Feat: Node media local
2024-12-23 11:44:40 +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
c4138ef823
updated plasmic package to work with new hooks + added example
2024-12-18 08:41:11 +01:00
dswbx
1631bbb754
replaced all react-query usages with new hooks + removed react-query
2024-12-13 17:36:09 +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
43ec075a32
reworked api to return a custom promise to extract request info
2024-12-12 10:01:05 +01:00
dswbx
29ae6c6f9d
hotfix release 0.3.3
2024-12-11 18:49:57 +01:00
dswbx
25027429df
fixing condition where entity has been created with empty label
2024-12-11 18:48:57 +01:00
dswbx
35959aaf6d
hotfix release 3.0.2
2024-12-11 18:38:53 +01:00
dswbx
134fbd6d34
admin ui: fix initial entity state in create modal
2024-12-11 18:36:42 +01:00
dswbx
d2c75b1605
Merge pull request #26 from bknd-io/fix/mm-sync
...
fix: only sync config table once certain it has to happen
2024-12-11 18:29:22 +01:00
dswbx
d81b3acb94
mm: disable console as it might error trying to fetch config
2024-12-11 18:25:31 +01:00
dswbx
2ca66f4fc9
admin ui: fix "enter" on create new modal (inside fields)
2024-12-11 17:46:15 +01:00
dswbx
a8bbb6e760
admin ui: fix data erd layout
2024-12-11 17:30:33 +01:00
dswbx
32459a1562
improved cloudflare worker adapter + added docs about different modes
2024-12-11 17:09:28 +01:00
dswbx
2395d7fe97
fix: only sync config table once certain it has to happen
2024-12-11 15:51:00 +01:00
dswbx
b7ec4982dc
cli: automatically register local adapter
2024-12-10 15:50:41 +01:00
dswbx
5cca911e9d
Merge remote-tracking branch 'origin/main' into feat/node-media-local
2024-12-10 08:53:09 +01:00
dswbx
a5264e22ee
bump version 0.3.0
2024-12-10 08:51:54 +01:00
dswbx
290498de6e
refactor registries to make registration more convenient
2024-12-10 08:47:23 +01:00
dswbx
847b08b505
fix createApp() fn doesn't require config, fix admin controller main entry
2024-12-10 08:44:50 +01:00
dswbx
86a7bee3d9
fix prototype tests
2024-12-07 19:35:34 +01:00
dswbx
3932396084
fixing imports and ssr support + updated remix/nextjs/astro examples
2024-12-07 19:31:12 +01:00
dswbx
94cc4042d3
small refactorings and cleanups, improved bun/node adapter, updated docs
2024-12-07 18:55:02 +01:00
dswbx
154703f873
added treeshake option to build + finalized package json (for now)
2024-12-07 17:19:27 +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
e5924b33e5
exclude metafiles in npm package to reduce tarball size
2024-12-07 09:46:30 +01:00
dswbx
c25abd4a48
Merge remote-tracking branch 'origin/refactor/admin-basepath' into release/0.2.3
2024-12-07 09:30:32 +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