Separate provisioning jobs from activity log

This commit is contained in:
2026-10-07 23:15:55 -04:00
parent a223180835
commit 58375e6db0
10 changed files with 64 additions and 21 deletions
+2
View File
@@ -34,6 +34,7 @@ export interface ActivityRow {
}
export interface ActivityQuery {
excludeProvisioning?: boolean;
server?: string;
host?: string;
type?: ActivityType;
@@ -67,6 +68,7 @@ export function parseActivityQuery(params: URLSearchParams): ActivityQuery {
limit: integer(params.get('limit'), 25, 1, 100),
offset: integer(params.get('offset'), 0, 0, 1_000_000_000)
};
if (params.get('excludeProvisioning') === 'true') query.excludeProvisioning = true;
for (const key of ['server', 'host', 'q'] as const) {
const value = params.get(key)?.trim().slice(0, key === 'q' ? 200 : 255);
if (value) query[key] = value;