Keeping logic within microservice boundaries
Deploy Promiscuity Auth API / deploy (push) Successful in 45s
Deploy Promiscuity Character API / deploy (push) Successful in 57s
Deploy Promiscuity Inventory API / deploy (push) Successful in 45s
Deploy Promiscuity Locations API / deploy (push) Successful in 58s
k8s smoke test / test (push) Successful in 8s

This commit is contained in:
2026-03-20 09:11:44 -05:00
parent 1320e0a0ac
commit 8ce6a05710
19 changed files with 720 additions and 531 deletions
@@ -0,0 +1,30 @@
using MongoDB.Bson.Serialization.Attributes;
namespace LocationsApi.Models;
public class BiomeObjectSpawnRule
{
[BsonElement("resultType")]
public string ResultType { get; set; } = "none";
[BsonElement("itemKey")]
[BsonIgnoreIfNull]
public string? ItemKey { get; set; }
[BsonElement("objectKey")]
[BsonIgnoreIfNull]
public string? ObjectKey { get; set; }
[BsonElement("displayName")]
[BsonIgnoreIfNull]
public string? DisplayName { get; set; }
[BsonElement("remainingQuantity")]
public int RemainingQuantity { get; set; }
[BsonElement("gatherQuantity")]
public int GatherQuantity { get; set; } = 1;
[BsonElement("weight")]
public double Weight { get; set; }
}