Commit bbf33c6f by sujata

chnages in header pdflink

1 parent 60cfb0a5
...@@ -18,13 +18,6 @@ ...@@ -18,13 +18,6 @@
"type": "component", "type": "component",
"component": "sidebar.links", "component": "sidebar.links",
"repeatable": true "repeatable": true
},
"PdfLink": {
"type": "media",
"multiple": false,
"allowedTypes": [
"files"
]
} }
} }
} }
...@@ -11,6 +11,13 @@ ...@@ -11,6 +11,13 @@
"link": { "link": {
"type": "string" "type": "string"
}, },
"PdfLink": {
"type": "media",
"multiple": false,
"allowedTypes": [
"files"
]
},
"navSublink": { "navSublink": {
"type": "component", "type": "component",
"component": "header.nav-sublink", "component": "header.nav-sublink",
......
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
"OpenNewTab": { "OpenNewTab": {
"type": "boolean", "type": "boolean",
"default": true "default": true
},
"PdfLink": {
"type": "media",
"multiple": false,
"allowedTypes": [
"files"
]
} }
}, },
"config": {} "config": {}
......
...@@ -464,6 +464,7 @@ export interface HeaderNavLink extends Struct.ComponentSchema { ...@@ -464,6 +464,7 @@ export interface HeaderNavLink extends Struct.ComponentSchema {
attributes: { attributes: {
link: Schema.Attribute.String; link: Schema.Attribute.String;
navSublink: Schema.Attribute.Component<'header.nav-sublink', true>; navSublink: Schema.Attribute.Component<'header.nav-sublink', true>;
PdfLink: Schema.Attribute.Media<'files'>;
title: Schema.Attribute.String; title: Schema.Attribute.String;
}; };
} }
...@@ -1070,6 +1071,7 @@ export interface SidebarLinks extends Struct.ComponentSchema { ...@@ -1070,6 +1071,7 @@ export interface SidebarLinks extends Struct.ComponentSchema {
attributes: { attributes: {
Label: Schema.Attribute.String; Label: Schema.Attribute.String;
OpenNewTab: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>; OpenNewTab: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
PdfLink: Schema.Attribute.Media<'files'>;
URL: Schema.Attribute.String; URL: Schema.Attribute.String;
}; };
} }
......
...@@ -394,7 +394,6 @@ export interface ApiAboutSidebarAboutSidebar extends Struct.SingleTypeSchema { ...@@ -394,7 +394,6 @@ export interface ApiAboutSidebarAboutSidebar extends Struct.SingleTypeSchema {
'api::about-sidebar.about-sidebar' 'api::about-sidebar.about-sidebar'
> & > &
Schema.Attribute.Private; Schema.Attribute.Private;
PdfLink: Schema.Attribute.Media<'files'>;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
Title: Schema.Attribute.String; Title: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime; 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!