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:05 UTC

[trafficcontrol-trafficops-types] 02/06: Add layered profile support

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 c53a2ef977d22be6750e18fb01b2aab1702211f6
Author: shamrickus <sh...@gmail.com>
AuthorDate: Tue Apr 18 10:29:40 2023 -0600

    Add layered profile support
---
 src/server.ts | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/server.ts b/src/server.ts
index dc2264e..de53001 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -223,7 +223,11 @@ export interface ResponseServer {
 	 * @deprecated In the latest API version, a server's Profile is identified
 	 * only by name, not unique, integral identifier.
 	 */
-	profileId: number;
+	profileId: number | null;
+	/**
+	 * An _ordered_ array of strings representing the Profiles used by this server
+	 */
+	profileNames: Array<string>;
 	/** Whether or not revalidations are pending for this Server. */
 	revalPending: boolean;
 	/**
@@ -331,7 +335,11 @@ export interface RequestServer {
 	 * @deprecated In the latest API version, a server's Profile is identified
 	 * only by name, not unique, integral identifier.
 	 */
-	profileId: number;
+	profileId: number | null;
+	/**
+	 * An _ordered_ array of strings representing the Profiles used by this server
+	 */
+	profileNames: Array<string>;
 	/**
 	 * Legacy field with no purpose.
 	 *