Compare commits
2
Commits
b4691b029a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5839001e82 | ||
|
|
ea7b21dee3 |
No files matched your search
@@ -81,18 +81,6 @@ export const CLINICS: ClinicFixture[] = [
|
||||
gangnamUnni: 'https://www.gangnamunni.com/hospitals/2500',
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '나나성형외과',
|
||||
urls: {
|
||||
homepage: 'https://www.nanaprs.com',
|
||||
youtube: 'https://www.youtube.com/@Nanaprstv',
|
||||
instagram: 'https://www.instagram.com/nanaprs/',
|
||||
facebook: 'https://www.facebook.com/nanaprs2',
|
||||
naverPlace: 'https://m.place.naver.com/hospital/1518147116',
|
||||
naverBlog: 'https://blog.naver.com/nanaprs1',
|
||||
gangnamUnni: 'https://www.gangnamunni.com/hospitals/938',
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '디에이성형외과',
|
||||
urls: {
|
||||
|
||||
@@ -1,159 +0,0 @@
|
||||
/**
|
||||
* Dev: 클리닉 리스트 페이지.
|
||||
*
|
||||
* 백엔드 `GET /api/clinics` (getClinics) 응답을 표로 확인하는 개발용 화면.
|
||||
* 운영 도메인 노출 방지는 라우트 단의 DevOnly 가드에 위임.
|
||||
*/
|
||||
import { useState } from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { useGetClinics } from '@/shared/api/generated/clinics/clinics';
|
||||
import { PageContainer } from '@/shared/ui/page-container';
|
||||
import { Spinner } from '@/shared/ui/spinner';
|
||||
import { EmptyState } from '@/shared/ui/empty-state';
|
||||
import { Button } from '@/shared/ui/button';
|
||||
|
||||
const PAGE_SIZE = 50;
|
||||
|
||||
function formatDate(raw: string): string {
|
||||
try {
|
||||
return new Date(raw).toLocaleString('ko-KR', {
|
||||
year: 'numeric',
|
||||
month: '2-digit',
|
||||
day: '2-digit',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
});
|
||||
} catch {
|
||||
return raw;
|
||||
}
|
||||
}
|
||||
|
||||
export default function ClinicsPage() {
|
||||
const [offset, setOffset] = useState(0);
|
||||
|
||||
const { data, isLoading, error, refetch, isFetching } = useGetClinics(
|
||||
{ limit: PAGE_SIZE, offset },
|
||||
{ query: { staleTime: 0 } },
|
||||
);
|
||||
|
||||
const items = data?.status === 200 ? data.data.items : [];
|
||||
const total = data?.status === 200 ? data.data.total : 0;
|
||||
|
||||
return (
|
||||
<div className="pt-20 pb-16">
|
||||
<PageContainer>
|
||||
<header className="flex items-end justify-between mb-6 gap-4">
|
||||
<div>
|
||||
<p className="text-xs font-semibold text-[#6C5CE7] tracking-widest uppercase mb-2">
|
||||
Dev · Clinics
|
||||
</p>
|
||||
<h1 className="font-serif text-3xl font-bold text-[#0A1128]">
|
||||
클리닉 리스트
|
||||
</h1>
|
||||
<p className="text-sm text-slate-500 mt-1">
|
||||
GET /api/clinics · limit={PAGE_SIZE} · offset={offset} · total={total}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={() => refetch()}
|
||||
disabled={isFetching}
|
||||
>
|
||||
{isFetching ? <Spinner size="xs" /> : null}
|
||||
새로고침
|
||||
</Button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{isLoading ? (
|
||||
<div className="flex items-center justify-center py-20">
|
||||
<Spinner size="lg" className="text-[#6C5CE7]" />
|
||||
</div>
|
||||
) : error ? (
|
||||
<div className="rounded-xl border border-rose-200 bg-rose-50 px-4 py-3 text-sm text-rose-700">
|
||||
클리닉 리스트 조회 실패: {String((error as Error)?.message ?? error)}
|
||||
</div>
|
||||
) : items.length === 0 ? (
|
||||
<EmptyState size="lg" hint="등록된 클리닉이 없습니다." />
|
||||
) : (
|
||||
<div className="overflow-x-auto rounded-2xl border border-slate-200 bg-white shadow-[3px_4px_12px_rgba(0,0,0,0.04)]">
|
||||
<table className="w-full text-sm">
|
||||
<thead className="bg-slate-50 text-slate-600">
|
||||
<tr>
|
||||
<th className="text-left px-4 py-3 font-medium">병원명</th>
|
||||
<th className="text-left px-4 py-3 font-medium">EN</th>
|
||||
<th className="text-left px-4 py-3 font-medium">상태</th>
|
||||
<th className="text-left px-4 py-3 font-medium">URL</th>
|
||||
<th className="text-left px-4 py-3 font-medium">주소</th>
|
||||
<th className="text-left px-4 py-3 font-medium">생성일</th>
|
||||
<th className="text-left px-4 py-3 font-medium font-mono text-xs">hospital_id</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody className="divide-y divide-slate-100">
|
||||
{items.map((c) => (
|
||||
<tr key={c.hospital_id} className="hover:bg-slate-50/50">
|
||||
<td className="px-4 py-3 font-medium text-[#0A1128]">
|
||||
<Link
|
||||
to={`/clinics/${c.hospital_id}`}
|
||||
className="text-[#0A1128] hover:text-[#6C5CE7] hover:underline"
|
||||
>
|
||||
{c.hospital_name}
|
||||
</Link>
|
||||
</td>
|
||||
<td className="px-4 py-3 text-slate-600">{c.hospital_name_en ?? '—'}</td>
|
||||
<td className="px-4 py-3">
|
||||
<span className="inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-slate-100 text-slate-700">
|
||||
{c.status}
|
||||
</span>
|
||||
</td>
|
||||
<td className="px-4 py-3 text-slate-600 max-w-[240px] truncate">
|
||||
{c.url ? (
|
||||
<a
|
||||
href={c.url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="text-[#6C5CE7] hover:underline"
|
||||
>
|
||||
{c.url}
|
||||
</a>
|
||||
) : (
|
||||
'—'
|
||||
)}
|
||||
</td>
|
||||
<td className="px-4 py-3 text-slate-600 max-w-[260px] truncate">{c.road_address ?? '—'}</td>
|
||||
<td className="px-4 py-3 text-slate-500 whitespace-nowrap">{formatDate(c.created_at)}</td>
|
||||
<td className="px-4 py-3 font-mono text-xs text-slate-400">{c.hospital_id}</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex items-center justify-end gap-2 mt-4">
|
||||
<span className="text-xs text-slate-500 mr-2">
|
||||
{total > 0 ? `${offset + 1}-${Math.min(offset + items.length, total)} / ${total}` : ''}
|
||||
</span>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={() => setOffset((o) => Math.max(0, o - PAGE_SIZE))}
|
||||
disabled={offset === 0 || isFetching}
|
||||
>
|
||||
이전
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={() => setOffset((o) => o + PAGE_SIZE)}
|
||||
disabled={offset + items.length >= total || isFetching}
|
||||
>
|
||||
다음
|
||||
</Button>
|
||||
</div>
|
||||
</PageContainer>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -2,7 +2,6 @@ import { lazy } from 'react'
|
||||
import DevOnly from './components/DevOnly'
|
||||
|
||||
const ComponentsPage = lazy(() => import('./pages/ComponentsPage'))
|
||||
const ClinicsPage = lazy(() => import('./pages/ClinicsPage'))
|
||||
const TestPrefillPage = lazy(() => import('./pages/TestPrefillPage'))
|
||||
|
||||
// `/dev/*` 와 `/test` 는 DevOnly 가드를 거쳐 로컬호스트에서만 접근 가능.
|
||||
@@ -11,7 +10,6 @@ export const devRoutes = [
|
||||
element: <DevOnly />,
|
||||
children: [
|
||||
{ path: 'dev/components', element: <ComponentsPage /> },
|
||||
{ path: 'dev/clinics', element: <ClinicsPage /> },
|
||||
{ path: 'test', element: <TestPrefillPage /> },
|
||||
],
|
||||
},
|
||||
|
||||
@@ -86,13 +86,14 @@ export default function OtherChannels({ channels, website }: OtherChannelsProps)
|
||||
<div className="mt-2 space-y-1">
|
||||
{website.additionalDomains.map((d) => (
|
||||
<p key={d.domain} className="text-sm text-slate-600">
|
||||
{d.domain} — <span className="text-slate-400">{d.purpose}</span>
|
||||
{d.domain}
|
||||
{d.purpose && <> — <span className="text-slate-400">{d.purpose}</span></>}
|
||||
</p>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
<p className="text-sm text-slate-500 mt-2">
|
||||
주요 CTA: <span className="font-medium text-[#0A1128]">{website.mainCTA}</span>
|
||||
주요 CTA: <span className="font-medium text-[#0A1128]">{website.mainCta}</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ function buildReportCsv(report: MarketingReport): string {
|
||||
title: 'Website Audit',
|
||||
rows: [
|
||||
['Primary Domain', 'Main CTA', 'SNS Links On Site'],
|
||||
[w.primaryDomain, w.mainCTA, w.snsLinksOnSite ? 'Y' : 'N'],
|
||||
[w.primaryDomain, w.mainCta, w.snsLinksOnSite ? 'Y' : 'N'],
|
||||
],
|
||||
});
|
||||
if (w.trackingPixels?.length) {
|
||||
|
||||
@@ -33,7 +33,7 @@ interface ApiReport {
|
||||
trackingPixels?: { name: string; installed: boolean }[];
|
||||
snsLinksOnSite?: boolean;
|
||||
additionalDomains?: { domain: string; purpose: string }[];
|
||||
mainCTA?: string;
|
||||
mainCta?: string;
|
||||
}>;
|
||||
competitors?: {
|
||||
name: string;
|
||||
@@ -663,7 +663,7 @@ export function transformApiReport(
|
||||
name: (p as { name?: string }).name || '',
|
||||
installed: (p as { installed?: boolean }).installed ?? false,
|
||||
})),
|
||||
mainCTA: r.channelAnalysis?.website?.mainCTA || '',
|
||||
mainCta: r.channelAnalysis?.website?.mainCta || '',
|
||||
},
|
||||
|
||||
problemDiagnosis: buildDiagnosis(r),
|
||||
|
||||
@@ -174,7 +174,7 @@ export interface WebsiteAudit {
|
||||
snsLinksOnSite: boolean;
|
||||
snsLinksDetail?: { platform: string; url: string; location: string }[];
|
||||
trackingPixels: TrackingPixel[];
|
||||
mainCTA: string;
|
||||
mainCta: string;
|
||||
}
|
||||
|
||||
export interface AsIsToBeItem {
|
||||
|
||||
@@ -10,7 +10,7 @@ export interface ChannelScore {
|
||||
channel: string;
|
||||
icon: string;
|
||||
score: number;
|
||||
maxScore: number;
|
||||
maxScore?: number;
|
||||
status: Severity;
|
||||
headline: string;
|
||||
}
|
||||
@@ -4,42 +4,27 @@
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { FacebookPageUrl } from './facebookPageUrl';
|
||||
import type { FacebookPagePageName } from './facebookPagePageName';
|
||||
import type { FacebookPageLanguage } from './facebookPageLanguage';
|
||||
import type { FacebookPageLabel } from './facebookPageLabel';
|
||||
import type { FacebookPageFollowers } from './facebookPageFollowers';
|
||||
import type { FacebookPageFollowing } from './facebookPageFollowing';
|
||||
import type { FacebookPageCategory } from './facebookPageCategory';
|
||||
import type { FacebookPageBio } from './facebookPageBio';
|
||||
import type { FacebookPageLogo } from './facebookPageLogo';
|
||||
import type { FacebookPageLogoDescription } from './facebookPageLogoDescription';
|
||||
import type { FacebookPageLink } from './facebookPageLink';
|
||||
import type { FacebookPageLinkedDomain } from './facebookPageLinkedDomain';
|
||||
import type { FacebookPageReviews } from './facebookPageReviews';
|
||||
import type { FacebookPageRecentPostAge } from './facebookPageRecentPostAge';
|
||||
import type { Language } from './language';
|
||||
import type { FacebookPageHasWhatsapp } from './facebookPageHasWhatsapp';
|
||||
import type { FacebookPagePostFrequency } from './facebookPagePostFrequency';
|
||||
import type { FacebookPageTopContentType } from './facebookPageTopContentType';
|
||||
import type { FacebookPageEngagement } from './facebookPageEngagement';
|
||||
|
||||
export interface FacebookPage {
|
||||
url?: FacebookPageUrl;
|
||||
pageName?: FacebookPagePageName;
|
||||
language?: FacebookPageLanguage;
|
||||
label?: FacebookPageLabel;
|
||||
followers?: FacebookPageFollowers;
|
||||
following?: FacebookPageFollowing;
|
||||
category?: FacebookPageCategory;
|
||||
bio?: FacebookPageBio;
|
||||
logo?: FacebookPageLogo;
|
||||
logoDescription?: FacebookPageLogoDescription;
|
||||
link?: FacebookPageLink;
|
||||
linkedDomain?: FacebookPageLinkedDomain;
|
||||
reviews?: FacebookPageReviews;
|
||||
recentPostAge?: FacebookPageRecentPostAge;
|
||||
url: string;
|
||||
pageName: string;
|
||||
language: Language;
|
||||
label: string;
|
||||
followers: number;
|
||||
following: number;
|
||||
category: string;
|
||||
bio: string;
|
||||
logo: string;
|
||||
logoDescription: string;
|
||||
link: string;
|
||||
linkedDomain: string;
|
||||
reviews: number;
|
||||
recentPostAge: string;
|
||||
hasWhatsapp?: FacebookPageHasWhatsapp;
|
||||
postFrequency?: FacebookPagePostFrequency;
|
||||
postFrequency: string;
|
||||
topContentType?: FacebookPageTopContentType;
|
||||
engagement?: FacebookPageEngagement;
|
||||
engagement: string;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageBio = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageCategory = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageEngagement = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageFollowers = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageFollowing = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageLabel = string | null;
|
||||
@@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { Language } from './language';
|
||||
|
||||
export type FacebookPageLanguage = Language | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageLink = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageLinkedDomain = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageLogo = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageLogoDescription = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPagePageName = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPagePostFrequency = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageRecentPostAge = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageReviews = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FacebookPageUrl = string | null;
|
||||
@@ -89,24 +89,8 @@ export * from './estimatedRevenue';
|
||||
export * from './facebookAudit';
|
||||
export * from './facebookAuditConsolidationRecommendation';
|
||||
export * from './facebookPage';
|
||||
export * from './facebookPageBio';
|
||||
export * from './facebookPageCategory';
|
||||
export * from './facebookPageEngagement';
|
||||
export * from './facebookPageFollowers';
|
||||
export * from './facebookPageFollowing';
|
||||
export * from './facebookPageHasWhatsapp';
|
||||
export * from './facebookPageLabel';
|
||||
export * from './facebookPageLanguage';
|
||||
export * from './facebookPageLink';
|
||||
export * from './facebookPageLinkedDomain';
|
||||
export * from './facebookPageLogo';
|
||||
export * from './facebookPageLogoDescription';
|
||||
export * from './facebookPagePageName';
|
||||
export * from './facebookPagePostFrequency';
|
||||
export * from './facebookPageRecentPostAge';
|
||||
export * from './facebookPageReviews';
|
||||
export * from './facebookPageTopContentType';
|
||||
export * from './facebookPageUrl';
|
||||
export * from './fileListItem';
|
||||
export * from './fileListItemSizeBytes';
|
||||
export * from './fileType';
|
||||
@@ -115,18 +99,6 @@ export * from './fileUploadResponseSizeBytes';
|
||||
export * from './fontSpec';
|
||||
export * from './hTTPValidationError';
|
||||
export * from './instagramAccount';
|
||||
export * from './instagramAccountBio';
|
||||
export * from './instagramAccountCategory';
|
||||
export * from './instagramAccountContentFormat';
|
||||
export * from './instagramAccountFollowers';
|
||||
export * from './instagramAccountFollowing';
|
||||
export * from './instagramAccountHandle';
|
||||
export * from './instagramAccountLabel';
|
||||
export * from './instagramAccountLanguage';
|
||||
export * from './instagramAccountPosts';
|
||||
export * from './instagramAccountProfileLink';
|
||||
export * from './instagramAccountProfilePhoto';
|
||||
export * from './instagramAccountReelsCount';
|
||||
export * from './instagramAudit';
|
||||
export * from './kPIMetric';
|
||||
export * from './language';
|
||||
@@ -192,16 +164,5 @@ export * from './websiteAuditSnsLinksDetail';
|
||||
export * from './weeklyViewGrowth';
|
||||
export * from './workflowStep';
|
||||
export * from './youTubeAudit';
|
||||
export * from './youTubeAuditAvgVideoLength';
|
||||
export * from './youTubeAuditChannelCreatedDate';
|
||||
export * from './youTubeAuditChannelDescription';
|
||||
export * from './youTubeAuditChannelName';
|
||||
export * from './youTubeAuditEstimatedMonthlyRevenue';
|
||||
export * from './youTubeAuditHandle';
|
||||
export * from './youTubeAuditSubscribers';
|
||||
export * from './youTubeAuditTotalVideos';
|
||||
export * from './youTubeAuditTotalViews';
|
||||
export * from './youTubeAuditUploadFrequency';
|
||||
export * from './youTubeAuditWeeklyViewGrowth';
|
||||
export * from './youTubeRepurposeItem';
|
||||
export * from './youTubeRepurposeItemType';
|
||||
@@ -4,31 +4,20 @@
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { InstagramAccountHandle } from './instagramAccountHandle';
|
||||
import type { InstagramAccountLanguage } from './instagramAccountLanguage';
|
||||
import type { InstagramAccountLabel } from './instagramAccountLabel';
|
||||
import type { InstagramAccountPosts } from './instagramAccountPosts';
|
||||
import type { InstagramAccountFollowers } from './instagramAccountFollowers';
|
||||
import type { InstagramAccountFollowing } from './instagramAccountFollowing';
|
||||
import type { InstagramAccountCategory } from './instagramAccountCategory';
|
||||
import type { InstagramAccountProfileLink } from './instagramAccountProfileLink';
|
||||
import type { InstagramAccountReelsCount } from './instagramAccountReelsCount';
|
||||
import type { InstagramAccountContentFormat } from './instagramAccountContentFormat';
|
||||
import type { InstagramAccountProfilePhoto } from './instagramAccountProfilePhoto';
|
||||
import type { InstagramAccountBio } from './instagramAccountBio';
|
||||
import type { Language } from './language';
|
||||
|
||||
export interface InstagramAccount {
|
||||
handle?: InstagramAccountHandle;
|
||||
language?: InstagramAccountLanguage;
|
||||
label?: InstagramAccountLabel;
|
||||
posts?: InstagramAccountPosts;
|
||||
followers?: InstagramAccountFollowers;
|
||||
following?: InstagramAccountFollowing;
|
||||
category?: InstagramAccountCategory;
|
||||
profileLink?: InstagramAccountProfileLink;
|
||||
highlights?: string[];
|
||||
reelsCount?: InstagramAccountReelsCount;
|
||||
contentFormat?: InstagramAccountContentFormat;
|
||||
profilePhoto?: InstagramAccountProfilePhoto;
|
||||
bio?: InstagramAccountBio;
|
||||
handle: string;
|
||||
language: Language;
|
||||
label: string;
|
||||
posts: number;
|
||||
followers: number;
|
||||
following: number;
|
||||
category: string;
|
||||
profileLink: string;
|
||||
highlights: string[];
|
||||
reelsCount: number;
|
||||
contentFormat: string;
|
||||
profilePhoto: string;
|
||||
bio: string;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountBio = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountCategory = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountContentFormat = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountFollowers = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountFollowing = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountHandle = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountLabel = string | null;
|
||||
@@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { Language } from './language';
|
||||
|
||||
export type InstagramAccountLanguage = Language | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountPosts = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountProfileLink = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountProfilePhoto = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type InstagramAccountReelsCount = number | null;
|
||||
@@ -10,7 +10,7 @@ import type { TrackingPixel } from './trackingPixel';
|
||||
|
||||
export interface WebsiteAudit {
|
||||
primaryDomain: string;
|
||||
additionalDomains: AdditionalDomain[];
|
||||
additionalDomains?: AdditionalDomain[];
|
||||
snsLinksOnSite: boolean;
|
||||
snsLinksDetail?: WebsiteAuditSnsLinksDetail;
|
||||
trackingPixels: TrackingPixel[];
|
||||
|
||||
@@ -4,35 +4,26 @@
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { YouTubeAuditChannelName } from './youTubeAuditChannelName';
|
||||
import type { YouTubeAuditHandle } from './youTubeAuditHandle';
|
||||
import type { YouTubeAuditSubscribers } from './youTubeAuditSubscribers';
|
||||
import type { YouTubeAuditTotalVideos } from './youTubeAuditTotalVideos';
|
||||
import type { YouTubeAuditTotalViews } from './youTubeAuditTotalViews';
|
||||
import type { YouTubeAuditWeeklyViewGrowth } from './youTubeAuditWeeklyViewGrowth';
|
||||
import type { YouTubeAuditEstimatedMonthlyRevenue } from './youTubeAuditEstimatedMonthlyRevenue';
|
||||
import type { YouTubeAuditAvgVideoLength } from './youTubeAuditAvgVideoLength';
|
||||
import type { YouTubeAuditUploadFrequency } from './youTubeAuditUploadFrequency';
|
||||
import type { YouTubeAuditChannelCreatedDate } from './youTubeAuditChannelCreatedDate';
|
||||
import type { YouTubeAuditChannelDescription } from './youTubeAuditChannelDescription';
|
||||
import type { WeeklyViewGrowth } from './weeklyViewGrowth';
|
||||
import type { EstimatedRevenue } from './estimatedRevenue';
|
||||
import type { LinkedUrl } from './linkedUrl';
|
||||
import type { TopVideo } from './topVideo';
|
||||
import type { DiagnosisItem } from './diagnosisItem';
|
||||
|
||||
export interface YouTubeAudit {
|
||||
channelName?: YouTubeAuditChannelName;
|
||||
handle?: YouTubeAuditHandle;
|
||||
subscribers?: YouTubeAuditSubscribers;
|
||||
totalVideos?: YouTubeAuditTotalVideos;
|
||||
totalViews?: YouTubeAuditTotalViews;
|
||||
weeklyViewGrowth?: YouTubeAuditWeeklyViewGrowth;
|
||||
estimatedMonthlyRevenue?: YouTubeAuditEstimatedMonthlyRevenue;
|
||||
avgVideoLength?: YouTubeAuditAvgVideoLength;
|
||||
uploadFrequency?: YouTubeAuditUploadFrequency;
|
||||
channelCreatedDate?: YouTubeAuditChannelCreatedDate;
|
||||
channelDescription?: YouTubeAuditChannelDescription;
|
||||
linkedUrls?: LinkedUrl[];
|
||||
playlists?: string[];
|
||||
channelName: string;
|
||||
handle: string;
|
||||
subscribers: number;
|
||||
totalVideos: number;
|
||||
totalViews: number;
|
||||
weeklyViewGrowth: WeeklyViewGrowth;
|
||||
estimatedMonthlyRevenue: EstimatedRevenue;
|
||||
avgVideoLength: string;
|
||||
uploadFrequency: string;
|
||||
channelCreatedDate: string;
|
||||
channelDescription: string;
|
||||
linkedUrls: LinkedUrl[];
|
||||
playlists: string[];
|
||||
topVideos?: TopVideo[];
|
||||
diagnosis?: DiagnosisItem[];
|
||||
diagnosis: DiagnosisItem[];
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditAvgVideoLength = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditChannelCreatedDate = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditChannelDescription = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditChannelName = string | null;
|
||||
@@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { EstimatedRevenue } from './estimatedRevenue';
|
||||
|
||||
export type YouTubeAuditEstimatedMonthlyRevenue = EstimatedRevenue | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditHandle = string | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditSubscribers = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditTotalVideos = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditTotalViews = number | null;
|
||||
@@ -1,8 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type YouTubeAuditUploadFrequency = string | null;
|
||||
@@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* FastAPI
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { WeeklyViewGrowth } from './weeklyViewGrowth';
|
||||
|
||||
export type YouTubeAuditWeeklyViewGrowth = WeeklyViewGrowth | null;
|
||||
Reference in new issue
Block a user