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/30 16:15:46 UTC

[trafficcontrol-trafficops-types] branch master updated (74d5a01 -> 5e4753e)

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

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


    from 74d5a01  Version bump
     new 60952f6  Fix inconsistent server interface typing
     new 5e4753e  Version bump

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 package-lock.json | 4 ++--
 package.json      | 2 +-
 src/server.ts     | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)


[trafficcontrol-trafficops-types] 01/02: Fix inconsistent server interface typing

Posted by oc...@apache.org.
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

commit 60952f644b7933a1ce28447b7cd18c07d9809ae7
Author: ocket8888 <oc...@apache.org>
AuthorDate: Mon Jan 30 09:15:04 2023 -0700

    Fix inconsistent server interface typing
---
 src/server.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/server.ts b/src/server.ts
index f1ca9c1..28f5420 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -308,7 +308,7 @@ export interface RequestServer {
 	/** The Server's ILO interface's root user's name. */
 	iloUsername?: string | null;
 	/** The Server's network interfaces. */
-	interfaces: [Interface, ...Interface[]];
+	interfaces: Array<Interface>;
 	/** The IP address of the server's management interface. */
 	mgmtIpAddress?: string | null;
 	/** The IP address of the gateway to the Server's management interface. */
@@ -479,7 +479,7 @@ export interface ResponseServercheckExtension {
 export type ServercheckExtension = RequestServercheckExtension | ResponseServercheckExtension;
 
 /**
- * @deprecated This gives no useful information that an {@link Server} doesn't,
+ * @deprecated This gives no useful information that a {@link Server} doesn't,
  * so there's no reason to use it.
  */
 export interface ServerDetails  {


[trafficcontrol-trafficops-types] 02/02: Version bump

Posted by oc...@apache.org.
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

commit 5e4753e551005a4d1d0f90ed541f16a0b21c2387
Author: ocket8888 <oc...@apache.org>
AuthorDate: Mon Jan 30 09:15:37 2023 -0700

    Version bump
---
 package-lock.json | 4 ++--
 package.json      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index b1f4370..10c60f7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
 	"name": "trafficops-types",
-	"version": "4.0.4",
+	"version": "4.0.5",
 	"lockfileVersion": 2,
 	"requires": true,
 	"packages": {
 		"": {
 			"name": "trafficops-types",
-			"version": "4.0.4",
+			"version": "4.0.5",
 			"license": "Apache-2.0",
 			"devDependencies": {
 				"@typescript-eslint/eslint-plugin": "^5.0.0",
diff --git a/package.json b/package.json
index 9a1447b..bf40903 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "trafficops-types",
-	"version": "4.0.4",
+	"version": "4.0.5",
 	"description": "A library for dealing with Apache Traffic Control objects",
 	"main": "dist/index.js",
 	"scripts": {