add contacts

This commit is contained in:
Zotov Ivan Yuryevich
2026-04-22 21:54:00 +03:00
parent 72c9248b81
commit edcccab7fe
3 changed files with 364 additions and 235 deletions

593
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,11 @@
},
"description": {
"type": "text"
},
"contacts": {
"type": "component",
"component": "shared.contact",
"repeatable": true
}
}
}

View File

@@ -514,6 +514,7 @@ export interface ApiSiteConfigSiteConfig extends Struct.SingleTypeSchema {
draftAndPublish: true;
};
attributes: {
contacts: Schema.Attribute.Component<'shared.contact', true>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;