Commit bbf33c6f by sujata

chnages in header pdflink

1 parent 60cfb0a5
......@@ -18,13 +18,6 @@
"type": "component",
"component": "sidebar.links",
"repeatable": true
},
"PdfLink": {
"type": "media",
"multiple": false,
"allowedTypes": [
"files"
]
}
}
}
......@@ -11,6 +11,13 @@
"link": {
"type": "string"
},
"PdfLink": {
"type": "media",
"multiple": false,
"allowedTypes": [
"files"
]
},
"navSublink": {
"type": "component",
"component": "header.nav-sublink",
......
......@@ -14,6 +14,13 @@
"OpenNewTab": {
"type": "boolean",
"default": true
},
"PdfLink": {
"type": "media",
"multiple": false,
"allowedTypes": [
"files"
]
}
},
"config": {}
......
......@@ -464,6 +464,7 @@ export interface HeaderNavLink extends Struct.ComponentSchema {
attributes: {
link: Schema.Attribute.String;
navSublink: Schema.Attribute.Component<'header.nav-sublink', true>;
PdfLink: Schema.Attribute.Media<'files'>;
title: Schema.Attribute.String;
};
}
......@@ -1070,6 +1071,7 @@ export interface SidebarLinks extends Struct.ComponentSchema {
attributes: {
Label: Schema.Attribute.String;
OpenNewTab: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
PdfLink: Schema.Attribute.Media<'files'>;
URL: Schema.Attribute.String;
};
}
......
......@@ -394,7 +394,6 @@ export interface ApiAboutSidebarAboutSidebar extends Struct.SingleTypeSchema {
'api::about-sidebar.about-sidebar'
> &
Schema.Attribute.Private;
PdfLink: Schema.Attribute.Media<'files'>;
publishedAt: Schema.Attribute.DateTime;
Title: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!