Skip to content

Commit

Permalink
remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 committed Nov 18, 2023
1 parent b81d357 commit 5fcf26b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public class FabricLoaderArtifactModel
[JsonPropertyName("launcherMeta")] public FabricLauncherMeta LauncherMeta { get; set; }
}

[JsonSerializable(typeof(FabricLoaderArtifactModel[]))]
[JsonSerializable(typeof(FabricLoaderArtifactModel))]
public partial class FabricLoaderArtifactModelContext : JsonSerializerContext {}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public class NeoForgeVersionModel
[JsonPropertyName("mcversion")] public string MineCraftVersion { get; set; }
}

[JsonSerializable(typeof(NeoForgeVersionModel[]))]
[JsonSerializable(typeof(NeoForgeVersionModel))]
public partial class NeoForgeVersionsModelContext : JsonSerializerContext { }
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ namespace ProjBobcat.Class.Model.Optifine;
public class OptifineDownloadVersionModel
{
[JsonPropertyName("_id")] public string Id { get; set; }
[JsonPropertyName("mcversion")] public string McVersion { get; set; }
[JsonPropertyName("patch")] public string Patch { get; set; }
[JsonPropertyName("type")] public string Type { get; set; }
[JsonPropertyName("mcversion")] public string? McVersion { get; set; }
[JsonPropertyName("patch")] public string? Patch { get; set; }
[JsonPropertyName("type")] public string? Type { get; set; }
[JsonPropertyName("__v")] public int VersionLocker { get; set; }
[JsonPropertyName("filename")] public string FileName { get; set; }
}

[JsonSerializable(typeof(OptifineDownloadVersionModel[]))]
[JsonSerializable(typeof(OptifineDownloadVersionModel))]
public partial class OptifineDownloadVersionModelContext : JsonSerializerContext {}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public class QuiltLoaderModel
[JsonPropertyName("version")] public string Version { get; set; }
}

[JsonSerializable(typeof(QuiltLoaderModel[]))]
[JsonSerializable(typeof(QuiltLoaderModel))]
public partial class QuiltLoaderModelContext : JsonSerializerContext {}

0 comments on commit 5fcf26b

Please sign in to comment.