Mark PokemonTCGAPI as deprecated

This commit is contained in:
SirBlob committed 2026-11-01 01:38:51 -05:00
1 parent 5d7e9857ca
commit c21160711b
3 files changed
+11 -2

No files matched your search

+1
View File
@@ -10,6 +10,7 @@
"name": "PokemonTCGAPI", "name": "PokemonTCGAPI",
"description": "Unofficial NPM package wrapper for the PokemonTCG API.", "description": "Unofficial NPM package wrapper for the PokemonTCG API.",
"tags": ["TypeScript", "Node.js"], "tags": ["TypeScript", "Node.js"],
"deprecated": true,
"links": { "package": "https://www.npmjs.com/package/@bosstop/pokemontcgapi", "code": "https://github.com/SirBlobby/PokemonTCGAPI" } "links": { "package": "https://www.npmjs.com/package/@bosstop/pokemontcgapi", "code": "https://github.com/SirBlobby/PokemonTCGAPI" }
}, },
{ {
@@ -42,6 +42,9 @@
{#if project.featured} {#if project.featured}
<span class="badge featured">Featured</span> <span class="badge featured">Featured</span>
{/if} {/if}
{#if project.deprecated}
<span class="badge deprecated">Deprecated</span>
{/if}
{#if project.version} {#if project.version}
<span class="badge version">v{project.version}</span> <span class="badge version">v{project.version}</span>
{/if} {/if}
@@ -255,6 +258,10 @@
background: var(--orange); background: var(--orange);
} }
.deprecated {
background: var(--red);
}
.version { .version {
background: var(--blue); background: var(--blue);
} }
+3 -2
View File
@@ -81,6 +81,7 @@ export interface Project {
links: ProjectLinks; links: ProjectLinks;
image?: string; image?: string;
featured?: boolean; featured?: boolean;
deprecated?: boolean;
version?: string; version?: string;
organization?: string; organization?: string;
period?: string; period?: string;
@@ -137,7 +138,6 @@ export interface RatedTitle {
url: string; url: string;
} }
export interface AboutContent {
export interface LabeledValue { export interface LabeledValue {
label: string; label: string;
value: string; value: string;
@@ -152,10 +152,11 @@ export interface DesktopSetup {
dotfilesUrl: string; dotfilesUrl: string;
} }
export interface AboutContent {
anilistUsername?: string; anilistUsername?: string;
lastfmUsername?: string; lastfmUsername?: string;
hobbies: Hobby[];
setup?: DesktopSetup; setup?: DesktopSetup;
hobbies: Hobby[];
games: Game[]; games: Game[];
shows: RatedTitle[]; shows: RatedTitle[];
movies: RatedTitle[]; movies: RatedTitle[];