You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2023/01/28 00:38:23 UTC

[trafficcontrol-trafficops-types] branch master updated: Fix incorrect DS types

This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git


The following commit(s) were added to refs/heads/master by this push:
     new f65ef14  Fix incorrect DS types
f65ef14 is described below

commit f65ef14f2c84934ed90d381de628e6cdc18c8650
Author: ocket8888 <oc...@apache.org>
AuthorDate: Fri Jan 27 17:38:16 2023 -0700

    Fix incorrect DS types
---
 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 bb40cb9..89111df 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;
@@ -624,19 +624,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;
@@ -656,7 +656,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. */