Made external data sources also secret IDs

This commit is contained in:
Thorsten Sommer 2025-01-06 20:44:19 +01:00
parent 12ce4b57f3
commit b473010664
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -1,3 +1,16 @@
using System.Text.Json.Serialization;
namespace AIStudio.Settings;
public interface IExternalDataSource : IDataSource;
public interface IExternalDataSource : IDataSource, ISecretId
{
#region Implementation of ISecretId
[JsonIgnore]
string ISecretId.SecretId => this.Id;
[JsonIgnore]
string ISecretId.SecretName => this.Name;
#endregion
}