Type Alias ComponentTypeSlotDefinition
ComponentTypeSlotDefinition: {
allowedResources?: {
allowedTypes: string[];
source: typeof COMPONENT_TYPE_ALLOWED_RESOURCE_SOURCE;
type: "Contentful:ComponentType";
}[];
id: string;
name: string;
required: boolean;
validations: {
size?: {
max?: number;
min?: number;
};
}[];
}
Deprecated
Use
ComponentSlotDefinitioninstead.ComponentSlotDefinitionuses the renamedallowedResources[].typevalue (Contentful:Component).