Skip to content

Commit

Permalink
refact: Rename processOrder to processPendingOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Nov 23, 2020
1 parent 09e83c7 commit 8d1073d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 182 deletions.
182 changes: 1 addition & 181 deletions server/graphql/schemaV2.graphql
Expand Up @@ -126,26 +126,6 @@ interface Account {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -617,26 +597,6 @@ type Bot implements Account {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -846,26 +806,6 @@ type Collective implements Account & AccountWithHost & AccountWithContributions
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -2927,26 +2867,6 @@ type Event implements Account & AccountWithHost & AccountWithContributions {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -3809,26 +3729,6 @@ type Fund implements Account & AccountWithHost & AccountWithContributions {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -4115,26 +4015,6 @@ type Host implements Account & AccountWithContributions {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -4512,26 +4392,6 @@ type Individual implements Account {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -5226,7 +5086,7 @@ type Mutation {
"""
A mutation for the host to approve or reject an order
"""
processOrder(order: OrderReferenceInput!, action: ProcessOrderAction!): Order!
processPendingOrder(order: OrderReferenceInput!, action: ProcessOrderAction!): Order!

"""
Add a new payment method to be used with an Order
Expand Down Expand Up @@ -5684,26 +5544,6 @@ type Organization implements Account {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down Expand Up @@ -6107,26 +5947,6 @@ type Project implements Account & AccountWithHost & AccountWithContributions {
status: [OrderStatus]
tierSlug: String

"""
Only return orders where the amount is greater than or equal to this value (in cents)
"""
minAmount: Int

"""
Only return orders where the amount is lower than or equal to this value (in cents)
"""
maxAmount: Int

"""
Only return orders that were created after this date
"""
dateFrom: ISODateTime

"""
The term to search
"""
searchTerm: String

"""
Only returns orders that have an subscription (monthly/yearly)
"""
Expand Down
2 changes: 1 addition & 1 deletion server/graphql/v2/mutation/OrderMutations.js
Expand Up @@ -279,7 +279,7 @@ const orderMutations = {
};
},
},
processOrder: {
processPendingOrder: {
type: new GraphQLNonNull(Order),
description: 'A mutation for the host to approve or reject an order',
args: {
Expand Down

0 comments on commit 8d1073d

Please sign in to comment.