@cloudflare/types
Advanced tools
Comparing version 6.21.18 to 6.21.19
@@ -68,4 +68,8 @@ import { eg } from '@cloudflare/util-en-garde'; // | ||
export const LoadBalancerRuleOverrides = eg.object({ | ||
session_affinity: eg.union([eg.literal('none'), eg.literal('cookie'), eg.literal('ip_cookie')]).optional, | ||
session_affinity: eg.union([eg.literal('none'), eg.literal('cookie'), eg.literal('ip_cookie'), eg.literal('header')]).optional, | ||
session_affinity_ttl: eg.number.optional, | ||
session_affinity_attributes: eg.object({ | ||
headers: eg.array(eg.string).optional, | ||
require_all_headers: eg.boolean.optional | ||
}).optional, | ||
ttl: eg.number.optional, | ||
@@ -121,3 +125,3 @@ steering_policy: SteeringPolicy, | ||
proxied: eg.boolean, | ||
session_affinity: eg.union([eg.literal('none'), eg.literal('cookie'), eg.literal('ip_cookie')]).optional, | ||
session_affinity: eg.union([eg.literal('none'), eg.literal('cookie'), eg.literal('ip_cookie'), eg.literal('header')]).optional, | ||
session_affinity_attributes: eg.object({ | ||
@@ -127,3 +131,5 @@ samesite: eg.string, | ||
drain_duration: eg.number.optional, | ||
zero_downtime_failover: eg.union([eg.literal('none'), eg.literal('temporary'), eg.literal('sticky')]).optional | ||
zero_downtime_failover: eg.union([eg.literal('none'), eg.literal('temporary'), eg.literal('sticky')]).optional, | ||
headers: eg.array(eg.string).optional, | ||
require_all_headers: eg.boolean.optional | ||
}), | ||
@@ -130,0 +136,0 @@ session_affinity_ttl: eg.number.optional, |
@@ -86,4 +86,8 @@ "use strict"; | ||
var LoadBalancerRuleOverrides = _utilEnGarde.eg.object({ | ||
session_affinity: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('none'), _utilEnGarde.eg.literal('cookie'), _utilEnGarde.eg.literal('ip_cookie')]).optional, | ||
session_affinity: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('none'), _utilEnGarde.eg.literal('cookie'), _utilEnGarde.eg.literal('ip_cookie'), _utilEnGarde.eg.literal('header')]).optional, | ||
session_affinity_ttl: _utilEnGarde.eg.number.optional, | ||
session_affinity_attributes: _utilEnGarde.eg.object({ | ||
headers: _utilEnGarde.eg.array(_utilEnGarde.eg.string).optional, | ||
require_all_headers: _utilEnGarde.eg.boolean.optional | ||
}).optional, | ||
ttl: _utilEnGarde.eg.number.optional, | ||
@@ -145,3 +149,3 @@ steering_policy: SteeringPolicy, | ||
proxied: _utilEnGarde.eg.boolean, | ||
session_affinity: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('none'), _utilEnGarde.eg.literal('cookie'), _utilEnGarde.eg.literal('ip_cookie')]).optional, | ||
session_affinity: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('none'), _utilEnGarde.eg.literal('cookie'), _utilEnGarde.eg.literal('ip_cookie'), _utilEnGarde.eg.literal('header')]).optional, | ||
session_affinity_attributes: _utilEnGarde.eg.object({ | ||
@@ -151,3 +155,5 @@ samesite: _utilEnGarde.eg.string, | ||
drain_duration: _utilEnGarde.eg.number.optional, | ||
zero_downtime_failover: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('none'), _utilEnGarde.eg.literal('temporary'), _utilEnGarde.eg.literal('sticky')]).optional | ||
zero_downtime_failover: _utilEnGarde.eg.union([_utilEnGarde.eg.literal('none'), _utilEnGarde.eg.literal('temporary'), _utilEnGarde.eg.literal('sticky')]).optional, | ||
headers: _utilEnGarde.eg.array(_utilEnGarde.eg.string).optional, | ||
require_all_headers: _utilEnGarde.eg.boolean.optional | ||
}), | ||
@@ -154,0 +160,0 @@ session_affinity_ttl: _utilEnGarde.eg.number.optional, |
{ | ||
"name": "@cloudflare/types", | ||
"description": "Cloudflare API data types and various type helpers.", | ||
"version": "6.21.18", | ||
"version": "6.21.19", | ||
"types": "./dist/index.d.ts", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "e6afbfc6cea3596f54338dae01abc62b0498b5e5" | ||
"gitHead": "201abee30a75fd92d7a8cc241b67513c330674d5" | ||
} |
@@ -104,5 +104,10 @@ import { eg, TypeFromCodec } from '@cloudflare/util-en-garde'; | ||
eg.literal('cookie'), | ||
eg.literal('ip_cookie') | ||
eg.literal('ip_cookie'), | ||
eg.literal('header') | ||
]).optional, | ||
session_affinity_ttl: eg.number.optional, | ||
session_affinity_attributes: eg.object({ | ||
headers: eg.array(eg.string).optional, | ||
require_all_headers: eg.boolean.optional | ||
}).optional, | ||
ttl: eg.number.optional, | ||
@@ -169,3 +174,4 @@ steering_policy: SteeringPolicy, | ||
eg.literal('cookie'), | ||
eg.literal('ip_cookie') | ||
eg.literal('ip_cookie'), | ||
eg.literal('header') | ||
]).optional, | ||
@@ -180,3 +186,5 @@ session_affinity_attributes: eg.object({ | ||
eg.literal('sticky') | ||
]).optional | ||
]).optional, | ||
headers: eg.array(eg.string).optional, | ||
require_all_headers: eg.boolean.optional | ||
}), | ||
@@ -183,0 +191,0 @@ session_affinity_ttl: eg.number.optional, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1440533
17391