summary refs log tree commit diff
path: root/extra/admin-api/Interop
diff options
context:
space:
mode:
Diffstat (limited to 'extra/admin-api/Interop')
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Authentication.AspNetCore/deps.json24
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Authentication/Spacebar.Interop.Authentication.csproj4
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Authentication/deps.json68
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Cdn.Signing/Spacebar.Interop.Cdn.Signing.csproj2
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Replication.Abstractions/ReplicationMessage.cs16
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/RabbitMqSpacebarReplication.cs2
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/Spacebar.Interop.Replication.RabbitMq.csproj2
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/deps.json16
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/Spacebar.Interop.Replication.UnixSocket.csproj2
-rw-r--r--extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/deps.json16
10 files changed, 76 insertions, 76 deletions
diff --git a/extra/admin-api/Interop/Spacebar.Interop.Authentication.AspNetCore/deps.json b/extra/admin-api/Interop/Spacebar.Interop.Authentication.AspNetCore/deps.json

index 39069977..f6542550 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Authentication.AspNetCore/deps.json +++ b/extra/admin-api/Interop/Spacebar.Interop.Authentication.AspNetCore/deps.json
@@ -61,8 +61,8 @@ }, { "pname": "Microsoft.EntityFrameworkCore", - "version": "10.0.5", - "hash": "sha256-SR8KBOuIx9e1j/cMwYRCO62WEB+CUrGptexl9MSgp8M=" + "version": "10.0.6", + "hash": "sha256-wEA3ySJvLjAs6O9feF8vZXFM8GgyP+1ufQCaawj20dU=" }, { "pname": "Microsoft.EntityFrameworkCore.Abstractions", @@ -71,8 +71,8 @@ }, { "pname": "Microsoft.EntityFrameworkCore.Abstractions", - "version": "10.0.5", - "hash": "sha256-qMKa7YGJUfaPTRMsAYYPlLxXdhZeyAZLiOSDcNFzDnA=" + "version": "10.0.6", + "hash": "sha256-izcDKxbfeMBNxXmri20mESugr7NHxJEE4Hnvia6hVS4=" }, { "pname": "Microsoft.EntityFrameworkCore.Analyzers", @@ -81,13 +81,13 @@ }, { "pname": "Microsoft.EntityFrameworkCore.Analyzers", - "version": "10.0.5", - "hash": "sha256-jPTN3RkI1J7vb7O4xiCHjMczMKh//NnKhJAGTuT7v88=" + "version": "10.0.6", + "hash": "sha256-qTZ9ZhnPM7Nqy/ZWjloDTEUO91CymeJ07Yp1SKMJWiY=" }, { "pname": "Microsoft.EntityFrameworkCore.Design", - "version": "10.0.5", - "hash": "sha256-+D17/sNpPhhDaLJJR4fFjSMySFU4yKQzHgzPcAJAdR0=" + "version": "10.0.6", + "hash": "sha256-9WAXxXdAM0rNbGq6j7VGubHslxzmpTYKZ9gFyxh/N74=" }, { "pname": "Microsoft.EntityFrameworkCore.Relational", @@ -96,13 +96,13 @@ }, { "pname": "Microsoft.EntityFrameworkCore.Relational", - "version": "10.0.5", - "hash": "sha256-5jfkvUKSexKCbCsYZYkBAWd4BIN48dlF5pP6htfDMMQ=" + "version": "10.0.6", + "hash": "sha256-gyA+zXeRaMZl9qs9WXrvc0sEnptZy1nxC6kBux5bTQ0=" }, { "pname": "Microsoft.Extensions.DependencyModel", - "version": "10.0.5", - "hash": "sha256-UfG98EJ+0JTQA8Kx8yxt9mg19s0RSIOO+pG9JJy8uB0=" + "version": "10.0.6", + "hash": "sha256-WY/CGoll5mwtiG3pBN/jDpt5/g4qcQuBL62LeS8KgmM=" }, { "pname": "Microsoft.IdentityModel.Abstractions", diff --git a/extra/admin-api/Interop/Spacebar.Interop.Authentication/Spacebar.Interop.Authentication.csproj b/extra/admin-api/Interop/Spacebar.Interop.Authentication/Spacebar.Interop.Authentication.csproj
index a56ed4f8..741f9a56 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Authentication/Spacebar.Interop.Authentication.csproj +++ b/extra/admin-api/Interop/Spacebar.Interop.Authentication/Spacebar.Interop.Authentication.csproj
@@ -14,8 +14,8 @@ <ItemGroup> <PackageReference Include="ArcaneLibs" Version="1.0.1-preview.20260126-091403"/> - <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.5" /> - <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.5" /> + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.6" /> + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.6" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.17.0" /> </ItemGroup> diff --git a/extra/admin-api/Interop/Spacebar.Interop.Authentication/deps.json b/extra/admin-api/Interop/Spacebar.Interop.Authentication/deps.json
index 079864d0..ff52c9e7 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Authentication/deps.json +++ b/extra/admin-api/Interop/Spacebar.Interop.Authentication/deps.json
@@ -61,8 +61,8 @@ }, { "pname": "Microsoft.EntityFrameworkCore", - "version": "10.0.5", - "hash": "sha256-SR8KBOuIx9e1j/cMwYRCO62WEB+CUrGptexl9MSgp8M=" + "version": "10.0.6", + "hash": "sha256-wEA3ySJvLjAs6O9feF8vZXFM8GgyP+1ufQCaawj20dU=" }, { "pname": "Microsoft.EntityFrameworkCore.Abstractions", @@ -71,8 +71,8 @@ }, { "pname": "Microsoft.EntityFrameworkCore.Abstractions", - "version": "10.0.5", - "hash": "sha256-qMKa7YGJUfaPTRMsAYYPlLxXdhZeyAZLiOSDcNFzDnA=" + "version": "10.0.6", + "hash": "sha256-izcDKxbfeMBNxXmri20mESugr7NHxJEE4Hnvia6hVS4=" }, { "pname": "Microsoft.EntityFrameworkCore.Analyzers", @@ -81,13 +81,13 @@ }, { "pname": "Microsoft.EntityFrameworkCore.Analyzers", - "version": "10.0.5", - "hash": "sha256-jPTN3RkI1J7vb7O4xiCHjMczMKh//NnKhJAGTuT7v88=" + "version": "10.0.6", + "hash": "sha256-qTZ9ZhnPM7Nqy/ZWjloDTEUO91CymeJ07Yp1SKMJWiY=" }, { "pname": "Microsoft.EntityFrameworkCore.Design", - "version": "10.0.5", - "hash": "sha256-+D17/sNpPhhDaLJJR4fFjSMySFU4yKQzHgzPcAJAdR0=" + "version": "10.0.6", + "hash": "sha256-9WAXxXdAM0rNbGq6j7VGubHslxzmpTYKZ9gFyxh/N74=" }, { "pname": "Microsoft.EntityFrameworkCore.Relational", @@ -96,13 +96,13 @@ }, { "pname": "Microsoft.EntityFrameworkCore.Relational", - "version": "10.0.5", - "hash": "sha256-5jfkvUKSexKCbCsYZYkBAWd4BIN48dlF5pP6htfDMMQ=" + "version": "10.0.6", + "hash": "sha256-gyA+zXeRaMZl9qs9WXrvc0sEnptZy1nxC6kBux5bTQ0=" }, { "pname": "Microsoft.Extensions.Caching.Abstractions", - "version": "10.0.5", - "hash": "sha256-3rW3DjoyIIgfeJOHvdZJSrtsZ76V3MNxH5RLICRXWv4=" + "version": "10.0.6", + "hash": "sha256-9yCnv7SmbNOq21W0rmnpiT4GkkE2pceU3xA1HE7zAM4=" }, { "pname": "Microsoft.Extensions.Caching.Memory", @@ -111,33 +111,33 @@ }, { "pname": "Microsoft.Extensions.Caching.Memory", - "version": "10.0.5", - "hash": "sha256-WP2/64G4k48qdIohuOOgln9p0b2SJzxWzECfPqX6lQk=" + "version": "10.0.6", + "hash": "sha256-3dWBnlBfEbfC50yrB8isuAOCMeYVaVQo/JfuRvpVBlI=" }, { "pname": "Microsoft.Extensions.Configuration", - "version": "10.0.5", - "hash": "sha256-6rOmJD7Jzq5MPLDd1aV+7gCQwIM9j4c+iT1pGea/daI=" + "version": "10.0.6", + "hash": "sha256-CSd5RC5pMsmglpnE6Vm3JabMnbmziqtUGrZE5Rg7uF4=" }, { "pname": "Microsoft.Extensions.Configuration.Abstractions", - "version": "10.0.5", - "hash": "sha256-DNK+lL2jeHFYyd43zfgVY32UskEfQ4YsTapztuQbYwo=" + "version": "10.0.6", + "hash": "sha256-jxtne26QF7bASCRmLNwYsKruY3QhsnuzN9Us11WUdSQ=" }, { "pname": "Microsoft.Extensions.Configuration.Binder", - "version": "10.0.5", - "hash": "sha256-cVG2NEW1rgLfeq/Gnh/XXqzDx2Tt8ecvgCAB4uFzcQo=" + "version": "10.0.6", + "hash": "sha256-34blBlrQ3FRS7iCS7/gxPZMa9xgDW0p3iEERqwgXFMA=" }, { "pname": "Microsoft.Extensions.DependencyInjection", - "version": "10.0.5", - "hash": "sha256-ofDRirUV9XLSz4oksCqErwBJFtAieHACFfyZukHKFng=" + "version": "10.0.6", + "hash": "sha256-K3ODZC+Bwd3Tze5wF7BQvJJGlNObdf2PNA35F41jHTE=" }, { "pname": "Microsoft.Extensions.DependencyInjection.Abstractions", - "version": "10.0.5", - "hash": "sha256-KrP+hE3gk7pATbJYZsJ1LHiXjzLA+ntHW7G/VGgHk2g=" + "version": "10.0.6", + "hash": "sha256-lFiZb81kfBJK7J0b0A2UIpydPRT73Xcs57Gzf/+1xXc=" }, { "pname": "Microsoft.Extensions.DependencyInjection.Abstractions", @@ -151,8 +151,8 @@ }, { "pname": "Microsoft.Extensions.DependencyModel", - "version": "10.0.5", - "hash": "sha256-UfG98EJ+0JTQA8Kx8yxt9mg19s0RSIOO+pG9JJy8uB0=" + "version": "10.0.6", + "hash": "sha256-WY/CGoll5mwtiG3pBN/jDpt5/g4qcQuBL62LeS8KgmM=" }, { "pname": "Microsoft.Extensions.Logging", @@ -161,8 +161,8 @@ }, { "pname": "Microsoft.Extensions.Logging", - "version": "10.0.5", - "hash": "sha256-4gVrKZfo/YHZKgKNsgGZZYqa79XWK9wDUuiVfguUV6U=" + "version": "10.0.6", + "hash": "sha256-tskLj/WXLK35gkuJAWaAhPjMW92N1JKOTzTLupR30pE=" }, { "pname": "Microsoft.Extensions.Logging", @@ -176,8 +176,8 @@ }, { "pname": "Microsoft.Extensions.Logging.Abstractions", - "version": "10.0.5", - "hash": "sha256-e3A/l+II+n+D7/OPwjdyQM1IBtKHfHeIdlkJmuRw77w=" + "version": "10.0.6", + "hash": "sha256-4ijpXt4PoTNcmF5dl/rEZkRWBAjukB229lXtBtJhxn4=" }, { "pname": "Microsoft.Extensions.Logging.Abstractions", @@ -191,8 +191,8 @@ }, { "pname": "Microsoft.Extensions.Options", - "version": "10.0.5", - "hash": "sha256-nw+m6VWXjmaBqZ1aH/l9SR9Oy62N9dmiMKloJ78kxv8=" + "version": "10.0.6", + "hash": "sha256-GJCULaUcN2FxCA9fKOLe5EDEtkKLrEuP2Kw0jRqospA=" }, { "pname": "Microsoft.Extensions.Options", @@ -201,8 +201,8 @@ }, { "pname": "Microsoft.Extensions.Primitives", - "version": "10.0.5", - "hash": "sha256-uvrur+0dg4zAAQcpLkkhPA77ST0tA3+EpGdDlCckC+E=" + "version": "10.0.6", + "hash": "sha256-/iSFDryQIl8rl+TtrzunT5LcbPsQCeC2V+9CnS1P4Cc=" }, { "pname": "Microsoft.Extensions.Primitives", diff --git a/extra/admin-api/Interop/Spacebar.Interop.Cdn.Signing/Spacebar.Interop.Cdn.Signing.csproj b/extra/admin-api/Interop/Spacebar.Interop.Cdn.Signing/Spacebar.Interop.Cdn.Signing.csproj
index 65f5d0ca..378e2128 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Cdn.Signing/Spacebar.Interop.Cdn.Signing.csproj +++ b/extra/admin-api/Interop/Spacebar.Interop.Cdn.Signing/Spacebar.Interop.Cdn.Signing.csproj
@@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.5" /> + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.6" /> <PackageReference Include="ArcaneLibs" Version="1.0.1-preview.20260126-091403"/> </ItemGroup> diff --git a/extra/admin-api/Interop/Spacebar.Interop.Replication.Abstractions/ReplicationMessage.cs b/extra/admin-api/Interop/Spacebar.Interop.Replication.Abstractions/ReplicationMessage.cs
index 630ef47e..5cffa012 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Replication.Abstractions/ReplicationMessage.cs +++ b/extra/admin-api/Interop/Spacebar.Interop.Replication.Abstractions/ReplicationMessage.cs
@@ -3,17 +3,17 @@ using System.Text.Json.Serialization; namespace Spacebar.Interop.Replication.Abstractions; public class ContentlessReplicationMessage { - [JsonPropertyName("channel_id")] - public string? ChannelId { get; set; } + [JsonPropertyName("channel_id"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)] + public long? ChannelId { get; set; } - [JsonPropertyName("guild_id")] - public string? GuildId { get; set; } + [JsonPropertyName("guild_id"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)] + public long? GuildId { get; set; } - [JsonPropertyName("user_id")] - public string? UserId { get; set; } + [JsonPropertyName("user_id"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)] + public long? UserId { get; set; } - [JsonPropertyName("session_id")] - public string? SessionId { get; set; } + [JsonPropertyName("session_id"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)] + public long? SessionId { get; set; } [JsonPropertyName("created_at")] public DateTime? CreatedAt { get; set; } diff --git a/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/RabbitMqSpacebarReplication.cs b/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/RabbitMqSpacebarReplication.cs
index b818b13e..f2b6bf75 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/RabbitMqSpacebarReplication.cs +++ b/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/RabbitMqSpacebarReplication.cs
@@ -24,7 +24,7 @@ public class RabbitMqSpacebarReplication : ISpacebarReplication { // HACK: body is required in rabbitmq... private async Task SendAsyncInternal(ContentlessReplicationMessage message, object? body = null) { - var exchangeId = message.GuildId ?? message.ChannelId ?? message.UserId ?? "global"; + var exchangeId = (message.GuildId ?? message.ChannelId ?? message.UserId)?.ToString() ?? "global"; await _mqChannel.ExchangeDeclareAsync(exchange: exchangeId, type: ExchangeType.Fanout, durable: false); var props = new BasicProperties() { Type = message.Event }; var publishSuccess = false; diff --git a/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/Spacebar.Interop.Replication.RabbitMq.csproj b/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/Spacebar.Interop.Replication.RabbitMq.csproj
index 8a23201e..f74f7ba9 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/Spacebar.Interop.Replication.RabbitMq.csproj +++ b/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/Spacebar.Interop.Replication.RabbitMq.csproj
@@ -13,7 +13,7 @@ <ItemGroup> <PackageReference Include="ArcaneLibs" Version="1.0.1-preview.20260126-091403" /> - <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.5" /> + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.6" /> <PackageReference Include="RabbitMQ.Client" Version="7.2.1" /> </ItemGroup> diff --git a/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/deps.json b/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/deps.json
index f2af5d4e..8061ce3c 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/deps.json +++ b/extra/admin-api/Interop/Spacebar.Interop.Replication.RabbitMq/deps.json
@@ -6,23 +6,23 @@ }, { "pname": "Microsoft.Extensions.Configuration", - "version": "10.0.5", - "hash": "sha256-6rOmJD7Jzq5MPLDd1aV+7gCQwIM9j4c+iT1pGea/daI=" + "version": "10.0.6", + "hash": "sha256-CSd5RC5pMsmglpnE6Vm3JabMnbmziqtUGrZE5Rg7uF4=" }, { "pname": "Microsoft.Extensions.Configuration.Abstractions", - "version": "10.0.5", - "hash": "sha256-DNK+lL2jeHFYyd43zfgVY32UskEfQ4YsTapztuQbYwo=" + "version": "10.0.6", + "hash": "sha256-jxtne26QF7bASCRmLNwYsKruY3QhsnuzN9Us11WUdSQ=" }, { "pname": "Microsoft.Extensions.Configuration.Binder", - "version": "10.0.5", - "hash": "sha256-cVG2NEW1rgLfeq/Gnh/XXqzDx2Tt8ecvgCAB4uFzcQo=" + "version": "10.0.6", + "hash": "sha256-34blBlrQ3FRS7iCS7/gxPZMa9xgDW0p3iEERqwgXFMA=" }, { "pname": "Microsoft.Extensions.Primitives", - "version": "10.0.5", - "hash": "sha256-uvrur+0dg4zAAQcpLkkhPA77ST0tA3+EpGdDlCckC+E=" + "version": "10.0.6", + "hash": "sha256-/iSFDryQIl8rl+TtrzunT5LcbPsQCeC2V+9CnS1P4Cc=" }, { "pname": "RabbitMQ.Client", diff --git a/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/Spacebar.Interop.Replication.UnixSocket.csproj b/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/Spacebar.Interop.Replication.UnixSocket.csproj
index 0d86aa53..a4c14b81 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/Spacebar.Interop.Replication.UnixSocket.csproj +++ b/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/Spacebar.Interop.Replication.UnixSocket.csproj
@@ -12,7 +12,7 @@ </ItemGroup> <ItemGroup> - <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.5" /> + <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.6" /> </ItemGroup> </Project> diff --git a/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/deps.json b/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/deps.json
index f35bcf25..bd26fa0d 100644 --- a/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/deps.json +++ b/extra/admin-api/Interop/Spacebar.Interop.Replication.UnixSocket/deps.json
@@ -1,22 +1,22 @@ [ { "pname": "Microsoft.Extensions.Configuration", - "version": "10.0.5", - "hash": "sha256-6rOmJD7Jzq5MPLDd1aV+7gCQwIM9j4c+iT1pGea/daI=" + "version": "10.0.6", + "hash": "sha256-CSd5RC5pMsmglpnE6Vm3JabMnbmziqtUGrZE5Rg7uF4=" }, { "pname": "Microsoft.Extensions.Configuration.Abstractions", - "version": "10.0.5", - "hash": "sha256-DNK+lL2jeHFYyd43zfgVY32UskEfQ4YsTapztuQbYwo=" + "version": "10.0.6", + "hash": "sha256-jxtne26QF7bASCRmLNwYsKruY3QhsnuzN9Us11WUdSQ=" }, { "pname": "Microsoft.Extensions.Configuration.Binder", - "version": "10.0.5", - "hash": "sha256-cVG2NEW1rgLfeq/Gnh/XXqzDx2Tt8ecvgCAB4uFzcQo=" + "version": "10.0.6", + "hash": "sha256-34blBlrQ3FRS7iCS7/gxPZMa9xgDW0p3iEERqwgXFMA=" }, { "pname": "Microsoft.Extensions.Primitives", - "version": "10.0.5", - "hash": "sha256-uvrur+0dg4zAAQcpLkkhPA77ST0tA3+EpGdDlCckC+E=" + "version": "10.0.6", + "hash": "sha256-/iSFDryQIl8rl+TtrzunT5LcbPsQCeC2V+9CnS1P4Cc=" } ]