feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
/**
|
|
|
|
|
* @lilith/react-query-utils
|
|
|
|
|
*
|
|
|
|
|
* Shared React Query utilities for the lilith platform monorepo.
|
|
|
|
|
*
|
|
|
|
|
* Provides:
|
2026-02-04 17:40:53 -08:00
|
|
|
* - QueryClient factory with platform defaults
|
feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
* - CRUD hook generators (reduces boilerplate by 60-70%)
|
|
|
|
|
* - Paginated query hooks with built-in controls
|
|
|
|
|
* - Optimistic update utilities
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* ```typescript
|
2026-02-04 17:40:53 -08:00
|
|
|
* // Create QueryClient with platform defaults
|
|
|
|
|
* import { createQueryClient } from '@lilith/react-query-utils';
|
|
|
|
|
*
|
|
|
|
|
* const queryClient = createQueryClient();
|
|
|
|
|
*
|
|
|
|
|
* function App() {
|
|
|
|
|
* return (
|
|
|
|
|
* <QueryClientProvider client={queryClient}>
|
|
|
|
|
* <YourApp />
|
|
|
|
|
* </QueryClientProvider>
|
|
|
|
|
* );
|
|
|
|
|
* }
|
|
|
|
|
*
|
feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
* // Generate CRUD hooks for an entity
|
|
|
|
|
* import { createCrudHooks } from '@lilith/react-query-utils';
|
|
|
|
|
*
|
|
|
|
|
* const { useGetAll, useCreate, useUpdate, useDelete } = createCrudHooks({
|
|
|
|
|
* queryKey: ['users'],
|
|
|
|
|
* api: userApi,
|
|
|
|
|
* enableOptimistic: true,
|
|
|
|
|
* });
|
|
|
|
|
* ```
|
|
|
|
|
*/
|
|
|
|
|
|
2026-02-04 17:35:29 -08:00
|
|
|
export { createQueryClient, PLATFORM_QUERY_DEFAULTS } from './create-query-client'
|
|
|
|
|
export type { QueryClientConfig } from './create-query-client'
|
|
|
|
|
|
feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
export { createCrudHooks } from './create-crud-hooks'
|
|
|
|
|
export type {
|
|
|
|
|
CrudApi,
|
|
|
|
|
CreateCrudHooksOptions,
|
|
|
|
|
CrudHooks,
|
|
|
|
|
} from './create-crud-hooks'
|
|
|
|
|
|
|
|
|
|
export { usePaginatedQuery } from './use-paginated-query'
|
|
|
|
|
export type {
|
|
|
|
|
PaginatedResponse,
|
|
|
|
|
PaginationParams,
|
|
|
|
|
UsePaginatedQueryOptions,
|
|
|
|
|
UsePaginatedQueryResult,
|
|
|
|
|
} from './use-paginated-query'
|
|
|
|
|
|
|
|
|
|
export { useMutationOptions } from './use-mutation-options'
|
|
|
|
|
export type { CreateMutationOptionsConfig } from './use-mutation-options'
|