diff --git a/packages/api-client/index.ts b/packages/api-client/index.ts index bd3bb8ed8..239ac3088 100644 --- a/packages/api-client/index.ts +++ b/packages/api-client/index.ts @@ -21,6 +21,7 @@ import { ResetPasswordDto, courseToString, NUPathEnum, + GetMetaInfoResponse, } from "@graduate/common"; import { ClassConstructor, plainToInstance } from "class-transformer"; @@ -103,6 +104,11 @@ class APIClient { getSupportedMajors: (): Promise => this.req("GET", `/majors/supportedMajors`, GetSupportedMajorsResponse), }; + + meta = { + getInfo: (): Promise => + this.req("GET", "/meta/info", GetMetaInfoResponse), + }; } /**