1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/hooks
Thomas Heartman 643cfeb5bb
chore: use EventSchema instead of IEvent (#7732)
Changes the type used by the useEventSearch hook to be `EventSchema`
from OpenAPI instead. This is more accurate with what we're actually
getting. And crucially for the event log search, it contains the
`createdByUserId` property that we need to filter out events.

It's mostly a straightforward find and replace except for one instance
where we need to do some extra fiddling. There's an inline comment
explaining that.
2024-08-02 11:05:42 +02:00
..
api chore: use EventSchema instead of IEvent (#7732) 2024-08-02 11:05:42 +02:00
useChangeRequestAddStrategy.ts
useChangeRequestInReviewWarning.tsx
useChangeRequestsEnabled.test.tsx
useChangeRequestsEnabled.ts
useChangeRequestToggle.ts
useClearSWRCache.test.ts
useClearSWRCache.ts
useCollaborateData.tsx
useConditionallyHiddenColumns.ts
useCustomEvent.ts
useDefaultProjectSettings.ts
useDragItem.ts
useEventSettings.ts
useFormErrors.ts
useGlobalLocalStorage.ts
useGlobalState.ts
useHasAccess.ts
useHiddenEnvironments.ts
useHighestPermissionChangeRequestEnvironment.test.ts
useHighestPermissionChangeRequestEnvironment.ts
useId.test.ts
useId.ts
useIsAppleDevice.ts
useKeyboardShortcut.ts
useLastViewedFlags.test.tsx
useLastViewedFlags.ts
useLastViewedProject.test.tsx
useLastViewedProject.ts
useLoading.ts
useLocalStorageState.test.tsx
useLocalStorageState.ts
useLocationSettings.ts
useOnBlur.test.tsx
useOnBlur.ts
useOnClickOutside.test.tsx
useOnClickOutside.ts
useOnVisible.ts
useOptionalPathParam.ts
usePageTitle.ts
usePagination.ts
usePersistentGlobalState.ts
usePersistentTableState.test.tsx
usePersistentTableState.ts
usePinnedFavorites.test.ts
usePinnedFavorites.ts
usePlausibleTracker.ts feat: track interaction with search (#7526) 2024-07-03 12:27:20 +03:00
useQueryParams.ts
useRecentlyVisited.test.tsx
useRecentlyVisited.ts
useRequiredPathParam.ts
useRequiredQueryParam.ts
useSearch.test.tsx
useSearch.ts
useStickinessOptions.ts
useSubmittedFeedback.ts feat: what's new in Unleash (#7497) 2024-07-03 09:54:38 +02:00
useTabs.ts
useThemeMode.ts
useToast.tsx
useTrafficData.test.ts
useTrafficData.ts
useUiFlag.ts
useUsersPlan.ts
useVariant.ts
useVirtualizedRange.ts
useWeakMap.ts