dswbx
138a3579cb
Update test expectations and fix test utility usage
...
Replaced `console.log` with `expect` in crypto tests for proper validation. Wrapped a test case with `withDisabledConsole` to suppress expected log output. Fixed typo in data test field configuration (`max_length` to `maxLength`).
2025-01-09 11:23:23 +01:00
dswbx
99df7f1402
Handle missing app context in permission middleware to prevent errors.
2025-01-09 11:06:40 +01:00
dswbx
47f48be514
Refactor module middleware initialization logic.
...
Replaced `getMiddleware` with `onServerInit` for streamlined middleware registration. Updated `AppAuth` to automatically register its authentication middleware. Added a test case to verify middleware registration. Removed redundant cookie renewal logic from `AdminController` and made related adjustments across modules.
2025-01-09 10:59:48 +01:00
dswbx
7d3d1e811f
refactor: extracted auth as middleware to be added manually to endpoints
2025-01-07 13:32:50 +01:00
dswbx
064bbba8aa
doc: nextjs swap edge
2025-01-07 07:42:49 +01:00
dswbx
d1aa05a9bb
chores: repo update
2025-01-07 07:05:45 +01:00
dswbx
ab46611839
app auth: fix missing email when creating user on seeding
2024-12-24 16:16:45 +01:00
dswbx
24226382e8
Merge pull request #33 from bknd-io/release/0.4.0
...
Release 0.4.0
2024-12-24 16:11:26 +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
8ef11aa382
Merge pull request #34 from bknd-io/refactor/adapter-options
...
Refactor: Unified framework and runtime adapters
2024-12-24 09:45:03 +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
1d1ebff64d
Merge remote-tracking branch 'origin/main' into feat/optimize-seeding
2024-12-19 07:59:51 +01:00
dswbx
ac2ae2657e
Merge pull request #31 from bknd-io/feat/optimize-api-and-replace-react-query
...
optimize client-side api & hooks
2024-12-19 07:59:16 +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
bd86f8ef91
Merge pull request #30 from bknd-io/fix/admin-ui-fixes-3
...
admin ui: fixing condition where entity has been created with empty label
2024-12-11 18:49:22 +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
56fb779f99
Merge pull request #29 from bknd-io/fix/admin-ui-fixes-2
...
admin ui: fix initial entity state in create modal
2024-12-11 18:37:46 +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
a474e3fe3a
Merge pull request #28 from bknd-io/fix/admin-ui-fixes
...
Admin UI fixes
2024-12-11 18:29:05 +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
10d606f8e9
docs: added docker instructions
2024-12-10 09:57:05 +01:00
dswbx
5cca911e9d
Merge remote-tracking branch 'origin/main' into feat/node-media-local
2024-12-10 08:53:09 +01:00
dswbx
13a88be8d1
Merge pull request #23 from bknd-io/release/0.2.3
...
Release 0.3
2024-12-10 08:52:20 +01:00
dswbx
a5264e22ee
bump version 0.3.0
2024-12-10 08:51:54 +01:00