feat: update version object

Add touchpanelWrapperApp, userInterfaces, and repoUrl to VersionData config schema

VersionData/NugetVersion previously only modeled the essentials and
packages entries under the versions node. This adds support for the
touchpanelWrapperApp (single object) and userInterfaces (array) nodes,
plus a repoUrl property on NugetVersion so it round-trips instead of
being silently dropped, matching the schema produced by the
vsce-essentials-version-manager extension.
This commit is contained in:
jkdevito 2026-07-02 17:13:26 -05:00
parent f34d7223e0
commit 64d60dacc2
2 changed files with 21 additions and 2 deletions

View file

@ -1,11 +1,11 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<Version>2.29.0-local</Version> <Version>2.36.6-local</Version>
<InformationalVersion>$(Version)</InformationalVersion> <InformationalVersion>$(Version)</InformationalVersion>
<Authors>PepperDash Technology</Authors> <Authors>PepperDash Technology</Authors>
<Company>PepperDash Technology</Company> <Company>PepperDash Technology</Company>
<Product>PepperDash Essentials</Product> <Product>PepperDash Essentials</Product>
<Copyright>Copyright © 2025</Copyright> <Copyright>Copyright © 2026</Copyright>
<RepositoryUrl>https://github.com/PepperDash/Essentials</RepositoryUrl> <RepositoryUrl>https://github.com/PepperDash/Essentials</RepositoryUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<PackageTags>Crestron; 4series</PackageTags> <PackageTags>Crestron; 4series</PackageTags>

View file

@ -134,12 +134,25 @@ namespace PepperDash.Essentials.Core.Config
[JsonProperty("packages")] [JsonProperty("packages")]
public List<NugetVersion> Packages { get; set; } public List<NugetVersion> Packages { get; set; }
/// <summary>
/// Gets or sets the touchpanel wrapper app version
/// </summary>
[JsonProperty("touchpanelWrapperApp")]
public NugetVersion TouchpanelWrapperApp { get; set; }
/// <summary>
/// Gets or sets the list of user interface packages
/// </summary>
[JsonProperty("userInterfaces")]
public List<NugetVersion> UserInterfaces { get; set; }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="VersionData"/> class. /// Initializes a new instance of the <see cref="VersionData"/> class.
/// </summary> /// </summary>
public VersionData() public VersionData()
{ {
Packages = new List<NugetVersion>(); Packages = new List<NugetVersion>();
UserInterfaces = new List<NugetVersion>();
} }
} }
@ -159,6 +172,12 @@ namespace PepperDash.Essentials.Core.Config
/// </summary> /// </summary>
[JsonProperty("packageId")] [JsonProperty("packageId")]
public string PackageId { get; set; } public string PackageId { get; set; }
/// <summary>
/// Gets or sets the RepoUrl
/// </summary>
[JsonProperty("repoUrl")]
public string RepoUrl { get; set; }
} }
/// <summary> /// <summary>