From 24f5e8d5f7dd022105a791bc0c741e7016fc4d40 Mon Sep 17 00:00:00 2001 From: Guilherme Eduardo <gegs23@inf.ufpr.br> Date: Tue, 3 Sep 2024 10:25:36 -0300 Subject: [PATCH] fix gitignore --- .gitignore | 4 ---- types/generated/contentTypes.d.ts | 34 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 91e0eb7ad..bea5dca29 100644 --- a/.gitignore +++ b/.gitignore @@ -65,11 +65,7 @@ $RECYCLE.BIN/ # Logs and databases ############################ -.tmp *.log -*.sql -*.sqlite -*.sqlite3 ############################ diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index dc33bde65..51dc75ff5 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -848,6 +848,39 @@ export interface ApiPostPost extends Schema.CollectionType { }; } +export interface ApiProjetoProjeto extends Schema.CollectionType { + collectionName: 'projetos'; + info: { + singularName: 'projeto'; + pluralName: 'projetos'; + displayName: ' Projeto'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + Titulo: Attribute.String; + Status: Attribute.String; + Parceiro: Attribute.String; + Descricao: Attribute.RichText; + createdAt: Attribute.DateTime; + updatedAt: Attribute.DateTime; + publishedAt: Attribute.DateTime; + createdBy: Attribute.Relation< + 'api::projeto.projeto', + 'oneToOne', + 'admin::user' + > & + Attribute.Private; + updatedBy: Attribute.Relation< + 'api::projeto.projeto', + 'oneToOne', + 'admin::user' + > & + Attribute.Private; + }; +} + declare module '@strapi/types' { export module Shared { export interface ContentTypes { @@ -868,6 +901,7 @@ declare module '@strapi/types' { 'plugin::users-permissions.user': PluginUsersPermissionsUser; 'api::o-c3sl.o-c3sl': ApiOC3SlOC3Sl; 'api::post.post': ApiPostPost; + 'api::projeto.projeto': ApiProjetoProjeto; } } } -- GitLab