-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
145 changed files
with
9,998 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
AutoMapper.dll | ||
AutoMapper.Extensions.Microsoft.DependencyInjection.dll | ||
GraphQL.Authorization.dll | ||
GraphQL.DataLoader.dll | ||
GraphQL.dll | ||
GraphQL.NewtonsoftJson.dll | ||
GraphQL.Relay.dll | ||
GraphQL.Server.Core.dll | ||
GraphQL.Server.Transports.AspNetCore.dll | ||
GraphQL.Server.Transports.AspNetCore.NewtonsoftJson.dll | ||
GraphQL.Server.Transports.Subscriptions.Abstractions.dll | ||
GraphQL.SystemReactive.dll | ||
GraphQL-Parser.dll | ||
MediatR.dll | ||
MediatR.Extensions.Microsoft.DependencyInjection.dll | ||
Microsoft.Data.SqlClient.SNI.dll | ||
Nager.Country.dll | ||
PipelineNet.dll | ||
System.Reactive.Core.dll | ||
System.Reactive.dll | ||
System.Reactive.Linq.dll | ||
System.Reactive.xml | ||
TimeZoneConverter.dll | ||
VirtoCommerce.Tools.dll |
Empty file.
13 changes: 13 additions & 0 deletions
13
src/VirtoCommerce.PushMessages.Core/Events/PushMessageChangedEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
using VirtoCommerce.Platform.Core.Events; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Events; | ||
|
||
public class PushMessageChangedEvent : GenericChangedEntryEvent<PushMessage> | ||
{ | ||
public PushMessageChangedEvent(IEnumerable<GenericChangedEntry<PushMessage>> changedEntries) | ||
: base(changedEntries) | ||
{ | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/VirtoCommerce.PushMessages.Core/Events/PushMessageChangingEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
using VirtoCommerce.Platform.Core.Events; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Events; | ||
|
||
public class PushMessageChangingEvent : GenericChangedEntryEvent<PushMessage> | ||
{ | ||
public PushMessageChangingEvent(IEnumerable<GenericChangedEntry<PushMessage>> changedEntries) | ||
: base(changedEntries) | ||
{ | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/VirtoCommerce.PushMessages.Core/Events/PushMessageRecipientChangedEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
using VirtoCommerce.Platform.Core.Events; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Events; | ||
|
||
public class PushMessageRecipientChangedEvent : GenericChangedEntryEvent<PushMessageRecipient> | ||
{ | ||
public PushMessageRecipientChangedEvent(IEnumerable<GenericChangedEntry<PushMessageRecipient>> changedEntries) | ||
: base(changedEntries) | ||
{ | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/VirtoCommerce.PushMessages.Core/Events/PushMessageRecipientChangingEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
using VirtoCommerce.Platform.Core.Events; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Events; | ||
|
||
public class PushMessageRecipientChangingEvent : GenericChangedEntryEvent<PushMessageRecipient> | ||
{ | ||
public PushMessageRecipientChangingEvent(IEnumerable<GenericChangedEntry<PushMessageRecipient>> changedEntries) | ||
: base(changedEntries) | ||
{ | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessage : AuditableEntity, ICloneable | ||
{ | ||
public string ShortMessage { get; set; } | ||
|
||
public IList<string> MemberIds { get; set; } | ||
|
||
[JsonIgnore] | ||
public IList<string> UserIds { get; set; } | ||
|
||
public object Clone() | ||
{ | ||
return MemberwiseClone(); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/VirtoCommerce.PushMessages.Core/Models/PushMessageMember.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessageMember : AuditableEntity | ||
{ | ||
public string MemberId { get; set; } | ||
public string MemberName { get; set; } | ||
public string MemberType { get; set; } | ||
} |
22 changes: 22 additions & 0 deletions
22
src/VirtoCommerce.PushMessages.Core/Models/PushMessageRecipient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessageRecipient : AuditableEntity, ICloneable | ||
{ | ||
public string MessageId { get; set; } | ||
public string MemberId { get; set; } | ||
public string MemberName { get; set; } | ||
public string UserId { get; set; } | ||
public string UserName { get; set; } | ||
public bool IsRead { get; set; } | ||
public bool IsHidden { get; set; } | ||
|
||
public PushMessage Message { get; set; } | ||
|
||
public object Clone() | ||
{ | ||
return MemberwiseClone(); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/VirtoCommerce.PushMessages.Core/Models/PushMessageRecipientResponseGroup.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
[Flags] | ||
public enum PushMessageRecipientResponseGroup | ||
{ | ||
None = 0, | ||
WithMessages = 1 << 0, | ||
Full = WithMessages, | ||
} |
11 changes: 11 additions & 0 deletions
11
src/VirtoCommerce.PushMessages.Core/Models/PushMessageRecipientSearchCriteria.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessageRecipientSearchCriteria : SearchCriteriaBase | ||
{ | ||
public string MessageId { get; set; } | ||
public string UserId { get; set; } | ||
public bool? IsRead { get; set; } | ||
public bool WithHidden { get; set; } | ||
} |
7 changes: 7 additions & 0 deletions
7
src/VirtoCommerce.PushMessages.Core/Models/PushMessageRecipientSearchResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessageRecipientSearchResult : GenericSearchResult<PushMessageRecipient> | ||
{ | ||
} |
11 changes: 11 additions & 0 deletions
11
src/VirtoCommerce.PushMessages.Core/Models/PushMessageResponseGroup.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
[Flags] | ||
public enum PushMessageResponseGroup | ||
{ | ||
None = 0, | ||
WithMembers = 1 << 0, | ||
Full = WithMembers, | ||
} |
7 changes: 7 additions & 0 deletions
7
src/VirtoCommerce.PushMessages.Core/Models/PushMessageSearchCriteria.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessageSearchCriteria : SearchCriteriaBase | ||
{ | ||
} |
7 changes: 7 additions & 0 deletions
7
src/VirtoCommerce.PushMessages.Core/Models/PushMessageSearchResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using VirtoCommerce.Platform.Core.Common; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Models; | ||
|
||
public class PushMessageSearchResult : GenericSearchResult<PushMessage> | ||
{ | ||
} |
Empty file.
Empty file.
8 changes: 8 additions & 0 deletions
8
src/VirtoCommerce.PushMessages.Core/Services/IPushMessageRecipientSearchService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using VirtoCommerce.Platform.Core.GenericCrud; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Services; | ||
|
||
public interface IPushMessageRecipientSearchService : ISearchService<PushMessageRecipientSearchCriteria, PushMessageRecipientSearchResult, PushMessageRecipient> | ||
{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/VirtoCommerce.PushMessages.Core/Services/IPushMessageRecipientService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using VirtoCommerce.Platform.Core.GenericCrud; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Services; | ||
|
||
public interface IPushMessageRecipientService : ICrudService<PushMessageRecipient> | ||
{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/VirtoCommerce.PushMessages.Core/Services/IPushMessageSearchService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using VirtoCommerce.Platform.Core.GenericCrud; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Services; | ||
|
||
public interface IPushMessageSearchService : ISearchService<PushMessageSearchCriteria, PushMessageSearchResult, PushMessage> | ||
{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/VirtoCommerce.PushMessages.Core/Services/IPushMessageService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using VirtoCommerce.Platform.Core.GenericCrud; | ||
using VirtoCommerce.PushMessages.Core.Models; | ||
|
||
namespace VirtoCommerce.PushMessages.Core.Services; | ||
|
||
public interface IPushMessageService : ICrudService<PushMessage> | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.