|
|
@@ -372,6 +372,7 @@ export interface AdminUser extends Struct.CollectionTypeSchema {
|
|
|
export interface ApiComponentComponent extends Struct.CollectionTypeSchema {
|
|
|
collectionName: 'components';
|
|
|
info: {
|
|
|
+ description: '';
|
|
|
displayName: 'Component';
|
|
|
pluralName: 'components';
|
|
|
singularName: 'component';
|
|
|
@@ -379,21 +380,45 @@ export interface ApiComponentComponent extends Struct.CollectionTypeSchema {
|
|
|
options: {
|
|
|
draftAndPublish: true;
|
|
|
};
|
|
|
+ pluginOptions: {
|
|
|
+ i18n: {
|
|
|
+ localized: true;
|
|
|
+ };
|
|
|
+ };
|
|
|
attributes: {
|
|
|
- bg: Schema.Attribute.Boolean;
|
|
|
- content: Schema.Attribute.Blocks;
|
|
|
+ bg: Schema.Attribute.Boolean &
|
|
|
+ Schema.Attribute.SetPluginOptions<{
|
|
|
+ i18n: {
|
|
|
+ localized: true;
|
|
|
+ };
|
|
|
+ }>;
|
|
|
+ content: Schema.Attribute.Blocks &
|
|
|
+ Schema.Attribute.SetPluginOptions<{
|
|
|
+ i18n: {
|
|
|
+ localized: true;
|
|
|
+ };
|
|
|
+ }>;
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
Schema.Attribute.Private;
|
|
|
- label: Schema.Attribute.String;
|
|
|
- locale: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
+ label: Schema.Attribute.String &
|
|
|
+ Schema.Attribute.SetPluginOptions<{
|
|
|
+ i18n: {
|
|
|
+ localized: true;
|
|
|
+ };
|
|
|
+ }>;
|
|
|
+ locale: Schema.Attribute.String;
|
|
|
localizations: Schema.Attribute.Relation<
|
|
|
'oneToMany',
|
|
|
'api::component.component'
|
|
|
- > &
|
|
|
- Schema.Attribute.Private;
|
|
|
+ >;
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
- type: Schema.Attribute.Enumeration<['component-dark', 'component-light']>;
|
|
|
+ type: Schema.Attribute.Enumeration<['component-dark', 'component-light']> &
|
|
|
+ Schema.Attribute.SetPluginOptions<{
|
|
|
+ i18n: {
|
|
|
+ localized: true;
|
|
|
+ };
|
|
|
+ }>;
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
Schema.Attribute.Private;
|