|
1 | 1 | import { |
| 2 | + GraphQLFloat, |
2 | 3 | GraphQLInt, |
3 | 4 | GraphQLList, |
4 | 5 | GraphQLNonNull, |
@@ -27,11 +28,11 @@ const mutations = { |
27 | 28 | entityType: { |
28 | 29 | type: new GraphQLNonNull(userTypes.membershipEntityType), |
29 | 30 | }, |
30 | | - oneTimeAmount: { type: GraphQLInt }, |
31 | | - emiAmount: { type: GraphQLInt }, |
| 31 | + oneTimeAmount: { type: GraphQLFloat }, |
| 32 | + emiAmount: { type: GraphQLFloat }, |
32 | 33 | emiTotalInstallments: { type: GraphQLInt }, |
33 | | - subscriptionMonthlyAmount: { type: GraphQLInt }, |
34 | | - subscriptionYearlyAmount: { type: GraphQLInt }, |
| 34 | + subscriptionMonthlyAmount: { type: GraphQLFloat }, |
| 35 | + subscriptionYearlyAmount: { type: GraphQLFloat }, |
35 | 36 | description: { type: GraphQLString }, |
36 | 37 | includedProducts: { type: new GraphQLList(GraphQLString) }, |
37 | 38 | }, |
@@ -85,11 +86,11 @@ const mutations = { |
85 | 86 | planId: { type: new GraphQLNonNull(GraphQLString) }, |
86 | 87 | name: { type: GraphQLString }, |
87 | 88 | type: { type: types.paymentPlanType }, |
88 | | - oneTimeAmount: { type: GraphQLInt }, |
89 | | - emiAmount: { type: GraphQLInt }, |
| 89 | + oneTimeAmount: { type: GraphQLFloat }, |
| 90 | + emiAmount: { type: GraphQLFloat }, |
90 | 91 | emiTotalInstallments: { type: GraphQLInt }, |
91 | | - subscriptionMonthlyAmount: { type: GraphQLInt }, |
92 | | - subscriptionYearlyAmount: { type: GraphQLInt }, |
| 92 | + subscriptionMonthlyAmount: { type: GraphQLFloat }, |
| 93 | + subscriptionYearlyAmount: { type: GraphQLFloat }, |
93 | 94 | description: { type: GraphQLString }, |
94 | 95 | includedProducts: { type: new GraphQLList(GraphQLString) }, |
95 | 96 | }, |
|
0 commit comments