dswbx
fb76f8d789
improve media mime type inferring + added uploadToEntity in media api
2025-02-14 18:02:43 +01:00
dswbx
149a6d768c
Merge pull request #80 from bknd-io/fix/api-and-media
...
fix/api-and-media
2025-02-14 11:42:50 +01:00
dswbx
24e69eec90
fix s3 adapter
2025-02-14 11:42:26 +01:00
dswbx
f0bdb3a75e
improved typing, renamed functions for clarity
2025-02-14 11:04:50 +01:00
dswbx
c4e505582b
updated media api and added tests, fixed body limit
2025-02-14 10:42:36 +01:00
dswbx
7a6321f4ce
added r2 binding support to cf adapter
2025-02-11 10:04:53 +01:00
dswbx
f29641c702
using path instead of pointer, replaced lodash usage
2025-02-08 09:18:24 +01:00
dswbx
8418231c43
improved media settings implementation
2025-02-05 16:11:53 +01:00
dswbx
baab70f9da
fix stackblitz issue uploading media to entity
2025-01-17 17:02:22 +01:00
dswbx
a6fd9f0d96
fix system entity registration by re-applying configs to modules
2025-01-17 15:46:05 +01:00
dswbx
4ee0f74cdb
optimize elements by reducing the bundle size required
2025-01-14 14:10:19 +01:00
dswbx
bd4bc14282
reworked authentication and permission handling
2025-01-11 15:27:58 +01:00
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
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
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
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
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
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
9d9aa7b7a5
added useApi and useApiQuery to work seamlessly with SWR (tbc)
2024-12-12 10:37:52 +01:00
dswbx
b7ec4982dc
cli: automatically register local adapter
2024-12-10 15:50:41 +01:00
dswbx
290498de6e
refactor registries to make registration more convenient
2024-12-10 08:47:23 +01:00
dswbx
3757157a06
module manager: switched config table to use entity
2024-12-05 09:23:34 +01:00
dswbx
90f80c4280
public commit
2024-11-16 12:01:47 +01:00