mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 05:20:21 +00:00 
			
		
		
		
	Made external data sources also secret IDs
This commit is contained in:
		
							parent
							
								
									12ce4b57f3
								
							
						
					
					
						commit
						b473010664
					
				@ -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
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user