mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 22:54:18 +00:00
feat: update schema.json to allow registries field (#7959)
This commit is contained in:
@@ -56,6 +56,42 @@
|
||||
}
|
||||
},
|
||||
"required": ["utils", "components"]
|
||||
},
|
||||
"registries": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^@": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "\\{name\\}"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"pattern": "\\{name\\}"
|
||||
},
|
||||
"params": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["url"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["style", "tailwind", "rsc", "aliases"]
|
||||
|
||||
@@ -56,6 +56,42 @@
|
||||
}
|
||||
},
|
||||
"required": ["utils", "components"]
|
||||
},
|
||||
"registries": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^@": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "\\{name\\}"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"pattern": "\\{name\\}"
|
||||
},
|
||||
"params": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["url"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["style", "tailwind", "rsc", "aliases"]
|
||||
|
||||
Reference in New Issue
Block a user