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 0509853c815394495a9f8cc67bd67486a5eded37 Author: ocket8888 <[email protected]> AuthorDate: Wed Oct 12 22:48:47 2022 -0600 Fix incorrect typing on gid/uid current user (request) fields --- package-lock.json | 4 ++-- package.json | 2 +- src/user.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c380a8..2fa99b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "trafficops-types", - "version": "3.1.0-beta-25", + "version": "3.1.0-beta-26", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "trafficops-types", - "version": "3.1.0-beta-25", + "version": "3.1.0-beta-26", "license": "GPL-3.0-or-later", "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.0.0", diff --git a/package.json b/package.json index 632fa43..913de8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trafficops-types", - "version": "3.1.0-beta-25", + "version": "3.1.0-beta-26", "description": "A library for dealing with Apache Traffic Control objects", "main": "dist/index.js", "scripts": { diff --git a/src/user.ts b/src/user.ts index b69acc8..af0bfef 100644 --- a/src/user.ts +++ b/src/user.ts @@ -225,7 +225,7 @@ export interface RequestCurrentUser { * @deprecated This serves no purpose and is subject to removal in the * future. */ - gid?: string | null; + gid?: number | null; localUser?: boolean | null; newUser?: boolean | null; phoneNumber?: string | null; @@ -249,7 +249,7 @@ export interface RequestCurrentUser { * @deprecated This serves no purpose and is subject to removal in the * future. */ - uid?: string | null; + uid?: number | null; /** * Unlike in virtually every other context, this is allowed to be `null` or * undefined. In that case, it has the meaning "leave this unchanged" rather
