You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
WIP: repository pattern for upstream oauth2 links
This commit is contained in:
@@ -111,6 +111,14 @@ pub fn process_page<T>(
|
||||
Ok((has_previous_page, has_next_page, page))
|
||||
}
|
||||
|
||||
pub struct Page<T> {
|
||||
pub has_next_page: bool,
|
||||
pub has_previous_page: bool,
|
||||
pub edges: Vec<T>,
|
||||
}
|
||||
|
||||
impl<T> Page<T> {}
|
||||
|
||||
pub trait QueryBuilderExt {
|
||||
fn generate_pagination(
|
||||
&mut self,
|
||||
|
||||
Reference in New Issue
Block a user