From fed05e697ae1fd365ad56e57188daff8ea8fd01e Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 24 Mar 2026 18:14:21 +0800 Subject: [PATCH] add PokemonGo Card Definition changes [boxel-content-hash:86837fb4e26d] --- .../2118bae0-6327-4e96-a9c6-e6586c642206.json | 64 +++++++++++++++++++ .../2a112f05-73b3-4d8a-a18a-8fe8b88ffaa4.json | 19 ++++++ .../383eea68-1c6c-4551-9e0c-8c24bbb77e6d.json | 40 ++++++++++++ pokemon-go.gts | 5 ++ 4 files changed, 128 insertions(+) create mode 100644 CardListing/2118bae0-6327-4e96-a9c6-e6586c642206.json create mode 100644 PokemonGo/2a112f05-73b3-4d8a-a18a-8fe8b88ffaa4.json create mode 100644 Spec/383eea68-1c6c-4551-9e0c-8c24bbb77e6d.json create mode 100644 pokemon-go.gts diff --git a/CardListing/2118bae0-6327-4e96-a9c6-e6586c642206.json b/CardListing/2118bae0-6327-4e96-a9c6-e6586c642206.json new file mode 100644 index 0000000..864455e --- /dev/null +++ b/CardListing/2118bae0-6327-4e96-a9c6-e6586c642206.json @@ -0,0 +1,64 @@ +{ + "data": { + "meta": { + "adoptsFrom": { + "name": "CardListing", + "module": "http://localhost:4201/catalog/catalog-app/listing/listing" + } + }, + "type": "card", + "attributes": { + "name": "PokemonGo Card Definition", + "images": [], + "summary": "The PokemonGo catalog listing defines a card component intended for use within the Cardstack framework. Its primary purpose is to serve as a designated card type related to the Pokémon GO theme, providing a structured template or interface for displaying Pokémon GO related content within applications built on Cardstack. The definition primarily establishes the card's identity and categorization without specifying visual or functional implementation details.", + "cardInfo": { + "name": null, + "notes": null, + "summary": null, + "cardThumbnailURL": null + } + }, + "relationships": { + "tags": { + "links": { + "self": null + } + }, + "skills": { + "links": { + "self": null + } + }, + "license": { + "links": { + "self": null + } + }, + "specs.0": { + "links": { + "self": "../Spec/383eea68-1c6c-4551-9e0c-8c24bbb77e6d" + } + }, + "publisher": { + "links": { + "self": null + } + }, + "categories": { + "links": { + "self": null + } + }, + "examples.0": { + "links": { + "self": "../PokemonGo/2a112f05-73b3-4d8a-a18a-8fe8b88ffaa4" + } + }, + "cardInfo.theme": { + "links": { + "self": null + } + } + } + } +} \ No newline at end of file diff --git a/PokemonGo/2a112f05-73b3-4d8a-a18a-8fe8b88ffaa4.json b/PokemonGo/2a112f05-73b3-4d8a-a18a-8fe8b88ffaa4.json new file mode 100644 index 0000000..7398074 --- /dev/null +++ b/PokemonGo/2a112f05-73b3-4d8a-a18a-8fe8b88ffaa4.json @@ -0,0 +1,19 @@ +{ + "data": { + "type": "card", + "attributes": { + "cardInfo": { + "name": null, + "summary": null, + "cardThumbnailURL": null, + "notes": null + } + }, + "meta": { + "adoptsFrom": { + "module": "../pokemon-go", + "name": "PokemonGo" + } + } + } +} \ No newline at end of file diff --git a/Spec/383eea68-1c6c-4551-9e0c-8c24bbb77e6d.json b/Spec/383eea68-1c6c-4551-9e0c-8c24bbb77e6d.json new file mode 100644 index 0000000..404dcb1 --- /dev/null +++ b/Spec/383eea68-1c6c-4551-9e0c-8c24bbb77e6d.json @@ -0,0 +1,40 @@ +{ + "data": { + "type": "card", + "attributes": { + "readMe": null, + "ref": { + "module": "../pokemon-go", + "name": "PokemonGo" + }, + "specType": "card", + "containedExamples": [], + "cardTitle": "pokemon-go", + "cardDescription": null, + "cardInfo": { + "name": null, + "summary": null, + "cardThumbnailURL": null, + "notes": null + } + }, + "relationships": { + "linkedExamples": { + "links": { + "self": null + } + }, + "cardInfo.theme": { + "links": { + "self": null + } + } + }, + "meta": { + "adoptsFrom": { + "module": "https://cardstack.com/base/spec", + "name": "Spec" + } + } + } +} \ No newline at end of file diff --git a/pokemon-go.gts b/pokemon-go.gts new file mode 100644 index 0000000..fc7d047 --- /dev/null +++ b/pokemon-go.gts @@ -0,0 +1,5 @@ +import { CardDef } from 'https://cardstack.com/base/card-api'; +import { Component } from 'https://cardstack.com/base/card-api'; +export class PokemonGo extends CardDef { + static displayName = "pokemon-go"; +} \ No newline at end of file