auditView: (
query: any,
) => {
all: any[];
filtered: any[];
json: {
actions: { action: string; category: string; label: string }[];
byAction: {};
byCategory: {};
byOutcome: {};
categories: { category: string; label: string; what: string }[];
dropped: number;
events: any[];
filter: {
action: string;
actor: string;
address: string;
category: string;
code: string;
outcome: string;
q: string;
};
firstRow: number;
held: number;
lastRow: number;
matched: number;
maxEvents: any;
newestSeq: any;
oldestSeq: any;
outcomes: string[];
page: number;
pages: number;
perPage: number;
protocolCalls: any;
recorded: number;
shown: number;
};
paging: {
firstRow: number;
lastRow: number;
noun: any;
offset: number;
page: number;
pages: number;
param: string;
perPage: number;
total: any;
};
shown: any[];
summary: {
byAction: {};
byCategory: {};
byOutcome: {};
dropped: number;
held: number;
heldHere: number;
maxEvents: any;
newestAt: any;
newestSeq: any;
oldestAt: any;
oldestSeq: any;
processes: number;
protocolCalls: any;
recorded: number;
};
wantedAction: string;
wantedActor: string;
wantedAddress: string;
wantedCategory: string;
wantedCode: string;
wantedOutcome: string;
wantedText: string;
} = ...
Type Declaration
-
- (
query: any,
): {
all: any[];
filtered: any[];
json: {
actions: { action: string; category: string; label: string }[];
byAction: {};
byCategory: {};
byOutcome: {};
categories: { category: string; label: string; what: string }[];
dropped: number;
events: any[];
filter: {
action: string;
actor: string;
address: string;
category: string;
code: string;
outcome: string;
q: string;
};
firstRow: number;
held: number;
lastRow: number;
matched: number;
maxEvents: any;
newestSeq: any;
oldestSeq: any;
outcomes: string[];
page: number;
pages: number;
perPage: number;
protocolCalls: any;
recorded: number;
shown: number;
};
paging: {
firstRow: number;
lastRow: number;
noun: any;
offset: number;
page: number;
pages: number;
param: string;
perPage: number;
total: any;
};
shown: any[];
summary: {
byAction: {};
byCategory: {};
byOutcome: {};
dropped: number;
held: number;
heldHere: number;
maxEvents: any;
newestAt: any;
newestSeq: any;
oldestAt: any;
oldestSeq: any;
processes: number;
protocolCalls: any;
recorded: number;
};
wantedAction: string;
wantedActor: string;
wantedAddress: string;
wantedCategory: string;
wantedCode: string;
wantedOutcome: string;
wantedText: string;
}
-
Returns {
all: any[];
filtered: any[];
json: {
actions: { action: string; category: string; label: string }[];
byAction: {};
byCategory: {};
byOutcome: {};
categories: { category: string; label: string; what: string }[];
dropped: number;
events: any[];
filter: {
action: string;
actor: string;
address: string;
category: string;
code: string;
outcome: string;
q: string;
};
firstRow: number;
held: number;
lastRow: number;
matched: number;
maxEvents: any;
newestSeq: any;
oldestSeq: any;
outcomes: string[];
page: number;
pages: number;
perPage: number;
protocolCalls: any;
recorded: number;
shown: number;
};
paging: {
firstRow: number;
lastRow: number;
noun: any;
offset: number;
page: number;
pages: number;
param: string;
perPage: number;
total: any;
};
shown: any[];
summary: {
byAction: {};
byCategory: {};
byOutcome: {};
dropped: number;
held: number;
heldHere: number;
maxEvents: any;
newestAt: any;
newestSeq: any;
oldestAt: any;
oldestSeq: any;
processes: number;
protocolCalls: any;
recorded: number;
};
wantedAction: string;
wantedActor: string;
wantedAddress: string;
wantedCategory: string;
wantedCode: string;
wantedOutcome: string;
wantedText: string;
}
the view
Builds
/admin/audit: the audit log, filtered and paged.