gnapMonitorView: (
req: any,
) => {
applications: number;
events: { counter: string; event: string; label: string }[];
page: string;
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
activeTokens: number;
counters: CounterRow;
finishUris: string[];
grantsHeld: {
approved: number;
finalized: number;
pending: number;
total: number;
};
identifier: string;
kinds: any;
lastAt: string;
lastEvent: string;
name: any;
registered: boolean;
role: string;
webApplication: boolean;
}[];
since: string;
title: string;
tokensByFormat: Record<string, number>;
totals: Record<string, number>;
} = ...
Type Declaration
-
- (
req: any,
): {
applications: number;
events: { counter: string; event: string; label: string }[];
page: string;
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
activeTokens: number;
counters: CounterRow;
finishUris: string[];
grantsHeld: {
approved: number;
finalized: number;
pending: number;
total: number;
};
identifier: string;
kinds: any;
lastAt: string;
lastEvent: string;
name: any;
registered: boolean;
role: string;
webApplication: boolean;
}[];
since: string;
title: string;
tokensByFormat: Record<string, number>;
totals: Record<string, number>;
}
-
Returns {
applications: number;
events: { counter: string; event: string; label: string }[];
page: string;
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
activeTokens: number;
counters: CounterRow;
finishUris: string[];
grantsHeld: {
approved: number;
finalized: number;
pending: number;
total: number;
};
identifier: string;
kinds: any;
lastAt: string;
lastEvent: string;
name: any;
registered: boolean;
role: string;
webApplication: boolean;
}[];
since: string;
title: string;
tokensByFormat: Record<string, number>;
totals: Record<string, number>;
}
the page's facts
Computes
GET /admin/gnap/monitor: the applications that use GNAP — declared for it, observed speaking it, or counted — and what each has done.