Skip to content

Commit b648cb8

Browse files
committed
update Pet example
1 parent 94772e5 commit b648cb8

File tree

3 files changed

+282
-134
lines changed

3 files changed

+282
-134
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"data": {
3+
"type": "card",
4+
"attributes": {
5+
"readMe": null,
6+
"ref": {
7+
"name": "Toy",
8+
"module": "../pet"
9+
},
10+
"specType": "field",
11+
"containedExamples": [
12+
{
13+
"title": "Dragon"
14+
},
15+
{
16+
"title": "Tug rope"
17+
},
18+
{
19+
"title": "Lambchop"
20+
}
21+
],
22+
"title": "Toy Spec I",
23+
"description": null,
24+
"thumbnailURL": null
25+
},
26+
"relationships": {
27+
"linkedExamples": {
28+
"links": {
29+
"self": null
30+
}
31+
}
32+
},
33+
"meta": {
34+
"fields": {
35+
"containedExamples": [
36+
{
37+
"adoptsFrom": {
38+
"module": "../pet",
39+
"name": "Toy"
40+
}
41+
},
42+
{
43+
"adoptsFrom": {
44+
"module": "../pet",
45+
"name": "Toy"
46+
}
47+
},
48+
{
49+
"adoptsFrom": {
50+
"module": "../pet",
51+
"name": "Toy"
52+
}
53+
}
54+
]
55+
},
56+
"adoptsFrom": {
57+
"module": "https://cardstack.com/base/spec",
58+
"name": "Spec"
59+
}
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"data": {
3+
"type": "card",
4+
"attributes": {
5+
"readMe": null,
6+
"ref": {
7+
"name": "Toy",
8+
"module": "../pet"
9+
},
10+
"specType": "field",
11+
"containedExamples": [
12+
{
13+
"title": "Orange ball"
14+
},
15+
{
16+
"title": "Large yellow ball"
17+
},
18+
{
19+
"title": "Small red ball"
20+
}
21+
],
22+
"title": "Toy Spec II",
23+
"description": null,
24+
"thumbnailURL": null
25+
},
26+
"relationships": {
27+
"linkedExamples": {
28+
"links": {
29+
"self": null
30+
}
31+
}
32+
},
33+
"meta": {
34+
"fields": {
35+
"containedExamples": [
36+
{
37+
"adoptsFrom": {
38+
"module": "../pet",
39+
"name": "Toy"
40+
}
41+
},
42+
{
43+
"adoptsFrom": {
44+
"module": "../pet",
45+
"name": "Toy"
46+
}
47+
},
48+
{
49+
"adoptsFrom": {
50+
"module": "../pet",
51+
"name": "Toy"
52+
}
53+
}
54+
]
55+
},
56+
"adoptsFrom": {
57+
"module": "https://cardstack.com/base/spec",
58+
"name": "Spec"
59+
}
60+
}
61+
}
62+
}

0 commit comments

Comments
 (0)