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/06 17:35:09 UTC

[trafficcontrol-trafficops-types] branch 3.x updated: Fix typo in CG property name

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 63f9728  Fix typo in CG property name
63f9728 is described below

commit 63f97281f6ffe4cacf20f360adcfd5861509ab72
Author: ocket8888 <oc...@apache.org>
AuthorDate: Fri Jan 6 10:34:58 2023 -0700

    Fix typo in CG property name
---
 package-lock.json  |  4 ++--
 package.json       |  2 +-
 src/cache.group.ts | 20 ++++++++++----------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index d77f4dd..e4feaf3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
 	"name": "trafficops-types",
-	"version": "3.1.3",
+	"version": "3.1.4",
 	"lockfileVersion": 2,
 	"requires": true,
 	"packages": {
 		"": {
 			"name": "trafficops-types",
-			"version": "3.1.3",
+			"version": "3.1.4",
 			"license": "Apache-2.0",
 			"devDependencies": {
 				"@typescript-eslint/eslint-plugin": "^5.0.0",
diff --git a/package.json b/package.json
index 0b052b8..aea97a9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "trafficops-types",
-	"version": "3.1.3",
+	"version": "3.1.4",
 	"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 0fdbc19..bd30fbc 100644
--- a/src/cache.group.ts
+++ b/src/cache.group.ts
@@ -92,8 +92,8 @@ export interface RequestCacheGroup {
 	 */
 	longitude?: number | null;
 	name: string;
-	parentCacheGroupId?: number | null;
-	secondaryParentCacheGroupId?: number | null;
+	parentCachegroupId?: number | null;
+	secondaryParentCachegroupId?: number | null;
 	shortName: string;
 	typeId: number;
 }
@@ -120,16 +120,16 @@ interface ResponseCacheGroupBase {
  * non-null.
  */
 interface ResponseCacheGroupWithParent extends ResponseCacheGroupBase {
-	parentCacheGroupId: number;
-	parentCacheGroupName: string;
+	parentCachegroupId: number;
+	parentCachegroupName: string;
 }
 
 /**
  * A Cache Group with no parent. All related fields are guaranteed to be null.
  */
 interface ResponseCacheGroupWithoutParent extends ResponseCacheGroupBase {
-	parentCacheGroupId: null;
-	parentCacheGroupName: null;
+	parentCachegroupId: null;
+	parentCachegroupName: null;
 }
 
 /**
@@ -137,8 +137,8 @@ interface ResponseCacheGroupWithoutParent extends ResponseCacheGroupBase {
  * be non-null.
  */
 interface ResponseCacheGroupWithSecondaryParent extends ResponseCacheGroupBase {
-	secondaryParentCacheGroupId: number;
-	secondaryParentCacheGroupName: string;
+	secondaryParentCachegroupId: number;
+	secondaryParentCachegroupName: string;
 }
 
 /**
@@ -146,8 +146,8 @@ interface ResponseCacheGroupWithSecondaryParent extends ResponseCacheGroupBase {
  * to be null.
  */
 interface ResponseCacheGroupWithoutSecondaryParent extends ResponseCacheGroupBase {
-	secondaryParentCacheGroupId: null;
-	secondaryParentCacheGroupName: null;
+	secondaryParentCachegroupId: null;
+	secondaryParentCachegroupName: null;
 }
 
 /** A Cache Group with a parent but no secondary parent. */