TheoryOfNekomata
|
f92af9b5c8
|
Streamline error handling
Implement default error handler, unify error handling logic in server.
|
7 months ago |
TheoryOfNekomata
|
6e6fb96924
|
Add createdAt and updatedAt
Dynamic attributes for metadata are included for createdAt and updatedAt.
|
7 months ago |
TheoryOfNekomata
|
342a2e6e0c
|
Add example project
Include example project and requests.
|
7 months ago |
TheoryOfNekomata
|
0b3764267c
|
Small fixes
Tidy up some parts of the codebase.
|
7 months ago |
TheoryOfNekomata
|
05060f9524
|
Update data source tests
Genericize data used for data source tests.
|
7 months ago |
TheoryOfNekomata
|
d7a1c6b368
|
Update data source tests
Check result data in tests.
|
7 months ago |
TheoryOfNekomata
|
0a8202c4e8
|
Add data source tests
Include data source tests for query and initialization.
|
7 months ago |
TheoryOfNekomata
|
ee290a7a1f
|
Extract JSONL sample data source
Put data source to its own package.
|
7 months ago |
TheoryOfNekomata
|
1af53a06d1
|
Convert to monorepo
Prepare project for multiple packages.
|
7 months ago |
TheoryOfNekomata
|
0ae3823bca
|
Add more unit tests
Include tests for emplace, modify fallback content negotiation logic.
|
7 months ago |
TheoryOfNekomata
|
4be3a7c22f
|
Fix resource validation
Exclude ID attribute on applying delta operations.
|
7 months ago |
TheoryOfNekomata
|
645b8f4cd7
|
Implement delta patch
Allow PATCH method to use JSON Patch.
|
7 months ago |
TheoryOfNekomata
|
bc27b28e7a
|
Add tests
Decouple tests from data source.
|
7 months ago |
TheoryOfNekomata
|
467021b57a
|
Update tests
Decouple tests from data source.
|
7 months ago |
TheoryOfNekomata
|
770b62c6dd
|
Implement more tests
Add tests related to error handling.
|
7 months ago |
TheoryOfNekomata
|
64f0c49847
|
Add type improvements in builders
Include dynamic typing in builder functions.
|
7 months ago |
TheoryOfNekomata
|
c9caf5a473
|
Add server state, request decorator
Include request decorator to features.
|
7 months ago |
TheoryOfNekomata
|
8c4f7b9980
|
Update FAQs
Include information on project rationale.
|
7 months ago |
TheoryOfNekomata
|
8bb5aa9cca
|
Add alternate way of responses
Add CQRS event emitter for long-running operations.
|
7 months ago |
TheoryOfNekomata
|
8f05a07a67
|
Refactor http server
Define http server exports in their own directory.
|
7 months ago |
TheoryOfNekomata
|
de6834773b
|
Update handler logic
Remove duplicate checks and add OPTIONS method handler for allowed
methods.
|
7 months ago |
TheoryOfNekomata
|
66f6fb44ee
|
Better middleware matching
Filter middleware instead of adding them progressively.
|
7 months ago |
TheoryOfNekomata
|
13e76c0c9b
|
Small fixes
Improve matching of content type and charset in content type header.
|
7 months ago |
TheoryOfNekomata
|
52af811619
|
Update data source
Isolate data source from the rest of the backend code.
|
7 months ago |
TheoryOfNekomata
|
3320c11f64
|
Organize exports
Properly define exports.
|
7 months ago |
TheoryOfNekomata
|
8237b750c1
|
Minor refactor
Put http logic into their own directory.
|
7 months ago |
TheoryOfNekomata
|
67b097a026
|
Add decorator system
Implement decorator system with requests.
|
7 months ago |
TheoryOfNekomata
|
48c0eb40df
|
Update content negotiation headers
Simplify data for language messages.
|
7 months ago |
TheoryOfNekomata
|
65d2cebd33
|
Streamline backend server
Ensure responses have localizable messages.
|
7 months ago |
TheoryOfNekomata
|
a0e5c45db3
|
Fix stream errors
Trying to customize request objects trigger typescript errors.
|
7 months ago |
TheoryOfNekomata
|
51e6874c37
|
Update types
Remove inflection dependency.
|
7 months ago |
TheoryOfNekomata
|
d94f7e4c44
|
Major refactor of codebase
Organize code even further to improve extensibility.
|
7 months ago |
TheoryOfNekomata
|
c6dd337e50
|
Update content negotiation setup
Use more compact data structures for content negoatiation.
|
8 months ago |
TheoryOfNekomata
|
b36167026d
|
Refactor codebase
Organize code into certain file structure.
|
8 months ago |
TheoryOfNekomata
|
3942b1efca
|
Add type safety, provide granular error handling
Provide utility types for resource schema validation.
Also handle each step for POST and PUT handlers.
|
8 months ago |
TheoryOfNekomata
|
e6e61cb22e
|
Fix emplace logic
Properly return data updated from data source.
|
8 months ago |
TheoryOfNekomata
|
83069a3e4a
|
Refactor codebase
Respect content negotiation.
|
8 months ago |
TheoryOfNekomata
|
6e7230adc4
|
Add tests
Ensure requests are properly handled.
|
8 months ago |
TheoryOfNekomata
|
f5c7669d7d
|
Add revoke factory methods
Allow resources to revoke permissions through the revokeXXXXX() methods.
|
8 months ago |
TheoryOfNekomata
|
aefac7be03
|
Implement resource permissions
Set permissions per resource.
|
8 months ago |
TheoryOfNekomata
|
0ee4d502cc
|
Add content negotiation utilities
Add content negotiation for encodings.
|
8 months ago |
TheoryOfNekomata
|
55053160ee
|
Add examples directory
Include examples for running the package.
|
8 months ago |
TheoryOfNekomata
|
284a5cd3bf
|
Add error handling
Check if service can initialize data source before making requests.
|
8 months ago |
TheoryOfNekomata
|
7f231ffc1d
|
Fix data source method invocation
Properly initialize data source before making use in POST and PUT
endpoints.
|
8 months ago |
TheoryOfNekomata
|
4eeb92741c
|
Fix schema type checking
Add type parameter for custom schema validation.
|
8 months ago |
TheoryOfNekomata
|
082f29215b
|
Implement all resource endpoints
Complete implementation of PUT, PATCH, and DELETE.
|
8 months ago |
TheoryOfNekomata
|
0806892377
|
Implement delete
Add delete endpoint.
|
8 months ago |
TheoryOfNekomata
|
41384883ad
|
Refactor codebase
Put each function to their appropriate files.
|
8 months ago |
TheoryOfNekomata
|
2e296e7c15
|
Improve type safety
Allow resource schemata to be run via valibot's Output.
|
8 months ago |
TheoryOfNekomata
|
785c4e03d8
|
Improve error handling
Add all validation errors.
|
8 months ago |