implement session replay filters
This commit is contained in:
1 parent
f3ce0e64ca
commit
c61c01e3bb
62 files changed
+264
-372
No files matched your search
@@ -168,6 +168,7 @@ export async function getQueryFilters(
|
||||
...dateRange,
|
||||
...filters,
|
||||
match,
|
||||
minDuration: params?.minDuration,
|
||||
page: params?.page,
|
||||
pageSize: params?.pageSize ? params?.pageSize || DEFAULT_PAGE_SIZE : undefined,
|
||||
orderBy: params?.orderBy,
|
||||
|
||||
@@ -74,6 +74,10 @@ export const searchParams = {
|
||||
search: z.string().optional(),
|
||||
};
|
||||
|
||||
export const replayParams = {
|
||||
minDuration: z.coerce.number().int().nonnegative().optional(),
|
||||
};
|
||||
|
||||
export const pagingParams = {
|
||||
page: z.coerce.number().int().positive().optional(),
|
||||
pageSize: z.coerce.number().int().positive().optional(),
|
||||
|
||||
@@ -124,6 +124,7 @@ export interface QueryFilters
|
||||
SortParams,
|
||||
PageParams,
|
||||
SegmentParams {
|
||||
minDuration?: number;
|
||||
cohortFilters?: QueryFilters;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user