Initial commit: OOODMDK website with updated cities page design
This commit is contained in:
33
cms/schemaTypes/documents.js
Normal file
33
cms/schemaTypes/documents.js
Normal file
@ -0,0 +1,33 @@
|
||||
export default {
|
||||
name: 'documents',
|
||||
title: 'Документ',
|
||||
type: 'document',
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
title: 'Название документа',
|
||||
type: 'string',
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
title: 'Описание',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'file',
|
||||
title: 'Файл',
|
||||
type: 'file',
|
||||
options: {
|
||||
accept: '.pdf,.doc,.docx,.xlsx,.ppt,.pptx',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'icon',
|
||||
title: 'Иконка',
|
||||
type: 'image',
|
||||
options: {
|
||||
hotspot: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
Reference in New Issue
Block a user