Skip to content

Commit

Permalink
fix: rename _component.json to _name.json
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Jul 25, 2024
1 parent 285ed1b commit 17aa961
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 15 additions & 15 deletions component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,45 +83,45 @@
"id": "blocks",
"components": [
{
"title": "Cards",
"id": "cards",
"title": "Columns",
"id": "columns",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"resourceType": "core/franklin/components/columns/v1/columns",
"template": {
"name": "Cards",
"filter": "cards"
"columns": "2",
"rows": "1"
}
}
}
}
},
{
"title": "Card",
"id": "card",
"title": "Cards",
"id": "cards",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block/item",
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Card",
"model": "card"
"name": "Cards",
"filter": "cards"
}
}
}
}
},
{
"title": "Columns",
"id": "columns",
"title": "Card",
"id": "card",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/columns/v1/columns",
"resourceType": "core/franklin/components/block/v1/block/item",
"template": {
"columns": "2",
"rows": "1"
"name": "Card",
"model": "card"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion models/_component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"id": "blocks",
"components": [
{
"...": "../blocks/*/_component.json#/definitions"
"...": "../blocks/*/_*.json#/definitions"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion models/_component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"...": "./_section.json#/filters"
},
{
"...": "../blocks/*/_component.json#/filters"
"...": "../blocks/*/_*.json#/filters"
}
]
2 changes: 1 addition & 1 deletion models/_component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"...": "./_section.json#/models"
},
{
"...": "../blocks/*/_component.json#/models"
"...": "../blocks/*/_*.json#/models"
}
]

0 comments on commit 17aa961

Please sign in to comment.