Commit graph

104 commits

Author SHA1 Message Date
Kiana Sheibani 5d0fbcd107
Update documentation 2023-09-23 03:37:22 -04:00
Kiana Sheibani dd4f0838ab
Move CLI crate to root of workspace
Somehow I missed that this was a thing you could do? It's a much
cleaner organization, and it makes it so that you don't have to
explicitly specify the crate to build.
2023-09-23 03:01:36 -04:00
Kiana Sheibani 2c6587aca1
Implement glue code between queries and sqlite 2023-09-23 02:39:29 -04:00
Kiana Sheibani d30dfb5372
Rework dataset functions to construct file 2023-09-23 02:38:49 -04:00
Kiana Sheibani 651c339ced
Write score calculation code 2023-09-23 02:36:28 -04:00
Kiana Sheibani 847547c248
Rework queries to be more convenient 2023-09-23 02:35:24 -04:00
Kiana Sheibani 6ce463b529
Add player names to tournament query 2023-09-23 00:11:53 -04:00
Kiana Sheibani fe4f82daeb
Rename query response datatypes 2023-09-02 23:25:17 -04:00
Kiana Sheibani 326da19523
Make player name optional 2023-09-02 21:27:21 -04:00
Kiana Sheibani 98f140afff
Remove generic variable type from QueryUnwrap trait 2023-09-02 21:22:29 -04:00
Kiana Sheibani 9d5ff8f125
Write player info query 2023-09-02 20:46:23 -04:00
Kiana Sheibani abd9f947ab
Hide implementation details of query 2023-09-02 19:48:47 -04:00
Kiana Sheibani 6287c325ef
Throw out sets containing invalid players
The previous code would keep these sets, but filter out the
invalid players. This has been changed to discard the set entirely.
2023-09-02 18:55:10 -04:00
Kiana Sheibani 1d870362b5
Generalize API request to handle teams of any size 2023-09-02 03:15:38 -04:00
Kiana Sheibani 38e7b4a018
Simplify API code using cynic flatten 2023-09-02 02:05:45 -04:00
Kiana Sheibani 66c6155a53
Get rid of generic ID scalar type 2023-09-02 01:56:14 -04:00
Kiana Sheibani 003fde0f1e
Move auth key function to query module 2023-09-02 01:47:52 -04:00
Kiana Sheibani ce03cbcd2a
Workaround bug in server side
It took me SO LONG to figure out what the issue is...
2023-09-02 01:41:44 -04:00
Kiana Sheibani badcec976a
Switch from surf to reqwest-blocking
Reqwest seems to be more popular, and a non-async API would simplify the
code without losing too much.
2023-09-02 01:36:28 -04:00
Kiana Sheibani fa96725968
Write TournamentSets query test code 2023-08-28 00:57:20 -04:00
Kiana Sheibani 53cde72ede
Lightly refactor query code 2023-08-27 16:44:18 -04:00
Kiana Sheibani 07284bef06
Add tournament query 2023-08-27 16:18:22 -04:00
Kiana Sheibani 589277bb34
Rework query infrastructure 2023-08-27 16:18:03 -04:00
Kiana Sheibani 7751829bd5
Add ID wrapper types 2023-08-27 05:33:03 -04:00
Kiana Sheibani c3a42da1d2
Add datasets module 2023-08-27 05:26:11 -04:00
Kiana Sheibani 6eedd7cd4e
Fix ggelo-deps name 2023-08-27 05:25:45 -04:00
Kiana Sheibani 050ae2facf
Add sqlite dependency 2023-08-27 05:05:49 -04:00
Kiana Sheibani d5c3a7685f
Create automatic query response unwrapping trait 2023-08-27 04:32:55 -04:00
Kiana Sheibani 349d63946c
Switch to using rust-overlay
I need to enable nightly features, so this will let me do that.
2023-08-27 04:30:45 -04:00
Kiana Sheibani edcef12c2f
Generalize query running function 2023-08-27 03:52:38 -04:00
Kiana Sheibani 17c139f694
Fix ID bug 2023-08-27 03:11:23 -04:00
Kiana Sheibani 99217eedb6
Write basic API call 2023-08-27 03:02:18 -04:00
Kiana Sheibani 303f955de4
Upgrade flake build process
The previous build process was MASSIVELY inefficient in multiple
ways. This is a massive improvement.
2023-08-27 01:46:20 -04:00
Kiana Sheibani 41475046ed
Update README.md 2023-08-27 00:19:07 -04:00
Kiana Sheibani 4f1b7f0e14
Fix visibility of schema 2023-08-26 23:48:23 -04:00
Kiana Sheibani a1e23b453d
Write videogame search query 2023-08-26 23:48:13 -04:00
Kiana Sheibani 5fdc8cb50e
Write code to get auth key 2023-08-26 23:47:23 -04:00
Kiana Sheibani 1e5bdd9e8c
Fix shell environment
My previous devshell didn't include rustc, which caused the LSP to
not work properly.
2023-08-26 23:45:09 -04:00
Kiana Sheibani e88066885e
Fix executable name
Cargo typically forces the executable name to be identical to the name
of the crate, which in this case is "cli". These config lines overwrite
that behavior.
2023-08-26 17:44:24 -04:00
Kiana Sheibani 19abce3b7a
Add nix build result to gitignore 2023-08-26 17:44:15 -04:00
Kiana Sheibani 309ac175c3
Switch to using crane 2023-08-26 17:44:04 -04:00
Kiana Sheibani 654efe2b6f
Basic schema import code 2023-08-26 17:43:01 -04:00
Kiana Sheibani 4dc2975d03
Add OpenSSL dependency to flake 2023-08-26 16:46:22 -04:00
Kiana Sheibani 298a8a5653
Change "scheme" to "schema"
Apparently I misread the GraphQL docs...
2023-08-26 16:25:11 -04:00
Kiana Sheibani 5011514a27
Update gitignore 2023-08-26 03:37:52 -04:00
Kiana Sheibani 44c21d95ae
Basic package structure 2023-08-26 03:37:24 -04:00
Kiana Sheibani 1987cdaaf8
Add gitignore 2023-08-26 02:07:40 -04:00
Kiana Sheibani c5f7b976a7
Reword README.md 2023-08-25 23:16:28 -04:00
Kiana Sheibani 2929e19b3c
Revert README.md 2023-08-25 23:14:59 -04:00
Kiana Sheibani 8d7481aac5
Fix GFM note syntax 2023-08-25 23:14:34 -04:00