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 817240adb2cb766b5a6d414aa9ccb0207e8ef3f3 Author: ocket8888 <[email protected]> AuthorDate: Wed Jul 6 10:20:16 2022 -0600 Fix missing property of request-context Physical Locations --- package-lock.json | 2 +- package.json | 2 +- src/physical.location.ts | 2 ++ src/server.ts | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a95b5c2..0143b7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "trafficops-types", - "version": "3.1.0-beta-9", + "version": "3.1.0-beta-10", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 7952d9b..7f122c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trafficops-types", - "version": "3.1.0-beta-9", + "version": "3.1.0-beta-10", "description": "A library for dealing with Apache Traffic Control objects", "main": "dist/index.js", "scripts": { diff --git a/src/physical.location.ts b/src/physical.location.ts index fced469..fe9559b 100644 --- a/src/physical.location.ts +++ b/src/physical.location.ts @@ -91,6 +91,8 @@ export interface RequestPhysicalLocation { * Location lies. */ regionId: number; + /** An abbreviation of the name. */ + shortName: string; /** * An abbreviation (usually) of the name of the state or province within * which this Physical Location lies. diff --git a/src/server.ts b/src/server.ts index 48c1e95..f84b9c1 100644 --- a/src/server.ts +++ b/src/server.ts @@ -262,6 +262,9 @@ export interface ResponseServer { xmppPasswd?: string | null; } +/** + * Represents a server of some kind in the context of a request to Traffic Ops. + */ export interface RequestServer { /** * The integral, unique identifier of the Cache Group to which the server
