Fix compile errors

This commit is contained in:
genteure 2022-04-03 19:50:51 +08:00
parent 5d93317b1d
commit 43ed74919b
5 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using BililiveRecorder.Core;
using BililiveRecorder.Core.Config.V2;
using BililiveRecorder.Core.Config.V3;
using BililiveRecorder.Core.Event;
namespace BililiveRecorder.Web
@ -11,7 +11,7 @@ namespace BililiveRecorder.Web
{
private bool disposedValue;
public ConfigV2 Config { get; } = new ConfigV2();
public ConfigV3 Config { get; } = new ConfigV3();
public ReadOnlyObservableCollection<IRoom> Rooms { get; } = new ReadOnlyObservableCollection<IRoom>(new ObservableCollection<IRoom>());

View File

@ -3,7 +3,8 @@
// SEE /config_gen/README.md
// ******************************
using BililiveRecorder.Core.Config.V2;
using BililiveRecorder.Core.Config;
using BililiveRecorder.Core.Config.V3;
using GraphQL.Types;
using HierarchicalPropertyDefault;
#nullable enable

View File

@ -1,4 +1,4 @@
using BililiveRecorder.Core.Config.V2;
using BililiveRecorder.Core.Config;
using GraphQL.Types;
namespace BililiveRecorder.Web.Models.Graphql

View File

@ -1,4 +1,4 @@
using BililiveRecorder.Core.Config.V2;
using BililiveRecorder.Core.Config;
using GraphQL.Types;
namespace BililiveRecorder.Web.Models.Graphql

View File

@ -2,7 +2,8 @@ import { ConfigEntry, ConfigEntryType } from "../types"
import { trimEnd } from "../utils";
export default function (data: ConfigEntry[]): string {
let result = `using BililiveRecorder.Core.Config.V2;
let result = `using BililiveRecorder.Core.Config;
using BililiveRecorder.Core.Config.V3;
using GraphQL.Types;
using HierarchicalPropertyDefault;
#nullable enable