Use nswag generator

This commit is contained in:
2024-10-02 21:03:18 -03:00
parent 332c0b2fa6
commit b5d1e086f3
25 changed files with 3063 additions and 1456 deletions

View File

@ -1,26 +1,24 @@
// Copyright (c) Tribufu. All Rights Reserved.
// SPDX-License-Identifier: MIT
import packageJson from "../package.json";
/**
* The version of the Tribufu SDK.
* @type {string}
*/
export const TRIBUFU_VERSION = "0.1.13";
export const TRIBUFU_VERSION: string = packageJson.version;
/**
* The default Tribufu API URL.
* @type {string}
*/
export const TRIBUFU_API_URL = "https://api.tribufu.com";
export const TRIBUFU_API_URL: string = "https://api.tribufu.com";
/**
* The default Tribufu WEB URL.
* @type {string}
*/
export const TRIBUFU_WEB_URL = "https://www.tribufu.com";
export const TRIBUFU_WEB_URL: string = "https://www.tribufu.com";
/**
* The default Tribufu CDN URL.
* @type {string}
*/
export const TRIBUFU_CDN_URL = "https://cdn.tribufu.com";
export const TRIBUFU_CDN_URL: string = "https://cdn.tribufu.com";