Skip to content

Commit

Permalink
feat(core): Allow cancellation of order by id
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jul 31, 2019
1 parent cba63e1 commit 8d0a0eb
Show file tree
Hide file tree
Showing 10 changed files with 528 additions and 299 deletions.
3 changes: 2 additions & 1 deletion packages/common/src/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export type Cancellation = Node & StockMovement & {
};

export type CancelOrderInput = {
lines: Array<OrderLineInput>,
orderId: Scalars['ID'],
lines?: Maybe<Array<OrderLineInput>>,
reason?: Maybe<Scalars['String']>,
};

Expand Down
3 changes: 2 additions & 1 deletion packages/core/e2e/graphql/generated-e2e-admin-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ export type Cancellation = Node &
};

export type CancelOrderInput = {
lines: Array<OrderLineInput>;
orderId: Scalars['ID'];
lines?: Maybe<Array<OrderLineInput>>;
reason?: Maybe<Scalars['String']>;
};

Expand Down
Loading

0 comments on commit 8d0a0eb

Please sign in to comment.