Skip to content

Commit e569fa5

Browse files
committed
update registry item
1 parent fc8331e commit e569fa5

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/cli/src/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const moduleDeclaration = z.discriminatedUnion('type', [
1414
}),
1515
z.object({
1616
type: z.literal('namespace'),
17-
namespaceExport: z.string(),
17+
namespace: z.string(),
1818
}),
1919
z.object({
2020
type: z.literal('object-literal'),

registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const getExportEntries = (exp: ExportDeclaration) => {
77
if (exp.getNamespaceExport()) {
88
exports.push({
99
type: 'namespace',
10-
namespaceExport: exp.getNamespaceExportOrThrow().getName(),
10+
namespace: exp.getNamespaceExportOrThrow().getName(),
1111
})
1212
}
1313

@@ -56,7 +56,7 @@ type ModuleDeclaration =
5656
}
5757
| {
5858
type: 'namespace'
59-
namespaceExport: string
59+
namespace: string
6060
}
6161
| {
6262
type: 'object-literal'

website/public/registry/components/react/avatar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"exports": [
1212
{
1313
"type": "namespace",
14-
"namespaceExport": "Avatar"
14+
"namespace": "Avatar"
1515
}
1616
]
1717
}

website/public/registry/components/react/card.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"exports": [
1212
{
1313
"type": "namespace",
14-
"namespaceExport": "Card"
14+
"namespace": "Card"
1515
}
1616
]
1717
}

website/public/registry/components/react/field.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"exports": [
1212
{
1313
"type": "namespace",
14-
"namespaceExport": "Field"
14+
"namespace": "Field"
1515
}
1616
]
1717
}

website/public/schema/registry-item.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959
"type": {
6060
"const": "namespace"
6161
},
62-
"namespaceExport": {
62+
"namespace": {
6363
"type": "string"
6464
}
6565
},
66-
"required": ["type", "namespaceExport"],
66+
"required": ["type", "namespace"],
6767
"additionalProperties": false
6868
},
6969
{

0 commit comments

Comments
 (0)