🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@parameter1/graphql-feature-pagination

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parameter1/graphql-feature-pagination - npm Package Compare versions

Comparing version

to
1.1.0

{
"name": "@parameter1/graphql-feature-pagination",
"version": "1.0.3",
"version": "1.1.0",
"type": "module",

@@ -36,3 +36,3 @@ "description": "GraphQL pagination definitions",

},
"gitHead": "510a520e89f8b3815992dad0d6750a5baa852061"
"gitHead": "e824d05ed4014621227fd8b227ec1e53e0d3603b"
}

@@ -26,4 +26,8 @@ import { gql } from 'graphql-tag';

endCursor: String!
"The ending edge position, can be used in conjunction with \`startingPosition\` to generate pagination information like 'displaying 50 to 75 of 500 results'"
endingPosition: Int
"The first cursor of the page. Can be used as the \`CursorPaginationInput.cursor\` in \`BEFORE\` mode for returning previous results. Will be an empty string if no edges could be found."
startCursor: String!
"The starting edge position, can be used in conjunction with \`endingPosition\` to generate pagination information like 'displaying 50 to 75 of 500 results'"
startingPosition: Int
"The final offset of the page. Can be used as the \`OffsetPaginationInput.offset\` for returning more results. Will always be \`null\` when paginating in \`CURSOR\` mode."

@@ -30,0 +34,0 @@ endOffset: Int