Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
// Shared between the admin audit-trails list route and its CSV export
|
||||
// resource route (raw Response bodies only pass through component-less routes).
|
||||
import type { AdminAuditLogFilters } from "@hivegrid/db/logs.server";
|
||||
|
||||
export const CSV_EXPORT_TAKE = 500;
|
||||
|
||||
export function getAdminAuditLogFiltersFromUrl(urlSearchParams: URLSearchParams): AdminAuditLogFilters {
|
||||
return {
|
||||
q: urlSearchParams.get("q"),
|
||||
action: urlSearchParams.get("action"),
|
||||
url: urlSearchParams.get("url"),
|
||||
tenantId: urlSearchParams.get("tenantId"),
|
||||
userId: urlSearchParams.get("userId"),
|
||||
createdAtFrom: urlSearchParams.get("createdAtFrom"),
|
||||
createdAtTo: urlSearchParams.get("createdAtTo"),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user