diff --git a/package.json b/package.json index 1d75d74..f99df5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cardboard.js", - "version": "1.0.2", + "version": "1.0.3", "description": "JS/TS Wrapper for the CardBoard API", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/types.ts b/src/types.ts index d4cdd5f..1653943 100644 --- a/src/types.ts +++ b/src/types.ts @@ -9,13 +9,13 @@ export interface IGetToken { export interface GuildedUser { id: string name: string - subdomain: string - aliases: Alias[] - avatar: string - banner: string - userStatus: UserStatus + subdomain?: string + aliases?: Alias[] + avatar?: string + banner?: string + userStatus?: UserStatus moderationStatus: any - aboutInfo: AboutInfo + aboutInfo?: AboutInfo userTransientStatus: any } @@ -34,9 +34,9 @@ export interface Alias { } export interface UserStatus { - content: Content - customReactionId: number - customReaction: CustomReaction + content?: Content + customReactionId?: number + customReaction?: CustomReaction } export interface Content { @@ -82,6 +82,6 @@ export interface CustomReaction { } export interface AboutInfo { - bio: string - tagLine: string + bio?: string + tagLine?: string }