mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 18:17:59 +00:00
Added the ERI specification (aka version) to the common ERI interface
This commit is contained in:
2 files changed
+10
No files matched your search
@@ -1,5 +1,6 @@
|
|||||||
// ReSharper disable InconsistentNaming
|
// ReSharper disable InconsistentNaming
|
||||||
|
|
||||||
|
using AIStudio.Assistants.ERI;
|
||||||
using AIStudio.Tools.ERIClient.DataModel;
|
using AIStudio.Tools.ERIClient.DataModel;
|
||||||
|
|
||||||
namespace AIStudio.Settings.DataModel;
|
namespace AIStudio.Settings.DataModel;
|
||||||
@@ -39,4 +40,7 @@ public readonly record struct DataSourceERI_V1 : IERIDataSource
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public DataSourceSecurity SecurityPolicy { get; init; } = DataSourceSecurity.NOT_SPECIFIED;
|
public DataSourceSecurity SecurityPolicy { get; init; } = DataSourceSecurity.NOT_SPECIFIED;
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
public ERIVersion Version { get; init; } = ERIVersion.V1;
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using AIStudio.Assistants.ERI;
|
||||||
using AIStudio.Tools.ERIClient.DataModel;
|
using AIStudio.Tools.ERIClient.DataModel;
|
||||||
|
|
||||||
namespace AIStudio.Settings;
|
namespace AIStudio.Settings;
|
||||||
@@ -23,4 +24,9 @@ public interface IERIDataSource : IExternalDataSource
|
|||||||
/// The username to use for authentication, when the auth. method is USERNAME_PASSWORD.
|
/// The username to use for authentication, when the auth. method is USERNAME_PASSWORD.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Username { get; init; }
|
public string Username { get; init; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The ERI specification to use.
|
||||||
|
/// </summary>
|
||||||
|
public ERIVersion Version { get; init; }
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user