You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-24 23:01:05 +03:00
frontend: show pagination total count in more lists
This commit is contained in:
@@ -636,6 +636,8 @@ export type UpstreamOAuth2LinkConnection = {
|
||||
nodes: Array<UpstreamOAuth2Link>;
|
||||
/** Information to aid in pagination. */
|
||||
pageInfo: PageInfo;
|
||||
/** Identifies the total count of items in the connection. */
|
||||
totalCount: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
/** An edge in a connection. */
|
||||
@@ -1000,6 +1002,7 @@ export type CompatSessionListQuery = {
|
||||
id: string;
|
||||
compatSessions: {
|
||||
__typename?: "CompatSessionConnection";
|
||||
totalCount: number;
|
||||
edges: Array<{
|
||||
__typename?: "CompatSessionEdge";
|
||||
node: { __typename?: "CompatSession"; id: string } & {
|
||||
@@ -1068,6 +1071,7 @@ export type OAuth2SessionListQueryQuery = {
|
||||
id: string;
|
||||
oauth2Sessions: {
|
||||
__typename?: "Oauth2SessionConnection";
|
||||
totalCount: number;
|
||||
edges: Array<{
|
||||
__typename?: "Oauth2SessionEdge";
|
||||
cursor: string;
|
||||
@@ -2174,6 +2178,10 @@ export const CompatSessionListDocument = {
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
kind: "Field",
|
||||
name: { kind: "Name", value: "totalCount" },
|
||||
},
|
||||
{
|
||||
kind: "Field",
|
||||
name: { kind: "Name", value: "pageInfo" },
|
||||
@@ -2502,6 +2510,10 @@ export const OAuth2SessionListQueryDocument = {
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
kind: "Field",
|
||||
name: { kind: "Name", value: "totalCount" },
|
||||
},
|
||||
{
|
||||
kind: "Field",
|
||||
name: { kind: "Name", value: "pageInfo" },
|
||||
|
||||
Reference in New Issue
Block a user