Skip to content

Commit

Permalink
Merge pull request #4 from calimania/fix/uuid
Browse files Browse the repository at this point in the history
Fixed named conflict in some Content
  • Loading branch information
dvidsilva authored Oct 14, 2024
2 parents 9282db4 + d6f7829 commit 3906f71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
5 changes: 5 additions & 0 deletions src/api/inbox/content-types/inbox/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"type": "relation",
"relation": "oneToOne",
"target": "plugin::users-permissions.user"
},
"SEO": {
"type": "component",
"repeatable": false,
"component": "common.seo"
}
}
}
10 changes: 0 additions & 10 deletions src/components/common/seo.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@
"excludeFromSearch": {
"type": "boolean",
"default": false
},
"Cover": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
}
}
}
1 change: 0 additions & 1 deletion types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export interface CommonSeo extends Schema.Component {
metaUrl: Attribute.String;
metaAuthor: Attribute.String;
excludeFromSearch: Attribute.Boolean & Attribute.DefaultTo<false>;
Cover: Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
};
}

Expand Down
1 change: 1 addition & 0 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ export interface ApiInboxInbox extends Schema.CollectionType {
'oneToOne',
'plugin::users-permissions.user'
>;
SEO: Attribute.Component<'common.seo'>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
Expand Down

0 comments on commit 3906f71

Please sign in to comment.