Made external data sources also secret IDs

This commit is contained in:
tsommer committed 2025-01-06 20:44:19 +01:00
1 parent 12ce4b57f3
commit b473010664
1 file changed
+14 -1
@@ -1,3 +1,16 @@
using System.Text.Json.Serialization;
namespace AIStudio.Settings; 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
}