From 6b7525c7b04f6f77d8058dc49ff803e8f51a5e70 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Sat, 17 May 2025 11:44:41 -0300 Subject: [PATCH] Patch v1.0.2 --- package.json | 2 +- src/api/api.nswag | 2 +- src/api/generated.ts | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 956f8ab..23f215f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tribufu", - "version": "1.0.1", + "version": "1.0.2", "description": "Tribufu JS SDK", "repository": "https://github.com/Tribufu/TribufuJs", "author": "Tribufu ", diff --git a/src/api/api.nswag b/src/api/api.nswag index 9898232..1007a90 100644 --- a/src/api/api.nswag +++ b/src/api/api.nswag @@ -4,7 +4,7 @@ "documentGenerator": { "fromDocument": { "json": "", - "url": "https://api.tribufu.com/v1/openapi.json", + "url": "https://api.tribufu.com/openapi.json", "output": null, "newLineBehavior": "Auto" } diff --git a/src/api/generated.ts b/src/api/generated.ts index dd82711..5cfe8f3 100644 --- a/src/api/generated.ts +++ b/src/api/generated.ts @@ -2713,6 +2713,29 @@ export interface Account { updated: string | null; } +export interface Application { + id: string; + name: string | null; + description: string | null; + type: ApplicationType; + organization_id: string | null; + icon_url: string | null; + banner_url: string | null; + capsule_image_url: string | null; + library_image_url: string | null; + parent_id: string | null; + slug: string | null; + visibility: number; + password: string | null; + primary: number; + user_count: number; + achievement_count: number; + badge_count: number | null; + download_count: number; + created: string; + updated: string | null; +} + export enum ApplicationType { Application = "application", Game = "game", @@ -2830,6 +2853,7 @@ export interface Group { export interface GroupGame { group_id: string; application_id: string; + application: Application; stats: any | null; acquired: string; last_used: string | null;