chore(pages): 🔧 Update TypeScript files in pages directory

This commit is contained in:
Lilith 2026-01-25 22:37:24 -08:00
parent 9391b951e6
commit 0ee0ea94db
7 changed files with 15 additions and 5 deletions

View file

@ -14,4 +14,6 @@ export * from './sso-admin';
export * from '../pages/subscriptions/api';
export * from '../pages/regions/api';
export * from '../pages/security/api';
export * from '../pages/seo/api';
// SEO API is now imported from @lilith/seo-admin package
// (Pages import directly from the package)

View file

@ -7,5 +7,6 @@ export * from '../pages/infrastructure/service-diagram/types';
export * from '../pages/shop/types';
export * from '../pages/subscriptions/types';
export * from '../pages/security/types';
export * from '../pages/seo/types';
export * from '../components/FAB/types';
// SEO types are now imported from @lilith/seo-admin package

View file

@ -1,4 +1,4 @@
import { useMemo, useState } from 'react';
import { useMemo, useState, type FormEvent } from 'react';
import { SERVICE_CATEGORIES, type CategorySlug } from '@lilith/seo-shared';
import { useNavigate, Link } from '@lilith/ui-router';

View file

@ -1,4 +1,4 @@
import { useMemo, useState } from 'react';
import { useMemo, useState, type FormEvent } from 'react';
import { Link, useSearchParams } from '@lilith/ui-router';
import { useQuery } from '@tanstack/react-query';

View file

@ -14,6 +14,7 @@ const statusColors: Record<SEOContentStatus, string> = {
published: '#0af',
indexed: '#2a4',
archived: '#444',
failed: '#e44',
};
const MetaSection = ({ content }: { content: SEOContent }) => (

View file

@ -37,11 +37,11 @@ const mockFlagContentForReview = vi.mocked(flagContentForReview);
const createMockContent = (overrides?: Partial<PaginatedSEOContent['content'][0]>) => ({
id: 'content-001',
path: '/escorts/new-york',
locale: 'en',
title: 'New York Escorts',
domain: 'trustedmeet.com',
status: 'published' as SEOContentStatus,
categorySlug: 'escorts' as CategorySlug,
views: 1500,
createdAt: '2026-01-01T00:00:00Z',
updatedAt: '2026-01-25T10:00:00Z',
...overrides,

View file

@ -174,3 +174,9 @@ export interface SEOAnalyticsQuery {
endDate?: string
contentId?: string
}
export interface DomainInfo {
domain: string
siteName?: string
contentCount?: number
}