Skip to content

Commit

Permalink
Update AVPRClient with CQCHookEndpoint column
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Jun 11, 2024
1 parent f8f40e0 commit 91b434d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/AVPRClient/AVPRClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,9 @@ public partial class ValidationPackage
[Newtonsoft.Json.JsonProperty("ReleaseNotes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string ReleaseNotes { get; set; }

[Newtonsoft.Json.JsonProperty("CQCHookEndpoint", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string CQCHookEndpoint { get; set; }

[Newtonsoft.Json.JsonProperty("Authors", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<Author> Authors { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/AVPRClient/AVPRClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/RELEASE_NOTES.md"))</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageVersion>0.0.4</PackageVersion>
<PackageVersion>0.0.5</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions src/AVPRClient/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ DateTimeOffset releaseDate
AffiliationLink = author.AffiliationLink
};
})
.ToList()
.ToList(),
CQCHookEndpoint = indexedPackage.Metadata.CQCHookEndpoint
};
}

Expand Down Expand Up @@ -137,7 +138,7 @@ this AVPRClient.ValidationPackage validationPackage
validationPackage.Authors.AsIndexType(),
validationPackage.Tags.AsIndexType(),
validationPackage.ReleaseNotes,
Microsoft.FSharp.Core.FSharpOption<string>.None
validationPackage.CQCHookEndpoint
);
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/AVPRClient/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.0.5
- Regen Client with new `CQCHookEndpoint` field in package metadata

## v0.0.4

- Add more interop extensions between AVPRClient and AVPRIndex
Expand Down

0 comments on commit 91b434d

Please sign in to comment.