Sha256: 323259b6fe3062330fb8bc5b41682c8600fc933756040a579161bb720b3a968d
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
module GraphqlPagination class CollectionMetadataType < GraphQL::Schema::Object field :current_page, Integer, null: false, description: "Current Page of loaded data" field :limit_value, Integer, null: false, description: "The number of items per page" field :total_count, Integer, null: false, description: "The total number of items to be paginated" field :total_pages, Integer, null: false, description: "The total number of pages in the pagination" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql-pagination-2.1.3 | lib/graphql_pagination/collection_metadata_type.rb |
graphql-pagination-2.1.2 | lib/graphql_pagination/collection_metadata_type.rb |