mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 18:13:45 +00:00
owo
This commit is contained in:
7
core/LightTube/Contexts/BaseContext.cs
Normal file
7
core/LightTube/Contexts/BaseContext.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace LightTube.Contexts
|
||||
{
|
||||
public class BaseContext
|
||||
{
|
||||
public bool MobileLayout;
|
||||
}
|
||||
}
|
||||
7
core/LightTube/Contexts/ErrorContext.cs
Normal file
7
core/LightTube/Contexts/ErrorContext.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace LightTube.Contexts
|
||||
{
|
||||
public class ErrorContext : BaseContext
|
||||
{
|
||||
public string Path;
|
||||
}
|
||||
}
|
||||
11
core/LightTube/Contexts/FeedContext.cs
Normal file
11
core/LightTube/Contexts/FeedContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using LightTube.Database;
|
||||
|
||||
namespace LightTube.Contexts
|
||||
{
|
||||
public class FeedContext : BaseContext
|
||||
{
|
||||
public LTChannel[] Channels;
|
||||
public FeedVideo[] Videos;
|
||||
public string RssToken;
|
||||
}
|
||||
}
|
||||
13
core/LightTube/Contexts/LocalsContext.cs
Normal file
13
core/LightTube/Contexts/LocalsContext.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using InnerTube.Models;
|
||||
|
||||
namespace LightTube.Contexts
|
||||
{
|
||||
public class LocalsContext : BaseContext
|
||||
{
|
||||
public Dictionary<string, string> Languages;
|
||||
public Dictionary<string, string> Regions;
|
||||
public string CurrentLanguage;
|
||||
public string CurrentRegion;
|
||||
}
|
||||
}
|
||||
11
core/LightTube/Contexts/PlaylistsContext.cs
Normal file
11
core/LightTube/Contexts/PlaylistsContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using InnerTube.Models;
|
||||
using LightTube.Database;
|
||||
|
||||
namespace LightTube.Contexts
|
||||
{
|
||||
public class PlaylistsContext : BaseContext
|
||||
{
|
||||
public IEnumerable<LTPlaylist> Playlists;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user