Skip to content

Commit

Permalink
export forwardConnectionArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
sikanhe committed Nov 5, 2023
1 parent 6980048 commit b19576f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/relay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ export function nodeDefinitions<Src>(
return { nodeInterface, nodeField };
}

const forwardConnectionArgs = {
export const forwardConnectionArgs = {
after: arg({ type: string }),
first: arg({ type: int }),
};

const backwardConnectionArgs = {
export const backwardConnectionArgs = {
before: arg({ type: string }),
last: arg({ type: int }),
};
Expand Down

1 comment on commit b19576f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes have been published to npm.

yarn add -E [email protected]

Please sign in to comment.