mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 15:31:28 +00:00
fix: BackupConfiguration argument order
This commit is contained in:
parent
549b149aaf
commit
d02302c7b2
|
@ -15,13 +15,13 @@ class BackupConfiguration:
|
||||||
provider: BackupProvider
|
provider: BackupProvider
|
||||||
# When server is lost, the app should have the key to decrypt backups on a new server
|
# When server is lost, the app should have the key to decrypt backups on a new server
|
||||||
encryption_key: str
|
encryption_key: str
|
||||||
|
# False when repo is not initialized and not ready to be used
|
||||||
|
is_initialized: bool
|
||||||
# If none, autobackups are disabled
|
# If none, autobackups are disabled
|
||||||
autobackup_period: typing.Optional[int] = None
|
autobackup_period: typing.Optional[int] = None
|
||||||
# Bucket name for Backblaze, path for some other providers
|
# Bucket name for Backblaze, path for some other providers
|
||||||
location_name: typing.Optional[str] = None
|
location_name: typing.Optional[str] = None
|
||||||
location_id: typing.Optional[str] = None
|
location_id: typing.Optional[str] = None
|
||||||
# False when repo is not initialized and not ready to be used
|
|
||||||
is_initialized: bool
|
|
||||||
|
|
||||||
|
|
||||||
@strawberry.type
|
@strawberry.type
|
||||||
|
|
Loading…
Reference in a new issue