diff --git a/CardListing/60256332-bb0e-4a71-b397-84800e76169b.json b/CardListing/60256332-bb0e-4a71-b397-84800e76169b.json new file mode 100644 index 0000000..aad80de --- /dev/null +++ b/CardListing/60256332-bb0e-4a71-b397-84800e76169b.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": "Pet", + "images": [], + "summary": "The Pet module defines a card type used to represent a pet entity within the Cardstack system. Its primary purpose is to serve as a distinguishable card definition named \"pet,\" likely used to categorize or manage pet-related data within an application. It functions as a foundational card class that can be extended or used to create pet-specific cards in the system.", + "cardInfo": { + "name": null, + "notes": null, + "summary": null, + "cardThumbnailURL": null + } + }, + "relationships": { + "tags.0": { + "links": { + "self": "https://realms-staging.stack.cards/catalog/Tag/51de249c-516a-4c4d-bd88-76e88274c483" + } + }, + "specs.0": { + "links": { + "self": "../Spec/e02e74b2-dd89-4f9b-b8e2-33593efa3670" + } + }, + "skills": { + "links": { + "self": null + } + }, + "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/creative-projects" + } + }, + "cardInfo.theme": { + "links": { + "self": null + } + } + } + } +} \ No newline at end of file diff --git a/Spec/e02e74b2-dd89-4f9b-b8e2-33593efa3670.json b/Spec/e02e74b2-dd89-4f9b-b8e2-33593efa3670.json new file mode 100644 index 0000000..f3ce16d --- /dev/null +++ b/Spec/e02e74b2-dd89-4f9b-b8e2-33593efa3670.json @@ -0,0 +1,40 @@ +{ + "data": { + "meta": { + "adoptsFrom": { + "name": "Spec", + "module": "https://cardstack.com/base/spec" + } + }, + "type": "card", + "attributes": { + "ref": { + "name": "Pet", + "module": "../pet" + }, + "readMe": "**Summary**\nThe `Pet` spec is a card definition that represents a pet. It has a static `displayName` property set to \"pet\".\n\n**Import**\n```gts\nimport { CardDef } from 'https://cardstack.com/base/card-api';\n```\n\n**Usage as a Field**\nTo use the `Pet` spec as a field within a consuming card or field, you can define a field that links to the `Pet` card:\n\n```gts\n@field myPet = linksTo(Pet);\n```\n\n**Template Usage**\nWithin a template, you can display the `Pet` card by delegating to its field template:\n\n```hbs\n<@fields.myPet @format=\"embedded\" />\n```\n\nThis will render the `Pet` card in its `embedded` format.", + "cardInfo": { + "name": null, + "notes": null, + "summary": null, + "cardThumbnailURL": null + }, + "specType": "card", + "cardTitle": "pet", + "cardDescription": null, + "containedExamples": [] + }, + "relationships": { + "cardInfo.theme": { + "links": { + "self": null + } + }, + "linkedExamples": { + "links": { + "self": null + } + } + } + } +} \ No newline at end of file diff --git a/pet.gts b/pet.gts new file mode 100644 index 0000000..6ba1f8f --- /dev/null +++ b/pet.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 Pet extends CardDef { + static displayName = "pet"; +} \ No newline at end of file