d3ro-voice/apps/web/.next/server/app/login.rsc
yunchan8804 d0c33ca259 feat(V2-3): Web App MVP — Next.js 15 + @d3ro/api-client
packages/api-client (@d3ro/api-client) 신규:
- types.ts: 12개 테이블 Row/Insert/Update 타입 + Database 형식
- client.ts: createD3roSupabaseClient 팩토리 (placeholder fallback)
- auth.ts: signInWithOAuth/signOut/getSession/onAuthStateChange
- meetings.ts: 회의 + 메모 + 문서 + 전사 CRUD
- history.ts: 음성 입력 이력 CRUD
- usage.ts: 일일 쿼터 + 구독 조회
- 루트 barrel은 types만 re-export, 함수는 subpath import 전용

apps/web (@d3ro/web) 신규 — Next.js 15 App Router:
- transpilePackages: @d3ro/core, ui, i18n, api-client
- ThemeProvider (MUI + AppRouterCacheProvider)
- I18nProvider (localStorage 어댑터)
- AuthProvider (Supabase session Context)
- 라우트 9개:
  - / (auth 상태 기반 리다이렉트)
  - /login (Google/GitHub OAuth, 미설정 경고)
  - /auth/callback (code -> session 교환)
  - /dashboard (요약 카드 + 최근 회의)
  - /meetings (카드 그리드 리스트)
  - /meetings/[id] (transcripts/memos/documents)
  - /record (getUserMedia + MediaRecorder + stt-proxy)
- Sidebar, 인증 가드, 9바 웨이브폼, 레벨 미터

packages/ui 확장:
- MetalCard가 BoxProps 상속 (sx/onClick 등 전달)
- theme.ts에 typoSx(key) 헬퍼 추가 (d3roTypo -> MUI sx 변환)
- d3roPalette.tag.blue 추가 (M5 정리 포함)
- DS 컴포넌트 9개에 'use client' directive
- MetalDial 미사용 import 제거

packages/i18n 확장:
- ko.json에 7개 새 키 (nav.meetings/record/logout, login.*)

설계 결정:
- Database 제네릭 현재는 기본 타입 (V2-4에서 supabase gen types로 자동화)
- api-client barrel은 타입만 노출해서 컴파일 전파 차단
- DS 컴포넌트 client 경계 명시
- env 없어도 Next.js 빌드 성공 (placeholder URL/key)

검증:
- web typecheck OK
- desktop typecheck OK (회귀 없음)
- web next build OK (9 라우트 정적/동적 생성)
- desktop build OK (회귀 없음)
2026-04-09 02:52:31 +09:00

22 lines
4.9 KiB
Text

1:"$Sreact.fragment"
2:I[7455,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","746","static/chunks/746-2c44f63089954251.js","791","static/chunks/791-5c69f2a174236cc3.js","184","static/chunks/184-0c1f7df145ad88ab.js","177","static/chunks/app/layout-ef9c055d247766dc.js"],"ThemeProvider"]
3:I[1732,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","746","static/chunks/746-2c44f63089954251.js","791","static/chunks/791-5c69f2a174236cc3.js","184","static/chunks/184-0c1f7df145ad88ab.js","177","static/chunks/app/layout-ef9c055d247766dc.js"],"I18nProvider"]
4:I[1598,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","746","static/chunks/746-2c44f63089954251.js","791","static/chunks/791-5c69f2a174236cc3.js","184","static/chunks/184-0c1f7df145ad88ab.js","177","static/chunks/app/layout-ef9c055d247766dc.js"],"AuthProvider"]
5:I[5341,[],""]
6:I[25,[],""]
7:I[1012,[],"ClientPageRoot"]
8:I[1009,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","189","static/chunks/189-0a3a586f59a6cdc9.js","140","static/chunks/140-ef9b40e6cd15133a.js","374","static/chunks/374-35719d8a245d6483.js","791","static/chunks/791-5c69f2a174236cc3.js","184","static/chunks/184-0c1f7df145ad88ab.js","910","static/chunks/910-c4d77d369189ddc4.js","520","static/chunks/app/login/page-6472292893f1e497.js"],"default"]
b:I[5104,[],"OutletBoundary"]
d:I[7158,[],"AsyncMetadataOutlet"]
f:I[5104,[],"ViewportBoundary"]
11:I[5104,[],"MetadataBoundary"]
12:"$Sreact.suspense"
14:I[4431,[],""]
0:{"P":null,"b":"borqQ3kbNhV8uztMrJ99R","p":"","c":["","login"],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[null,["$","html",null,{"lang":"ko","children":["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lf",null,{"children":"$L10"}],null],["$","$L11",null,{"children":["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":"$L13"}]}]}]]}],false]],"m":"$undefined","G":["$14",[]],"s":false,"S":true}
9:{}
a:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
c:null
15:I[6505,[],"IconMark"]
e:{"metadata":[["$","title","0",{"children":"D3RO Voice"}],["$","meta","1",{"name":"description","content":"로컬+클라우드 하이브리드 AI 음성 어시스턴트"}],["$","link","2",{"rel":"icon","href":"/favicon.ico"}],["$","$L15","3",{}]],"error":null,"digest":"$undefined"}
13:"$e:metadata"