File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
packages/components/src/types Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,6 @@ const BasePageMetaSchema = Type.Composite([
2727 } ) ,
2828] )
2929
30- const BaseRefMetaSchema = Type . Composite ( [
31- BaseItemMetaSchema ,
32- Type . Object ( {
33- ref : Type . String ( {
34- title : "URL to the actual item" ,
35- description :
36- "The link that users will open immediately when they click on the item in the parent collection page" ,
37- } ) ,
38- } ) ,
39- ] )
40-
4130export const ArticlePageMetaSchema = BasePageMetaSchema
4231export const ContentPageMetaSchema = BasePageMetaSchema
4332export const CollectionPageMetaSchema = BasePageMetaSchema
@@ -46,8 +35,8 @@ export const HomePageMetaSchema = BasePageMetaSchema
4635export const NotFoundPageMetaSchema = BasePageMetaSchema
4736export const SearchPageMetaSchema = BasePageMetaSchema
4837
49- export const FileRefMetaSchema = BaseRefMetaSchema
50- export const LinkRefMetaSchema = BaseRefMetaSchema
38+ export const FileRefMetaSchema = BaseItemMetaSchema
39+ export const LinkRefMetaSchema = BaseItemMetaSchema
5140
5241export type ArticlePageMetaProps = Static < typeof ArticlePageMetaSchema >
5342export type CollectionPageMetaProps = Static < typeof CollectionPageMetaSchema >
You can’t perform that action at this time.
0 commit comments