Inex Code
b78ee5fcca
refactor(api): Group mutations
...
I've learned that there is no problem in grouping mutations like we do with queries.
This is a big mistake from my side, now we have legacy not so conveniently placed endpoints.
I've grouped all mutations, left the copies of old ones flattened in the root for backwards compatibility.
We will migrate to mutation groups on client side, and backups now only use grouped mutations.
Tests are updated.
2023-07-17 16:05:00 +03:00
Houkime
53dfb38284
test(backups): ensure asking to reload snaps does not explode the server
2023-07-17 16:05:00 +03:00
Houkime
ecf72948b1
test(backups): setting autobackup period
2023-07-17 16:05:00 +03:00
Houkime
9f096ed2c0
feature(backups): actually dealing with situation when the provider is not configured
2023-07-17 16:05:00 +03:00
Houkime
806fb3c84b
feature(backups): resetting json config too
2023-07-17 16:05:00 +03:00
Houkime
5d95c1b44e
test(backups): preliminary test of repo reset
2023-07-17 16:05:00 +03:00
Houkime
1c96743c5d
test(backups): test reinitting repository
2023-07-17 16:05:00 +03:00
Houkime
a48856c9ad
fix(backups): non-nullable service when backing up
2023-07-17 16:05:00 +03:00
Houkime
a8f72201a7
test(backups): test restore
2023-07-17 16:05:00 +03:00
Houkime
cf2dc6795a
test(backups): use get_data
2023-07-17 16:05:00 +03:00
Houkime
a486825a4f
test(backups): check snapshots getting created
2023-07-17 16:05:00 +03:00
Houkime
eac561c57c
test(backups): test dummy service compliance
2023-07-17 16:05:00 +03:00
Houkime
de1cbcb1ca
test(backups): display errors from api
2023-07-17 16:05:00 +03:00
Houkime
cfda6b0810
fix(backups): shorten snapshot query signature
2023-07-17 16:05:00 +03:00
Houkime
09c79b3477
test(backups): snapshot query
2023-07-17 16:05:00 +03:00
Houkime
f77556b60e
test(backups): actual testfile
2023-07-17 16:05:00 +03:00