Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasvarone committed Jan 8, 2024
1 parent da86cf4 commit 3ed1929
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
3 changes: 1 addition & 2 deletions apps/cms/src/api/service/content-types/service/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
"diagram-sections.diagram-full-width",
"content-section.content-alternate-position-image-left",
"content-section.content-alternate-position-image-right",
"content-section.content-alternate-position-with-image-list",
"cards.content-alternate-position-with-image-item"
"content-section.content-alternate-position-with-image-list"
]
},
"icon": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
{
"collectionName": "components_content_alternate_pos_w_image_items",
"info": {
"displayName": "Content-alternate-position-with-image-item"
"displayName": "Content-alternate-position-with-image-item",
"description": ""
},
"options": {},
"attributes": {
"image": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
]
},
"title": {
"type": "string"
"type": "string",
"required": true
},
"description": {
"type": "text"
"type": "text",
"required": true
}
}
}
7 changes: 4 additions & 3 deletions apps/cms/types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ export interface CardsContentAlternatePositionWithImageItem extends Schema.Compo
collectionName: 'components_content_alternate_pos_w_image_items'
info: {
displayName: 'Content-alternate-position-with-image-item'
description: ''
}
attributes: {
image: Attribute.Media
title: Attribute.String
description: Attribute.Text
image: Attribute.Media & Attribute.Required
title: Attribute.String & Attribute.Required
description: Attribute.Text & Attribute.Required
}
}

Expand Down
3 changes: 1 addition & 2 deletions apps/cms/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -968,8 +968,7 @@ export interface ApiServiceService extends Schema.CollectionType {
'diagram-sections.diagram-full-width',
'content-section.content-alternate-position-image-left',
'content-section.content-alternate-position-image-right',
'content-section.content-alternate-position-with-image-list',
'cards.content-alternate-position-with-image-item'
'content-section.content-alternate-position-with-image-list'
]
> &
Attribute.SetPluginOptions<{
Expand Down

0 comments on commit 3ed1929

Please sign in to comment.