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/04/24 21:57:06 UTC

[trafficcontrol-trafficops-types] 03/06: Missed some props

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

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

commit 06404964d1c615ee245e26bb67e4a7584f4a3c87
Author: shamrickus <sh...@gmail.com>
AuthorDate: Tue Apr 18 15:06:09 2023 -0600

    Missed some props
---
 src/server.ts | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/server.ts b/src/server.ts
index de53001..e133535 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -208,7 +208,7 @@ export interface ResponseServer {
 	 */
 	physLocationId: number;
 	/** The Profile used by the Server. */
-	profile: string;
+	profile: string | null;
 	/**
 	 * A description of the Profile used by the Server.
 	 *
@@ -216,7 +216,7 @@ export interface ResponseServer {
 	 * Profile description entirely, as it's trivially deduced from Profile
 	 * identity.
 	 */
-	profileDesc: string;
+	profileDesc: string | null;
 	/**
 	 * An integral, unique identifier for the Profile used by the Server.
 	 *
@@ -518,10 +518,11 @@ export interface ServerDetails  {
 	mgmtIpNetmask: string;
 	offlineReason: string;
 	physLocation: string;
-	profile: string;
+	profile: string | null;
 	/** @deprecated This has been removed from the latest API version. */
-	profileDesc: string;
+	profileDesc: string | null;
 	/** @deprecated this has no known purpose, and you shouldn't invent one. */
+	profileNames: Array<string>;
 	rack: string;
 	routerHostName: string;
 	routerPortName: string;