This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 3.x
in repository
https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
The following commit(s) were added to refs/heads/3.x by this push:
new 374bc42 Fix incorrect DS types
374bc42 is described below
commit 374bc427c39536e7365e3e9b9e98c2753cd89e82
Author: ocket8888 <[email protected]>
AuthorDate: Fri Jan 27 17:38:16 2023 -0700
Fix incorrect DS types
(cherry picked from commit f65ef14f2c84934ed90d381de628e6cdc18c8650)
---
src/delivery.service.ts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/delivery.service.ts b/src/delivery.service.ts
index 6e2c1d1..9dc457b 100644
--- a/src/delivery.service.ts
+++ b/src/delivery.service.ts
@@ -211,7 +211,7 @@ interface RequestDeliveryServiceBase {
/** An IPv6 address to use for DNS-routed bypass scenarios. */
dnsBypassIp6?: string | null;
/** The TTL of DNS responses served in bypass scenarios. */
- dnsBypassTtl?: string | null;
+ dnsBypassTtl?: number | null;
/** The Delivery Service's DSCP. */
dscp: number;
ecsEnabled?: boolean | null;
@@ -622,19 +622,19 @@ interface ResponseDeliveryServiceBase {
/** A string used to shield the Origin, somehow. */
originShield: string | null;
/** The URL of the Origin server, which I think means nothing for MSO.
*/
- orgServerFqdn: string;
+ orgServerFqdn: string | null;
/** The protocols served by the Delivery Service. */
- protocol: Protocol;
+ protocol: Protocol | null;
/**
* How query strings ought to be handled by cache servers serving
content
* for this Delivery Service.
*/
- qstringIgnore: QStringHandling;
+ qstringIgnore: QStringHandling | null;
/**
* How HTTP Range requests ought to be handled by cache servers serving
* content for this Delivery Service.
*/
- rangeRequestHandling: RangeRequestHandling;
+ rangeRequestHandling: RangeRequestHandling | null;
rangeSliceBlockSize: null | number;
/** Some raw text to be inserted into regex_remap.config. */
regexRemap: string | null;
@@ -654,7 +654,7 @@ interface ResponseDeliveryServiceBase {
* The algorithm used to sign responses from the cache servers for this
* Delivery Service's content.
*/
- signingAlgorithm: "url_sig" | "uri_signing";
+ signingAlgorithm: "url_sig" | "uri_signing" | null;
/** The generation of SSL key used by this Delivery Service. */
sslKeyVersion: number | null;
/** The name of the Tenant to whom this Delivery Service belongs. */