-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add more GraphQL types for Items and AttachmentActionResults
- Loading branch information
Showing
23 changed files
with
264 additions
and
4 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/Buy7BuyerResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class Buy7BuyerResultType : ObjectType<Buy7BuyerResult> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Buy7BuyerResult> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/Buy7SellerResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class Buy7SellerResultType : ObjectType<Buy7SellerResult> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Buy7SellerResult> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/DailyReward2ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class DailyReward2ResultType : ObjectType<DailyReward2Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<DailyReward2Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement11ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class ItemEnhancement11ResultType : ObjectType<ItemEnhancement11Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<ItemEnhancement11Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement12ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class ItemEnhancement12ResultType : ObjectType<ItemEnhancement12Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<ItemEnhancement12Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement13ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class ItemEnhancement13ResultType : ObjectType<ItemEnhancement13Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<ItemEnhancement13Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement7ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class ItemEnhancement7ResultType : ObjectType<ItemEnhancement7Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<ItemEnhancement7Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/ItemEnhancement9ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class ItemEnhancement9ResultType : ObjectType<ItemEnhancement9Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<ItemEnhancement9Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/MonsterCollectionResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class MonsterCollectionResultType : ObjectType<MonsterCollectionResult> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<MonsterCollectionResult> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination0ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class RapidCombination0ResultType : ObjectType<RapidCombination0Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<RapidCombination0Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/RapidCombination5ResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class RapidCombination5ResultType : ObjectType<RapidCombination5Result> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<RapidCombination5Result> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Lib9c.GraphQL/Types/AttachmentActionResults/SellCancellationResultType.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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.AttachmentActionResults; | ||
|
||
namespace Lib9c.GraphQL.Types.AttachmentActionResults; | ||
|
||
public class SellCancellationResultType : ObjectType<SellCancellationResult> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<SellCancellationResult> descriptor) | ||
{ | ||
descriptor.Implements<AttachmentActionResultInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class ArmorType : ObjectType<Armor> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Armor> descriptor) | ||
{ | ||
descriptor.Implements<EquipmentInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class AuraType : ObjectType<Aura> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Aura> descriptor) | ||
{ | ||
descriptor.Implements<EquipmentInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class BeltType : ObjectType<Belt> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Belt> descriptor) | ||
{ | ||
descriptor.Implements<EquipmentInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class ConsumableType : ObjectType<Consumable> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Consumable> descriptor) | ||
{ | ||
descriptor.Implements<ItemUsableInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class CostumeType : ObjectType<Costume> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Costume> descriptor) | ||
{ | ||
descriptor.Implements<ItemBaseInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class GrimoireType : ObjectType<Grimoire> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Grimoire> descriptor) | ||
{ | ||
descriptor.Implements<EquipmentInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class MaterialInterfaceType : InterfaceType<Material> | ||
{ | ||
protected override void Configure(IInterfaceTypeDescriptor<Material> descriptor) | ||
{ | ||
descriptor.Name("MaterialInterface"); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class MaterialType : ObjectType<Material> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Material> descriptor) | ||
{ | ||
descriptor.Implements<ItemBaseInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class NecklaceType : ObjectType<Necklace> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<Necklace> descriptor) | ||
{ | ||
descriptor.Implements<EquipmentInterfaceType>(); | ||
} | ||
} |
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,12 @@ | ||
using HotChocolate.Types; | ||
using Lib9c.Models.Items; | ||
|
||
namespace Lib9c.GraphQL.Types.Items; | ||
|
||
public class TradableMaterialType : ObjectType<TradableMaterial> | ||
{ | ||
protected override void Configure(IObjectTypeDescriptor<TradableMaterial> descriptor) | ||
{ | ||
descriptor.Implements<MaterialInterfaceType>(); | ||
} | ||
} |