feature: exports api refactoring
This commit is contained in:
1 parent
2c215e4856
commit
d3cef11796
15 files changed
+239
-232
No files matched your search
@@ -50,9 +50,9 @@ namespace Disco.Services.Logging
|
||||
return logRetriever.Query(database);
|
||||
}
|
||||
|
||||
public ExportMetadata<LogLiveEvent> BuildMetadata(DiscoDataContext database, List<LogLiveEvent> records, IScheduledTaskStatus status)
|
||||
public ExportMetadata<LogExportOptions, LogLiveEvent> BuildMetadata(DiscoDataContext database, List<LogLiveEvent> records, IScheduledTaskStatus status)
|
||||
{
|
||||
var metadata = new ExportMetadata<LogLiveEvent>
|
||||
var metadata = new ExportMetadata<LogExportOptions, LogLiveEvent>(Options)
|
||||
{
|
||||
{ nameof(LogLiveEvent.Timestamp), r => r.Timestamp },
|
||||
{ nameof(LogLiveEvent.ModuleId), r => r.ModuleId },
|
||||
|
||||
Reference in new issue
Block a user