Skip to content

Commit 606a76a

Browse files
committed
feat: change input to Extendable types
1 parent 30f5aec commit 606a76a

36 files changed

+68
-42
lines changed

src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/AddAddressToFavoritesCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using GraphQL.Types;
21
using VirtoCommerce.Xapi.Core.Infrastructure;
2+
using VirtoCommerce.Xapi.Core.Schemas;
33

44
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Commands;
55

@@ -9,7 +9,7 @@ public class AddAddressToFavoritesCommand : ICommand<bool>
99
public string AddressId { get; set; }
1010
}
1111

12-
public class AddAddressToFavoritesCommandType : InputObjectGraphType<AddAddressToFavoritesCommand>
12+
public class AddAddressToFavoritesCommandType : ExtendableInputObjectGraphType<AddAddressToFavoritesCommand>
1313
{
1414
public AddAddressToFavoritesCommandType()
1515
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/RemoveAddressFromFavoritesCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using GraphQL.Types;
21
using VirtoCommerce.Xapi.Core.Infrastructure;
2+
using VirtoCommerce.Xapi.Core.Schemas;
33

44
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Commands;
55

@@ -9,7 +9,7 @@ public class RemoveAddressFromFavoritesCommand : ICommand<bool>
99
public string AddressId { get; set; }
1010
}
1111

12-
public class RemoveAddressFromFavoritesCommandType : InputObjectGraphType<RemoveAddressFromFavoritesCommand>
12+
public class RemoveAddressFromFavoritesCommandType : ExtendableInputObjectGraphType<RemoveAddressFromFavoritesCommand>
1313
{
1414
public RemoveAddressFromFavoritesCommandType()
1515
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputApplicationUserLoginType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using GraphQL.Types;
21
using VirtoCommerce.Platform.Core.Security;
2+
using VirtoCommerce.Xapi.Core.Schemas;
33

44
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
55
{
6-
public class InputApplicationUserLoginType : InputObjectGraphType<ApplicationUserLogin>
6+
public class InputApplicationUserLoginType : ExtendableInputObjectGraphType<ApplicationUserLogin>
77
{
88
public InputApplicationUserLoginType()
99
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputAssignPermissionScopeType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using GraphQL.Types;
21
using VirtoCommerce.Platform.Core.Security;
2+
using VirtoCommerce.Xapi.Core.Schemas;
33

44
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
55
{
6-
public class InputAssignPermissionScopeType : InputObjectGraphType<PermissionScope>
6+
public class InputAssignPermissionScopeType : ExtendableInputObjectGraphType<PermissionScope>
77
{
88
public InputAssignPermissionScopeType()
99
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputAssignPermissionType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
using GraphQL.Types;
22
using VirtoCommerce.Platform.Core.Security;
3+
using VirtoCommerce.Xapi.Core.Schemas;
34

45
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
56
{
6-
public class InputAssignPermissionType : InputObjectGraphType<Permission>
7+
public class InputAssignPermissionType : ExtendableInputObjectGraphType<Permission>
78
{
89
public InputAssignPermissionType()
910
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputAssignRoleType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
using GraphQL.Types;
22
using VirtoCommerce.Platform.Core.Security;
3+
using VirtoCommerce.Xapi.Core.Schemas;
34

45
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
56
{
6-
public class InputAssignRoleType : InputObjectGraphType<Role>
7+
public class InputAssignRoleType : ExtendableInputObjectGraphType<Role>
78
{
89
public InputAssignRoleType()
910
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputChangeOrganizationContactRoleType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
using GraphQL.Types;
22
using VirtoCommerce.ProfileExperienceApiModule.Data.Commands;
3+
using VirtoCommerce.Xapi.Core.Schemas;
34

45
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
56
{
6-
public class InputChangeOrganizationContactRoleType : InputObjectGraphType
7+
public class InputChangeOrganizationContactRoleType : ExtendableInputObjectGraphType
78
{
89
public InputChangeOrganizationContactRoleType()
910
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputChangePasswordType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using GraphQL.Types;
2+
using VirtoCommerce.Xapi.Core.Schemas;
23

34
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
45
{
5-
public class InputChangePasswordType : InputObjectGraphType
6+
public class InputChangePasswordType : ExtendableInputObjectGraphType
67
{
78
public InputChangePasswordType()
89
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputConfirmEmailType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using GraphQL.Types;
2+
using VirtoCommerce.Xapi.Core.Schemas;
23

34
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
45
{
5-
public class InputConfirmEmailType : InputObjectGraphType
6+
public class InputConfirmEmailType : ExtendableInputObjectGraphType
67
{
78
public InputConfirmEmailType()
89
{

src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/InputCreateApplicationUserType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
using GraphQL.Types;
22
using VirtoCommerce.Platform.Core.Security;
3+
using VirtoCommerce.Xapi.Core.Schemas;
34

45
namespace VirtoCommerce.ProfileExperienceApiModule.Data.Schemas
56
{
6-
public class InputCreateApplicationUserType : InputObjectGraphType<ApplicationUser>
7+
public class InputCreateApplicationUserType : ExtendableInputObjectGraphType<ApplicationUser>
78
{
89
public InputCreateApplicationUserType()
910
{

0 commit comments

Comments
 (0)