diff --git a/CardListing/c6bb1837-e4bc-4b29-b928-28b0b7b405f0.json b/CardListing/c6bb1837-e4bc-4b29-b928-28b0b7b405f0.json new file mode 100644 index 0000000..77c8e63 --- /dev/null +++ b/CardListing/c6bb1837-e4bc-4b29-b928-28b0b7b405f0.json @@ -0,0 +1,64 @@ +{ + "data": { + "meta": { + "adoptsFrom": { + "name": "CardListing", + "module": "https://realms-staging.stack.cards/catalog/catalog-app/listing/listing" + } + }, + "type": "card", + "attributes": { + "name": "Digimon", + "images": [], + "summary": "The Digimon is a card definition that serves as a foundational element within the card system. It provides a structured template for creating Digimon-related cards, which can include various app, card, field, skill, or theme components. Its primary purpose is to facilitate the development and rendering of Digimon-themed cards within the application.", + "cardInfo": { + "name": null, + "notes": null, + "summary": null, + "cardThumbnailURL": null + } + }, + "relationships": { + "specs.0": { + "links": { + "self": "../Spec/fbf6c560-43b3-480a-82d0-f19f29e3afc2" + } + }, + "skills": { + "links": { + "self": null + } + }, + "tags.0": { + "links": { + "self": "https://realms-staging.stack.cards/catalog/Tag/51de249c-516a-4c4d-bd88-76e88274c483" + } + }, + "license": { + "links": { + "self": "https://realms-staging.stack.cards/catalog/License/4c5a023b-a72c-4f90-930b-da60a1de5b2d" + } + }, + "examples": { + "links": { + "self": null + } + }, + "publisher": { + "links": { + "self": null + } + }, + "categories.0": { + "links": { + "self": "https://realms-staging.stack.cards/catalog/Category/video-games-interactive" + } + }, + "cardInfo.theme": { + "links": { + "self": null + } + } + } + } +} \ No newline at end of file diff --git a/Spec/fbf6c560-43b3-480a-82d0-f19f29e3afc2.json b/Spec/fbf6c560-43b3-480a-82d0-f19f29e3afc2.json new file mode 100644 index 0000000..8c075dc --- /dev/null +++ b/Spec/fbf6c560-43b3-480a-82d0-f19f29e3afc2.json @@ -0,0 +1,40 @@ +{ + "data": { + "meta": { + "adoptsFrom": { + "name": "Spec", + "module": "https://cardstack.com/base/spec" + } + }, + "type": "card", + "attributes": { + "ref": { + "name": "Digimon", + "module": "../digimon" + }, + "readMe": "## Summary\n\nThe `Digimon` spec is a card definition that represents a card type for Digimon in the Boxel application.\n\n## Import\n\n```gts\nimport { CardDef } from 'https://cardstack.com/base/card-api';\n```\n\n## Usage as a Field\n\nTo use the `Digimon` spec as a field within a consuming card or field, you can define the field like this:\n\n```gts\n@field digimon = linksTo(Digimon);\n```\n\nThis will create a field that links to a `Digimon` card instance.\n\n## Template Usage\n\nTo display a `Digimon` card within a template, you can use the following code:\n\n```hbs\n<@fields.digimon @format=\"embedded\" />\n```\n\nThis will render the `Digimon` card in the `embedded` format.", + "cardInfo": { + "name": null, + "notes": null, + "summary": null, + "cardThumbnailURL": null + }, + "specType": "card", + "cardTitle": "digimon", + "cardDescription": null, + "containedExamples": [] + }, + "relationships": { + "cardInfo.theme": { + "links": { + "self": null + } + }, + "linkedExamples": { + "links": { + "self": null + } + } + } + } +} \ No newline at end of file diff --git a/digimon.gts b/digimon.gts new file mode 100644 index 0000000..18105e8 --- /dev/null +++ b/digimon.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 Digimon extends CardDef { + static displayName = "digimon"; +} \ No newline at end of file