Skip to content
Snippets Groups Projects
Commit 71550d74 authored by Richard Fernando Heise Ferreira's avatar Richard Fernando Heise Ferreira
Browse files

Merge branch 'issue-10/identificador-projetos-sobre-lifecycles' into 'develop'

Issue #10: UPDATE including identifier in contentType of Projects and about in strapi

See merge request !12
parents 42d3465c ca91ceb3
Branches develop
No related tags found
1 merge request!12Issue #10: UPDATE including identifier in contentType of Projects and about in strapi
......@@ -32,7 +32,8 @@
"target": "api::author.author"
},
"Data": {
"type": "date"
"type": "date",
"required": true
},
"Descricao": {
"type": "richtext"
......@@ -42,7 +43,8 @@
},
"Identificador": {
"type": "uid",
"targetField": "Titulo"
"targetField": "Titulo",
"required": true
}
}
}
......@@ -4,7 +4,8 @@
"info": {
"singularName": "projeto",
"pluralName": "projetos",
"displayName": "Projeto"
"displayName": "Projeto",
"description": ""
},
"options": {
"draftAndPublish": true
......@@ -22,6 +23,11 @@
},
"Descricao": {
"type": "richtext"
},
"Identificador": {
"type": "uid",
"targetField": "Titulo",
"required": true
}
}
}
......@@ -4,7 +4,8 @@
"info": {
"singularName": "sobre",
"pluralName": "sobres",
"displayName": "Sobre"
"displayName": "Sobre",
"description": ""
},
"options": {
"draftAndPublish": true
......@@ -16,6 +17,11 @@
},
"Descricao": {
"type": "richtext"
},
"Identificador": {
"type": "uid",
"targetField": "Titulo",
"required": true
}
}
}
......@@ -626,10 +626,10 @@ export interface ApiNoticiaNoticia extends Struct.CollectionTypeSchema {
Titulo: Schema.Attribute.String;
Imagem: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
Autor: Schema.Attribute.Relation<'oneToOne', 'api::author.author'>;
Data: Schema.Attribute.Date;
Data: Schema.Attribute.Date & Schema.Attribute.Required;
Descricao: Schema.Attribute.RichText;
Gravata: Schema.Attribute.Text;
Identificador: Schema.Attribute.UID<'Titulo'>;
Identificador: Schema.Attribute.UID<'Titulo'> & Schema.Attribute.Required;
createdAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
publishedAt: Schema.Attribute.DateTime;
......@@ -710,6 +710,7 @@ export interface ApiProjetoProjeto extends Struct.CollectionTypeSchema {
singularName: 'projeto';
pluralName: 'projetos';
displayName: 'Projeto';
description: '';
};
options: {
draftAndPublish: true;
......@@ -719,6 +720,7 @@ export interface ApiProjetoProjeto extends Struct.CollectionTypeSchema {
Estado: Schema.Attribute.String;
Parceiro: Schema.Attribute.String;
Descricao: Schema.Attribute.RichText;
Identificador: Schema.Attribute.UID<'Titulo'> & Schema.Attribute.Required;
createdAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
publishedAt: Schema.Attribute.DateTime;
......@@ -740,6 +742,7 @@ export interface ApiSobreSobre extends Struct.SingleTypeSchema {
singularName: 'sobre';
pluralName: 'sobres';
displayName: 'Sobre';
description: '';
};
options: {
draftAndPublish: true;
......@@ -747,6 +750,7 @@ export interface ApiSobreSobre extends Struct.SingleTypeSchema {
attributes: {
Titulo: Schema.Attribute.String;
Descricao: Schema.Attribute.RichText;
Identificador: Schema.Attribute.UID<'Titulo'> & Schema.Attribute.Required;
createdAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
publishedAt: Schema.Attribute.DateTime;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment