new types and requirements
This commit is contained in:
parent
1cfefa450b
commit
55a734b061
22 changed files with 924 additions and 319 deletions
30
types/generated/components.d.ts
vendored
30
types/generated/components.d.ts
vendored
|
@ -33,7 +33,6 @@ export interface DynamicZoneEmbedding extends Struct.ComponentSchema {
|
|||
};
|
||||
attributes: {
|
||||
link: Schema.Attribute.String;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -46,7 +45,6 @@ export interface DynamicZoneFileDownload extends Struct.ComponentSchema {
|
|||
attributes: {
|
||||
enable_download: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<true>;
|
||||
file: Schema.Attribute.Media<"files" | "images"> & Schema.Attribute.Required;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -91,11 +89,11 @@ export interface DynamicZoneSection extends Struct.ComponentSchema {
|
|||
info: {
|
||||
description: "";
|
||||
displayName: "Abschnitt";
|
||||
icon: "apps";
|
||||
icon: "expand";
|
||||
};
|
||||
attributes: {
|
||||
description: Schema.Attribute.Text;
|
||||
titel: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -104,7 +102,7 @@ export interface DynamicZoneSpacer extends Struct.ComponentSchema {
|
|||
info: {
|
||||
description: "";
|
||||
displayName: "Abstand";
|
||||
icon: "apps";
|
||||
icon: "crop";
|
||||
};
|
||||
attributes: {};
|
||||
}
|
||||
|
@ -118,8 +116,8 @@ export interface GlobalFooter extends Struct.ComponentSchema {
|
|||
};
|
||||
attributes: {
|
||||
copyright: Schema.Attribute.String;
|
||||
designed_developed_by: Schema.Attribute.String;
|
||||
links: Schema.Attribute.Component<"items.link", true>;
|
||||
maintained_by: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -131,7 +129,6 @@ export interface GlobalNavbar extends Struct.ComponentSchema {
|
|||
icon: "bold";
|
||||
};
|
||||
attributes: {
|
||||
logo: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
|
||||
navbar_items: Schema.Attribute.Component<"items.navbar-items", true>;
|
||||
};
|
||||
}
|
||||
|
@ -145,11 +142,7 @@ export interface GlobalSeo extends Struct.ComponentSchema {
|
|||
};
|
||||
attributes: {
|
||||
keywords: Schema.Attribute.Text;
|
||||
metaDescription: Schema.Attribute.String &
|
||||
Schema.Attribute.Required &
|
||||
Schema.Attribute.SetMinMaxLength<{
|
||||
minLength: 50;
|
||||
}>;
|
||||
metaDescription: Schema.Attribute.String & Schema.Attribute.DefaultTo<"">;
|
||||
metaTitle: Schema.Attribute.String &
|
||||
Schema.Attribute.Required &
|
||||
Schema.Attribute.SetMinMaxLength<{
|
||||
|
@ -166,8 +159,8 @@ export interface ItemsHero extends Struct.ComponentSchema {
|
|||
icon: "rocket";
|
||||
};
|
||||
attributes: {
|
||||
banner: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
banner: Schema.Attribute.Media<"images">;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -196,10 +189,10 @@ export interface ItemsNavbarItems extends Struct.ComponentSchema {
|
|||
};
|
||||
attributes: {
|
||||
default_active_child: Schema.Attribute.String;
|
||||
name: Schema.Attribute.String;
|
||||
name: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
navbar_sub_items: Schema.Attribute.Component<"items.navbar-sub-items", true>;
|
||||
page: Schema.Attribute.Relation<"oneToOne", "api::page.page">;
|
||||
URL: Schema.Attribute.String;
|
||||
URL: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -226,7 +219,7 @@ export interface SharedEmphasiseArticle extends Struct.ComponentSchema {
|
|||
};
|
||||
attributes: {
|
||||
articles: Schema.Attribute.Relation<"oneToMany", "api::article.article">;
|
||||
base_url: Schema.Attribute.String & Schema.Attribute.DefaultTo<"">;
|
||||
link_to_articles: Schema.Attribute.String & Schema.Attribute.DefaultTo<"">;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -238,7 +231,8 @@ export interface SharedList extends Struct.ComponentSchema {
|
|||
icon: "apps";
|
||||
};
|
||||
attributes: {
|
||||
lookup: Schema.Attribute.Relation<"oneToOne", "api::collection-lookup.collection-lookup">;
|
||||
lookup: Schema.Attribute.Relation<"oneToOne", "api::collection-lookup.collection-lookup"> &
|
||||
Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue