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/05 19:08:49 UTC

[trafficcontrol-trafficops-types] branch 3.x updated: Fix incorrect property names on Cache Groups

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 1015803  Fix incorrect property names on Cache Groups
1015803 is described below

commit 10158038a6b8a8cea470cfbea9bcd1f73e45fd98
Author: ocket8888 <oc...@apache.org>
AuthorDate: Thu Jan 5 12:08:41 2023 -0700

    Fix incorrect property names on Cache Groups
---
 package-lock.json  | 16 ++++++++--------
 package.json       |  2 +-
 src/cache.group.ts | 10 +++++-----
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 21e0e0a..d77f4dd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
 	"name": "trafficops-types",
-	"version": "3.1.2",
+	"version": "3.1.3",
 	"lockfileVersion": 2,
 	"requires": true,
 	"packages": {
 		"": {
 			"name": "trafficops-types",
-			"version": "3.1.2",
+			"version": "3.1.3",
 			"license": "Apache-2.0",
 			"devDependencies": {
 				"@typescript-eslint/eslint-plugin": "^5.0.0",
@@ -1816,9 +1816,9 @@
 			"dev": true
 		},
 		"node_modules/json5": {
-			"version": "1.0.1",
-			"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
-			"integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+			"version": "1.0.2",
+			"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
+			"integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
 			"dev": true,
 			"dependencies": {
 				"minimist": "^1.2.0"
@@ -4059,9 +4059,9 @@
 			"dev": true
 		},
 		"json5": {
-			"version": "1.0.1",
-			"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
-			"integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+			"version": "1.0.2",
+			"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
+			"integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
 			"dev": true,
 			"requires": {
 				"minimist": "^1.2.0"
diff --git a/package.json b/package.json
index 8fbfd33..0b052b8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "trafficops-types",
-	"version": "3.1.2",
+	"version": "3.1.3",
 	"description": "A library for dealing with Apache Traffic Control objects",
 	"main": "dist/index.js",
 	"scripts": {
diff --git a/src/cache.group.ts b/src/cache.group.ts
index 3cec5ac..0fdbc19 100644
--- a/src/cache.group.ts
+++ b/src/cache.group.ts
@@ -93,7 +93,7 @@ export interface RequestCacheGroup {
 	longitude?: number | null;
 	name: string;
 	parentCacheGroupId?: number | null;
-	secondaryParentId?: number | null;
+	secondaryParentCacheGroupId?: number | null;
 	shortName: string;
 	typeId: number;
 }
@@ -137,8 +137,8 @@ interface ResponseCacheGroupWithoutParent extends ResponseCacheGroupBase {
  * be non-null.
  */
 interface ResponseCacheGroupWithSecondaryParent extends ResponseCacheGroupBase {
-	secondaryParentId: number;
-	secondaryParentName: string;
+	secondaryParentCacheGroupId: number;
+	secondaryParentCacheGroupName: string;
 }
 
 /**
@@ -146,8 +146,8 @@ interface ResponseCacheGroupWithSecondaryParent extends ResponseCacheGroupBase {
  * to be null.
  */
 interface ResponseCacheGroupWithoutSecondaryParent extends ResponseCacheGroupBase {
-	secondaryParentId: null;
-	secondaryParentName: null;
+	secondaryParentCacheGroupId: null;
+	secondaryParentCacheGroupName: null;
 }
 
 /** A Cache Group with a parent but no secondary parent. */