moving from Yavsc main lib
parent
2371e5ccbc
commit
646c5d9537
@ -1,4 +1,4 @@
|
|||||||
namespace Yavsc.Server.Interfaces
|
namespace Yavsc.Interfaces
|
||||||
{
|
{
|
||||||
public interface INamedObject
|
public interface INamedObject
|
||||||
{
|
{
|
||||||
@ -1,12 +1,7 @@
|
|||||||
using Yavsc.Models.Relationship;
|
|
||||||
|
|
||||||
namespace Yavsc.Interfaces
|
namespace Yavsc.Interfaces
|
||||||
{
|
{
|
||||||
public interface ITaggable<K>
|
public interface ITaggable<K>
|
||||||
{
|
{
|
||||||
void Tag(Tag tag);
|
|
||||||
void Detag(Tag tag);
|
|
||||||
|
|
||||||
string [] GetTags();
|
string [] GetTags();
|
||||||
|
|
||||||
K Id { get; }
|
K Id { get; }
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Yavsc.Models.Identity
|
||||||
|
{
|
||||||
|
public class BlackListedUserName : IWatchedUserName {
|
||||||
|
|
||||||
|
[Key]
|
||||||
|
[StringLength(1024)]
|
||||||
|
public string Name { get; set;}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Yavsc.Interfaces;
|
||||||
|
|
||||||
|
namespace Yavsc.Models.Identity
|
||||||
|
{
|
||||||
|
public interface IWatchedUserName : INamedObject {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Yavsc.Models.Identity
|
||||||
|
{
|
||||||
|
public class ReservedUserName : IWatchedUserName {
|
||||||
|
|
||||||
|
[Key]
|
||||||
|
[StringLength(1024)]
|
||||||
|
public string Name { get; set;}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue