Commit 8e2b2a3
Feature/collection endpoints (#167)
* feat: add create hyperboard endpoint
* feat: add delete hyperboard endpoint
* feat: rename collection to hyperboard in graphql
* feat: add update hyperboard endpoint
* feat: return correct status code and data when updating hyperboard
* fix: remove redundant create collection method
* feat: add count to collections endpoint
* feat: add count to collections endpoint
* feat: use typed data with domain for create/update/delete hyperboard
* feat: update hyperboard and collections for multiple chain ids and admins
* feat: working version of hyperboard calculations in api
* feat: add chain id to signed messages
* fix: filter out null entries for allowlist entries
* feat: add filter by admin id
* feat: add chain id to delete endpoint
* feat: add correct admin flows to create and update hyperboard endpoint
* feat: add chain id to update user endpoint
* feat: add caching support
* fix: pr cleanup
* fix: pr feedback
* fix: pr feedback 2
* fix: pr feedback 2
* feat: add test for verifyAuthSignedData.ts
* fix: pr feedback 3
* feat: use stored chain id for hyperboard to verify message when updating
* feat: fix signatures
* feat: pr feedback
* chore: add some more tests
* feat: fix tests, add error handling in verifyAuthSignedData.ts
---------
Co-authored-by: bitbeckers <[email protected]>1 parent e6730c1 commit 8e2b2a3
File tree
29 files changed
+4778
-457
lines changed- src
- __generated__
- routes
- client
- controllers
- graphql/schemas
- args
- inputs
- resolvers
- typeDefs
- services
- types
- utils
- supabase/migrations
- test/utils
29 files changed
+4778
-457
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 255 | + | |
260 | 256 | | |
261 | 257 | | |
262 | | - | |
| 258 | + | |
263 | 259 | | |
264 | | - | |
265 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
269 | 268 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 269 | | |
290 | 270 | | |
291 | 271 | | |
| |||
404 | 384 | | |
405 | 385 | | |
406 | 386 | | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 387 | | |
413 | 388 | | |
414 | 389 | | |
| |||
421 | 396 | | |
422 | 397 | | |
423 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
424 | 404 | | |
425 | 405 | | |
426 | 406 | | |
| |||
456 | 436 | | |
457 | 437 | | |
458 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
459 | 477 | | |
460 | 478 | | |
461 | 479 | | |
| |||
753 | 771 | | |
754 | 772 | | |
755 | 773 | | |
756 | | - | |
757 | 774 | | |
758 | 775 | | |
| 776 | + | |
759 | 777 | | |
760 | 778 | | |
761 | 779 | | |
| |||
833 | 851 | | |
834 | 852 | | |
835 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
836 | 913 | | |
837 | 914 | | |
838 | 915 | | |
| |||
865 | 942 | | |
866 | 943 | | |
867 | 944 | | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
868 | 948 | | |
869 | 949 | | |
870 | 950 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments