feat: add import/export model types (ServiceImport, StreamImport, exports, auth)

This commit is contained in:
Joseph Doherty
2026-02-23 05:51:30 -05:00
parent 5bae9cc289
commit 591833adbb
10 changed files with 195 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using NATS.Server.Auth;
using NATS.Server.Subscriptions;
namespace NATS.Server.Imports;
public sealed class StreamImport
{
public required Account SourceAccount { get; init; }
public required string From { get; init; }
public required string To { get; init; }
public SubjectTransform? Transform { get; init; }
public bool UsePub { get; init; }
public bool Invalid { get; set; }
}