Sha256: 70531aa4cacb7ed0ba5bb6197c81fe75f6b5aff586c1ff3daa99396d9500f5a7

Contents?: true

Size: 1.23 KB

Versions: 12

Compression:

Stored size: 1.23 KB

Contents

module PgEventstore
  module Web
    module Paginator
      module Helpers
        # _@param_ `collection`
        def previous_page_link: (PgEventstore::Web::Paginator::BaseCollection collection) -> String

        # _@param_ `collection`
        def next_page_link: (PgEventstore::Web::Paginator::BaseCollection collection) -> String

        def first_page_link: () -> String

        # _@param_ `per_page` — string representation of items per page. E.g. "10", "20", etc.
        def per_page_url: (String per_page) -> String

        # _@param_ `order` — "asc"/"desc"
        def sort_url: (String order) -> String

        # _@param_ `number` — total number of events by the current filter
        def total_count: (Integer number) -> String

        # _@param_ `number`
        #
        # _@param_ `delimiter`
        def number_with_delimiter: (Integer number, ?delimiter: String) -> String

        # _@param_ `event`
        def stream_path: (PgEventstore::Event event) -> String

        # _@param_ `starting_id`
        def build_starting_id_link: ((String | Integer)? starting_id) -> String

        # _@param_ `params`
        def build_path: ((::Hash[untyped, untyped] | ::Array[untyped]) params) -> String
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pg_eventstore-1.7.0 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.6.0 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.5.0 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.4.0 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.3.4 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.3.3 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.3.2 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.3.1 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.3.0 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.2.0 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.1.5 sig/pg_eventstore/web/paginator/helpers.rbs
pg_eventstore-1.1.4 sig/pg_eventstore/web/paginator/helpers.rbs