Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions CardListing/c6bb1837-e4bc-4b29-b928-28b0b7b405f0.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/fbf6c560-43b3-480a-82d0-f19f29e3afc2.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
}
5 changes: 5 additions & 0 deletions digimon.gts
Original file line number Diff line number Diff line change
@@ -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";
}
Loading