This commit is contained in:
2024-02-28 01:22:13 +01:00
Unverified
parent e3ec5c3a48
commit 74eb899e31
51 changed files with 562 additions and 608 deletions

View File

@@ -0,0 +1,18 @@
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Configuration.Models
{
public class Channel
{
[ConfigurationKeyName("regexes")]
public List<string> Regexes { get; } = new List<string>();
[ConfigurationKeyName("url")]
public string Url { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Configuration.Models
{
public class Clip
{
[ConfigurationKeyName("regexes")]
public List<string> Regexes { get; } = new List<string>();
}
}

View File

@@ -6,5 +6,8 @@ namespace VDownload.Sources.Twitch.Configuration.Models
{
[ConfigurationKeyName("get_videos")]
public string GetVideos { get; set; }
[ConfigurationKeyName("get_users")]
public string GetUsers { get; set; }
}
}

View File

@@ -8,6 +8,12 @@ namespace VDownload.Sources.Twitch.Configuration.Models{
[ConfigurationKeyName("vod")]
public Vod Vod { get; set; }
[ConfigurationKeyName("clip")]
public Clip Clip { get; set; }
[ConfigurationKeyName("channel")]
public Channel Channel { get; set; }
}
}