make propertyEditorSchemaAlias optional

This commit is contained in:
Jacob Overgaard
2023-08-03 15:50:56 +02:00
parent 140544d119
commit c56cbb3aab

View File

@@ -9,9 +9,28 @@ export interface ManifestPropertyEditorUi extends ManifestElement<UmbPropertyEdi
export interface MetaPropertyEditorUi {
label: string;
propertyEditorSchemaAlias: string;
icon: string;
/**
* The group that this property editor UI belongs to, which will be used to group the property editor UIs in the property editor picker.
* If not specified, the property editor UI will be grouped under "Common".
* @default "Common"
* @examples [
* "Common",
* "Content",
* "Media"
* ]
*/
group: string;
/**
* The alias of the property editor schema that this property editor UI is for.
* If not specified, the property editor UI can only be used to configure other property editors.
* @examples [
* "Umbraco.TextBox",
* "Umbraco.TextArea",
* "Umbraco.Label",
* ]
*/
propertyEditorSchemaAlias?: string;
settings?: PropertyEditorSettings;
supportsReadOnly?: boolean;
}