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 (회귀 없음)
19 lines
3.9 KiB
Text
19 lines
3.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,[],""]
|
|
8:I[5104,[],"OutletBoundary"]
|
|
a:I[7158,[],"AsyncMetadataOutlet"]
|
|
c:I[5104,[],"ViewportBoundary"]
|
|
e:I[5104,[],"MetadataBoundary"]
|
|
f:"$Sreact.suspense"
|
|
11:I[4431,[],""]
|
|
0:{"P":null,"b":"borqQ3kbNhV8uztMrJ99R","p":"","c":["",""],"i":false,"f":[[["",{"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":["__PAGE__",["$","$1","c",{"children":["$L7",null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],null],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true}
|
|
7:E{"digest":"NEXT_REDIRECT;replace;/login;307;"}
|
|
d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
9:null
|
|
12:I[6505,[],"IconMark"]
|
|
b:{"metadata":[["$","title","0",{"children":"D3RO Voice"}],["$","meta","1",{"name":"description","content":"로컬+클라우드 하이브리드 AI 음성 어시스턴트"}],["$","link","2",{"rel":"icon","href":"/favicon.ico"}],["$","$L12","3",{}]],"error":null,"digest":"$undefined"}
|
|
10:"$b:metadata"
|