File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -49,39 +49,4 @@ export class Pageable {
4949
5050 if ( pageable . order ) this . order = pageable . order ;
5151 }
52-
53- /**
54- * A fluent builder for configuring Pageable
55- */
56- static Builder = class PageableBuilder {
57- private pageable : Pageable = new Pageable ( { } ) ;
58-
59- page ( value : number ) {
60- this . pageable . page = value ;
61- return this ;
62- }
63-
64- size ( value : number ) {
65- this . pageable . size = value ;
66- return this ;
67- }
68-
69- order ( value : OrderType ) {
70- this . pageable . order = value ;
71- return this ;
72- }
73-
74- sort ( value : string ) {
75- this . pageable . sort = value ;
76- return this ;
77- }
78-
79- /**
80- * Converts the pageable builder into {@link Pageable}
81- * @returns A new {@link Pageable}
82- */
83- build ( ) : Pageable {
84- return new Pageable ( this . pageable ) ;
85- }
86- } ;
8752}
You can’t perform that action at this time.
0 commit comments