From 2ffa9a58bf2fd2841975b46f3d269d19a5abb176 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 14 Sep 2022 14:27:26 +0200 Subject: [PATCH] add label to editor view manifest --- src/Umbraco.Web.UI.Client/schemas/api/api.yml | 3 +++ src/Umbraco.Web.UI.Client/schemas/generated-schema.ts | 1 + src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts | 1 + 3 files changed, 5 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/schemas/api/api.yml b/src/Umbraco.Web.UI.Client/schemas/api/api.yml index 3c4e98e020..5b1a95d5cb 100644 --- a/src/Umbraco.Web.UI.Client/schemas/api/api.yml +++ b/src/Umbraco.Web.UI.Client/schemas/api/api.yml @@ -636,12 +636,15 @@ components: weight: type: number format: float + label: + type: string icon: type: string required: - editors - pathname - weight + - label - icon IManifestEditorView: type: object diff --git a/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts b/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts index fdc1e66117..5fba7f4b22 100644 --- a/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts +++ b/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts @@ -211,6 +211,7 @@ export interface components { pathname: string; /** Format: float */ weight: number; + label: string; icon: string; }; IManifestEditorView: { diff --git a/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts b/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts index 01e470e6f6..70fc40c1d5 100644 --- a/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts +++ b/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts @@ -128,6 +128,7 @@ export interface MetaEditorView { editors: string[]; pathname: string; weight: number; + label: string; icon: string; }