moving from Yavsc main lib
This commit is contained in:
@ -1,15 +1,14 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Yavsc.Models.Messaging;
|
||||||
|
|
||||||
namespace Yavsc.Interfaces
|
namespace Yavsc.Interfaces
|
||||||
{
|
{
|
||||||
using Models.Relationship;
|
|
||||||
using Models.Messaging;
|
|
||||||
public interface IBookQueryData
|
public interface IBookQueryData
|
||||||
{
|
{
|
||||||
ClientProviderInfo Client { get; set; }
|
ClientProviderInfo Client { get; set; }
|
||||||
DateTime EventDate { get; set; }
|
DateTime EventDate { get; set; }
|
||||||
long Id { get; set; }
|
long Id { get; set; }
|
||||||
Location Location { get; set; }
|
ILocation Location { get; set; }
|
||||||
decimal? Previsionnal { get; set; }
|
decimal? Previsionnal { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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; }
|
@ -45,6 +45,7 @@
|
|||||||
"defaultNamespace": "Yavsc"
|
"defaultNamespace": "Yavsc"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"Microsoft.Extensions.Localization": "1.0.0-rc1-final",
|
||||||
"Newtonsoft.Json": "9.0.1",
|
"Newtonsoft.Json": "9.0.1",
|
||||||
"Gapi.net45": "1.0.0",
|
"Gapi.net45": "1.0.0",
|
||||||
"PayPalMerchant-net451": "2.7.109",
|
"PayPalMerchant-net451": "2.7.109",
|
||||||
|
File diff suppressed because it is too large
Load Diff
15
Yavsc/Models/Identity/BlackListedUserName.cs
Normal file
15
Yavsc/Models/Identity/BlackListedUserName.cs
Normal file
@ -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;}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
12
Yavsc/Models/Identity/IWatchedUserName.cs
Normal file
12
Yavsc/Models/Identity/IWatchedUserName.cs
Normal file
@ -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 {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
15
Yavsc/Models/Identity/ReservedUserName.cs
Normal file
15
Yavsc/Models/Identity/ReservedUserName.cs
Normal file
@ -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;}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||||||
|
|
||||||
namespace Yavsc.Models.Relationship
|
namespace Yavsc.Models.Relationship
|
||||||
{
|
{
|
||||||
public partial class Tag
|
public class Tag
|
||||||
{
|
{
|
||||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Yavsc.Server.Interfaces;
|
using Yavsc.Interfaces;
|
||||||
|
|
||||||
namespace Yavsc.Models.Process
|
namespace Yavsc.Models.Process
|
||||||
{
|
{
|
||||||
|
@ -135,8 +135,8 @@
|
|||||||
"version": "2.7.109"
|
"version": "2.7.109"
|
||||||
},
|
},
|
||||||
"Gapi.net45": "1.0.0",
|
"Gapi.net45": "1.0.0",
|
||||||
"Yavsc.Abstract": {},
|
"Yavsc.Abstract": { "type": "build" },
|
||||||
"Yavsc.Server": {}
|
"Yavsc.Server": { "type": "build" }
|
||||||
},
|
},
|
||||||
"commands": {
|
"commands": {
|
||||||
"web": "Microsoft.AspNet.Server.Kestrel --server.urls http://*:5000",
|
"web": "Microsoft.AspNet.Server.Kestrel --server.urls http://*:5000",
|
||||||
|
Reference in New Issue
Block a user