From 4b54831000e61143b9fdc04f39a8e3d3f0fa38c4 Mon Sep 17 00:00:00 2001 From: Chris Millar Date: Thu, 19 Sep 2024 22:42:50 -0600 Subject: [PATCH] chore: update sidekick schema for custom edit labels and urls * Add `editUrlLabel` to schema * Add `editUrlPattern` to schema --- tools/sidekick/config.schema.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tools/sidekick/config.schema.json b/tools/sidekick/config.schema.json index eff18e4d..a6f77f36 100644 --- a/tools/sidekick/config.schema.json +++ b/tools/sidekick/config.schema.json @@ -174,6 +174,22 @@ "format": "uri", "description": "The URL of the content source" }, + "editUrlLabel": { + "type": "string", + "description": "The label of the edit environment.", + "examples": [ + "Universal Editor", + "Document Authoring" + ] + }, + "editUrlPattern": { + "type": "string", + "description": "The pattern to use for the edit URL.", + "examples": [ + "{{contentSourceUrl}}{{pathname}}?cmd=open}}", + "https://da.live/edit#/{{org}}/{{site}}{{pathname}}" + ] + }, "extends": { "type": "string", "description": "Extend another project's sidekick configuration",