-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use latest project dependencies (#512)
- Loading branch information
1 parent
e741605
commit fcc5e64
Showing
23 changed files
with
643 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,116 +1,146 @@ | ||
//---------------------- | ||
// <auto-generated> | ||
// Generated using the NJsonSchema v10.4.3.0 (Newtonsoft.Json v11.0.0.0) (http://NJsonSchema.org) | ||
// Generated using the NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0) (http://NJsonSchema.org) | ||
// </auto-generated> | ||
//---------------------- | ||
|
||
|
||
namespace Microsoft.WingetCreateCLI.Models.Settings | ||
{ | ||
#pragma warning disable // Disable all warnings | ||
|
||
/// <summary>Telemetry settings</summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
public partial class Telemetry | ||
/// <summary> | ||
/// Telemetry settings | ||
/// </summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class Telemetry | ||
{ | ||
/// <summary>Controls whether telemetry events are written</summary> | ||
/// <summary> | ||
/// Controls whether telemetry events are written | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("disable", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public bool Disable { get; set; } = false; | ||
|
||
|
||
} | ||
|
||
/// <summary>Controls the clean up interval of installer cache and logs</summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
public partial class CleanUp | ||
|
||
/// <summary> | ||
/// Controls the clean up interval of installer cache and logs | ||
/// </summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class CleanUp | ||
{ | ||
/// <summary>Controls the interval in days for clean up of old files and folders</summary> | ||
/// <summary> | ||
/// Controls the interval in days for clean up of old files and folders | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("intervalInDays", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[System.ComponentModel.DataAnnotations.Range(1, int.MaxValue)] | ||
public int IntervalInDays { get; set; } = 7; | ||
|
||
/// <summary>Controls whether clean up is disabled</summary> | ||
|
||
/// <summary> | ||
/// Controls whether clean up is disabled | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("disable", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public bool Disable { get; set; } = false; | ||
|
||
|
||
} | ||
|
||
/// <summary>Windows Package Manager Repository settings</summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
public partial class WindowsPackageManagerRepository | ||
|
||
/// <summary> | ||
/// Windows Package Manager Repository settings | ||
/// </summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class WindowsPackageManagerRepository | ||
{ | ||
/// <summary>Specifies the name of the Windows Package Manager Repository owner</summary> | ||
/// <summary> | ||
/// Specifies the name of the Windows Package Manager Repository owner | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("owner", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public string Owner { get; set; } = "microsoft"; | ||
|
||
/// <summary>Specifies the name of the Windows Package Manager Repository</summary> | ||
|
||
/// <summary> | ||
/// Specifies the name of the Windows Package Manager Repository | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public string Name { get; set; } = "winget-pkgs"; | ||
|
||
|
||
} | ||
|
||
/// <summary>Output manifest settings</summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
public partial class Manifest | ||
|
||
/// <summary> | ||
/// Output manifest settings | ||
/// </summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class Manifest | ||
{ | ||
/// <summary>Specifies the format of the manifest file</summary> | ||
/// <summary> | ||
/// Specifies the format of the manifest file | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("format", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||
public ManifestFormat Format { get; set; } = Microsoft.WingetCreateCLI.Models.Settings.ManifestFormat.Yaml; | ||
|
||
|
||
} | ||
|
||
/// <summary>Visual settings</summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
public partial class Visual | ||
|
||
/// <summary> | ||
/// Visual settings | ||
/// </summary> | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class Visual | ||
{ | ||
/// <summary>Controls whether paths displayed on the console are substituted with environment variables</summary> | ||
/// <summary> | ||
/// Controls whether paths displayed on the console are substituted with environment variables | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("anonymizePaths", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public bool AnonymizePaths { get; set; } = true; | ||
|
||
|
||
} | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
public partial class SettingsManifest | ||
|
||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class SettingsManifest | ||
{ | ||
/// <summary>The settings json schema</summary> | ||
/// <summary> | ||
/// The settings json schema | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("$schema", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public string Schema { get; set; } = "https://aka.ms/wingetcreate-settings.schema.0.1.json"; | ||
|
||
[Newtonsoft.Json.JsonProperty("Telemetry", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[System.ComponentModel.DataAnnotations.Required] | ||
public Telemetry Telemetry { get; set; } = new Telemetry(); | ||
|
||
[Newtonsoft.Json.JsonProperty("CleanUp", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[System.ComponentModel.DataAnnotations.Required] | ||
public CleanUp CleanUp { get; set; } = new CleanUp(); | ||
|
||
[Newtonsoft.Json.JsonProperty("WindowsPackageManagerRepository", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[System.ComponentModel.DataAnnotations.Required] | ||
public WindowsPackageManagerRepository WindowsPackageManagerRepository { get; set; } = new WindowsPackageManagerRepository(); | ||
|
||
[Newtonsoft.Json.JsonProperty("Manifest", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[System.ComponentModel.DataAnnotations.Required] | ||
public Manifest Manifest { get; set; } = new Manifest(); | ||
|
||
[Newtonsoft.Json.JsonProperty("Visual", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
[System.ComponentModel.DataAnnotations.Required] | ||
public Visual Visual { get; set; } = new Visual(); | ||
|
||
|
||
} | ||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.3.0 (Newtonsoft.Json v11.0.0.0)")] | ||
|
||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "11.0.0.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public enum ManifestFormat | ||
{ | ||
|
||
[System.Runtime.Serialization.EnumMember(Value = @"yaml")] | ||
Yaml = 0, | ||
|
||
|
||
|
||
[System.Runtime.Serialization.EnumMember(Value = @"json")] | ||
Json = 1, | ||
|
||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.