diff --git a/src/api/noticia/content-types/noticia/schema.json b/src/api/noticia/content-types/noticia/schema.json index 8b51e63b9e5b2251ef832b7681f39b210e24198e..bf111ca2b2bbf5e071f371cb1966543f3dc36774 100644 --- a/src/api/noticia/content-types/noticia/schema.json +++ b/src/api/noticia/content-types/noticia/schema.json @@ -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 } } } diff --git a/src/api/projeto/content-types/projeto/schema.json b/src/api/projeto/content-types/projeto/schema.json index d170dda0e40dcb7dd67323cbcf07343263a0052d..1c62fac9c6fb177f7a06b0ed853014f2ff5bcb25 100644 --- a/src/api/projeto/content-types/projeto/schema.json +++ b/src/api/projeto/content-types/projeto/schema.json @@ -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 } } } diff --git a/src/api/sobre/content-types/sobre/schema.json b/src/api/sobre/content-types/sobre/schema.json index fdcb55898f42da702ddd47758d6461d798c7c229..ece45e78661e7bad399e961900ee1ec729776852 100644 --- a/src/api/sobre/content-types/sobre/schema.json +++ b/src/api/sobre/content-types/sobre/schema.json @@ -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 } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 25eed541aa3b062e185425bd28b26d264da5c6f2..fbf3e2c74ef7bf7e4792ca881e9d16af17fd490f 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -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;