schema: add HTTP attrs RateLimit, Gzip

This commit is contained in:
leo 2023-05-15 13:54:25 +02:00
parent bd1223a731
commit 0e5761216a
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
3 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,10 @@
{ Schema =
./schema.dhall
sha256:2e7490953649881f93eec24109ef7a93738ab8fab8ccf40c33260af7faf413a5
sha256:c46a2374d9fe7dcbac47491efdffd5ad7972b8941bf3fe3c8bb3c573acbb44c2
? ./schema.dhall
, Schema/validate =
./validate.dhall
sha256:8d309832e89fab8babec5b1fef692f1bd6db5974befe8c4fbdbaac6b4e9c1619
sha256:26227bc39927b56ad15c87fb8dfe58241104ed3d9c66d3b31ae4d954bbd8f9d3
? ./validate.dhall
, Schema/version =
./version.dhall

View File

@ -11,6 +11,8 @@ let Schema =
, TLSCertKeyPath : Text
, HSTSMaxAge : Natural
, ContentSecurityPolicy : Text
, RateLimit : Natural
, Gzip : Natural
}
, AppName : Text
, LiveMode : Bool
@ -37,6 +39,8 @@ let Schema =
, TLSCertKeyPath = ""
, HSTSMaxAge = 0
, ContentSecurityPolicy = ""
, RateLimit = 0
, Gzip = 0
}
, AppName = "pcmt"
, LiveMode = False

View File

@ -5,7 +5,7 @@ let Prelude =
let Schema =
./schema.dhall
sha256:2e7490953649881f93eec24109ef7a93738ab8fab8ccf40c33260af7faf413a5
sha256:c46a2374d9fe7dcbac47491efdffd5ad7972b8941bf3fe3c8bb3c573acbb44c2
? ./schema.dhall
let Schema/validate